import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AssignInstanceCommand , AssignInstanceCommandInput , AssignInstanceCommandOutput , } from "./commands/AssignInstanceCommand" ; import { AssignVolumeCommand , AssignVolumeCommandInput , AssignVolumeCommandOutput , } from "./commands/AssignVolumeCommand" ; import { AssociateElasticIpCommand , AssociateElasticIpCommandInput , AssociateElasticIpCommandOutput , } from "./commands/AssociateElasticIpCommand" ; import { AttachElasticLoadBalancerCommand , AttachElasticLoadBalancerCommandInput , AttachElasticLoadBalancerCommandOutput , } from "./commands/AttachElasticLoadBalancerCommand" ; import { CloneStackCommand , CloneStackCommandInput , CloneStackCommandOutput } from "./commands/CloneStackCommand" ; import { CreateAppCommand , CreateAppCommandInput , CreateAppCommandOutput } from "./commands/CreateAppCommand" ; import { CreateDeploymentCommand , CreateDeploymentCommandInput , CreateDeploymentCommandOutput , } from "./commands/CreateDeploymentCommand" ; import { CreateInstanceCommand , CreateInstanceCommandInput , CreateInstanceCommandOutput , } from "./commands/CreateInstanceCommand" ; import { CreateLayerCommand , CreateLayerCommandInput , CreateLayerCommandOutput } from "./commands/CreateLayerCommand" ; import { CreateStackCommand , CreateStackCommandInput , CreateStackCommandOutput } from "./commands/CreateStackCommand" ; import { CreateUserProfileCommand , CreateUserProfileCommandInput , CreateUserProfileCommandOutput , } from "./commands/CreateUserProfileCommand" ; import { DeleteAppCommand , DeleteAppCommandInput , DeleteAppCommandOutput } from "./commands/DeleteAppCommand" ; import { DeleteInstanceCommand , DeleteInstanceCommandInput , DeleteInstanceCommandOutput , } from "./commands/DeleteInstanceCommand" ; import { DeleteLayerCommand , DeleteLayerCommandInput , DeleteLayerCommandOutput } from "./commands/DeleteLayerCommand" ; import { DeleteStackCommand , DeleteStackCommandInput , DeleteStackCommandOutput } from "./commands/DeleteStackCommand" ; import { DeleteUserProfileCommand , DeleteUserProfileCommandInput , DeleteUserProfileCommandOutput , } from "./commands/DeleteUserProfileCommand" ; import { DeregisterEcsClusterCommand , DeregisterEcsClusterCommandInput , DeregisterEcsClusterCommandOutput , } from "./commands/DeregisterEcsClusterCommand" ; import { DeregisterElasticIpCommand , DeregisterElasticIpCommandInput , DeregisterElasticIpCommandOutput , } from "./commands/DeregisterElasticIpCommand" ; import { DeregisterInstanceCommand , DeregisterInstanceCommandInput , DeregisterInstanceCommandOutput , } from "./commands/DeregisterInstanceCommand" ; import { DeregisterRdsDbInstanceCommand , DeregisterRdsDbInstanceCommandInput , DeregisterRdsDbInstanceCommandOutput , } from "./commands/DeregisterRdsDbInstanceCommand" ; import { DeregisterVolumeCommand , DeregisterVolumeCommandInput , DeregisterVolumeCommandOutput , } from "./commands/DeregisterVolumeCommand" ; import { DescribeAgentVersionsCommand , DescribeAgentVersionsCommandInput , DescribeAgentVersionsCommandOutput , } from "./commands/DescribeAgentVersionsCommand" ; import { DescribeAppsCommand , DescribeAppsCommandInput , DescribeAppsCommandOutput , } from "./commands/DescribeAppsCommand" ; import { DescribeCommandsCommand , DescribeCommandsCommandInput , DescribeCommandsCommandOutput , } from "./commands/DescribeCommandsCommand" ; import { DescribeDeploymentsCommand , DescribeDeploymentsCommandInput , DescribeDeploymentsCommandOutput , } from "./commands/DescribeDeploymentsCommand" ; import { DescribeEcsClustersCommand , DescribeEcsClustersCommandInput , DescribeEcsClustersCommandOutput , } from "./commands/DescribeEcsClustersCommand" ; import { DescribeElasticIpsCommand , DescribeElasticIpsCommandInput , DescribeElasticIpsCommandOutput , } from "./commands/DescribeElasticIpsCommand" ; import { DescribeElasticLoadBalancersCommand , DescribeElasticLoadBalancersCommandInput , DescribeElasticLoadBalancersCommandOutput , } from "./commands/DescribeElasticLoadBalancersCommand" ; import { DescribeInstancesCommand , DescribeInstancesCommandInput , DescribeInstancesCommandOutput , } from "./commands/DescribeInstancesCommand" ; import { DescribeLayersCommand , DescribeLayersCommandInput , DescribeLayersCommandOutput , } from "./commands/DescribeLayersCommand" ; import { DescribeLoadBasedAutoScalingCommand , DescribeLoadBasedAutoScalingCommandInput , DescribeLoadBasedAutoScalingCommandOutput , } from "./commands/DescribeLoadBasedAutoScalingCommand" ; import { DescribeMyUserProfileCommand , DescribeMyUserProfileCommandInput , DescribeMyUserProfileCommandOutput , } from "./commands/DescribeMyUserProfileCommand" ; import { DescribeOperatingSystemsCommand , DescribeOperatingSystemsCommandInput , DescribeOperatingSystemsCommandOutput , } from "./commands/DescribeOperatingSystemsCommand" ; import { DescribePermissionsCommand , DescribePermissionsCommandInput , DescribePermissionsCommandOutput , } from "./commands/DescribePermissionsCommand" ; import { DescribeRaidArraysCommand , DescribeRaidArraysCommandInput , DescribeRaidArraysCommandOutput , } from "./commands/DescribeRaidArraysCommand" ; import { DescribeRdsDbInstancesCommand , DescribeRdsDbInstancesCommandInput , DescribeRdsDbInstancesCommandOutput , } from "./commands/DescribeRdsDbInstancesCommand" ; import { DescribeServiceErrorsCommand , DescribeServiceErrorsCommandInput , DescribeServiceErrorsCommandOutput , } from "./commands/DescribeServiceErrorsCommand" ; import { DescribeStackProvisioningParametersCommand , DescribeStackProvisioningParametersCommandInput , DescribeStackProvisioningParametersCommandOutput , } from "./commands/DescribeStackProvisioningParametersCommand" ; import { DescribeStacksCommand , DescribeStacksCommandInput , DescribeStacksCommandOutput , } from "./commands/DescribeStacksCommand" ; import { DescribeStackSummaryCommand , DescribeStackSummaryCommandInput , DescribeStackSummaryCommandOutput , } from "./commands/DescribeStackSummaryCommand" ; import { DescribeTimeBasedAutoScalingCommand , DescribeTimeBasedAutoScalingCommandInput , DescribeTimeBasedAutoScalingCommandOutput , } from "./commands/DescribeTimeBasedAutoScalingCommand" ; import { DescribeUserProfilesCommand , DescribeUserProfilesCommandInput , DescribeUserProfilesCommandOutput , } from "./commands/DescribeUserProfilesCommand" ; import { DescribeVolumesCommand , DescribeVolumesCommandInput , DescribeVolumesCommandOutput , } from "./commands/DescribeVolumesCommand" ; import { DetachElasticLoadBalancerCommand , DetachElasticLoadBalancerCommandInput , DetachElasticLoadBalancerCommandOutput , } from "./commands/DetachElasticLoadBalancerCommand" ; import { DisassociateElasticIpCommand , DisassociateElasticIpCommandInput , DisassociateElasticIpCommandOutput , } from "./commands/DisassociateElasticIpCommand" ; import { GetHostnameSuggestionCommand , GetHostnameSuggestionCommandInput , GetHostnameSuggestionCommandOutput , } from "./commands/GetHostnameSuggestionCommand" ; import { GrantAccessCommand , GrantAccessCommandInput , GrantAccessCommandOutput } from "./commands/GrantAccessCommand" ; import { ListTagsCommand , ListTagsCommandInput , ListTagsCommandOutput } from "./commands/ListTagsCommand" ; import { RebootInstanceCommand , RebootInstanceCommandInput , RebootInstanceCommandOutput , } from "./commands/RebootInstanceCommand" ; import { RegisterEcsClusterCommand , RegisterEcsClusterCommandInput , RegisterEcsClusterCommandOutput , } from "./commands/RegisterEcsClusterCommand" ; import { RegisterElasticIpCommand , RegisterElasticIpCommandInput , RegisterElasticIpCommandOutput , } from "./commands/RegisterElasticIpCommand" ; import { RegisterInstanceCommand , RegisterInstanceCommandInput , RegisterInstanceCommandOutput , } from "./commands/RegisterInstanceCommand" ; import { RegisterRdsDbInstanceCommand , RegisterRdsDbInstanceCommandInput , RegisterRdsDbInstanceCommandOutput , } from "./commands/RegisterRdsDbInstanceCommand" ; import { RegisterVolumeCommand , RegisterVolumeCommandInput , RegisterVolumeCommandOutput , } from "./commands/RegisterVolumeCommand" ; import { SetLoadBasedAutoScalingCommand , SetLoadBasedAutoScalingCommandInput , SetLoadBasedAutoScalingCommandOutput , } from "./commands/SetLoadBasedAutoScalingCommand" ; import { SetPermissionCommand , SetPermissionCommandInput , SetPermissionCommandOutput , } from "./commands/SetPermissionCommand" ; import { SetTimeBasedAutoScalingCommand , SetTimeBasedAutoScalingCommandInput , SetTimeBasedAutoScalingCommandOutput , } from "./commands/SetTimeBasedAutoScalingCommand" ; import { StartInstanceCommand , StartInstanceCommandInput , StartInstanceCommandOutput , } from "./commands/StartInstanceCommand" ; import { StartStackCommand , StartStackCommandInput , StartStackCommandOutput } from "./commands/StartStackCommand" ; import { StopInstanceCommand , StopInstanceCommandInput , StopInstanceCommandOutput , } from "./commands/StopInstanceCommand" ; import { StopStackCommand , StopStackCommandInput , StopStackCommandOutput } from "./commands/StopStackCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UnassignInstanceCommand , UnassignInstanceCommandInput , UnassignInstanceCommandOutput , } from "./commands/UnassignInstanceCommand" ; import { UnassignVolumeCommand , UnassignVolumeCommandInput , UnassignVolumeCommandOutput , } from "./commands/UnassignVolumeCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateAppCommand , UpdateAppCommandInput , UpdateAppCommandOutput } from "./commands/UpdateAppCommand" ; import { UpdateElasticIpCommand , UpdateElasticIpCommandInput , UpdateElasticIpCommandOutput , } from "./commands/UpdateElasticIpCommand" ; import { UpdateInstanceCommand , UpdateInstanceCommandInput , UpdateInstanceCommandOutput , } from "./commands/UpdateInstanceCommand" ; import { UpdateLayerCommand , UpdateLayerCommandInput , UpdateLayerCommandOutput } from "./commands/UpdateLayerCommand" ; import { UpdateMyUserProfileCommand , UpdateMyUserProfileCommandInput , UpdateMyUserProfileCommandOutput , } from "./commands/UpdateMyUserProfileCommand" ; import { UpdateRdsDbInstanceCommand , UpdateRdsDbInstanceCommandInput , UpdateRdsDbInstanceCommandOutput , } from "./commands/UpdateRdsDbInstanceCommand" ; import { UpdateStackCommand , UpdateStackCommandInput , UpdateStackCommandOutput } from "./commands/UpdateStackCommand" ; import { UpdateUserProfileCommand , UpdateUserProfileCommandInput , UpdateUserProfileCommandOutput , } from "./commands/UpdateUserProfileCommand" ; import { UpdateVolumeCommand , UpdateVolumeCommandInput , UpdateVolumeCommandOutput , } from "./commands/UpdateVolumeCommand" ; import { OpsWorksClient } from "./OpsWorksClient" ; /**
 * <fullname>AWS OpsWorks</fullname>
 *          <p>Welcome to the <i>AWS OpsWorks Stacks API Reference</i>. This guide provides descriptions, syntax, and
 *       usage examples for AWS OpsWorks Stacks actions and data types, including common parameters and error
 *       codes. </p>
 *          <p>AWS OpsWorks Stacks is an application management service that provides an integrated experience for
 *       overseeing the complete application lifecycle. For information about this product, go to the
 *         <a href="http://aws.amazon.com/opsworks/">AWS OpsWorks</a> details page. </p>
 *
 *          <p>
 *             <b>SDKs and CLI</b>
 *          </p>
 *          <p>The most common way to use the AWS OpsWorks Stacks API is by using the AWS Command Line Interface (CLI) or by using one of the AWS SDKs to implement applications in your preferred language. For more information, see:</p>
 *          <ul>
 *             <li>
 *                <p>
 *                   <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html">AWS CLI</a>
 *                </p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a href="https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/opsworks/AWSOpsWorksClient.html">AWS SDK for Java</a>
 *                </p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a href="https://docs.aws.amazon.com/sdkfornet/latest/apidocs/html/N_Amazon_OpsWorks.htm">AWS SDK for
 *           .NET</a>
 *                </p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a href="https://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.OpsWorks.OpsWorksClient.html">AWS
 *           SDK for PHP 2</a>
 *                </p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a href="http://docs.aws.amazon.com/sdkforruby/api/">AWS SDK for Ruby</a>
 *                </p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a href="http://aws.amazon.com/documentation/sdkforjavascript/">AWS SDK for Node.js</a>
 *                </p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a href="http://docs.pythonboto.org/en/latest/ref/opsworks.html">AWS SDK for
 *           Python(Boto)</a>
 *                </p>
 *             </li>
 *          </ul>
 *
 *          <p>
 *             <b>Endpoints</b>
 *          </p>
 *          <p>AWS OpsWorks Stacks supports the following endpoints, all HTTPS. You must connect to one of the following endpoints. Stacks
 *           can only be accessed or managed within the endpoint in which they are created.</p>
 *          <ul>
 *             <li>
 *                <p>opsworks.us-east-1.amazonaws.com</p>
 *             </li>
 *             <li>
 *                <p>opsworks.us-east-2.amazonaws.com</p>
 *             </li>
 *             <li>
 *                <p>opsworks.us-west-1.amazonaws.com</p>
 *             </li>
 *             <li>
 *                <p>opsworks.us-west-2.amazonaws.com</p>
 *             </li>
 *             <li>
 *                <p>opsworks.ca-central-1.amazonaws.com (API only; not available in the AWS console)</p>
 *             </li>
 *             <li>
 *                <p>opsworks.eu-west-1.amazonaws.com</p>
 *             </li>
 *             <li>
 *                <p>opsworks.eu-west-2.amazonaws.com</p>
 *             </li>
 *             <li>
 *                <p>opsworks.eu-west-3.amazonaws.com</p>
 *             </li>
 *             <li>
 *                <p>opsworks.eu-central-1.amazonaws.com</p>
 *             </li>
 *             <li>
 *                <p>opsworks.ap-northeast-1.amazonaws.com</p>
 *             </li>
 *             <li>
 *                <p>opsworks.ap-northeast-2.amazonaws.com</p>
 *             </li>
 *             <li>
 *                <p>opsworks.ap-south-1.amazonaws.com</p>
 *             </li>
 *             <li>
 *                <p>opsworks.ap-southeast-1.amazonaws.com</p>
 *             </li>
 *             <li>
 *                <p>opsworks.ap-southeast-2.amazonaws.com</p>
 *             </li>
 *             <li>
 *                <p>opsworks.sa-east-1.amazonaws.com</p>
 *             </li>
 *          </ul>
 *          <p>
 *             <b>Chef Versions</b>
 *          </p>
 *          <p>When you call <a>CreateStack</a>, <a>CloneStack</a>, or <a>UpdateStack</a> we recommend you
 *       use the <code>ConfigurationManager</code> parameter to specify the Chef version.
 *       The recommended and default value for Linux stacks is currently 12. Windows stacks use Chef 12.2. For more information,
 *       see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-chef11.html">Chef Versions</a>.</p>
 *          <note>
 *             <p>You can specify Chef 12, 11.10, or 11.4 for your Linux stack. We recommend migrating your existing Linux stacks to Chef 12 as soon as possible.</p>
 *          </note>
 */ export class OpsWorks extends OpsWorksClient { /**
     * <p>Assign a registered instance to a layer.</p>
     *          <ul>
     *             <li>
     *                <p>You can assign registered on-premises instances to any layer type.</p>
     *             </li>
     *             <li>
     *                <p>You can assign registered Amazon EC2 instances only to custom layers.</p>
     *             </li>
     *             <li>
     *                <p>You cannot use this action with instances that were created with AWS OpsWorks Stacks.</p>
     *             </li>
     *          </ul>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public assignInstance ( args , options ? ) ; public assignInstance ( args , cb ) ; public assignInstance ( args , options , cb ) ; public assignInstance ( args , optionsOrCb ? , cb ? ) { const command = new AssignInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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 <a>RegisterVolume</a>. After you register the
     *       volume, you must call <a>UpdateVolume</a> to specify a mount point before calling
     *         <code>AssignVolume</code>. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html">Resource Management</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public assignVolume ( args , options ? ) ; public assignVolume ( args , cb ) ; public assignVolume ( args , options , cb ) ; public assignVolume ( args , optionsOrCb ? , cb ? ) { const command = new AssignVolumeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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 <a>RegisterElasticIp</a>. For more
     *       information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html">Resource
     *         Management</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public associateElasticIp ( args , options ? ) ; public associateElasticIp ( args , cb ) ; public associateElasticIp ( args , options , cb ) ; public associateElasticIp ( args , optionsOrCb ? , cb ? ) { const command = new AssociateElasticIpCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Attaches an Elastic Load Balancing load balancer to a specified layer. AWS OpsWorks Stacks does not support
     *           Application Load Balancer. You can only use Classic Load Balancer with AWS OpsWorks Stacks.
     *           For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/layers-elb.html">Elastic Load
     *         Balancing</a>.</p>
     *          <note>
     *             <p>You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For
     *         more information, see <a href="https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/Welcome.html"> Elastic
     *           Load Balancing Developer Guide</a>.</p>
     *          </note>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public attachElasticLoadBalancer ( args , options ? ) ; public attachElasticLoadBalancer ( args , cb ) ; public attachElasticLoadBalancer ( args , options , cb ) ; public attachElasticLoadBalancer ( args , optionsOrCb ? , cb ? ) { const command = new AttachElasticLoadBalancerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a clone of a specified stack. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-cloning.html">Clone a
     *         Stack</a>. By default, all parameters are set to the values used by the parent stack.</p>
     *          <p>
     *             <b>Required Permissions</b>: To use this action, an IAM user must have an attached policy
     *       that explicitly grants permissions. For more information about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public cloneStack ( args , options ? ) ; public cloneStack ( args , cb ) ; public cloneStack ( args , options , cb ) ; public cloneStack ( args , optionsOrCb ? , cb ? ) { const command = new CloneStackCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an app for a specified stack. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html">Creating
     *       Apps</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public createApp ( args , options ? ) ; public createApp ( args , cb ) ; public createApp ( args , options , cb ) ; public createApp ( args , optionsOrCb ? , cb ? ) { const command = new CreateAppCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Runs deployment or stack commands. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-deploying.html">Deploying
     *         Apps</a> and <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-commands.html">Run Stack Commands</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public createDeployment ( args , options ? ) ; public createDeployment ( args , cb ) ; public createDeployment ( args , options , cb ) ; public createDeployment ( args , optionsOrCb ? , cb ? ) { const command = new CreateDeploymentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an instance in a specified stack. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html">Adding an
     *         Instance to a Layer</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public createInstance ( args , options ? ) ; public createInstance ( args , cb ) ; public createInstance ( args , options , cb ) ; public createInstance ( args , optionsOrCb ? , cb ? ) { const command = new CreateInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a layer. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-create.html">How to
     *         Create a Layer</a>.</p>
     *          <note>
     *             <p>You should use <b>CreateLayer</b> 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, <b>CreateLayer</b> fails. A
     *         stack can have an arbitrary number of custom layers, so you can call <b>CreateLayer</b> as
     *         many times as you like for that layer type.</p>
     *          </note>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public createLayer ( args , options ? ) ; public createLayer ( args , cb ) ; public createLayer ( args , options , cb ) ; public createLayer ( args , optionsOrCb ? , cb ? ) { const command = new CreateLayerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new stack. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-edit.html">Create a New
     *         Stack</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: To use this action, an IAM user must have an attached policy
     *       that explicitly grants permissions. For more information about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public createStack ( args , options ? ) ; public createStack ( args , cb ) ; public createStack ( args , options , cb ) ; public createStack ( args , optionsOrCb ? , cb ? ) { const command = new CreateStackCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new user profile.</p>
     *          <p>
     *             <b>Required Permissions</b>: To use this action, an IAM user must have an attached policy
     *       that explicitly grants permissions. For more information about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public createUserProfile ( args , options ? ) ; public createUserProfile ( args , cb ) ; public createUserProfile ( args , options , cb ) ; public createUserProfile ( args , optionsOrCb ? , cb ? ) { const command = new CreateUserProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a specified app.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public deleteApp ( args , options ? ) ; public deleteApp ( args , cb ) ; public deleteApp ( args , options , cb ) ; public deleteApp ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAppCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-delete.html">Deleting
     *         Instances</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public deleteInstance ( args , options ? ) ; public deleteInstance ( args , cb ) ; public deleteInstance ( args , options , cb ) ; public deleteInstance ( args , optionsOrCb ? , cb ? ) { const command = new DeleteInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a specified layer. You must first stop and then delete all associated instances or
     *       unassign registered instances. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-delete.html">How to
     *         Delete a Layer</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public deleteLayer ( args , options ? ) ; public deleteLayer ( args , cb ) ; public deleteLayer ( args , options , cb ) ; public deleteLayer ( args , optionsOrCb ? , cb ? ) { const command = new DeleteLayerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a specified stack. You must first delete all instances, layers, and apps or
     *       deregister registered instances. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-shutting.html">Shut Down a
     *         Stack</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public deleteStack ( args , options ? ) ; public deleteStack ( args , cb ) ; public deleteStack ( args , options , cb ) ; public deleteStack ( args , optionsOrCb ? , cb ? ) { const command = new DeleteStackCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a user profile.</p>
     *          <p>
     *             <b>Required Permissions</b>: To use this action, an IAM user must have an attached policy
     *       that explicitly grants permissions. For more information about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public deleteUserProfile ( args , options ? ) ; public deleteUserProfile ( args , cb ) ; public deleteUserProfile ( args , options , cb ) ; public deleteUserProfile ( args , optionsOrCb ? , cb ? ) { const command = new DeleteUserProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deregisters a specified Amazon ECS cluster from a stack.
     *       For more information, see
     *       <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-ecscluster.html#workinglayers-ecscluster-delete">
     *         Resource Management</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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
     *       <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html</a>.</p>
     */ public deregisterEcsCluster ( args , options ? ) ; public deregisterEcsCluster ( args , cb ) ; public deregisterEcsCluster ( args , options , cb ) ; public deregisterEcsCluster ( args , optionsOrCb ? , cb ? ) { const command = new DeregisterEcsClusterCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deregisters a specified Elastic IP address. The address can then be registered by another
     *       stack. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html">Resource Management</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public deregisterElasticIp ( args , options ? ) ; public deregisterElasticIp ( args , cb ) ; public deregisterElasticIp ( args , options , cb ) ; public deregisterElasticIp ( args , optionsOrCb ? , cb ? ) { const command = new DeregisterElasticIpCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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 cannot be used with
     *           instances that were created with AWS OpsWorks Stacks.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public deregisterInstance ( args , options ? ) ; public deregisterInstance ( args , cb ) ; public deregisterInstance ( args , options , cb ) ; public deregisterInstance ( args , optionsOrCb ? , cb ? ) { const command = new DeregisterInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deregisters an Amazon RDS instance.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public deregisterRdsDbInstance ( args , options ? ) ; public deregisterRdsDbInstance ( args , cb ) ; public deregisterRdsDbInstance ( args , options , cb ) ; public deregisterRdsDbInstance ( args , optionsOrCb ? , cb ? ) { const command = new DeregisterRdsDbInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deregisters an Amazon EBS volume. The volume can then be registered by another stack. For more
     *       information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html">Resource
     *         Management</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public deregisterVolume ( args , options ? ) ; public deregisterVolume ( args , cb ) ; public deregisterVolume ( args , options , cb ) ; public deregisterVolume ( args , optionsOrCb ? , cb ? ) { const command = new DeregisterVolumeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the available AWS OpsWorks Stacks agent versions. You must specify a stack ID or a
     *     configuration manager. <code>DescribeAgentVersions</code> returns a list of available
     *     agent versions for the specified stack or configuration manager.</p>
     */ public describeAgentVersions ( args , options ? ) ; public describeAgentVersions ( args , cb ) ; public describeAgentVersions ( args , options , cb ) ; public describeAgentVersions ( args , optionsOrCb ? , cb ? ) { const command = new DescribeAgentVersionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Requests a description of a specified set of apps.</p>
     *          <note>
     *             <p>This call accepts only one resource-identifying parameter.</p>
     *          </note>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeApps ( args , options ? ) ; public describeApps ( args , cb ) ; public describeApps ( args , options , cb ) ; public describeApps ( args , optionsOrCb ? , cb ? ) { const command = new DescribeAppsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the results of specified commands.</p>
     *          <note>
     *             <p>This call accepts only one resource-identifying parameter.</p>
     *          </note>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeCommands ( args , options ? ) ; public describeCommands ( args , cb ) ; public describeCommands ( args , options , cb ) ; public describeCommands ( args , optionsOrCb ? , cb ? ) { const command = new DescribeCommandsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Requests a description of a specified set of deployments.</p>
     *          <note>
     *             <p>This call accepts only one resource-identifying parameter.</p>
     *          </note>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeDeployments ( args , options ? ) ; public describeDeployments ( args , cb ) ; public describeDeployments ( args , options , cb ) ; public describeDeployments ( args , optionsOrCb ? , cb ? ) { const command = new DescribeDeploymentsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes Amazon ECS clusters that are registered with a stack. If you specify only a stack ID,
     *     you can use the <code>MaxResults</code> and <code>NextToken</code> parameters to paginate the
     *     response. However, AWS OpsWorks Stacks currently supports only one cluster per layer, so the result
     *     set has a maximum of one element.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     *          <p>This call accepts only one resource-identifying parameter.</p>
     */ public describeEcsClusters ( args , options ? ) ; public describeEcsClusters ( args , cb ) ; public describeEcsClusters ( args , options , cb ) ; public describeEcsClusters ( args , optionsOrCb ? , cb ? ) { const command = new DescribeEcsClustersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP addresses</a>.</p>
     *          <note>
     *             <p>This call accepts only one resource-identifying parameter.</p>
     *          </note>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeElasticIps ( args , options ? ) ; public describeElasticIps ( args , cb ) ; public describeElasticIps ( args , options , cb ) ; public describeElasticIps ( args , optionsOrCb ? , cb ? ) { const command = new DescribeElasticIpsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes a stack's Elastic Load Balancing instances.</p>
     *          <note>
     *             <p>This call accepts only one resource-identifying parameter.</p>
     *          </note>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeElasticLoadBalancers ( args , options ? ) ; public describeElasticLoadBalancers ( args , cb ) ; public describeElasticLoadBalancers ( args , options , cb ) ; public describeElasticLoadBalancers ( args , optionsOrCb ? , cb ? ) { const command = new DescribeElasticLoadBalancersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Requests a description of a set of instances.</p>
     *          <note>
     *             <p>This call accepts only one resource-identifying parameter.</p>
     *          </note>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeInstances ( args , options ? ) ; public describeInstances ( args , cb ) ; public describeInstances ( args , options , cb ) ; public describeInstances ( args , optionsOrCb ? , cb ? ) { const command = new DescribeInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Requests a description of one or more layers in a specified stack.</p>
     *          <note>
     *             <p>This call accepts only one resource-identifying parameter.</p>
     *          </note>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeLayers ( args , options ? ) ; public describeLayers ( args , cb ) ; public describeLayers ( args , options , cb ) ; public describeLayers ( args , optionsOrCb ? , cb ? ) { const command = new DescribeLayersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes load-based auto scaling configurations for specified layers.</p>
     *          <note>
     *             <p>You must specify at least one of the parameters.</p>
     *          </note>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeLoadBasedAutoScaling ( args , options ? ) ; public describeLoadBasedAutoScaling ( args , cb ) ; public describeLoadBasedAutoScaling ( args , options , cb ) ; public describeLoadBasedAutoScaling ( args , optionsOrCb ? , cb ? ) { const command = new DescribeLoadBasedAutoScalingCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes a user's SSH information.</p>
     *          <p>
     *             <b>Required Permissions</b>: To use this action, an IAM user must have self-management
     *       enabled or an attached policy that explicitly grants permissions. For more information about user
     *       permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeMyUserProfile ( args , options ? ) ; public describeMyUserProfile ( args , cb ) ; public describeMyUserProfile ( args , options , cb ) ; public describeMyUserProfile ( args , optionsOrCb ? , cb ? ) { const command = new DescribeMyUserProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the operating systems that are supported by AWS OpsWorks Stacks.</p>
     */ public describeOperatingSystems ( args , options ? ) ; public describeOperatingSystems ( args , cb ) ; public describeOperatingSystems ( args , options , cb ) ; public describeOperatingSystems ( args , optionsOrCb ? , cb ? ) { const command = new DescribeOperatingSystemsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the permissions for a specified stack.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describePermissions ( args , options ? ) ; public describePermissions ( args , cb ) ; public describePermissions ( args , options , cb ) ; public describePermissions ( args , optionsOrCb ? , cb ? ) { const command = new DescribePermissionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describe an instance's RAID arrays.</p>
     *          <note>
     *             <p>This call accepts only one resource-identifying parameter.</p>
     *          </note>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeRaidArrays ( args , options ? ) ; public describeRaidArrays ( args , cb ) ; public describeRaidArrays ( args , options , cb ) ; public describeRaidArrays ( args , optionsOrCb ? , cb ? ) { const command = new DescribeRaidArraysCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes Amazon RDS instances.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     *          <p>This call accepts only one resource-identifying parameter.</p>
     */ public describeRdsDbInstances ( args , options ? ) ; public describeRdsDbInstances ( args , cb ) ; public describeRdsDbInstances ( args , options , cb ) ; public describeRdsDbInstances ( args , optionsOrCb ? , cb ? ) { const command = new DescribeRdsDbInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes AWS OpsWorks Stacks service errors.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     *          <p>This call accepts only one resource-identifying parameter.</p>
     */ public describeServiceErrors ( args , options ? ) ; public describeServiceErrors ( args , cb ) ; public describeServiceErrors ( args , options , cb ) ; public describeServiceErrors ( args , optionsOrCb ? , cb ? ) { const command = new DescribeServiceErrorsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Requests a description of a stack's provisioning parameters.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeStackProvisioningParameters ( args , options ? ) ; public describeStackProvisioningParameters ( args , cb ) ; public describeStackProvisioningParameters ( args , options , cb ) ; public describeStackProvisioningParameters ( args , optionsOrCb ? , cb ? ) { const command = new DescribeStackProvisioningParametersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Requests a description of one or more stacks.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeStacks ( args , options ? ) ; public describeStacks ( args , cb ) ; public describeStacks ( args , options , cb ) ; public describeStacks ( args , optionsOrCb ? , cb ? ) { const command = new DescribeStacksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the number of layers and apps in a specified stack, and the number of instances in
     *       each state, such as <code>running_setup</code> or <code>online</code>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeStackSummary ( args , options ? ) ; public describeStackSummary ( args , cb ) ; public describeStackSummary ( args , options , cb ) ; public describeStackSummary ( args , optionsOrCb ? , cb ? ) { const command = new DescribeStackSummaryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes time-based auto scaling configurations for specified instances.</p>
     *          <note>
     *             <p>You must specify at least one of the parameters.</p>
     *          </note>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeTimeBasedAutoScaling ( args , options ? ) ; public describeTimeBasedAutoScaling ( args , cb ) ; public describeTimeBasedAutoScaling ( args , options , cb ) ; public describeTimeBasedAutoScaling ( args , optionsOrCb ? , cb ? ) { const command = new DescribeTimeBasedAutoScalingCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describe specified users.</p>
     *          <p>
     *             <b>Required Permissions</b>: To use this action, an IAM user must have an attached policy
     *       that explicitly grants permissions. For more information about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeUserProfiles ( args , options ? ) ; public describeUserProfiles ( args , cb ) ; public describeUserProfiles ( args , options , cb ) ; public describeUserProfiles ( args , optionsOrCb ? , cb ? ) { const command = new DescribeUserProfilesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes an instance's Amazon EBS volumes.</p>
     *          <note>
     *             <p>This call accepts only one resource-identifying parameter.</p>
     *          </note>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public describeVolumes ( args , options ? ) ; public describeVolumes ( args , cb ) ; public describeVolumes ( args , options , cb ) ; public describeVolumes ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVolumesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Detaches a specified Elastic Load Balancing instance from its layer.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public detachElasticLoadBalancer ( args , options ? ) ; public detachElasticLoadBalancer ( args , cb ) ; public detachElasticLoadBalancer ( args , options , cb ) ; public detachElasticLoadBalancer ( args , optionsOrCb ? , cb ? ) { const command = new DetachElasticLoadBalancerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates an Elastic IP address from its instance. The address remains registered with
     *       the stack. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html">Resource Management</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public disassociateElasticIp ( args , options ? ) ; public disassociateElasticIp ( args , cb ) ; public disassociateElasticIp ( args , options , cb ) ; public disassociateElasticIp ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateElasticIpCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a generated host name for the specified layer, based on the current host name theme.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public getHostnameSuggestion ( args , options ? ) ; public getHostnameSuggestion ( args , cb ) ; public getHostnameSuggestion ( args , options , cb ) ; public getHostnameSuggestion ( args , optionsOrCb ? , cb ? ) { const command = new GetHostnameSuggestionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <note>
     *             <p>This action can be used only with Windows stacks.</p>
     *          </note>
     *          <p>Grants RDP access to a Windows instance for a specified time period.</p>
     */ public grantAccess ( args , options ? ) ; public grantAccess ( args , cb ) ; public grantAccess ( args , options , cb ) ; public grantAccess ( args , optionsOrCb ? , cb ? ) { const command = new GrantAccessCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns a list of tags that are applied to the specified stack or layer.</p>
     */ public listTags ( args , options ? ) ; public listTags ( args , cb ) ; public listTags ( args , options , cb ) ; public listTags ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Reboots a specified instance. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-starting.html">Starting,
     *         Stopping, and Rebooting Instances</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public rebootInstance ( args , options ? ) ; public rebootInstance ( args , cb ) ; public rebootInstance ( args , options , cb ) ; public rebootInstance ( args , optionsOrCb ? , cb ? ) { const command = new RebootInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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
     *       <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-ecscluster.html">
     *       Resource Management</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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
     *       <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">
     *       Managing User Permissions</a>.</p>
     */ public registerEcsCluster ( args , options ? ) ; public registerEcsCluster ( args , cb ) ; public registerEcsCluster ( args , options , cb ) ; public registerEcsCluster ( args , optionsOrCb ? , cb ? ) { const command = new RegisterEcsClusterCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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 <a>DeregisterElasticIp</a>. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html">Resource Management</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public registerElasticIp ( args , options ? ) ; public registerElasticIp ( args , cb ) ; public registerElasticIp ( args , options , cb ) ; public registerElasticIp ( args , optionsOrCb ? , cb ? ) { const command = new RegisterElasticIpCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Registers instances that were created outside of AWS OpsWorks Stacks with a specified stack.</p>
     *          <note>
     *             <p>We do not recommend using this action to register instances. The complete registration
     *       operation includes two tasks: installing the AWS OpsWorks Stacks agent on the instance, and registering
     *       the instance with the stack. <code>RegisterInstance</code> handles only the second step. You
     *       should instead use the AWS CLI <code>register</code> command, which performs the entire
     *       registration operation. For more information,
     *       see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/registered-instances-register.html">
     *       Registering an Instance with an AWS OpsWorks Stacks Stack</a>.</p>
     *          </note>
     *          <p>Registered instances have the same requirements as instances that are created by using the <a>CreateInstance</a> API.
     *       For example, registered instances must be running a supported Linux-based operating system, and they must have a supported instance
     *       type. For more information about requirements for instances that you want to register, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/registered-instances-register-registering-preparer.html">
     *           Preparing the Instance</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public registerInstance ( args , options ? ) ; public registerInstance ( args , cb ) ; public registerInstance ( args , options , cb ) ; public registerInstance ( args , optionsOrCb ? , cb ? ) { const command = new RegisterInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Registers an Amazon RDS instance with a stack.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public registerRdsDbInstance ( args , options ? ) ; public registerRdsDbInstance ( args , cb ) ; public registerRdsDbInstance ( args , options , cb ) ; public registerRdsDbInstance ( args , optionsOrCb ? , cb ? ) { const command = new RegisterRdsDbInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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
     *         <a>DeregisterVolume</a>. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html">Resource Management</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public registerVolume ( args , options ? ) ; public registerVolume ( args , cb ) ; public registerVolume ( args , options , cb ) ; public registerVolume ( args , optionsOrCb ? , cb ? ) { const command = new RegisterVolumeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Specify the load-based auto scaling configuration for a specified layer. For more
     *       information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-autoscaling.html">Managing
     *         Load with Time-based and Load-based Instances</a>.</p>
     *          <note>
     *             <p>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.</p>
     *          </note>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public setLoadBasedAutoScaling ( args , options ? ) ; public setLoadBasedAutoScaling ( args , cb ) ; public setLoadBasedAutoScaling ( args , options , cb ) ; public setLoadBasedAutoScaling ( args , optionsOrCb ? , cb ? ) { const command = new SetLoadBasedAutoScalingCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Specifies a user's permissions. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workingsecurity.html">Security and
     *         Permissions</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public setPermission ( args , options ? ) ; public setPermission ( args , cb ) ; public setPermission ( args , options , cb ) ; public setPermission ( args , optionsOrCb ? , cb ? ) { const command = new SetPermissionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Specify the time-based auto scaling configuration for a specified instance. For more
     *       information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-autoscaling.html">Managing
     *         Load with Time-based and Load-based Instances</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public setTimeBasedAutoScaling ( args , options ? ) ; public setTimeBasedAutoScaling ( args , cb ) ; public setTimeBasedAutoScaling ( args , options , cb ) ; public setTimeBasedAutoScaling ( args , optionsOrCb ? , cb ? ) { const command = new SetTimeBasedAutoScalingCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Starts a specified instance. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-starting.html">Starting,
     *         Stopping, and Rebooting Instances</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public startInstance ( args , options ? ) ; public startInstance ( args , cb ) ; public startInstance ( args , options , cb ) ; public startInstance ( args , optionsOrCb ? , cb ? ) { const command = new StartInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Starts a stack's instances.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public startStack ( args , options ? ) ; public startStack ( args , cb ) ; public startStack ( args , options , cb ) ; public startStack ( args , optionsOrCb ? , cb ? ) { const command = new StartStackCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-starting.html">Starting,
     *         Stopping, and Rebooting Instances</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public stopInstance ( args , options ? ) ; public stopInstance ( args , cb ) ; public stopInstance ( args , options , cb ) ; public stopInstance ( args , optionsOrCb ? , cb ? ) { const command = new StopInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Stops a specified stack.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public stopStack ( args , options ? ) ; public stopStack ( args , cb ) ; public stopStack ( args , options , cb ) ; public stopStack ( args , optionsOrCb ? , cb ? ) { const command = new StopStackCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Apply cost-allocation tags to a specified stack or layer in AWS OpsWorks Stacks. For more information about how tagging works, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/tagging.html">Tags</a> in the AWS OpsWorks User Guide.</p>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Unassigns a registered instance from all layers that are using the instance.
     *           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 Stacks.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public unassignInstance ( args , options ? ) ; public unassignInstance ( args , cb ) ; public unassignInstance ( args , options , cb ) ; public unassignInstance ( args , optionsOrCb ? , cb ? ) { const command = new UnassignInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Unassigns an assigned Amazon EBS volume. The volume remains registered with the stack. For more
     *       information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html">Resource
     *         Management</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public unassignVolume ( args , options ? ) ; public unassignVolume ( args , cb ) ; public unassignVolume ( args , options , cb ) ; public unassignVolume ( args , optionsOrCb ? , cb ? ) { const command = new UnassignVolumeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes tags from a specified stack or layer.</p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a specified app.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public updateApp ( args , options ? ) ; public updateApp ( args , cb ) ; public updateApp ( args , options , cb ) ; public updateApp ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAppCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a registered Elastic IP address's name. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html">Resource Management</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public updateElasticIp ( args , options ? ) ; public updateElasticIp ( args , cb ) ; public updateElasticIp ( args , options , cb ) ; public updateElasticIp ( args , optionsOrCb ? , cb ? ) { const command = new UpdateElasticIpCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a specified instance.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public updateInstance ( args , options ? ) ; public updateInstance ( args , cb ) ; public updateInstance ( args , options , cb ) ; public updateInstance ( args , optionsOrCb ? , cb ? ) { const command = new UpdateInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a specified layer.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public updateLayer ( args , options ? ) ; public updateLayer ( args , cb ) ; public updateLayer ( args , options , cb ) ; public updateLayer ( args , optionsOrCb ? , cb ? ) { const command = new UpdateLayerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a user's SSH public key.</p>
     *          <p>
     *             <b>Required Permissions</b>: To use this action, an IAM user must have self-management
     *       enabled or an attached policy that explicitly grants permissions. For more information about user
     *       permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public updateMyUserProfile ( args , options ? ) ; public updateMyUserProfile ( args , cb ) ; public updateMyUserProfile ( args , options , cb ) ; public updateMyUserProfile ( args , optionsOrCb ? , cb ? ) { const command = new UpdateMyUserProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates an Amazon RDS instance.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public updateRdsDbInstance ( args , options ? ) ; public updateRdsDbInstance ( args , cb ) ; public updateRdsDbInstance ( args , options , cb ) ; public updateRdsDbInstance ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRdsDbInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a specified stack.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public updateStack ( args , options ? ) ; public updateStack ( args , cb ) ; public updateStack ( args , options , cb ) ; public updateStack ( args , optionsOrCb ? , cb ? ) { const command = new UpdateStackCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a specified user profile.</p>
     *          <p>
     *             <b>Required Permissions</b>: To use this action, an IAM user must have an attached policy
     *       that explicitly grants permissions. For more information about user permissions, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public updateUserProfile ( args , options ? ) ; public updateUserProfile ( args , cb ) ; public updateUserProfile ( args , options , cb ) ; public updateUserProfile ( args , optionsOrCb ? , cb ? ) { const command = new UpdateUserProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates an Amazon EBS volume's name or mount point. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html">Resource Management</a>.</p>
     *          <p>
     *             <b>Required Permissions</b>: 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 <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
     *         Permissions</a>.</p>
     */ public updateVolume ( args , options ? ) ; public updateVolume ( args , cb ) ; public updateVolume ( args , options , cb ) ; public updateVolume ( args , optionsOrCb ? , cb ? ) { const command = new UpdateVolumeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }