|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceClient
com.amazonaws.services.opsworks.AWSOpsWorksClient
public class AWSOpsWorksClient
Client for accessing AWSOpsWorks. All service calls made using this client are blocking, and will not return until the service call completes.
AWS OpsWorks
| Constructor Summary | |
|---|---|
AWSOpsWorksClient()
Constructs a new client to invoke service methods on AWSOpsWorks. |
|
AWSOpsWorksClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on AWSOpsWorks using the specified AWS account credentials. |
|
AWSOpsWorksClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AWSOpsWorks using the specified AWS account credentials and client configuration options. |
|
AWSOpsWorksClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on AWSOpsWorks using the specified AWS account credentials provider. |
|
AWSOpsWorksClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AWSOpsWorks using the specified AWS account credentials provider and client configuration options. |
|
AWSOpsWorksClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AWSOpsWorks. |
|
| Method Summary | |
|---|---|
CloneStackResult |
cloneStack(CloneStackRequest cloneStackRequest)
Creates a clone of a specified stack. |
CreateAppResult |
createApp(CreateAppRequest createAppRequest)
Creates an app for a specified stack. |
CreateDeploymentResult |
createDeployment(CreateDeploymentRequest createDeploymentRequest)
Deploys a stack or app. |
CreateInstanceResult |
createInstance(CreateInstanceRequest createInstanceRequest)
Creates an instance in a specified stack. |
CreateLayerResult |
createLayer(CreateLayerRequest createLayerRequest)
Creates a layer. |
CreateStackResult |
createStack(CreateStackRequest createStackRequest)
Creates a new stack. |
CreateUserProfileResult |
createUserProfile(CreateUserProfileRequest createUserProfileRequest)
Creates a new user. |
void |
deleteApp(DeleteAppRequest deleteAppRequest)
Deletes a specified app. |
void |
deleteInstance(DeleteInstanceRequest deleteInstanceRequest)
Deletes a specified instance. |
void |
deleteLayer(DeleteLayerRequest deleteLayerRequest)
Deletes a specified layer. |
void |
deleteStack(DeleteStackRequest deleteStackRequest)
Deletes a specified stack. |
void |
deleteUserProfile(DeleteUserProfileRequest deleteUserProfileRequest)
Deletes a user. |
DescribeAppsResult |
describeApps(DescribeAppsRequest describeAppsRequest)
Requests a description of a specified set of apps. |
DescribeCommandsResult |
describeCommands(DescribeCommandsRequest describeCommandsRequest)
Describes the results of specified commands. |
DescribeDeploymentsResult |
describeDeployments(DescribeDeploymentsRequest describeDeploymentsRequest)
Requests a description of a specified set of deployments. |
DescribeElasticIpsResult |
describeElasticIps(DescribeElasticIpsRequest describeElasticIpsRequest)
Describes an instance's Elastic IP addresses . |
DescribeInstancesResult |
describeInstances(DescribeInstancesRequest describeInstancesRequest)
Requests a description of a set of instances associated with a specified ID or IDs. |
DescribeLayersResult |
describeLayers(DescribeLayersRequest describeLayersRequest)
Requests a description of one or more layers in a specified stack. |
DescribeLoadBasedAutoScalingResult |
describeLoadBasedAutoScaling(DescribeLoadBasedAutoScalingRequest describeLoadBasedAutoScalingRequest)
Describes load-based auto scaling configurations for specified layers. |
DescribePermissionsResult |
describePermissions(DescribePermissionsRequest describePermissionsRequest)
Describes the permissions for a specified stack. |
DescribeRaidArraysResult |
describeRaidArrays(DescribeRaidArraysRequest describeRaidArraysRequest)
Describe an instance's RAID arrays. |
DescribeServiceErrorsResult |
describeServiceErrors(DescribeServiceErrorsRequest describeServiceErrorsRequest)
Describes OpsWorks service errors. |
DescribeStacksResult |
describeStacks(DescribeStacksRequest describeStacksRequest)
Requests a description of one or more stacks. |
DescribeTimeBasedAutoScalingResult |
describeTimeBasedAutoScaling(DescribeTimeBasedAutoScalingRequest describeTimeBasedAutoScalingRequest)
Describes time-based auto scaling configurations for specified instances. |
DescribeUserProfilesResult |
describeUserProfiles(DescribeUserProfilesRequest describeUserProfilesRequest)
Describe specified users. |
DescribeVolumesResult |
describeVolumes(DescribeVolumesRequest describeVolumesRequest)
Describes an instance's Amazon EBS volumes. |
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. |
GetHostnameSuggestionResult |
getHostnameSuggestion(GetHostnameSuggestionRequest getHostnameSuggestionRequest)
Gets a generated hostname for the specified layer, based on the current hostname theme. |
void |
rebootInstance(RebootInstanceRequest rebootInstanceRequest)
Reboots a specified instance. |
void |
setEndpoint(java.lang.String endpoint,
java.lang.String serviceName,
java.lang.String regionId)
Overrides the default endpoint for this client ("https://opsworks.us-east-1.amazonaws.com") and explicitly provides an AWS region ID and AWS service name to use when the client calculates a signature for requests. |
void |
setLoadBasedAutoScaling(SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest)
Specify the load-based auto scaling configuration for a specified layer. |
void |
setPermission(SetPermissionRequest setPermissionRequest)
Specifies a stack's permissions. |
void |
setTimeBasedAutoScaling(SetTimeBasedAutoScalingRequest setTimeBasedAutoScalingRequest)
Specify the time-based auto scaling configuration for a specified instance. |
void |
startInstance(StartInstanceRequest startInstanceRequest)
Starts a specified instance. |
void |
startStack(StartStackRequest startStackRequest)
Starts stack's instances. |
void |
stopInstance(StopInstanceRequest stopInstanceRequest)
Stops a specified instance. |
void |
stopStack(StopStackRequest stopStackRequest)
Stops a specified stack. |
void |
updateApp(UpdateAppRequest updateAppRequest)
Updates a specified app. |
void |
updateInstance(UpdateInstanceRequest updateInstanceRequest)
Updates a specified instance. |
void |
updateLayer(UpdateLayerRequest updateLayerRequest)
Updates a specified layer. |
void |
updateStack(UpdateStackRequest updateStackRequest)
Updates a specified stack. |
void |
updateUserProfile(UpdateUserProfileRequest updateUserProfileRequest)
Updates a specified user's SSH name and public key. |
| Methods inherited from class com.amazonaws.AmazonWebServiceClient |
|---|
addRequestHandler, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setRegion, setTimeOffset, shutdown, withTimeOffset |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.amazonaws.services.opsworks.AWSOpsWorks |
|---|
setEndpoint, setRegion, shutdown |
| Constructor Detail |
|---|
public AWSOpsWorksClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderpublic AWSOpsWorksClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this
client connects to AWSOpsWorks
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderpublic AWSOpsWorksClient(AWSCredentials awsCredentials)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.
public AWSOpsWorksClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.clientConfiguration - The client configuration options controlling how this
client connects to AWSOpsWorks
(ex: proxy settings, retry counts, etc.).public AWSOpsWorksClient(AWSCredentialsProvider awsCredentialsProvider)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.
public AWSOpsWorksClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration - The client configuration options controlling how this
client connects to AWSOpsWorks
(ex: proxy settings, retry counts, etc.).| Method Detail |
|---|
public void updateUserProfile(UpdateUserProfileRequest updateUserProfileRequest)
throws AmazonServiceException,
AmazonClientException
Updates a specified user's SSH name and public key.
updateUserProfile in interface AWSOpsWorksupdateUserProfileRequest - Container for the necessary parameters
to execute the UpdateUserProfile service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public CreateStackResult createStack(CreateStackRequest createStackRequest)
throws AmazonServiceException,
AmazonClientException
Creates a new stack.
createStack in interface AWSOpsWorkscreateStackRequest - Container for the necessary parameters to
execute the CreateStack service method on AWSOpsWorks.
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void rebootInstance(RebootInstanceRequest rebootInstanceRequest)
throws AmazonServiceException,
AmazonClientException
Reboots a specified instance.
rebootInstance in interface AWSOpsWorksrebootInstanceRequest - Container for the necessary parameters to
execute the RebootInstance service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void setPermission(SetPermissionRequest setPermissionRequest)
throws AmazonServiceException,
AmazonClientException
Specifies a stack's permissions.
setPermission in interface AWSOpsWorkssetPermissionRequest - Container for the necessary parameters to
execute the SetPermission service method on AWSOpsWorks.
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public DescribeInstancesResult describeInstances(DescribeInstancesRequest describeInstancesRequest)
throws AmazonServiceException,
AmazonClientException
Requests a description of a set of instances associated with a specified ID or IDs.
describeInstances in interface AWSOpsWorksdescribeInstancesRequest - Container for the necessary parameters
to execute the DescribeInstances service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public DescribePermissionsResult describePermissions(DescribePermissionsRequest describePermissionsRequest)
throws AmazonServiceException,
AmazonClientException
Describes the permissions for a specified stack. You must specify at least one of the two request values.
describePermissions in interface AWSOpsWorksdescribePermissionsRequest - Container for the necessary
parameters to execute the DescribePermissions service method on
AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void deleteInstance(DeleteInstanceRequest deleteInstanceRequest)
throws AmazonServiceException,
AmazonClientException
Deletes a specified instance.
deleteInstance in interface AWSOpsWorksdeleteInstanceRequest - Container for the necessary parameters to
execute the DeleteInstance service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public CloneStackResult cloneStack(CloneStackRequest cloneStackRequest)
throws AmazonServiceException,
AmazonClientException
Creates a clone of a specified stack.
cloneStack in interface AWSOpsWorkscloneStackRequest - Container for the necessary parameters to
execute the CloneStack service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public CreateInstanceResult createInstance(CreateInstanceRequest createInstanceRequest)
throws AmazonServiceException,
AmazonClientException
Creates an instance in a specified stack.
createInstance in interface AWSOpsWorkscreateInstanceRequest - Container for the necessary parameters to
execute the CreateInstance service method on AWSOpsWorks.
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void stopInstance(StopInstanceRequest stopInstanceRequest)
throws AmazonServiceException,
AmazonClientException
Stops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed instance without losing data.
stopInstance in interface AWSOpsWorksstopInstanceRequest - Container for the necessary parameters to
execute the StopInstance service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void updateApp(UpdateAppRequest updateAppRequest)
throws AmazonServiceException,
AmazonClientException
Updates a specified app.
updateApp in interface AWSOpsWorksupdateAppRequest - Container for the necessary parameters to
execute the UpdateApp service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void deleteApp(DeleteAppRequest deleteAppRequest)
throws AmazonServiceException,
AmazonClientException
Deletes a specified app.
deleteApp in interface AWSOpsWorksdeleteAppRequest - Container for the necessary parameters to
execute the DeleteApp service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public DescribeCommandsResult describeCommands(DescribeCommandsRequest describeCommandsRequest)
throws AmazonServiceException,
AmazonClientException
Describes the results of specified commands.
describeCommands in interface AWSOpsWorksdescribeCommandsRequest - Container for the necessary parameters
to execute the DescribeCommands service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void updateStack(UpdateStackRequest updateStackRequest)
throws AmazonServiceException,
AmazonClientException
Updates a specified stack.
updateStack in interface AWSOpsWorksupdateStackRequest - Container for the necessary parameters to
execute the UpdateStack service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public CreateUserProfileResult createUserProfile(CreateUserProfileRequest createUserProfileRequest)
throws AmazonServiceException,
AmazonClientException
Creates a new user.
createUserProfile in interface AWSOpsWorkscreateUserProfileRequest - Container for the necessary parameters
to execute the CreateUserProfile service method on AWSOpsWorks.
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public GetHostnameSuggestionResult getHostnameSuggestion(GetHostnameSuggestionRequest getHostnameSuggestionRequest)
throws AmazonServiceException,
AmazonClientException
Gets a generated hostname for the specified layer, based on the current hostname theme.
getHostnameSuggestion in interface AWSOpsWorksgetHostnameSuggestionRequest - Container for the necessary
parameters to execute the GetHostnameSuggestion service method on
AWSOpsWorks.
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public DescribeRaidArraysResult describeRaidArrays(DescribeRaidArraysRequest describeRaidArraysRequest)
throws AmazonServiceException,
AmazonClientException
Describe an instance's RAID arrays.
describeRaidArrays in interface AWSOpsWorksdescribeRaidArraysRequest - Container for the necessary
parameters to execute the DescribeRaidArrays service method on
AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public DescribeLayersResult describeLayers(DescribeLayersRequest describeLayersRequest)
throws AmazonServiceException,
AmazonClientException
Requests a description of one or more layers in a specified stack.
describeLayers in interface AWSOpsWorksdescribeLayersRequest - Container for the necessary parameters to
execute the DescribeLayers service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public DescribeLoadBasedAutoScalingResult describeLoadBasedAutoScaling(DescribeLoadBasedAutoScalingRequest describeLoadBasedAutoScalingRequest)
throws AmazonServiceException,
AmazonClientException
Describes load-based auto scaling configurations for specified layers.
describeLoadBasedAutoScaling in interface AWSOpsWorksdescribeLoadBasedAutoScalingRequest - Container for the necessary
parameters to execute the DescribeLoadBasedAutoScaling service method
on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void setLoadBasedAutoScaling(SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest)
throws AmazonServiceException,
AmazonClientException
Specify the load-based auto scaling configuration for a specified layer.
NOTE:To use load-based auto scaling, you must create a set of load-based auto scaling instances. Load-based auto scaling operates only on the instances from that set, so you must ensure that you have created enough instances to handle the maximum anticipated load.
setLoadBasedAutoScaling in interface AWSOpsWorkssetLoadBasedAutoScalingRequest - Container for the necessary
parameters to execute the SetLoadBasedAutoScaling service method on
AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void deleteLayer(DeleteLayerRequest deleteLayerRequest)
throws AmazonServiceException,
AmazonClientException
Deletes a specified layer. You must first remove all associated instances.
deleteLayer in interface AWSOpsWorksdeleteLayerRequest - Container for the necessary parameters to
execute the DeleteLayer service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public DescribeVolumesResult describeVolumes(DescribeVolumesRequest describeVolumesRequest)
throws AmazonServiceException,
AmazonClientException
Describes an instance's Amazon EBS volumes.
describeVolumes in interface AWSOpsWorksdescribeVolumesRequest - Container for the necessary parameters
to execute the DescribeVolumes service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void setTimeBasedAutoScaling(SetTimeBasedAutoScalingRequest setTimeBasedAutoScalingRequest)
throws AmazonServiceException,
AmazonClientException
Specify the time-based auto scaling configuration for a specified instance.
setTimeBasedAutoScaling in interface AWSOpsWorkssetTimeBasedAutoScalingRequest - Container for the necessary
parameters to execute the SetTimeBasedAutoScaling service method on
AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public CreateAppResult createApp(CreateAppRequest createAppRequest)
throws AmazonServiceException,
AmazonClientException
Creates an app for a specified stack.
createApp in interface AWSOpsWorkscreateAppRequest - Container for the necessary parameters to
execute the CreateApp service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public DescribeTimeBasedAutoScalingResult describeTimeBasedAutoScaling(DescribeTimeBasedAutoScalingRequest describeTimeBasedAutoScalingRequest)
throws AmazonServiceException,
AmazonClientException
Describes time-based auto scaling configurations for specified instances.
describeTimeBasedAutoScaling in interface AWSOpsWorksdescribeTimeBasedAutoScalingRequest - Container for the necessary
parameters to execute the DescribeTimeBasedAutoScaling service method
on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void deleteUserProfile(DeleteUserProfileRequest deleteUserProfileRequest)
throws AmazonServiceException,
AmazonClientException
Deletes a user.
deleteUserProfile in interface AWSOpsWorksdeleteUserProfileRequest - Container for the necessary parameters
to execute the DeleteUserProfile service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public DescribeUserProfilesResult describeUserProfiles(DescribeUserProfilesRequest describeUserProfilesRequest)
throws AmazonServiceException,
AmazonClientException
Describe specified users.
describeUserProfiles in interface AWSOpsWorksdescribeUserProfilesRequest - Container for the necessary
parameters to execute the DescribeUserProfiles service method on
AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void updateInstance(UpdateInstanceRequest updateInstanceRequest)
throws AmazonServiceException,
AmazonClientException
Updates a specified instance.
updateInstance in interface AWSOpsWorksupdateInstanceRequest - Container for the necessary parameters to
execute the UpdateInstance service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public DescribeServiceErrorsResult describeServiceErrors(DescribeServiceErrorsRequest describeServiceErrorsRequest)
throws AmazonServiceException,
AmazonClientException
Describes OpsWorks service errors.
describeServiceErrors in interface AWSOpsWorksdescribeServiceErrorsRequest - Container for the necessary
parameters to execute the DescribeServiceErrors service method on
AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public DescribeDeploymentsResult describeDeployments(DescribeDeploymentsRequest describeDeploymentsRequest)
throws AmazonServiceException,
AmazonClientException
Requests a description of a specified set of deployments.
describeDeployments in interface AWSOpsWorksdescribeDeploymentsRequest - Container for the necessary
parameters to execute the DescribeDeployments service method on
AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void updateLayer(UpdateLayerRequest updateLayerRequest)
throws AmazonServiceException,
AmazonClientException
Updates a specified layer.
updateLayer in interface AWSOpsWorksupdateLayerRequest - Container for the necessary parameters to
execute the UpdateLayer service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void startInstance(StartInstanceRequest startInstanceRequest)
throws AmazonServiceException,
AmazonClientException
Starts a specified instance.
startInstance in interface AWSOpsWorksstartInstanceRequest - Container for the necessary parameters to
execute the StartInstance service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public DescribeElasticIpsResult describeElasticIps(DescribeElasticIpsRequest describeElasticIpsRequest)
throws AmazonServiceException,
AmazonClientException
Describes an instance's Elastic IP addresses .
describeElasticIps in interface AWSOpsWorksdescribeElasticIpsRequest - Container for the necessary
parameters to execute the DescribeElasticIps service method on
AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public DescribeStacksResult describeStacks(DescribeStacksRequest describeStacksRequest)
throws AmazonServiceException,
AmazonClientException
Requests a description of one or more stacks.
describeStacks in interface AWSOpsWorksdescribeStacksRequest - Container for the necessary parameters to
execute the DescribeStacks service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public DescribeAppsResult describeApps(DescribeAppsRequest describeAppsRequest)
throws AmazonServiceException,
AmazonClientException
Requests a description of a specified set of apps.
describeApps in interface AWSOpsWorksdescribeAppsRequest - Container for the necessary parameters to
execute the DescribeApps service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public CreateLayerResult createLayer(CreateLayerRequest createLayerRequest)
throws AmazonServiceException,
AmazonClientException
Creates a layer.
createLayer in interface AWSOpsWorkscreateLayerRequest - Container for the necessary parameters to
execute the CreateLayer service method on AWSOpsWorks.
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void deleteStack(DeleteStackRequest deleteStackRequest)
throws AmazonServiceException,
AmazonClientException
Deletes a specified stack. You must first delete all instances and layers.
deleteStack in interface AWSOpsWorksdeleteStackRequest - Container for the necessary parameters to
execute the DeleteStack service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void startStack(StartStackRequest startStackRequest)
throws AmazonServiceException,
AmazonClientException
Starts stack's instances.
startStack in interface AWSOpsWorksstartStackRequest - Container for the necessary parameters to
execute the StartStack service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void stopStack(StopStackRequest stopStackRequest)
throws AmazonServiceException,
AmazonClientException
Stops a specified stack.
stopStack in interface AWSOpsWorksstopStackRequest - Container for the necessary parameters to
execute the StopStack service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public CreateDeploymentResult createDeployment(CreateDeploymentRequest createDeploymentRequest)
throws AmazonServiceException,
AmazonClientException
Deploys a stack or app.
deploy event, which runs
the associated recipes and passes them a JSON stack configuration
object that includes information about the app. deploy recipes but does
not raise an event.
createDeployment in interface AWSOpsWorkscreateDeploymentRequest - Container for the necessary parameters
to execute the CreateDeployment service method on AWSOpsWorks.
ResourceNotFoundException
ValidationException
AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException - If an error response is returned by AWSOpsWorks indicating
either a problem with the data in the request, or a server side issue.
public void setEndpoint(java.lang.String endpoint,
java.lang.String serviceName,
java.lang.String regionId)
throws java.lang.IllegalArgumentException
This method is not threadsafe. Endpoints 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.
Callers can pass in just the endpoint (ex: "opsworks.us-east-1.amazonaws.com") or a full
URL, including the protocol (ex: "https://opsworks.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
endpoint - The endpoint (ex: "opsworks.us-east-1.amazonaws.com") or a full URL,
including the protocol (ex: "https://opsworks.us-east-1.amazonaws.com") of
the region specific AWS endpoint this client will communicate
with.serviceName - The name of the AWS service to use when signing requests.regionId - The ID of the region in which this service resides.
java.lang.IllegalArgumentException - If any problems are detected with the specified endpoint.AmazonDynamoDB#setRegion(Region)public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
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 the request.
getCachedResponseMetadata in interface AWSOpsWorksrequest - The originally executed request
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||