public class AbstractAmazonCodeDeploy extends Object implements AmazonCodeDeploy
AmazonCodeDeploy
. Convenient method forms
pass through to the corresponding overload that takes a request object, which
throws an UnsupportedOperationException
.Modifier and Type | Method and Description |
---|---|
void |
addTagsToOnPremisesInstances(AddTagsToOnPremisesInstancesRequest request)
Adds tags to on-premises instances.
|
BatchGetApplicationRevisionsResult |
batchGetApplicationRevisions(BatchGetApplicationRevisionsRequest request)
Gets information about one or more application revisions.
|
BatchGetApplicationsResult |
batchGetApplications()
Simplified method form for invoking the BatchGetApplications operation.
|
BatchGetApplicationsResult |
batchGetApplications(BatchGetApplicationsRequest request)
Gets information about one or more applications.
|
BatchGetDeploymentGroupsResult |
batchGetDeploymentGroups(BatchGetDeploymentGroupsRequest request)
Get information about one or more deployment groups.
|
BatchGetDeploymentInstancesResult |
batchGetDeploymentInstances(BatchGetDeploymentInstancesRequest request)
Gets information about one or more instance that are part of a deployment
group.
|
BatchGetDeploymentsResult |
batchGetDeployments()
Simplified method form for invoking the BatchGetDeployments operation.
|
BatchGetDeploymentsResult |
batchGetDeployments(BatchGetDeploymentsRequest request)
Gets information about one or more deployments.
|
BatchGetOnPremisesInstancesResult |
batchGetOnPremisesInstances()
Simplified method form for invoking the BatchGetOnPremisesInstances
operation.
|
BatchGetOnPremisesInstancesResult |
batchGetOnPremisesInstances(BatchGetOnPremisesInstancesRequest request)
Gets information about one or more on-premises instances.
|
CreateApplicationResult |
createApplication(CreateApplicationRequest request)
Creates an application.
|
CreateDeploymentResult |
createDeployment(CreateDeploymentRequest request)
Deploys an application revision through the specified deployment group.
|
CreateDeploymentConfigResult |
createDeploymentConfig(CreateDeploymentConfigRequest request)
Creates a deployment configuration.
|
CreateDeploymentGroupResult |
createDeploymentGroup(CreateDeploymentGroupRequest request)
Creates a deployment group to which application revisions will be
deployed.
|
void |
deleteApplication(DeleteApplicationRequest request)
Deletes an application.
|
void |
deleteDeploymentConfig(DeleteDeploymentConfigRequest request)
Deletes a deployment configuration.
|
DeleteDeploymentGroupResult |
deleteDeploymentGroup(DeleteDeploymentGroupRequest request)
Deletes a deployment group.
|
void |
deregisterOnPremisesInstance(DeregisterOnPremisesInstanceRequest request)
Deregisters an on-premises instance.
|
GetApplicationResult |
getApplication(GetApplicationRequest request)
Gets information about an application.
|
GetApplicationRevisionResult |
getApplicationRevision(GetApplicationRevisionRequest request)
Gets information about an application revision.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request,
typically used for debugging issues where a service isn't acting as
expected.
|
GetDeploymentResult |
getDeployment(GetDeploymentRequest request)
Gets information about a deployment.
|
GetDeploymentConfigResult |
getDeploymentConfig(GetDeploymentConfigRequest request)
Gets information about a deployment configuration.
|
GetDeploymentGroupResult |
getDeploymentGroup(GetDeploymentGroupRequest request)
Gets information about a deployment group.
|
GetDeploymentInstanceResult |
getDeploymentInstance(GetDeploymentInstanceRequest request)
Gets information about an instance as part of a deployment.
|
GetOnPremisesInstanceResult |
getOnPremisesInstance(GetOnPremisesInstanceRequest request)
Gets information about an on-premises instance.
|
ListApplicationRevisionsResult |
listApplicationRevisions(ListApplicationRevisionsRequest request)
Lists information about revisions for an application.
|
ListApplicationsResult |
listApplications()
Simplified method form for invoking the ListApplications operation.
|
ListApplicationsResult |
listApplications(ListApplicationsRequest request)
Lists the applications registered with the applicable IAM user or AWS
account.
|
ListDeploymentConfigsResult |
listDeploymentConfigs()
Simplified method form for invoking the ListDeploymentConfigs operation.
|
ListDeploymentConfigsResult |
listDeploymentConfigs(ListDeploymentConfigsRequest request)
Lists the deployment configurations with the applicable IAM user or AWS
account.
|
ListDeploymentGroupsResult |
listDeploymentGroups(ListDeploymentGroupsRequest request)
Lists the deployment groups for an application registered with the
applicable IAM user or AWS account.
|
ListDeploymentInstancesResult |
listDeploymentInstances(ListDeploymentInstancesRequest request)
Lists the instance for a deployment associated with the applicable IAM
user or AWS account.
|
ListDeploymentsResult |
listDeployments()
Simplified method form for invoking the ListDeployments operation.
|
ListDeploymentsResult |
listDeployments(ListDeploymentsRequest request)
Lists the deployments in a deployment group for an application registered
with the applicable IAM user or AWS account.
|
ListOnPremisesInstancesResult |
listOnPremisesInstances()
Simplified method form for invoking the ListOnPremisesInstances
operation.
|
ListOnPremisesInstancesResult |
listOnPremisesInstances(ListOnPremisesInstancesRequest request)
Gets a list of names for one or more on-premises instances.
|
void |
registerApplicationRevision(RegisterApplicationRevisionRequest request)
Registers with AWS CodeDeploy a revision for the specified application.
|
void |
registerOnPremisesInstance(RegisterOnPremisesInstanceRequest request)
Registers an on-premises instance.
|
void |
removeTagsFromOnPremisesInstances(RemoveTagsFromOnPremisesInstancesRequest request)
Removes one or more tags from one or more on-premises instances.
|
void |
setEndpoint(String endpoint)
Overrides the default endpoint for this client
("https://codedeploy.us-east-1.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
AmazonCodeDeploy.setEndpoint(String) , sets the
regional endpoint for this client's service calls. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StopDeploymentResult |
stopDeployment(StopDeploymentRequest request)
Attempts to stop an ongoing deployment.
|
void |
updateApplication()
Simplified method form for invoking the UpdateApplication operation.
|
void |
updateApplication(UpdateApplicationRequest request)
Changes the name of an application.
|
UpdateDeploymentGroupResult |
updateDeploymentGroup(UpdateDeploymentGroupRequest request)
Changes information about a deployment group.
|
public void setEndpoint(String endpoint)
AmazonCodeDeploy
Callers can pass in just the endpoint (ex:
"codedeploy.us-east-1.amazonaws.com") or a full URL, including the
protocol (ex: "https://codedeploy.us-east-1.amazonaws.com"). If the
protocol is not specified here, the default protocol from this client's
ClientConfiguration
will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID= 3912
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setEndpoint
in interface AmazonCodeDeploy
endpoint
- The endpoint (ex: "codedeploy.us-east-1.amazonaws.com") or a full
URL, including the protocol (ex:
"https://codedeploy.us-east-1.amazonaws.com") of the region
specific AWS endpoint this client will communicate with.public void setRegion(Region region)
AmazonCodeDeploy
AmazonCodeDeploy.setEndpoint(String)
, sets the
regional endpoint for this client's service calls. Callers can use this
method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol.
To use http instead, specify it in the ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setRegion
in interface AmazonCodeDeploy
region
- The region this client will communicate with. See
Region.getRegion(com.amazonaws.regions.Regions)
for
accessing a given region. Must not be null and must be a region
where the service is available.Region.getRegion(com.amazonaws.regions.Regions)
,
Region.createClient(Class,
com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)
,
Region.isServiceSupported(String)
public void addTagsToOnPremisesInstances(AddTagsToOnPremisesInstancesRequest request)
AmazonCodeDeploy
Adds tags to on-premises instances.
addTagsToOnPremisesInstances
in interface AmazonCodeDeploy
request
- Represents the input of, and adds tags to, an on-premises instance
operation.public BatchGetApplicationRevisionsResult batchGetApplicationRevisions(BatchGetApplicationRevisionsRequest request)
AmazonCodeDeploy
Gets information about one or more application revisions.
batchGetApplicationRevisions
in interface AmazonCodeDeploy
request
- Represents the input of a batch get application revisions
operation.public BatchGetApplicationsResult batchGetApplications(BatchGetApplicationsRequest request)
AmazonCodeDeploy
Gets information about one or more applications.
batchGetApplications
in interface AmazonCodeDeploy
request
- Represents the input of a batch get applications operation.public BatchGetApplicationsResult batchGetApplications()
AmazonCodeDeploy
batchGetApplications
in interface AmazonCodeDeploy
AmazonCodeDeploy.batchGetApplications(BatchGetApplicationsRequest)
public BatchGetDeploymentGroupsResult batchGetDeploymentGroups(BatchGetDeploymentGroupsRequest request)
AmazonCodeDeploy
Get information about one or more deployment groups.
batchGetDeploymentGroups
in interface AmazonCodeDeploy
request
- Represents the input of a batch get deployment groups operation.public BatchGetDeploymentInstancesResult batchGetDeploymentInstances(BatchGetDeploymentInstancesRequest request)
AmazonCodeDeploy
Gets information about one or more instance that are part of a deployment group.
batchGetDeploymentInstances
in interface AmazonCodeDeploy
request
- Represents the input of a batch get deployment instances
operation.public BatchGetDeploymentsResult batchGetDeployments(BatchGetDeploymentsRequest request)
AmazonCodeDeploy
Gets information about one or more deployments.
batchGetDeployments
in interface AmazonCodeDeploy
request
- Represents the input of a batch get deployments operation.public BatchGetDeploymentsResult batchGetDeployments()
AmazonCodeDeploy
batchGetDeployments
in interface AmazonCodeDeploy
AmazonCodeDeploy.batchGetDeployments(BatchGetDeploymentsRequest)
public BatchGetOnPremisesInstancesResult batchGetOnPremisesInstances(BatchGetOnPremisesInstancesRequest request)
AmazonCodeDeploy
Gets information about one or more on-premises instances.
batchGetOnPremisesInstances
in interface AmazonCodeDeploy
request
- Represents the input of a batch get on-premises instances
operation.public BatchGetOnPremisesInstancesResult batchGetOnPremisesInstances()
AmazonCodeDeploy
batchGetOnPremisesInstances
in interface AmazonCodeDeploy
AmazonCodeDeploy.batchGetOnPremisesInstances(BatchGetOnPremisesInstancesRequest)
public CreateApplicationResult createApplication(CreateApplicationRequest request)
AmazonCodeDeploy
Creates an application.
createApplication
in interface AmazonCodeDeploy
request
- Represents the input of a create application operation.public CreateDeploymentResult createDeployment(CreateDeploymentRequest request)
AmazonCodeDeploy
Deploys an application revision through the specified deployment group.
createDeployment
in interface AmazonCodeDeploy
request
- Represents the input of a create deployment operation.public CreateDeploymentConfigResult createDeploymentConfig(CreateDeploymentConfigRequest request)
AmazonCodeDeploy
Creates a deployment configuration.
createDeploymentConfig
in interface AmazonCodeDeploy
request
- Represents the input of a create deployment configuration
operation.public CreateDeploymentGroupResult createDeploymentGroup(CreateDeploymentGroupRequest request)
AmazonCodeDeploy
Creates a deployment group to which application revisions will be deployed.
createDeploymentGroup
in interface AmazonCodeDeploy
request
- Represents the input of a create deployment group operation.public void deleteApplication(DeleteApplicationRequest request)
AmazonCodeDeploy
Deletes an application.
deleteApplication
in interface AmazonCodeDeploy
request
- Represents the input of a delete application operation.public void deleteDeploymentConfig(DeleteDeploymentConfigRequest request)
AmazonCodeDeploy
Deletes a deployment configuration.
deleteDeploymentConfig
in interface AmazonCodeDeploy
request
- Represents the input of a delete deployment configuration
operation.public DeleteDeploymentGroupResult deleteDeploymentGroup(DeleteDeploymentGroupRequest request)
AmazonCodeDeploy
Deletes a deployment group.
deleteDeploymentGroup
in interface AmazonCodeDeploy
request
- Represents the input of a delete deployment group operation.public void deregisterOnPremisesInstance(DeregisterOnPremisesInstanceRequest request)
AmazonCodeDeploy
Deregisters an on-premises instance.
deregisterOnPremisesInstance
in interface AmazonCodeDeploy
request
- Represents the input of a deregister on-premises instance
operation.public GetApplicationResult getApplication(GetApplicationRequest request)
AmazonCodeDeploy
Gets information about an application.
getApplication
in interface AmazonCodeDeploy
request
- Represents the input of a get application operation.public GetApplicationRevisionResult getApplicationRevision(GetApplicationRevisionRequest request)
AmazonCodeDeploy
Gets information about an application revision.
getApplicationRevision
in interface AmazonCodeDeploy
request
- Represents the input of a get application revision operation.public GetDeploymentResult getDeployment(GetDeploymentRequest request)
AmazonCodeDeploy
Gets information about a deployment.
getDeployment
in interface AmazonCodeDeploy
request
- Represents the input of a get deployment operation.public GetDeploymentConfigResult getDeploymentConfig(GetDeploymentConfigRequest request)
AmazonCodeDeploy
Gets information about a deployment configuration.
getDeploymentConfig
in interface AmazonCodeDeploy
request
- Represents the input of a get deployment configuration operation.public GetDeploymentGroupResult getDeploymentGroup(GetDeploymentGroupRequest request)
AmazonCodeDeploy
Gets information about a deployment group.
getDeploymentGroup
in interface AmazonCodeDeploy
request
- Represents the input of a get deployment group operation.public GetDeploymentInstanceResult getDeploymentInstance(GetDeploymentInstanceRequest request)
AmazonCodeDeploy
Gets information about an instance as part of a deployment.
getDeploymentInstance
in interface AmazonCodeDeploy
request
- Represents the input of a get deployment instance operation.public GetOnPremisesInstanceResult getOnPremisesInstance(GetOnPremisesInstanceRequest request)
AmazonCodeDeploy
Gets information about an on-premises instance.
getOnPremisesInstance
in interface AmazonCodeDeploy
request
- Represents the input of a get on-premises instance operation.public ListApplicationRevisionsResult listApplicationRevisions(ListApplicationRevisionsRequest request)
AmazonCodeDeploy
Lists information about revisions for an application.
listApplicationRevisions
in interface AmazonCodeDeploy
request
- Represents the input of a list application revisions operation.public ListApplicationsResult listApplications(ListApplicationsRequest request)
AmazonCodeDeploy
Lists the applications registered with the applicable IAM user or AWS account.
listApplications
in interface AmazonCodeDeploy
request
- Represents the input of a list applications operation.public ListApplicationsResult listApplications()
AmazonCodeDeploy
listApplications
in interface AmazonCodeDeploy
AmazonCodeDeploy.listApplications(ListApplicationsRequest)
public ListDeploymentConfigsResult listDeploymentConfigs(ListDeploymentConfigsRequest request)
AmazonCodeDeploy
Lists the deployment configurations with the applicable IAM user or AWS account.
listDeploymentConfigs
in interface AmazonCodeDeploy
request
- Represents the input of a list deployment configurations
operation.public ListDeploymentConfigsResult listDeploymentConfigs()
AmazonCodeDeploy
listDeploymentConfigs
in interface AmazonCodeDeploy
AmazonCodeDeploy.listDeploymentConfigs(ListDeploymentConfigsRequest)
public ListDeploymentGroupsResult listDeploymentGroups(ListDeploymentGroupsRequest request)
AmazonCodeDeploy
Lists the deployment groups for an application registered with the applicable IAM user or AWS account.
listDeploymentGroups
in interface AmazonCodeDeploy
request
- Represents the input of a list deployment groups operation.public ListDeploymentInstancesResult listDeploymentInstances(ListDeploymentInstancesRequest request)
AmazonCodeDeploy
Lists the instance for a deployment associated with the applicable IAM user or AWS account.
listDeploymentInstances
in interface AmazonCodeDeploy
request
- Represents the input of a list deployment instances operation.public ListDeploymentsResult listDeployments(ListDeploymentsRequest request)
AmazonCodeDeploy
Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.
listDeployments
in interface AmazonCodeDeploy
request
- Represents the input of a list deployments operation.public ListDeploymentsResult listDeployments()
AmazonCodeDeploy
listDeployments
in interface AmazonCodeDeploy
AmazonCodeDeploy.listDeployments(ListDeploymentsRequest)
public ListOnPremisesInstancesResult listOnPremisesInstances(ListOnPremisesInstancesRequest request)
AmazonCodeDeploy
Gets a list of names for one or more on-premises instances.
Unless otherwise specified, both registered and deregistered on-premises instance names will be listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.
listOnPremisesInstances
in interface AmazonCodeDeploy
request
- Represents the input of a list on-premises instances operation.public ListOnPremisesInstancesResult listOnPremisesInstances()
AmazonCodeDeploy
listOnPremisesInstances
in interface AmazonCodeDeploy
AmazonCodeDeploy.listOnPremisesInstances(ListOnPremisesInstancesRequest)
public void registerApplicationRevision(RegisterApplicationRevisionRequest request)
AmazonCodeDeploy
Registers with AWS CodeDeploy a revision for the specified application.
registerApplicationRevision
in interface AmazonCodeDeploy
request
- Represents the input of a register application revision operation.public void registerOnPremisesInstance(RegisterOnPremisesInstanceRequest request)
AmazonCodeDeploy
Registers an on-premises instance.
registerOnPremisesInstance
in interface AmazonCodeDeploy
request
- Represents the input of the register on-premises instance
operation.public void removeTagsFromOnPremisesInstances(RemoveTagsFromOnPremisesInstancesRequest request)
AmazonCodeDeploy
Removes one or more tags from one or more on-premises instances.
removeTagsFromOnPremisesInstances
in interface AmazonCodeDeploy
request
- Represents the input of a remove tags from on-premises instances
operation.public StopDeploymentResult stopDeployment(StopDeploymentRequest request)
AmazonCodeDeploy
Attempts to stop an ongoing deployment.
stopDeployment
in interface AmazonCodeDeploy
request
- Represents the input of a stop deployment operation.public void updateApplication(UpdateApplicationRequest request)
AmazonCodeDeploy
Changes the name of an application.
updateApplication
in interface AmazonCodeDeploy
request
- Represents the input of an update application operation.public void updateApplication()
AmazonCodeDeploy
updateApplication
in interface AmazonCodeDeploy
AmazonCodeDeploy.updateApplication(UpdateApplicationRequest)
public UpdateDeploymentGroupResult updateDeploymentGroup(UpdateDeploymentGroupRequest request)
AmazonCodeDeploy
Changes information about a deployment group.
updateDeploymentGroup
in interface AmazonCodeDeploy
request
- Represents the input of an update deployment group operation.public void shutdown()
AmazonCodeDeploy
shutdown
in interface AmazonCodeDeploy
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonCodeDeploy
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AmazonCodeDeploy
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.