Class AbstractAWSOpsWorks

  • All Implemented Interfaces:
    AWSOpsWorks
    Direct Known Subclasses:
    AbstractAWSOpsWorksAsync

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

      • AbstractAWSOpsWorks

        protected AbstractAWSOpsWorks()
    • Method Detail

      • setEndpoint

        public void setEndpoint​(String endpoint)
        Description copied from interface: AWSOpsWorks
        Overrides the default endpoint for this client ("https://opsworks.us-east-1.amazonaws.com"). Callers can use this method to control which AWS region they want to work with.

        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

        This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.

        Specified by:
        setEndpoint in interface AWSOpsWorks
        Parameters:
        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.
      • assignInstance

        public AssignInstanceResult assignInstance​(AssignInstanceRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        assignInstance in interface AWSOpsWorks
        Returns:
        Result of the AssignInstance operation returned by the service.
      • assignVolume

        public AssignVolumeResult assignVolume​(AssignVolumeRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        assignVolume in interface AWSOpsWorks
        Returns:
        Result of the AssignVolume operation returned by the service.
      • associateElasticIp

        public AssociateElasticIpResult associateElasticIp​(AssociateElasticIpRequest request)
        Description copied from interface: AWSOpsWorks

        Associates one of the stack's registered Elastic IP addresses with a specified instance. The address must first be registered with the stack by calling RegisterElasticIp. 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:
        associateElasticIp in interface AWSOpsWorks
        Returns:
        Result of the AssociateElasticIp operation returned by the service.
      • cloneStack

        public CloneStackResult cloneStack​(CloneStackRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        cloneStack in interface AWSOpsWorks
        Returns:
        Result of the CloneStack operation returned by the service.
      • createApp

        public CreateAppResult createApp​(CreateAppRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        createApp in interface AWSOpsWorks
        Returns:
        Result of the CreateApp operation returned by the service.
      • createLayer

        public CreateLayerResult createLayer​(CreateLayerRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        createLayer in interface AWSOpsWorks
        Returns:
        Result of the CreateLayer operation returned by the service.
      • deleteApp

        public DeleteAppResult deleteApp​(DeleteAppRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        deleteApp in interface AWSOpsWorks
        Returns:
        Result of the DeleteApp operation returned by the service.
      • deleteInstance

        public DeleteInstanceResult deleteInstance​(DeleteInstanceRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        deleteInstance in interface AWSOpsWorks
        Returns:
        Result of the DeleteInstance operation returned by the service.
      • deleteLayer

        public DeleteLayerResult deleteLayer​(DeleteLayerRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        deleteLayer in interface AWSOpsWorks
        Returns:
        Result of the DeleteLayer operation returned by the service.
      • deleteStack

        public DeleteStackResult deleteStack​(DeleteStackRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        deleteStack in interface AWSOpsWorks
        Returns:
        Result of the DeleteStack operation returned by the service.
      • deregisterElasticIp

        public DeregisterElasticIpResult deregisterElasticIp​(DeregisterElasticIpRequest request)
        Description copied from interface: AWSOpsWorks

        Deregisters a specified Elastic IP address. The address 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:
        deregisterElasticIp in interface AWSOpsWorks
        Returns:
        Result of the DeregisterElasticIp operation returned by the service.
      • deregisterInstance

        public DeregisterInstanceResult deregisterInstance​(DeregisterInstanceRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        deregisterInstance in interface AWSOpsWorks
        Returns:
        Result of the DeregisterInstance operation returned by the service.
      • deregisterVolume

        public DeregisterVolumeResult deregisterVolume​(DeregisterVolumeRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        deregisterVolume in interface AWSOpsWorks
        Returns:
        Result of the DeregisterVolume operation returned by the service.
      • describeAgentVersions

        public DescribeAgentVersionsResult describeAgentVersions​(DescribeAgentVersionsRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        describeAgentVersions in interface AWSOpsWorks
        Returns:
        Result of the DescribeAgentVersions operation returned by the service.
      • describeApps

        public DescribeAppsResult describeApps​(DescribeAppsRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        describeApps in interface AWSOpsWorks
        Returns:
        Result of the DescribeApps operation returned by the service.
      • describeCommands

        public DescribeCommandsResult describeCommands​(DescribeCommandsRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        describeCommands in interface AWSOpsWorks
        Returns:
        Result of the DescribeCommands operation returned by the service.
      • describeDeployments

        public DescribeDeploymentsResult describeDeployments​(DescribeDeploymentsRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        describeDeployments in interface AWSOpsWorks
        Returns:
        Result of the DescribeDeployments operation returned by the service.
      • describeEcsClusters

        public DescribeEcsClustersResult describeEcsClusters​(DescribeEcsClustersRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        describeEcsClusters in interface AWSOpsWorks
        Returns:
        Result of the DescribeEcsClusters operation returned by the service.
      • describeInstances

        public DescribeInstancesResult describeInstances​(DescribeInstancesRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        describeInstances in interface AWSOpsWorks
        Returns:
        Result of the DescribeInstances operation returned by the service.
      • describeLayers

        public DescribeLayersResult describeLayers​(DescribeLayersRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        describeLayers in interface AWSOpsWorks
        Returns:
        Result of the DescribeLayers operation returned by the service.
      • describeLoadBasedAutoScaling

        public DescribeLoadBasedAutoScalingResult describeLoadBasedAutoScaling​(DescribeLoadBasedAutoScalingRequest request)
        Description copied from interface: AWSOpsWorks

        Describes load-based auto scaling configurations for specified layers.

        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:
        describeLoadBasedAutoScaling in interface AWSOpsWorks
        Returns:
        Result of the DescribeLoadBasedAutoScaling operation returned by the service.
      • describePermissions

        public DescribePermissionsResult describePermissions​(DescribePermissionsRequest request)
        Description copied from interface: AWSOpsWorks

        Describes the permissions for 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:
        describePermissions in interface AWSOpsWorks
        Returns:
        Result of the DescribePermissions operation returned by the service.
      • describeRaidArrays

        public DescribeRaidArraysResult describeRaidArrays​(DescribeRaidArraysRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        describeRaidArrays in interface AWSOpsWorks
        Returns:
        Result of the DescribeRaidArrays operation returned by the service.
      • describeStackSummary

        public DescribeStackSummaryResult describeStackSummary​(DescribeStackSummaryRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        describeStackSummary in interface AWSOpsWorks
        Returns:
        Result of the DescribeStackSummary operation returned by the service.
      • describeStacks

        public DescribeStacksResult describeStacks​(DescribeStacksRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        describeStacks in interface AWSOpsWorks
        Returns:
        Result of the DescribeStacks operation returned by the service.
      • describeTimeBasedAutoScaling

        public DescribeTimeBasedAutoScalingResult describeTimeBasedAutoScaling​(DescribeTimeBasedAutoScalingRequest request)
        Description copied from interface: AWSOpsWorks

        Describes time-based auto scaling configurations for specified 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:
        describeTimeBasedAutoScaling in interface AWSOpsWorks
        Returns:
        Result of the DescribeTimeBasedAutoScaling operation returned by the service.
      • describeVolumes

        public DescribeVolumesResult describeVolumes​(DescribeVolumesRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        describeVolumes in interface AWSOpsWorks
        Returns:
        Result of the DescribeVolumes operation returned by the service.
      • getHostnameSuggestion

        public GetHostnameSuggestionResult getHostnameSuggestion​(GetHostnameSuggestionRequest request)
        Description copied from interface: AWSOpsWorks

        Gets a generated host name for the specified layer, based on the current host name theme.

        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:
        getHostnameSuggestion in interface AWSOpsWorks
        Returns:
        Result of the GetHostnameSuggestion operation returned by the service.
      • grantAccess

        public GrantAccessResult grantAccess​(GrantAccessRequest request)
        Description copied from interface: AWSOpsWorks
        This action can be used only with Windows stacks.

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

        Specified by:
        grantAccess in interface AWSOpsWorks
        Returns:
        Result of the GrantAccess operation returned by the service.
      • registerEcsCluster

        public RegisterEcsClusterResult registerEcsCluster​(RegisterEcsClusterRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        registerEcsCluster in interface AWSOpsWorks
        Returns:
        Result of the RegisterEcsCluster operation returned by the service.
      • registerElasticIp

        public RegisterElasticIpResult registerElasticIp​(RegisterElasticIpRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        registerElasticIp in interface AWSOpsWorks
        Returns:
        Result of the RegisterElasticIp operation returned by the service.
      • registerInstance

        public RegisterInstanceResult registerInstance​(RegisterInstanceRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        registerInstance in interface AWSOpsWorks
        Returns:
        Result of the RegisterInstance operation returned by the service.
      • registerVolume

        public RegisterVolumeResult registerVolume​(RegisterVolumeRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        registerVolume in interface AWSOpsWorks
        Returns:
        Result of the RegisterVolume operation returned by the service.
      • setLoadBasedAutoScaling

        public SetLoadBasedAutoScalingResult setLoadBasedAutoScaling​(SetLoadBasedAutoScalingRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        setLoadBasedAutoScaling in interface AWSOpsWorks
        Returns:
        Result of the SetLoadBasedAutoScaling operation returned by the service.
      • startStack

        public StartStackResult startStack​(StartStackRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        startStack in interface AWSOpsWorks
        Returns:
        Result of the StartStack operation returned by the service.
      • stopInstance

        public StopInstanceResult stopInstance​(StopInstanceRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        stopInstance in interface AWSOpsWorks
        Returns:
        Result of the StopInstance operation returned by the service.
      • stopStack

        public StopStackResult stopStack​(StopStackRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        stopStack in interface AWSOpsWorks
        Returns:
        Result of the StopStack operation returned by the service.
      • unassignInstance

        public UnassignInstanceResult unassignInstance​(UnassignInstanceRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        unassignInstance in interface AWSOpsWorks
        Returns:
        Result of the UnassignInstance operation returned by the service.
      • unassignVolume

        public UnassignVolumeResult unassignVolume​(UnassignVolumeRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        unassignVolume in interface AWSOpsWorks
        Returns:
        Result of the UnassignVolume operation returned by the service.
      • updateApp

        public UpdateAppResult updateApp​(UpdateAppRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        updateApp in interface AWSOpsWorks
        Returns:
        Result of the UpdateApp operation returned by the service.
      • updateInstance

        public UpdateInstanceResult updateInstance​(UpdateInstanceRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        updateInstance in interface AWSOpsWorks
        Returns:
        Result of the UpdateInstance operation returned by the service.
      • updateLayer

        public UpdateLayerResult updateLayer​(UpdateLayerRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        updateLayer in interface AWSOpsWorks
        Returns:
        Result of the UpdateLayer operation returned by the service.
      • updateStack

        public UpdateStackResult updateStack​(UpdateStackRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        updateStack in interface AWSOpsWorks
        Returns:
        Result of the UpdateStack operation returned by the service.
      • updateVolume

        public UpdateVolumeResult updateVolume​(UpdateVolumeRequest request)
        Description copied from interface: AWSOpsWorks

        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:
        updateVolume in interface AWSOpsWorks
        Returns:
        Result of the UpdateVolume operation returned by the service.
      • shutdown

        public void shutdown()
        Description copied from interface: AWSOpsWorks
        Shuts down this client object, releasing any resources that might be held open. This is an optional method, and callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client has been shutdown, it should not be used to make any more requests.
        Specified by:
        shutdown in interface AWSOpsWorks
      • getCachedResponseMetadata

        public ResponseMetadata getCachedResponseMetadata​(AmazonWebServiceRequest request)
        Description copied from interface: AWSOpsWorks
        Returns additional metadata for a previously executed successful request, typically used for debugging issues where a service isn't acting as expected. This data isn't considered part of the result data returned by an operation, so it's available through this separate, diagnostic interface.

        Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.

        Specified by:
        getCachedResponseMetadata in interface AWSOpsWorks
        Parameters:
        request - The originally executed request.
        Returns:
        The response metadata for the specified request, or null if none is available.