![]() |
![]()
| ![]() |
![]()
NAMEPaws::CodeDeploy - Perl Interface to AWS AWS CodeDeploy SYNOPSISuse Paws; my $obj = Paws->service('CodeDeploy'); my $res = $obj->Method( Arg1 => $val1, Arg2 => [ 'V1', 'V2' ], # if Arg3 is an object, the HashRef will be used as arguments to the constructor # of the arguments type Arg3 => { Att1 => 'Val1' }, # if Arg4 is an array of objects, the HashRefs will be passed as arguments to # the constructor of the arguments type Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], ); DESCRIPTIONAWS CodeDeploy AWS CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances, on-premises instances running in your own facility, serverless AWS Lambda functions, or applications in an Amazon ECS service. You can deploy a nearly unlimited variety of application content, such as an updated Lambda function, updated applications in an Amazon ECS service, code, web and configuration files, executables, packages, scripts, multimedia files, and so on. AWS CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes to your existing code before you can use AWS CodeDeploy. AWS CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during application deployment, and handles the complexity of updating your applications, without many of the risks associated with error-prone manual deployments. AWS CodeDeploy Components Use the information in this guide to help you work with the following AWS CodeDeploy components:
This guide also contains information to help you get details about the instances in your deployments, to make on-premises instances available for AWS CodeDeploy deployments, to get details about a Lambda function deployment, and to get details about Amazon ECS service deployments. AWS CodeDeploy Information Resources
For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06> METHODSAddTagsToOnPremisesInstancesEach argument is described in detail in: Paws::CodeDeploy::AddTagsToOnPremisesInstances Returns: nothing Adds tags to on-premises instances. BatchGetApplicationRevisionsEach argument is described in detail in: Paws::CodeDeploy::BatchGetApplicationRevisions Returns: a Paws::CodeDeploy::BatchGetApplicationRevisionsOutput instance Gets information about one or more application revisions. The maximum number of application revisions that can be returned is 25. BatchGetApplicationsEach argument is described in detail in: Paws::CodeDeploy::BatchGetApplications Returns: a Paws::CodeDeploy::BatchGetApplicationsOutput instance Gets information about one or more applications. The maximum number of applications that can be returned is 100. BatchGetDeploymentGroupsEach argument is described in detail in: Paws::CodeDeploy::BatchGetDeploymentGroups Returns: a Paws::CodeDeploy::BatchGetDeploymentGroupsOutput instance Gets information about one or more deployment groups. BatchGetDeploymentInstancesEach argument is described in detail in: Paws::CodeDeploy::BatchGetDeploymentInstances Returns: a Paws::CodeDeploy::BatchGetDeploymentInstancesOutput instance This method works, but is deprecated. Use "BatchGetDeploymentTargets" instead. Returns an array of one or more instances associated with a deployment. This method works with EC2/On-premises and AWS Lambda compute platforms. The newer "BatchGetDeploymentTargets" works with all compute platforms. The maximum number of instances that can be returned is 25. BatchGetDeploymentsEach argument is described in detail in: Paws::CodeDeploy::BatchGetDeployments Returns: a Paws::CodeDeploy::BatchGetDeploymentsOutput instance Gets information about one or more deployments. The maximum number of deployments that can be returned is 25. BatchGetDeploymentTargets
Each argument is described in detail in: Paws::CodeDeploy::BatchGetDeploymentTargets Returns: a Paws::CodeDeploy::BatchGetDeploymentTargetsOutput instance Returns an array of one or more targets associated with a deployment. This method works with all compute types and should be used instead of the deprecated "BatchGetDeploymentInstances". The maximum number of targets that can be returned is 25. The type of targets returned depends on the deployment's compute platform or deployment method:
BatchGetOnPremisesInstancesEach argument is described in detail in: Paws::CodeDeploy::BatchGetOnPremisesInstances Returns: a Paws::CodeDeploy::BatchGetOnPremisesInstancesOutput instance Gets information about one or more on-premises instances. The maximum number of on-premises instances that can be returned is 25. ContinueDeployment
Each argument is described in detail in: Paws::CodeDeploy::ContinueDeployment Returns: nothing For a blue/green deployment, starts the process of rerouting traffic from instances in the original environment to instances in the replacement environment without waiting for a specified wait time to elapse. (Traffic rerouting, which is achieved by registering instances in the replacement environment with the load balancer, can start as soon as all instances have a status of Ready.) CreateApplication
Each argument is described in detail in: Paws::CodeDeploy::CreateApplication Returns: a Paws::CodeDeploy::CreateApplicationOutput instance Creates an application. CreateDeployment
Each argument is described in detail in: Paws::CodeDeploy::CreateDeployment Returns: a Paws::CodeDeploy::CreateDeploymentOutput instance Deploys an application revision through the specified deployment group. CreateDeploymentConfig
Each argument is described in detail in: Paws::CodeDeploy::CreateDeploymentConfig Returns: a Paws::CodeDeploy::CreateDeploymentConfigOutput instance Creates a deployment configuration. CreateDeploymentGroup
Each argument is described in detail in: Paws::CodeDeploy::CreateDeploymentGroup Returns: a Paws::CodeDeploy::CreateDeploymentGroupOutput instance Creates a deployment group to which application revisions are deployed. DeleteApplicationEach argument is described in detail in: Paws::CodeDeploy::DeleteApplication Returns: nothing Deletes an application. DeleteDeploymentConfigEach argument is described in detail in: Paws::CodeDeploy::DeleteDeploymentConfig Returns: nothing Deletes a deployment configuration. A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted. DeleteDeploymentGroupEach argument is described in detail in: Paws::CodeDeploy::DeleteDeploymentGroup Returns: a Paws::CodeDeploy::DeleteDeploymentGroupOutput instance Deletes a deployment group. DeleteGitHubAccountToken
Each argument is described in detail in: Paws::CodeDeploy::DeleteGitHubAccountToken Returns: a Paws::CodeDeploy::DeleteGitHubAccountTokenOutput instance Deletes a GitHub account connection. DeleteResourcesByExternalId
Each argument is described in detail in: Paws::CodeDeploy::DeleteResourcesByExternalId Returns: a Paws::CodeDeploy::DeleteResourcesByExternalIdOutput instance Deletes resources linked to an external ID. DeregisterOnPremisesInstanceEach argument is described in detail in: Paws::CodeDeploy::DeregisterOnPremisesInstance Returns: nothing Deregisters an on-premises instance. GetApplicationEach argument is described in detail in: Paws::CodeDeploy::GetApplication Returns: a Paws::CodeDeploy::GetApplicationOutput instance Gets information about an application. GetApplicationRevisionEach argument is described in detail in: Paws::CodeDeploy::GetApplicationRevision Returns: a Paws::CodeDeploy::GetApplicationRevisionOutput instance Gets information about an application revision. GetDeploymentEach argument is described in detail in: Paws::CodeDeploy::GetDeployment Returns: a Paws::CodeDeploy::GetDeploymentOutput instance Gets information about a deployment. The "content" property of the "appSpecContent" object in the returned revision is always null. Use "GetApplicationRevision" and the "sha256" property of the returned "appSpecContent" object to get the content of the deployment’s AppSpec file. GetDeploymentConfigEach argument is described in detail in: Paws::CodeDeploy::GetDeploymentConfig Returns: a Paws::CodeDeploy::GetDeploymentConfigOutput instance Gets information about a deployment configuration. GetDeploymentGroupEach argument is described in detail in: Paws::CodeDeploy::GetDeploymentGroup Returns: a Paws::CodeDeploy::GetDeploymentGroupOutput instance Gets information about a deployment group. GetDeploymentInstanceEach argument is described in detail in: Paws::CodeDeploy::GetDeploymentInstance Returns: a Paws::CodeDeploy::GetDeploymentInstanceOutput instance Gets information about an instance as part of a deployment. GetDeploymentTarget
Each argument is described in detail in: Paws::CodeDeploy::GetDeploymentTarget Returns: a Paws::CodeDeploy::GetDeploymentTargetOutput instance Returns information about a deployment target. GetOnPremisesInstanceEach argument is described in detail in: Paws::CodeDeploy::GetOnPremisesInstance Returns: a Paws::CodeDeploy::GetOnPremisesInstanceOutput instance Gets information about an on-premises instance. ListApplicationRevisions
Each argument is described in detail in: Paws::CodeDeploy::ListApplicationRevisions Returns: a Paws::CodeDeploy::ListApplicationRevisionsOutput instance Lists information about revisions for an application. ListApplications
Each argument is described in detail in: Paws::CodeDeploy::ListApplications Returns: a Paws::CodeDeploy::ListApplicationsOutput instance Lists the applications registered with the IAM user or AWS account. ListDeploymentConfigs
Each argument is described in detail in: Paws::CodeDeploy::ListDeploymentConfigs Returns: a Paws::CodeDeploy::ListDeploymentConfigsOutput instance Lists the deployment configurations with the IAM user or AWS account. ListDeploymentGroups
Each argument is described in detail in: Paws::CodeDeploy::ListDeploymentGroups Returns: a Paws::CodeDeploy::ListDeploymentGroupsOutput instance Lists the deployment groups for an application registered with the IAM user or AWS account. ListDeploymentInstances
Each argument is described in detail in: Paws::CodeDeploy::ListDeploymentInstances Returns: a Paws::CodeDeploy::ListDeploymentInstancesOutput instance The newer "BatchGetDeploymentTargets" should be used instead because it works with all compute types. "ListDeploymentInstances" throws an exception if it is used with a compute platform other than EC2/On-premises or AWS Lambda. Lists the instance for a deployment associated with the IAM user or AWS account. ListDeployments
Each argument is described in detail in: Paws::CodeDeploy::ListDeployments Returns: a Paws::CodeDeploy::ListDeploymentsOutput instance Lists the deployments in a deployment group for an application registered with the IAM user or AWS account. ListDeploymentTargets
Each argument is described in detail in: Paws::CodeDeploy::ListDeploymentTargets Returns: a Paws::CodeDeploy::ListDeploymentTargetsOutput instance Returns an array of target IDs that are associated a deployment. ListGitHubAccountTokenNames
Each argument is described in detail in: Paws::CodeDeploy::ListGitHubAccountTokenNames Returns: a Paws::CodeDeploy::ListGitHubAccountTokenNamesOutput instance Lists the names of stored connections to GitHub accounts. ListOnPremisesInstances
Each argument is described in detail in: Paws::CodeDeploy::ListOnPremisesInstances Returns: a Paws::CodeDeploy::ListOnPremisesInstancesOutput instance Gets a list of names for one or more on-premises instances. Unless otherwise specified, both registered and deregistered on-premises instance names are listed. To list only registered or deregistered on-premises instance names, use the registration status parameter. ListTagsForResource
Each argument is described in detail in: Paws::CodeDeploy::ListTagsForResource Returns: a Paws::CodeDeploy::ListTagsForResourceOutput instance Returns a list of tags for the resource identified by a specified Amazon Resource Name (ARN). Tags are used to organize and categorize your CodeDeploy resources. PutLifecycleEventHookExecutionStatus
Each argument is described in detail in: Paws::CodeDeploy::PutLifecycleEventHookExecutionStatus Returns: a Paws::CodeDeploy::PutLifecycleEventHookExecutionStatusOutput instance Sets the result of a Lambda validation function. The function validates lifecycle hooks during a deployment that uses the AWS Lambda or Amazon ECS compute platform. For AWS Lambda deployments, the available lifecycle hooks are "BeforeAllowTraffic" and "AfterAllowTraffic". For Amazon ECS deployments, the available lifecycle hooks are "BeforeInstall", "AfterInstall", "AfterAllowTestTraffic", "BeforeAllowTraffic", and "AfterAllowTraffic". Lambda validation functions return "Succeeded" or "Failed". For more information, see AppSpec 'hooks' Section for an AWS Lambda Deployment (https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-lambda) and AppSpec 'hooks' Section for an Amazon ECS Deployment (https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-ecs). RegisterApplicationRevision
Each argument is described in detail in: Paws::CodeDeploy::RegisterApplicationRevision Returns: nothing Registers with AWS CodeDeploy a revision for the specified application. RegisterOnPremisesInstance
Each argument is described in detail in: Paws::CodeDeploy::RegisterOnPremisesInstance Returns: nothing Registers an on-premises instance. Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both. RemoveTagsFromOnPremisesInstancesEach argument is described in detail in: Paws::CodeDeploy::RemoveTagsFromOnPremisesInstances Returns: nothing Removes one or more tags from one or more on-premises instances. SkipWaitTimeForInstanceTermination
Each argument is described in detail in: Paws::CodeDeploy::SkipWaitTimeForInstanceTermination Returns: nothing In a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after the traffic routing is complete. StopDeployment
Each argument is described in detail in: Paws::CodeDeploy::StopDeployment Returns: a Paws::CodeDeploy::StopDeploymentOutput instance Attempts to stop an ongoing deployment. TagResourceEach argument is described in detail in: Paws::CodeDeploy::TagResource Returns: a Paws::CodeDeploy::TagResourceOutput instance Associates the list of tags in the input "Tags" parameter with the resource identified by the "ResourceArn" input parameter. UntagResourceEach argument is described in detail in: Paws::CodeDeploy::UntagResource Returns: a Paws::CodeDeploy::UntagResourceOutput instance Disassociates a resource from a list of tags. The resource is identified by the "ResourceArn" input parameter. The tags are identified by the list of keys in the "TagKeys" input parameter. UpdateApplication
Each argument is described in detail in: Paws::CodeDeploy::UpdateApplication Returns: nothing Changes the name of an application. UpdateDeploymentGroup
Each argument is described in detail in: Paws::CodeDeploy::UpdateDeploymentGroup Returns: a Paws::CodeDeploy::UpdateDeploymentGroupOutput instance Changes information about a deployment group. PAGINATORSPaginator methods are helpers that repetively call methods that return partial results ListAllApplicationRevisions(sub { },ApplicationName => Str, [Deployed => Str, NextToken => Str, S3Bucket => Str, S3KeyPrefix => Str, SortBy => Str, SortOrder => Str])ListAllApplicationRevisions(ApplicationName => Str, [Deployed => Str, NextToken => Str, S3Bucket => Str, S3KeyPrefix => Str, SortBy => Str, SortOrder => Str])If passed a sub as first parameter, it will call the sub for each element found in : - revisions, passing the object as the first parameter, and the string 'revisions' as the second parameter If not, it will return a a Paws::CodeDeploy::ListApplicationRevisionsOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllApplications(sub { },[NextToken => Str])ListAllApplications([NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - applications, passing the object as the first parameter, and the string 'applications' as the second parameter If not, it will return a a Paws::CodeDeploy::ListApplicationsOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllDeploymentConfigs(sub { },[NextToken => Str])ListAllDeploymentConfigs([NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - deploymentConfigsList, passing the object as the first parameter, and the string 'deploymentConfigsList' as the second parameter If not, it will return a a Paws::CodeDeploy::ListDeploymentConfigsOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllDeploymentGroups(sub { },ApplicationName => Str, [NextToken => Str])ListAllDeploymentGroups(ApplicationName => Str, [NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - deploymentGroups, passing the object as the first parameter, and the string 'deploymentGroups' as the second parameter If not, it will return a a Paws::CodeDeploy::ListDeploymentGroupsOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllDeploymentInstances(sub { },DeploymentId => Str, [InstanceStatusFilter => ArrayRef[Str|Undef], InstanceTypeFilter => ArrayRef[Str|Undef], NextToken => Str])ListAllDeploymentInstances(DeploymentId => Str, [InstanceStatusFilter => ArrayRef[Str|Undef], InstanceTypeFilter => ArrayRef[Str|Undef], NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - instancesList, passing the object as the first parameter, and the string 'instancesList' as the second parameter If not, it will return a a Paws::CodeDeploy::ListDeploymentInstancesOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllDeployments(sub { },[ApplicationName => Str, CreateTimeRange => Paws::CodeDeploy::TimeRange, DeploymentGroupName => Str, ExternalId => Str, IncludeOnlyStatuses => ArrayRef[Str|Undef], NextToken => Str])ListAllDeployments([ApplicationName => Str, CreateTimeRange => Paws::CodeDeploy::TimeRange, DeploymentGroupName => Str, ExternalId => Str, IncludeOnlyStatuses => ArrayRef[Str|Undef], NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - deployments, passing the object as the first parameter, and the string 'deployments' as the second parameter If not, it will return a a Paws::CodeDeploy::ListDeploymentsOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllDeploymentTargets(sub { },[DeploymentId => Str, NextToken => Str, TargetFilters => Paws::CodeDeploy::TargetFilters])ListAllDeploymentTargets([DeploymentId => Str, NextToken => Str, TargetFilters => Paws::CodeDeploy::TargetFilters])If passed a sub as first parameter, it will call the sub for each element found in : - targetIds, passing the object as the first parameter, and the string 'targetIds' as the second parameter If not, it will return a a Paws::CodeDeploy::ListDeploymentTargetsOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllGitHubAccountTokenNames(sub { },[NextToken => Str])ListAllGitHubAccountTokenNames([NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - tokenNameList, passing the object as the first parameter, and the string 'tokenNameList' as the second parameter If not, it will return a a Paws::CodeDeploy::ListGitHubAccountTokenNamesOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllOnPremisesInstances(sub { },[NextToken => Str, RegistrationStatus => Str, TagFilters => ArrayRef[Paws::CodeDeploy::TagFilter]])ListAllOnPremisesInstances([NextToken => Str, RegistrationStatus => Str, TagFilters => ArrayRef[Paws::CodeDeploy::TagFilter]])If passed a sub as first parameter, it will call the sub for each element found in : - instanceNames, passing the object as the first parameter, and the string 'instanceNames' as the second parameter If not, it will return a a Paws::CodeDeploy::ListOnPremisesInstancesOutput instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. SEE ALSOThis service class forms part of Paws BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|