Class AbstractAWSOpsWorksAsync

  • All Implemented Interfaces:
    AWSOpsWorks, AWSOpsWorksAsync

    public class AbstractAWSOpsWorksAsync
    extends AbstractAWSOpsWorks
    implements AWSOpsWorksAsync
    Abstract implementation of AWSOpsWorksAsync. Convenient method forms pass through to the corresponding overload that takes a request object and an AsyncHandler, which throws an UnsupportedOperationException.
    • Constructor Detail

      • AbstractAWSOpsWorksAsync

        protected AbstractAWSOpsWorksAsync()
    • Method Detail

      • assignInstanceAsync

        public Future<AssignInstanceResult> assignInstanceAsync​(AssignInstanceRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Assign a registered instance to a layer.

        • You can assign registered on-premises instances to any layer type.
        • You can assign registered Amazon EC2 instances only to custom layers.
        • You cannot use this action with instances that were created with AWS OpsWorks.

        Required Permissions: To use this action, an AWS Identity and Access Management (IAM) user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        assignInstanceAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the AssignInstance operation returned by the service.
      • assignInstanceAsync

        public Future<AssignInstanceResult> assignInstanceAsync​(AssignInstanceRequest request,
                                                                AsyncHandler<AssignInstanceRequest,​AssignInstanceResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Assign a registered instance to a layer.

        • You can assign registered on-premises instances to any layer type.
        • You can assign registered Amazon EC2 instances only to custom layers.
        • You cannot use this action with instances that were created with AWS OpsWorks.

        Required Permissions: To use this action, an AWS Identity and Access Management (IAM) user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        assignInstanceAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the AssignInstance operation returned by the service.
      • assignVolumeAsync

        public Future<AssignVolumeResult> assignVolumeAsync​(AssignVolumeRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Assigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be registered with the stack by calling RegisterVolume. After you register the volume, you must call UpdateVolume to specify a mount point before calling AssignVolume. For more information, see Resource Management.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        assignVolumeAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the AssignVolume operation returned by the service.
      • assignVolumeAsync

        public Future<AssignVolumeResult> assignVolumeAsync​(AssignVolumeRequest request,
                                                            AsyncHandler<AssignVolumeRequest,​AssignVolumeResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Assigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be registered with the stack by calling RegisterVolume. After you register the volume, you must call UpdateVolume to specify a mount point before calling AssignVolume. For more information, see Resource Management.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        assignVolumeAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the AssignVolume operation returned by the service.
      • cloneStackAsync

        public Future<CloneStackResult> cloneStackAsync​(CloneStackRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Creates a clone of a specified stack. For more information, see Clone a Stack. By default, all parameters are set to the values used by the parent stack.

        Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        cloneStackAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the CloneStack operation returned by the service.
      • cloneStackAsync

        public Future<CloneStackResult> cloneStackAsync​(CloneStackRequest request,
                                                        AsyncHandler<CloneStackRequest,​CloneStackResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Creates a clone of a specified stack. For more information, see Clone a Stack. By default, all parameters are set to the values used by the parent stack.

        Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        cloneStackAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the CloneStack operation returned by the service.
      • createAppAsync

        public Future<CreateAppResult> createAppAsync​(CreateAppRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Creates an app for a specified stack. For more information, see Creating Apps.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        createAppAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the CreateApp operation returned by the service.
      • createAppAsync

        public Future<CreateAppResult> createAppAsync​(CreateAppRequest request,
                                                      AsyncHandler<CreateAppRequest,​CreateAppResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Creates an app for a specified stack. For more information, see Creating Apps.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        createAppAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the CreateApp operation returned by the service.
      • createLayerAsync

        public Future<CreateLayerResult> createLayerAsync​(CreateLayerRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Creates a layer. For more information, see How to Create a Layer.

        You should use CreateLayer for noncustom layer types such as PHP App Server only if the stack does not have an existing layer of that type. A stack can have at most one instance of each noncustom layer; if you attempt to create a second instance, CreateLayer fails. A stack can have an arbitrary number of custom layers, so you can call CreateLayer as many times as you like for that layer type.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        createLayerAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the CreateLayer operation returned by the service.
      • createLayerAsync

        public Future<CreateLayerResult> createLayerAsync​(CreateLayerRequest request,
                                                          AsyncHandler<CreateLayerRequest,​CreateLayerResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Creates a layer. For more information, see How to Create a Layer.

        You should use CreateLayer for noncustom layer types such as PHP App Server only if the stack does not have an existing layer of that type. A stack can have at most one instance of each noncustom layer; if you attempt to create a second instance, CreateLayer fails. A stack can have an arbitrary number of custom layers, so you can call CreateLayer as many times as you like for that layer type.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        createLayerAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the CreateLayer operation returned by the service.
      • createStackAsync

        public Future<CreateStackResult> createStackAsync​(CreateStackRequest request,
                                                          AsyncHandler<CreateStackRequest,​CreateStackResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Creates a new stack. For more information, see Create a New Stack.

        Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        createStackAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the CreateStack operation returned by the service.
      • deleteAppAsync

        public Future<DeleteAppResult> deleteAppAsync​(DeleteAppRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Deletes a specified app.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        deleteAppAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DeleteApp operation returned by the service.
      • deleteAppAsync

        public Future<DeleteAppResult> deleteAppAsync​(DeleteAppRequest request,
                                                      AsyncHandler<DeleteAppRequest,​DeleteAppResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Deletes a specified app.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        deleteAppAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DeleteApp operation returned by the service.
      • deleteInstanceAsync

        public Future<DeleteInstanceResult> deleteInstanceAsync​(DeleteInstanceRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it.

        For more information, see Deleting Instances.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        deleteInstanceAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DeleteInstance operation returned by the service.
      • deleteInstanceAsync

        public Future<DeleteInstanceResult> deleteInstanceAsync​(DeleteInstanceRequest request,
                                                                AsyncHandler<DeleteInstanceRequest,​DeleteInstanceResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it.

        For more information, see Deleting Instances.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        deleteInstanceAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DeleteInstance operation returned by the service.
      • deleteLayerAsync

        public Future<DeleteLayerResult> deleteLayerAsync​(DeleteLayerRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Deletes a specified layer. You must first stop and then delete all associated instances or unassign registered instances. For more information, see How to Delete a Layer.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        deleteLayerAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DeleteLayer operation returned by the service.
      • deleteLayerAsync

        public Future<DeleteLayerResult> deleteLayerAsync​(DeleteLayerRequest request,
                                                          AsyncHandler<DeleteLayerRequest,​DeleteLayerResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Deletes a specified layer. You must first stop and then delete all associated instances or unassign registered instances. For more information, see How to Delete a Layer.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        deleteLayerAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DeleteLayer operation returned by the service.
      • deleteStackAsync

        public Future<DeleteStackResult> deleteStackAsync​(DeleteStackRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Deletes a specified stack. You must first delete all instances, layers, and apps or deregister registered instances. For more information, see Shut Down a Stack.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        deleteStackAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DeleteStack operation returned by the service.
      • deleteStackAsync

        public Future<DeleteStackResult> deleteStackAsync​(DeleteStackRequest request,
                                                          AsyncHandler<DeleteStackRequest,​DeleteStackResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Deletes a specified stack. You must first delete all instances, layers, and apps or deregister registered instances. For more information, see Shut Down a Stack.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        deleteStackAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DeleteStack operation returned by the service.
      • deregisterInstanceAsync

        public Future<DeregisterInstanceResult> deregisterInstanceAsync​(DeregisterInstanceRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Deregister a registered Amazon EC2 or on-premises instance. This action removes the instance from the stack and returns it to your control. This action can not be used with instances that were created with AWS OpsWorks.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        deregisterInstanceAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DeregisterInstance operation returned by the service.
      • deregisterInstanceAsync

        public Future<DeregisterInstanceResult> deregisterInstanceAsync​(DeregisterInstanceRequest request,
                                                                        AsyncHandler<DeregisterInstanceRequest,​DeregisterInstanceResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Deregister a registered Amazon EC2 or on-premises instance. This action removes the instance from the stack and returns it to your control. This action can not be used with instances that were created with AWS OpsWorks.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        deregisterInstanceAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DeregisterInstance operation returned by the service.
      • deregisterVolumeAsync

        public Future<DeregisterVolumeResult> deregisterVolumeAsync​(DeregisterVolumeRequest request,
                                                                    AsyncHandler<DeregisterVolumeRequest,​DeregisterVolumeResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Deregisters an Amazon EBS volume. The volume can then be registered by another stack. For more information, see Resource Management.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        deregisterVolumeAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DeregisterVolume operation returned by the service.
      • describeAgentVersionsAsync

        public Future<DescribeAgentVersionsResult> describeAgentVersionsAsync​(DescribeAgentVersionsRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Describes the available AWS OpsWorks agent versions. You must specify a stack ID or a configuration manager. DescribeAgentVersions returns a list of available agent versions for the specified stack or configuration manager.

        Specified by:
        describeAgentVersionsAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DescribeAgentVersions operation returned by the service.
      • describeAgentVersionsAsync

        public Future<DescribeAgentVersionsResult> describeAgentVersionsAsync​(DescribeAgentVersionsRequest request,
                                                                              AsyncHandler<DescribeAgentVersionsRequest,​DescribeAgentVersionsResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Describes the available AWS OpsWorks agent versions. You must specify a stack ID or a configuration manager. DescribeAgentVersions returns a list of available agent versions for the specified stack or configuration manager.

        Specified by:
        describeAgentVersionsAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DescribeAgentVersions operation returned by the service.
      • describeAppsAsync

        public Future<DescribeAppsResult> describeAppsAsync​(DescribeAppsRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Requests a description of a specified set of apps.

        You must specify at least one of the parameters.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeAppsAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DescribeApps operation returned by the service.
      • describeAppsAsync

        public Future<DescribeAppsResult> describeAppsAsync​(DescribeAppsRequest request,
                                                            AsyncHandler<DescribeAppsRequest,​DescribeAppsResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Requests a description of a specified set of apps.

        You must specify at least one of the parameters.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeAppsAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DescribeApps operation returned by the service.
      • describeCommandsAsync

        public Future<DescribeCommandsResult> describeCommandsAsync​(DescribeCommandsRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Describes the results of specified commands.

        You must specify at least one of the parameters.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeCommandsAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DescribeCommands operation returned by the service.
      • describeCommandsAsync

        public Future<DescribeCommandsResult> describeCommandsAsync​(DescribeCommandsRequest request,
                                                                    AsyncHandler<DescribeCommandsRequest,​DescribeCommandsResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Describes the results of specified commands.

        You must specify at least one of the parameters.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeCommandsAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DescribeCommands operation returned by the service.
      • describeDeploymentsAsync

        public Future<DescribeDeploymentsResult> describeDeploymentsAsync​(DescribeDeploymentsRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Requests a description of a specified set of deployments.

        You must specify at least one of the parameters.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeDeploymentsAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DescribeDeployments operation returned by the service.
      • describeDeploymentsAsync

        public Future<DescribeDeploymentsResult> describeDeploymentsAsync​(DescribeDeploymentsRequest request,
                                                                          AsyncHandler<DescribeDeploymentsRequest,​DescribeDeploymentsResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Requests a description of a specified set of deployments.

        You must specify at least one of the parameters.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeDeploymentsAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DescribeDeployments operation returned by the service.
      • describeEcsClustersAsync

        public Future<DescribeEcsClustersResult> describeEcsClustersAsync​(DescribeEcsClustersRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Describes Amazon ECS clusters that are registered with a stack. If you specify only a stack ID, you can use the MaxResults and NextToken parameters to paginate the response. However, AWS OpsWorks currently supports only one cluster per layer, so the result set has a maximum of one element.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permission. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeEcsClustersAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DescribeEcsClusters operation returned by the service.
      • describeEcsClustersAsync

        public Future<DescribeEcsClustersResult> describeEcsClustersAsync​(DescribeEcsClustersRequest request,
                                                                          AsyncHandler<DescribeEcsClustersRequest,​DescribeEcsClustersResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Describes Amazon ECS clusters that are registered with a stack. If you specify only a stack ID, you can use the MaxResults and NextToken parameters to paginate the response. However, AWS OpsWorks currently supports only one cluster per layer, so the result set has a maximum of one element.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permission. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeEcsClustersAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DescribeEcsClusters operation returned by the service.
      • describeInstancesAsync

        public Future<DescribeInstancesResult> describeInstancesAsync​(DescribeInstancesRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Requests a description of a set of instances.

        You must specify at least one of the parameters.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeInstancesAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DescribeInstances operation returned by the service.
      • describeInstancesAsync

        public Future<DescribeInstancesResult> describeInstancesAsync​(DescribeInstancesRequest request,
                                                                      AsyncHandler<DescribeInstancesRequest,​DescribeInstancesResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Requests a description of a set of instances.

        You must specify at least one of the parameters.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeInstancesAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DescribeInstances operation returned by the service.
      • describeLayersAsync

        public Future<DescribeLayersResult> describeLayersAsync​(DescribeLayersRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Requests a description of one or more layers in a specified stack.

        You must specify at least one of the parameters.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeLayersAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DescribeLayers operation returned by the service.
      • describeLayersAsync

        public Future<DescribeLayersResult> describeLayersAsync​(DescribeLayersRequest request,
                                                                AsyncHandler<DescribeLayersRequest,​DescribeLayersResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Requests a description of one or more layers in a specified stack.

        You must specify at least one of the parameters.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeLayersAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DescribeLayers operation returned by the service.
      • describeRaidArraysAsync

        public Future<DescribeRaidArraysResult> describeRaidArraysAsync​(DescribeRaidArraysRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Describe an instance's RAID arrays.

        You must specify at least one of the parameters.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeRaidArraysAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DescribeRaidArrays operation returned by the service.
      • describeRaidArraysAsync

        public Future<DescribeRaidArraysResult> describeRaidArraysAsync​(DescribeRaidArraysRequest request,
                                                                        AsyncHandler<DescribeRaidArraysRequest,​DescribeRaidArraysResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Describe an instance's RAID arrays.

        You must specify at least one of the parameters.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeRaidArraysAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DescribeRaidArrays operation returned by the service.
      • describeStackSummaryAsync

        public Future<DescribeStackSummaryResult> describeStackSummaryAsync​(DescribeStackSummaryRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Describes the number of layers and apps in a specified stack, and the number of instances in each state, such as running_setup or online.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeStackSummaryAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DescribeStackSummary operation returned by the service.
      • describeStackSummaryAsync

        public Future<DescribeStackSummaryResult> describeStackSummaryAsync​(DescribeStackSummaryRequest request,
                                                                            AsyncHandler<DescribeStackSummaryRequest,​DescribeStackSummaryResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Describes the number of layers and apps in a specified stack, and the number of instances in each state, such as running_setup or online.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeStackSummaryAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DescribeStackSummary operation returned by the service.
      • describeStacksAsync

        public Future<DescribeStacksResult> describeStacksAsync​(DescribeStacksRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Requests a description of one or more stacks.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeStacksAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DescribeStacks operation returned by the service.
      • describeStacksAsync

        public Future<DescribeStacksResult> describeStacksAsync​(DescribeStacksRequest request,
                                                                AsyncHandler<DescribeStacksRequest,​DescribeStacksResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Requests a description of one or more stacks.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeStacksAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DescribeStacks operation returned by the service.
      • describeVolumesAsync

        public Future<DescribeVolumesResult> describeVolumesAsync​(DescribeVolumesRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Describes an instance's Amazon EBS volumes.

        You must specify at least one of the parameters.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeVolumesAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the DescribeVolumes operation returned by the service.
      • describeVolumesAsync

        public Future<DescribeVolumesResult> describeVolumesAsync​(DescribeVolumesRequest request,
                                                                  AsyncHandler<DescribeVolumesRequest,​DescribeVolumesResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Describes an instance's Amazon EBS volumes.

        You must specify at least one of the parameters.

        Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        describeVolumesAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the DescribeVolumes operation returned by the service.
      • grantAccessAsync

        public Future<GrantAccessResult> grantAccessAsync​(GrantAccessRequest request,
                                                          AsyncHandler<GrantAccessRequest,​GrantAccessResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync
        This action can be used only with Windows stacks.

        Grants RDP access to a Windows instance for a specified time period.

        Specified by:
        grantAccessAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the GrantAccess operation returned by the service.
      • registerEcsClusterAsync

        public Future<RegisterEcsClusterResult> registerEcsClusterAsync​(RegisterEcsClusterRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Registers a specified Amazon ECS cluster with a stack. You can register only one cluster with a stack. A cluster can be registered with only one stack. For more information, see Resource Management.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        registerEcsClusterAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the RegisterEcsCluster operation returned by the service.
      • registerEcsClusterAsync

        public Future<RegisterEcsClusterResult> registerEcsClusterAsync​(RegisterEcsClusterRequest request,
                                                                        AsyncHandler<RegisterEcsClusterRequest,​RegisterEcsClusterResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Registers a specified Amazon ECS cluster with a stack. You can register only one cluster with a stack. A cluster can be registered with only one stack. For more information, see Resource Management.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        registerEcsClusterAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the RegisterEcsCluster operation returned by the service.
      • registerElasticIpAsync

        public Future<RegisterElasticIpResult> registerElasticIpAsync​(RegisterElasticIpRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Registers an Elastic IP address with a specified stack. An address can be registered with only one stack at a time. If the address is already registered, you must first deregister it by calling DeregisterElasticIp. For more information, see Resource Management.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        registerElasticIpAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the RegisterElasticIp operation returned by the service.
      • registerElasticIpAsync

        public Future<RegisterElasticIpResult> registerElasticIpAsync​(RegisterElasticIpRequest request,
                                                                      AsyncHandler<RegisterElasticIpRequest,​RegisterElasticIpResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Registers an Elastic IP address with a specified stack. An address can be registered with only one stack at a time. If the address is already registered, you must first deregister it by calling DeregisterElasticIp. For more information, see Resource Management.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        registerElasticIpAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the RegisterElasticIp operation returned by the service.
      • registerInstanceAsync

        public Future<RegisterInstanceResult> registerInstanceAsync​(RegisterInstanceRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Registers instances with a specified stack that were created outside of AWS OpsWorks.

        We do not recommend using this action to register instances. The complete registration operation has two primary steps, installing the AWS OpsWorks agent on the instance and registering the instance with the stack. RegisterInstance handles only the second step. You should instead use the AWS CLI register command, which performs the entire registration operation. For more information, see Registering an Instance with an AWS OpsWorks Stack.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        registerInstanceAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the RegisterInstance operation returned by the service.
      • registerInstanceAsync

        public Future<RegisterInstanceResult> registerInstanceAsync​(RegisterInstanceRequest request,
                                                                    AsyncHandler<RegisterInstanceRequest,​RegisterInstanceResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Registers instances with a specified stack that were created outside of AWS OpsWorks.

        We do not recommend using this action to register instances. The complete registration operation has two primary steps, installing the AWS OpsWorks agent on the instance and registering the instance with the stack. RegisterInstance handles only the second step. You should instead use the AWS CLI register command, which performs the entire registration operation. For more information, see Registering an Instance with an AWS OpsWorks Stack.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        registerInstanceAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the RegisterInstance operation returned by the service.
      • registerVolumeAsync

        public Future<RegisterVolumeResult> registerVolumeAsync​(RegisterVolumeRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Registers an Amazon EBS volume with a specified stack. A volume can be registered with only one stack at a time. If the volume is already registered, you must first deregister it by calling DeregisterVolume. For more information, see Resource Management.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        registerVolumeAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the RegisterVolume operation returned by the service.
      • registerVolumeAsync

        public Future<RegisterVolumeResult> registerVolumeAsync​(RegisterVolumeRequest request,
                                                                AsyncHandler<RegisterVolumeRequest,​RegisterVolumeResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Registers an Amazon EBS volume with a specified stack. A volume can be registered with only one stack at a time. If the volume is already registered, you must first deregister it by calling DeregisterVolume. For more information, see Resource Management.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        registerVolumeAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the RegisterVolume operation returned by the service.
      • setLoadBasedAutoScalingAsync

        public Future<SetLoadBasedAutoScalingResult> setLoadBasedAutoScalingAsync​(SetLoadBasedAutoScalingRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances.

        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.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        setLoadBasedAutoScalingAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the SetLoadBasedAutoScaling operation returned by the service.
      • setLoadBasedAutoScalingAsync

        public Future<SetLoadBasedAutoScalingResult> setLoadBasedAutoScalingAsync​(SetLoadBasedAutoScalingRequest request,
                                                                                  AsyncHandler<SetLoadBasedAutoScalingRequest,​SetLoadBasedAutoScalingResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances.

        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.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        setLoadBasedAutoScalingAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the SetLoadBasedAutoScaling operation returned by the service.
      • startStackAsync

        public Future<StartStackResult> startStackAsync​(StartStackRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Starts a stack's instances.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        startStackAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the StartStack operation returned by the service.
      • startStackAsync

        public Future<StartStackResult> startStackAsync​(StartStackRequest request,
                                                        AsyncHandler<StartStackRequest,​StartStackResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Starts a stack's instances.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        startStackAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the StartStack operation returned by the service.
      • stopInstanceAsync

        public Future<StopInstanceResult> stopInstanceAsync​(StopInstanceRequest request)
        Description copied from interface: AWSOpsWorksAsync

        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. For more information, see Starting, Stopping, and Rebooting Instances.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        stopInstanceAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the StopInstance operation returned by the service.
      • stopInstanceAsync

        public Future<StopInstanceResult> stopInstanceAsync​(StopInstanceRequest request,
                                                            AsyncHandler<StopInstanceRequest,​StopInstanceResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        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. For more information, see Starting, Stopping, and Rebooting Instances.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        stopInstanceAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the StopInstance operation returned by the service.
      • stopStackAsync

        public Future<StopStackResult> stopStackAsync​(StopStackRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Stops a specified stack.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        stopStackAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the StopStack operation returned by the service.
      • stopStackAsync

        public Future<StopStackResult> stopStackAsync​(StopStackRequest request,
                                                      AsyncHandler<StopStackRequest,​StopStackResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Stops a specified stack.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        stopStackAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the StopStack operation returned by the service.
      • unassignInstanceAsync

        public Future<UnassignInstanceResult> unassignInstanceAsync​(UnassignInstanceRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Unassigns a registered instance from all of it's layers. The instance remains in the stack as an unassigned instance and can be assigned to another layer, as needed. You cannot use this action with instances that were created with AWS OpsWorks.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        unassignInstanceAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the UnassignInstance operation returned by the service.
      • unassignInstanceAsync

        public Future<UnassignInstanceResult> unassignInstanceAsync​(UnassignInstanceRequest request,
                                                                    AsyncHandler<UnassignInstanceRequest,​UnassignInstanceResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Unassigns a registered instance from all of it's layers. The instance remains in the stack as an unassigned instance and can be assigned to another layer, as needed. You cannot use this action with instances that were created with AWS OpsWorks.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        unassignInstanceAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the UnassignInstance operation returned by the service.
      • unassignVolumeAsync

        public Future<UnassignVolumeResult> unassignVolumeAsync​(UnassignVolumeRequest request,
                                                                AsyncHandler<UnassignVolumeRequest,​UnassignVolumeResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Unassigns an assigned Amazon EBS volume. The volume remains registered with the stack. For more information, see Resource Management.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        unassignVolumeAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the UnassignVolume operation returned by the service.
      • updateAppAsync

        public Future<UpdateAppResult> updateAppAsync​(UpdateAppRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Updates a specified app.

        Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        updateAppAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the UpdateApp operation returned by the service.
      • updateAppAsync

        public Future<UpdateAppResult> updateAppAsync​(UpdateAppRequest request,
                                                      AsyncHandler<UpdateAppRequest,​UpdateAppResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Updates a specified app.

        Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        updateAppAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the UpdateApp operation returned by the service.
      • updateElasticIpAsync

        public Future<UpdateElasticIpResult> updateElasticIpAsync​(UpdateElasticIpRequest request,
                                                                  AsyncHandler<UpdateElasticIpRequest,​UpdateElasticIpResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Updates a registered Elastic IP address's name. For more information, see Resource Management.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        updateElasticIpAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the UpdateElasticIp operation returned by the service.
      • updateInstanceAsync

        public Future<UpdateInstanceResult> updateInstanceAsync​(UpdateInstanceRequest request,
                                                                AsyncHandler<UpdateInstanceRequest,​UpdateInstanceResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Updates a specified instance.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        updateInstanceAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the UpdateInstance operation returned by the service.
      • updateLayerAsync

        public Future<UpdateLayerResult> updateLayerAsync​(UpdateLayerRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Updates a specified layer.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        updateLayerAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the UpdateLayer operation returned by the service.
      • updateLayerAsync

        public Future<UpdateLayerResult> updateLayerAsync​(UpdateLayerRequest request,
                                                          AsyncHandler<UpdateLayerRequest,​UpdateLayerResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Updates a specified layer.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        updateLayerAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the UpdateLayer operation returned by the service.
      • updateStackAsync

        public Future<UpdateStackResult> updateStackAsync​(UpdateStackRequest request)
        Description copied from interface: AWSOpsWorksAsync

        Updates a specified stack.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        updateStackAsync in interface AWSOpsWorksAsync
        Returns:
        A Java Future containing the result of the UpdateStack operation returned by the service.
      • updateStackAsync

        public Future<UpdateStackResult> updateStackAsync​(UpdateStackRequest request,
                                                          AsyncHandler<UpdateStackRequest,​UpdateStackResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Updates a specified stack.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        updateStackAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the UpdateStack operation returned by the service.
      • updateVolumeAsync

        public Future<UpdateVolumeResult> updateVolumeAsync​(UpdateVolumeRequest request,
                                                            AsyncHandler<UpdateVolumeRequest,​UpdateVolumeResult> asyncHandler)
        Description copied from interface: AWSOpsWorksAsync

        Updates an Amazon EBS volume's name or mount point. For more information, see Resource Management.

        Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

        Specified by:
        updateVolumeAsync in interface AWSOpsWorksAsync
        asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.
        Returns:
        A Java Future containing the result of the UpdateVolume operation returned by the service.