/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the opsworks-2013-02-18.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.OpsWorks.Model;
using Amazon.OpsWorks.Model.Internal.MarshallTransformations;
using Amazon.OpsWorks.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.OpsWorks
{
///
/// Implementation for accessing OpsWorks
///
/// AWS OpsWorks
///
/// Welcome to the AWS OpsWorks Stacks API Reference. This guide provides descriptions,
/// syntax, and usage examples for AWS OpsWorks Stacks actions and data types, including
/// common parameters and error codes.
///
///
///
/// 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 AWS OpsWorks
/// details page.
///
///
///
/// SDKs and CLI
///
///
///
/// 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:
///
///
///
/// Endpoints
///
///
///
/// 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.
///
/// -
///
/// opsworks.us-east-1.amazonaws.com
///
///
-
///
/// opsworks.us-east-2.amazonaws.com
///
///
-
///
/// opsworks.us-west-1.amazonaws.com
///
///
-
///
/// opsworks.us-west-2.amazonaws.com
///
///
-
///
/// opsworks.ca-central-1.amazonaws.com (API only; not available in the AWS console)
///
///
-
///
/// opsworks.eu-west-1.amazonaws.com
///
///
-
///
/// opsworks.eu-west-2.amazonaws.com
///
///
-
///
/// opsworks.eu-west-3.amazonaws.com
///
///
-
///
/// opsworks.eu-central-1.amazonaws.com
///
///
-
///
/// opsworks.ap-northeast-1.amazonaws.com
///
///
-
///
/// opsworks.ap-northeast-2.amazonaws.com
///
///
-
///
/// opsworks.ap-south-1.amazonaws.com
///
///
-
///
/// opsworks.ap-southeast-1.amazonaws.com
///
///
-
///
/// opsworks.ap-southeast-2.amazonaws.com
///
///
-
///
/// opsworks.sa-east-1.amazonaws.com
///
///
///
/// Chef Versions
///
///
///
/// When you call CreateStack, CloneStack, or UpdateStack we recommend
/// you use the ConfigurationManager
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 Chef
/// Versions.
///
///
///
/// 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.
///
///
///
public partial class AmazonOpsWorksClient : AmazonServiceClient, IAmazonOpsWorks
{
private static IServiceMetadata serviceMetadata = new AmazonOpsWorksMetadata();
private IOpsWorksPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IOpsWorksPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new OpsWorksPaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
///
/// Constructs AmazonOpsWorksClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonOpsWorksClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonOpsWorksConfig()) { }
///
/// Constructs AmazonOpsWorksClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonOpsWorksClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonOpsWorksConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonOpsWorksClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonOpsWorksClient Configuration Object
public AmazonOpsWorksClient(AmazonOpsWorksConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonOpsWorksClient with AWS Credentials
///
/// AWS Credentials
public AmazonOpsWorksClient(AWSCredentials credentials)
: this(credentials, new AmazonOpsWorksConfig())
{
}
///
/// Constructs AmazonOpsWorksClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonOpsWorksClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonOpsWorksConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonOpsWorksClient with AWS Credentials and an
/// AmazonOpsWorksClient Configuration object.
///
/// AWS Credentials
/// The AmazonOpsWorksClient Configuration Object
public AmazonOpsWorksClient(AWSCredentials credentials, AmazonOpsWorksConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonOpsWorksClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonOpsWorksClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonOpsWorksConfig())
{
}
///
/// Constructs AmazonOpsWorksClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonOpsWorksClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonOpsWorksConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonOpsWorksClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonOpsWorksClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonOpsWorksClient Configuration Object
public AmazonOpsWorksClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonOpsWorksConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonOpsWorksClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonOpsWorksClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonOpsWorksConfig())
{
}
///
/// Constructs AmazonOpsWorksClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonOpsWorksClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonOpsWorksConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonOpsWorksClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonOpsWorksClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonOpsWorksClient Configuration Object
public AmazonOpsWorksClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonOpsWorksConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonOpsWorksEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region AssignInstance
///
/// Assign a registered instance to a layer.
///
/// -
///
/// You can assign registered on-premises instances to any layer type.
///
///
-
///
/// You can assign registered Amazon EC2 instances only to custom layers.
///
///
-
///
/// You cannot use this action with instances that were created with AWS OpsWorks Stacks.
///
///
///
/// Required Permissions: To use this action, an AWS Identity and Access Management
/// (IAM) user must have a Manage permissions level for the stack or an attached policy
/// that explicitly grants permissions. For more information on user permissions, see
/// Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the AssignInstance service method.
///
/// The response from the AssignInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for AssignInstance Operation
public virtual AssignInstanceResponse AssignInstance(AssignInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssignInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssignInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Assign a registered instance to a layer.
///
/// -
///
/// You can assign registered on-premises instances to any layer type.
///
///
-
///
/// You can assign registered Amazon EC2 instances only to custom layers.
///
///
-
///
/// You cannot use this action with instances that were created with AWS OpsWorks Stacks.
///
///
///
/// Required Permissions: To use this action, an AWS Identity and Access Management
/// (IAM) user must have a Manage permissions level for the stack or an attached policy
/// that explicitly grants permissions. For more information on user permissions, see
/// Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the AssignInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssignInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for AssignInstance Operation
public virtual Task AssignInstanceAsync(AssignInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssignInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssignInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AssignVolume
///
/// Assigns one of the stack's registered Amazon EBS volumes to a specified instance.
/// The volume must first be registered with the stack by calling RegisterVolume.
/// After you register the volume, you must call UpdateVolume to specify a mount
/// point before calling AssignVolume
. For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the AssignVolume service method.
///
/// The response from the AssignVolume service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for AssignVolume Operation
public virtual AssignVolumeResponse AssignVolume(AssignVolumeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssignVolumeRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssignVolumeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Assigns one of the stack's registered Amazon EBS volumes to a specified instance.
/// The volume must first be registered with the stack by calling RegisterVolume.
/// After you register the volume, you must call UpdateVolume to specify a mount
/// point before calling AssignVolume
. For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the AssignVolume service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssignVolume service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for AssignVolume Operation
public virtual Task AssignVolumeAsync(AssignVolumeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssignVolumeRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssignVolumeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AssociateElasticIp
///
/// Associates one of the stack's registered Elastic IP addresses with a specified instance.
/// The address must first be registered with the stack by calling RegisterElasticIp.
/// For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the AssociateElasticIp service method.
///
/// The response from the AssociateElasticIp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for AssociateElasticIp Operation
public virtual AssociateElasticIpResponse AssociateElasticIp(AssociateElasticIpRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateElasticIpRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateElasticIpResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates one of the stack's registered Elastic IP addresses with a specified instance.
/// The address must first be registered with the stack by calling RegisterElasticIp.
/// For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the AssociateElasticIp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateElasticIp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for AssociateElasticIp Operation
public virtual Task AssociateElasticIpAsync(AssociateElasticIpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateElasticIpRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateElasticIpResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AttachElasticLoadBalancer
///
/// 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 Elastic
/// Load Balancing.
///
///
///
/// You must create the Elastic Load Balancing instance separately, by using the Elastic
/// Load Balancing console, API, or CLI. For more information, see
/// Elastic Load Balancing Developer Guide.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the AttachElasticLoadBalancer service method.
///
/// The response from the AttachElasticLoadBalancer service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for AttachElasticLoadBalancer Operation
public virtual AttachElasticLoadBalancerResponse AttachElasticLoadBalancer(AttachElasticLoadBalancerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachElasticLoadBalancerRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachElasticLoadBalancerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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 Elastic
/// Load Balancing.
///
///
///
/// You must create the Elastic Load Balancing instance separately, by using the Elastic
/// Load Balancing console, API, or CLI. For more information, see
/// Elastic Load Balancing Developer Guide.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the AttachElasticLoadBalancer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AttachElasticLoadBalancer service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for AttachElasticLoadBalancer Operation
public virtual Task AttachElasticLoadBalancerAsync(AttachElasticLoadBalancerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachElasticLoadBalancerRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachElasticLoadBalancerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CloneStack
///
/// Creates a clone of a specified stack. For more information, see Clone
/// a Stack. By default, all parameters are set to the values used by the parent stack.
///
///
///
/// Required Permissions: To use this action, an IAM user must have an attached
/// policy that explicitly grants permissions. For more information about user permissions,
/// see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the CloneStack service method.
///
/// The response from the CloneStack service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for CloneStack Operation
public virtual CloneStackResponse CloneStack(CloneStackRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CloneStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = CloneStackResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a clone of a specified stack. For more information, see Clone
/// a Stack. By default, all parameters are set to the values used by the parent stack.
///
///
///
/// Required Permissions: To use this action, an IAM user must have an attached
/// policy that explicitly grants permissions. For more information about user permissions,
/// see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the CloneStack service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CloneStack service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for CloneStack Operation
public virtual Task CloneStackAsync(CloneStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CloneStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = CloneStackResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateApp
///
/// Creates an app for a specified stack. For more information, see Creating
/// Apps.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the CreateApp service method.
///
/// The response from the CreateApp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for CreateApp Operation
public virtual CreateAppResponse CreateApp(CreateAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an app for a specified stack. For more information, see Creating
/// Apps.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the CreateApp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateApp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for CreateApp Operation
public virtual Task CreateAppAsync(CreateAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDeployment
///
/// Runs deployment or stack commands. For more information, see Deploying
/// Apps and Run
/// Stack Commands.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Deploy or
/// Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the CreateDeployment service method.
///
/// The response from the CreateDeployment service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for CreateDeployment Operation
public virtual CreateDeploymentResponse CreateDeployment(CreateDeploymentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Runs deployment or stack commands. For more information, see Deploying
/// Apps and Run
/// Stack Commands.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Deploy or
/// Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the CreateDeployment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDeployment service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for CreateDeployment Operation
public virtual Task CreateDeploymentAsync(CreateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateInstance
///
/// Creates an instance in a specified stack. For more information, see Adding
/// an Instance to a Layer.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the CreateInstance service method.
///
/// The response from the CreateInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for CreateInstance Operation
public virtual CreateInstanceResponse CreateInstance(CreateInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an instance in a specified stack. For more information, see Adding
/// an Instance to a Layer.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the CreateInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for CreateInstance Operation
public virtual Task CreateInstanceAsync(CreateInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateLayer
///
/// Creates a layer. For more information, see How
/// to Create a Layer.
///
///
///
/// You should use CreateLayer for noncustom layer types such as PHP App Server
/// only if the stack does not have an existing layer of that type. A stack can have at
/// most one instance of each noncustom layer; if you attempt to create a second instance,
/// CreateLayer fails. A stack can have an arbitrary number of custom layers, so
/// you can call CreateLayer as many times as you like for that layer type.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the CreateLayer service method.
///
/// The response from the CreateLayer service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for CreateLayer Operation
public virtual CreateLayerResponse CreateLayer(CreateLayerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLayerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLayerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a layer. For more information, see How
/// to Create a Layer.
///
///
///
/// You should use CreateLayer for noncustom layer types such as PHP App Server
/// only if the stack does not have an existing layer of that type. A stack can have at
/// most one instance of each noncustom layer; if you attempt to create a second instance,
/// CreateLayer fails. A stack can have an arbitrary number of custom layers, so
/// you can call CreateLayer as many times as you like for that layer type.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the CreateLayer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateLayer service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for CreateLayer Operation
public virtual Task CreateLayerAsync(CreateLayerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLayerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLayerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateStack
///
/// Creates a new stack. For more information, see Create
/// a New Stack.
///
///
///
/// Required Permissions: To use this action, an IAM user must have an attached
/// policy that explicitly grants permissions. For more information about user permissions,
/// see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the CreateStack service method.
///
/// The response from the CreateStack service method, as returned by OpsWorks.
///
/// Indicates that a request was not valid.
///
/// REST API Reference for CreateStack Operation
public virtual CreateStackResponse CreateStack(CreateStackRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStackResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new stack. For more information, see Create
/// a New Stack.
///
///
///
/// Required Permissions: To use this action, an IAM user must have an attached
/// policy that explicitly grants permissions. For more information about user permissions,
/// see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the CreateStack service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateStack service method, as returned by OpsWorks.
///
/// Indicates that a request was not valid.
///
/// REST API Reference for CreateStack Operation
public virtual Task CreateStackAsync(CreateStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStackResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateUserProfile
///
/// Creates a new user profile.
///
///
///
/// Required Permissions: To use this action, an IAM user must have an attached
/// policy that explicitly grants permissions. For more information about user permissions,
/// see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the CreateUserProfile service method.
///
/// The response from the CreateUserProfile service method, as returned by OpsWorks.
///
/// Indicates that a request was not valid.
///
/// REST API Reference for CreateUserProfile Operation
public virtual CreateUserProfileResponse CreateUserProfile(CreateUserProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUserProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUserProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new user profile.
///
///
///
/// Required Permissions: To use this action, an IAM user must have an attached
/// policy that explicitly grants permissions. For more information about user permissions,
/// see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the CreateUserProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateUserProfile service method, as returned by OpsWorks.
///
/// Indicates that a request was not valid.
///
/// REST API Reference for CreateUserProfile Operation
public virtual Task CreateUserProfileAsync(CreateUserProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUserProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUserProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteApp
///
/// Deletes a specified app.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeleteApp service method.
///
/// The response from the DeleteApp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeleteApp Operation
public virtual DeleteAppResponse DeleteApp(DeleteAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a specified app.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeleteApp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteApp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeleteApp Operation
public virtual Task DeleteAppAsync(DeleteAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteInstance
///
/// Deletes a specified instance, which terminates the associated Amazon EC2 instance.
/// You must stop an instance before you can delete it.
///
///
///
/// For more information, see Deleting
/// Instances.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeleteInstance service method.
///
/// The response from the DeleteInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeleteInstance Operation
public virtual DeleteInstanceResponse DeleteInstance(DeleteInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a specified instance, which terminates the associated Amazon EC2 instance.
/// You must stop an instance before you can delete it.
///
///
///
/// For more information, see Deleting
/// Instances.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeleteInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeleteInstance Operation
public virtual Task DeleteInstanceAsync(DeleteInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteLayer
///
/// Deletes a specified layer. You must first stop and then delete all associated instances
/// or unassign registered instances. For more information, see How
/// to Delete a Layer.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeleteLayer service method.
///
/// The response from the DeleteLayer service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeleteLayer Operation
public virtual DeleteLayerResponse DeleteLayer(DeleteLayerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLayerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLayerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a specified layer. You must first stop and then delete all associated instances
/// or unassign registered instances. For more information, see How
/// to Delete a Layer.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeleteLayer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteLayer service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeleteLayer Operation
public virtual Task DeleteLayerAsync(DeleteLayerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLayerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLayerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteStack
///
/// Deletes a specified stack. You must first delete all instances, layers, and apps or
/// deregister registered instances. For more information, see Shut
/// Down a Stack.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeleteStack service method.
///
/// The response from the DeleteStack service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeleteStack Operation
public virtual DeleteStackResponse DeleteStack(DeleteStackRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteStackResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a specified stack. You must first delete all instances, layers, and apps or
/// deregister registered instances. For more information, see Shut
/// Down a Stack.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeleteStack service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteStack service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeleteStack Operation
public virtual Task DeleteStackAsync(DeleteStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteStackResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteUserProfile
///
/// Deletes a user profile.
///
///
///
/// Required Permissions: To use this action, an IAM user must have an attached
/// policy that explicitly grants permissions. For more information about user permissions,
/// see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeleteUserProfile service method.
///
/// The response from the DeleteUserProfile service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeleteUserProfile Operation
public virtual DeleteUserProfileResponse DeleteUserProfile(DeleteUserProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUserProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUserProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a user profile.
///
///
///
/// Required Permissions: To use this action, an IAM user must have an attached
/// policy that explicitly grants permissions. For more information about user permissions,
/// see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeleteUserProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteUserProfile service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeleteUserProfile Operation
public virtual Task DeleteUserProfileAsync(DeleteUserProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUserProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUserProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeregisterEcsCluster
///
/// Deregisters a specified Amazon ECS cluster from a stack. For more information, see
///
/// Resource Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html.
///
///
/// Container for the necessary parameters to execute the DeregisterEcsCluster service method.
///
/// The response from the DeregisterEcsCluster service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeregisterEcsCluster Operation
public virtual DeregisterEcsClusterResponse DeregisterEcsCluster(DeregisterEcsClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterEcsClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterEcsClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deregisters a specified Amazon ECS cluster from a stack. For more information, see
///
/// Resource Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html.
///
///
/// Container for the necessary parameters to execute the DeregisterEcsCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeregisterEcsCluster service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeregisterEcsCluster Operation
public virtual Task DeregisterEcsClusterAsync(DeregisterEcsClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterEcsClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterEcsClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeregisterElasticIp
///
/// Deregisters a specified Elastic IP address. The address can then be registered by
/// another stack. For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeregisterElasticIp service method.
///
/// The response from the DeregisterElasticIp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeregisterElasticIp Operation
public virtual DeregisterElasticIpResponse DeregisterElasticIp(DeregisterElasticIpRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterElasticIpRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterElasticIpResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deregisters a specified Elastic IP address. The address can then be registered by
/// another stack. For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeregisterElasticIp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeregisterElasticIp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeregisterElasticIp Operation
public virtual Task DeregisterElasticIpAsync(DeregisterElasticIpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterElasticIpRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterElasticIpResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeregisterInstance
///
/// 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.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeregisterInstance service method.
///
/// The response from the DeregisterInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeregisterInstance Operation
public virtual DeregisterInstanceResponse DeregisterInstance(DeregisterInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeregisterInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeregisterInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeregisterInstance Operation
public virtual Task DeregisterInstanceAsync(DeregisterInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeregisterRdsDbInstance
///
/// Deregisters an Amazon RDS instance.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeregisterRdsDbInstance service method.
///
/// The response from the DeregisterRdsDbInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeregisterRdsDbInstance Operation
public virtual DeregisterRdsDbInstanceResponse DeregisterRdsDbInstance(DeregisterRdsDbInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterRdsDbInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterRdsDbInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deregisters an Amazon RDS instance.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeregisterRdsDbInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeregisterRdsDbInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeregisterRdsDbInstance Operation
public virtual Task DeregisterRdsDbInstanceAsync(DeregisterRdsDbInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterRdsDbInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterRdsDbInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeregisterVolume
///
/// Deregisters an Amazon EBS volume. The volume can then be registered by another stack.
/// For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeregisterVolume service method.
///
/// The response from the DeregisterVolume service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeregisterVolume Operation
public virtual DeregisterVolumeResponse DeregisterVolume(DeregisterVolumeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterVolumeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterVolumeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deregisters an Amazon EBS volume. The volume can then be registered by another stack.
/// For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DeregisterVolume service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeregisterVolume service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DeregisterVolume Operation
public virtual Task DeregisterVolumeAsync(DeregisterVolumeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterVolumeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterVolumeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeAgentVersions
///
/// Describes the available AWS OpsWorks Stacks agent versions. You must specify a stack
/// ID or a configuration manager. DescribeAgentVersions
returns a list of
/// available agent versions for the specified stack or configuration manager.
///
/// Container for the necessary parameters to execute the DescribeAgentVersions service method.
///
/// The response from the DescribeAgentVersions service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeAgentVersions Operation
public virtual DescribeAgentVersionsResponse DescribeAgentVersions(DescribeAgentVersionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAgentVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAgentVersionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the available AWS OpsWorks Stacks agent versions. You must specify a stack
/// ID or a configuration manager. DescribeAgentVersions
returns a list of
/// available agent versions for the specified stack or configuration manager.
///
/// Container for the necessary parameters to execute the DescribeAgentVersions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeAgentVersions service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeAgentVersions Operation
public virtual Task DescribeAgentVersionsAsync(DescribeAgentVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAgentVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAgentVersionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeApps
///
/// Requests a description of a specified set of apps.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeApps service method.
///
/// The response from the DescribeApps service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeApps Operation
public virtual DescribeAppsResponse DescribeApps(DescribeAppsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Requests a description of a specified set of apps.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeApps service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeApps service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeApps Operation
public virtual Task DescribeAppsAsync(DescribeAppsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeCommands
///
/// Describes the results of specified commands.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeCommands service method.
///
/// The response from the DescribeCommands service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeCommands Operation
public virtual DescribeCommandsResponse DescribeCommands(DescribeCommandsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCommandsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCommandsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the results of specified commands.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeCommands service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeCommands service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeCommands Operation
public virtual Task DescribeCommandsAsync(DescribeCommandsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCommandsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCommandsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDeployments
///
/// Requests a description of a specified set of deployments.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeDeployments service method.
///
/// The response from the DescribeDeployments service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeDeployments Operation
public virtual DescribeDeploymentsResponse DescribeDeployments(DescribeDeploymentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDeploymentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDeploymentsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Requests a description of a specified set of deployments.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeDeployments service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDeployments service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeDeployments Operation
public virtual Task DescribeDeploymentsAsync(DescribeDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDeploymentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDeploymentsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeEcsClusters
///
/// Describes Amazon ECS clusters that are registered with a stack. If you specify only
/// a stack ID, you can use the MaxResults
and NextToken
parameters
/// to paginate the response. However, AWS OpsWorks Stacks currently supports only one
/// cluster per layer, so the result set has a maximum of one element.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack or an attached policy that explicitly grants
/// permission. For more information about user permissions, see Managing
/// User Permissions.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
/// Container for the necessary parameters to execute the DescribeEcsClusters service method.
///
/// The response from the DescribeEcsClusters service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeEcsClusters Operation
public virtual DescribeEcsClustersResponse DescribeEcsClusters(DescribeEcsClustersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEcsClustersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEcsClustersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes Amazon ECS clusters that are registered with a stack. If you specify only
/// a stack ID, you can use the MaxResults
and NextToken
parameters
/// to paginate the response. However, AWS OpsWorks Stacks currently supports only one
/// cluster per layer, so the result set has a maximum of one element.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack or an attached policy that explicitly grants
/// permission. For more information about user permissions, see Managing
/// User Permissions.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
/// Container for the necessary parameters to execute the DescribeEcsClusters service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEcsClusters service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeEcsClusters Operation
public virtual Task DescribeEcsClustersAsync(DescribeEcsClustersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEcsClustersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEcsClustersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeElasticIps
///
/// Describes Elastic
/// IP addresses.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeElasticIps service method.
///
/// The response from the DescribeElasticIps service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeElasticIps Operation
public virtual DescribeElasticIpsResponse DescribeElasticIps(DescribeElasticIpsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeElasticIpsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeElasticIpsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes Elastic
/// IP addresses.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeElasticIps service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeElasticIps service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeElasticIps Operation
public virtual Task DescribeElasticIpsAsync(DescribeElasticIpsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeElasticIpsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeElasticIpsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeElasticLoadBalancers
///
/// Describes a stack's Elastic Load Balancing instances.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
///
/// The response from the DescribeElasticLoadBalancers service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeElasticLoadBalancers Operation
public virtual DescribeElasticLoadBalancersResponse DescribeElasticLoadBalancers()
{
return DescribeElasticLoadBalancers(new DescribeElasticLoadBalancersRequest());
}
///
/// Describes a stack's Elastic Load Balancing instances.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeElasticLoadBalancers service method.
///
/// The response from the DescribeElasticLoadBalancers service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeElasticLoadBalancers Operation
public virtual DescribeElasticLoadBalancersResponse DescribeElasticLoadBalancers(DescribeElasticLoadBalancersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeElasticLoadBalancersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeElasticLoadBalancersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes a stack's Elastic Load Balancing instances.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeElasticLoadBalancers service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeElasticLoadBalancers Operation
public virtual Task DescribeElasticLoadBalancersAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
return DescribeElasticLoadBalancersAsync(new DescribeElasticLoadBalancersRequest(), cancellationToken);
}
///
/// Describes a stack's Elastic Load Balancing instances.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeElasticLoadBalancers service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeElasticLoadBalancers service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeElasticLoadBalancers Operation
public virtual Task DescribeElasticLoadBalancersAsync(DescribeElasticLoadBalancersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeElasticLoadBalancersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeElasticLoadBalancersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeInstances
///
/// Requests a description of a set of instances.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeInstances service method.
///
/// The response from the DescribeInstances service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeInstances Operation
public virtual DescribeInstancesResponse DescribeInstances(DescribeInstancesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeInstancesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Requests a description of a set of instances.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeInstances service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeInstances Operation
public virtual Task DescribeInstancesAsync(DescribeInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeInstancesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeLayers
///
/// Requests a description of one or more layers in a specified stack.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeLayers service method.
///
/// The response from the DescribeLayers service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeLayers Operation
public virtual DescribeLayersResponse DescribeLayers(DescribeLayersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLayersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLayersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Requests a description of one or more layers in a specified stack.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeLayers service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeLayers service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeLayers Operation
public virtual Task DescribeLayersAsync(DescribeLayersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLayersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLayersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeLoadBasedAutoScaling
///
/// Describes load-based auto scaling configurations for specified layers.
///
///
///
/// You must specify at least one of the parameters.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeLoadBasedAutoScaling service method.
///
/// The response from the DescribeLoadBasedAutoScaling service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeLoadBasedAutoScaling Operation
public virtual DescribeLoadBasedAutoScalingResponse DescribeLoadBasedAutoScaling(DescribeLoadBasedAutoScalingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLoadBasedAutoScalingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLoadBasedAutoScalingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes load-based auto scaling configurations for specified layers.
///
///
///
/// You must specify at least one of the parameters.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeLoadBasedAutoScaling service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeLoadBasedAutoScaling service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeLoadBasedAutoScaling Operation
public virtual Task DescribeLoadBasedAutoScalingAsync(DescribeLoadBasedAutoScalingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLoadBasedAutoScalingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLoadBasedAutoScalingResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeMyUserProfile
///
/// Describes a user's SSH information.
///
///
///
/// Required Permissions: 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 Managing
/// User Permissions.
///
///
///
/// The response from the DescribeMyUserProfile service method, as returned by OpsWorks.
/// REST API Reference for DescribeMyUserProfile Operation
public virtual DescribeMyUserProfileResponse DescribeMyUserProfile()
{
return DescribeMyUserProfile(new DescribeMyUserProfileRequest());
}
///
/// Describes a user's SSH information.
///
///
///
/// Required Permissions: 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 Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeMyUserProfile service method.
///
/// The response from the DescribeMyUserProfile service method, as returned by OpsWorks.
/// REST API Reference for DescribeMyUserProfile Operation
public virtual DescribeMyUserProfileResponse DescribeMyUserProfile(DescribeMyUserProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeMyUserProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeMyUserProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes a user's SSH information.
///
///
///
/// Required Permissions: 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 Managing
/// User Permissions.
///
///
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeMyUserProfile service method, as returned by OpsWorks.
/// REST API Reference for DescribeMyUserProfile Operation
public virtual Task DescribeMyUserProfileAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
return DescribeMyUserProfileAsync(new DescribeMyUserProfileRequest(), cancellationToken);
}
///
/// Describes a user's SSH information.
///
///
///
/// Required Permissions: 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 Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeMyUserProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeMyUserProfile service method, as returned by OpsWorks.
/// REST API Reference for DescribeMyUserProfile Operation
public virtual Task DescribeMyUserProfileAsync(DescribeMyUserProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeMyUserProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeMyUserProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeOperatingSystems
///
/// Describes the operating systems that are supported by AWS OpsWorks Stacks.
///
/// Container for the necessary parameters to execute the DescribeOperatingSystems service method.
///
/// The response from the DescribeOperatingSystems service method, as returned by OpsWorks.
/// REST API Reference for DescribeOperatingSystems Operation
public virtual DescribeOperatingSystemsResponse DescribeOperatingSystems(DescribeOperatingSystemsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeOperatingSystemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeOperatingSystemsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the operating systems that are supported by AWS OpsWorks Stacks.
///
/// Container for the necessary parameters to execute the DescribeOperatingSystems service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeOperatingSystems service method, as returned by OpsWorks.
/// REST API Reference for DescribeOperatingSystems Operation
public virtual Task DescribeOperatingSystemsAsync(DescribeOperatingSystemsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeOperatingSystemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeOperatingSystemsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribePermissions
///
/// Describes the permissions for a specified stack.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribePermissions service method.
///
/// The response from the DescribePermissions service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribePermissions Operation
public virtual DescribePermissionsResponse DescribePermissions(DescribePermissionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePermissionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the permissions for a specified stack.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribePermissions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribePermissions service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribePermissions Operation
public virtual Task DescribePermissionsAsync(DescribePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePermissionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeRaidArrays
///
/// Describe an instance's RAID arrays.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeRaidArrays service method.
///
/// The response from the DescribeRaidArrays service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeRaidArrays Operation
public virtual DescribeRaidArraysResponse DescribeRaidArrays(DescribeRaidArraysRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRaidArraysRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRaidArraysResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describe an instance's RAID arrays.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeRaidArrays service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeRaidArrays service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeRaidArrays Operation
public virtual Task DescribeRaidArraysAsync(DescribeRaidArraysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRaidArraysRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRaidArraysResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeRdsDbInstances
///
/// Describes Amazon RDS instances.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
/// Container for the necessary parameters to execute the DescribeRdsDbInstances service method.
///
/// The response from the DescribeRdsDbInstances service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeRdsDbInstances Operation
public virtual DescribeRdsDbInstancesResponse DescribeRdsDbInstances(DescribeRdsDbInstancesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRdsDbInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRdsDbInstancesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes Amazon RDS instances.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
/// Container for the necessary parameters to execute the DescribeRdsDbInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeRdsDbInstances service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeRdsDbInstances Operation
public virtual Task DescribeRdsDbInstancesAsync(DescribeRdsDbInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRdsDbInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRdsDbInstancesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeServiceErrors
///
/// Describes AWS OpsWorks Stacks service errors.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// The response from the DescribeServiceErrors service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeServiceErrors Operation
public virtual DescribeServiceErrorsResponse DescribeServiceErrors()
{
return DescribeServiceErrors(new DescribeServiceErrorsRequest());
}
///
/// Describes AWS OpsWorks Stacks service errors.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
/// Container for the necessary parameters to execute the DescribeServiceErrors service method.
///
/// The response from the DescribeServiceErrors service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeServiceErrors Operation
public virtual DescribeServiceErrorsResponse DescribeServiceErrors(DescribeServiceErrorsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeServiceErrorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeServiceErrorsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes AWS OpsWorks Stacks service errors.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeServiceErrors service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeServiceErrors Operation
public virtual Task DescribeServiceErrorsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
return DescribeServiceErrorsAsync(new DescribeServiceErrorsRequest(), cancellationToken);
}
///
/// Describes AWS OpsWorks Stacks service errors.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
/// Container for the necessary parameters to execute the DescribeServiceErrors service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeServiceErrors service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeServiceErrors Operation
public virtual Task DescribeServiceErrorsAsync(DescribeServiceErrorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeServiceErrorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeServiceErrorsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeStackProvisioningParameters
///
/// Requests a description of a stack's provisioning parameters.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeStackProvisioningParameters service method.
///
/// The response from the DescribeStackProvisioningParameters service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeStackProvisioningParameters Operation
public virtual DescribeStackProvisioningParametersResponse DescribeStackProvisioningParameters(DescribeStackProvisioningParametersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStackProvisioningParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStackProvisioningParametersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Requests a description of a stack's provisioning parameters.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeStackProvisioningParameters service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeStackProvisioningParameters service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeStackProvisioningParameters Operation
public virtual Task DescribeStackProvisioningParametersAsync(DescribeStackProvisioningParametersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStackProvisioningParametersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStackProvisioningParametersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeStacks
///
/// Requests a description of one or more stacks.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
///
/// The response from the DescribeStacks service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeStacks Operation
public virtual DescribeStacksResponse DescribeStacks()
{
return DescribeStacks(new DescribeStacksRequest());
}
///
/// Requests a description of one or more stacks.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeStacks service method.
///
/// The response from the DescribeStacks service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeStacks Operation
public virtual DescribeStacksResponse DescribeStacks(DescribeStacksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStacksRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStacksResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Requests a description of one or more stacks.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeStacks service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeStacks Operation
public virtual Task DescribeStacksAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
return DescribeStacksAsync(new DescribeStacksRequest(), cancellationToken);
}
///
/// Requests a description of one or more stacks.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeStacks service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeStacks service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeStacks Operation
public virtual Task DescribeStacksAsync(DescribeStacksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStacksRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStacksResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeStackSummary
///
/// Describes the number of layers and apps in a specified stack, and the number of instances
/// in each state, such as running_setup
or online
.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeStackSummary service method.
///
/// The response from the DescribeStackSummary service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeStackSummary Operation
public virtual DescribeStackSummaryResponse DescribeStackSummary(DescribeStackSummaryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStackSummaryRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStackSummaryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the number of layers and apps in a specified stack, and the number of instances
/// in each state, such as running_setup
or online
.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeStackSummary service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeStackSummary service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeStackSummary Operation
public virtual Task DescribeStackSummaryAsync(DescribeStackSummaryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStackSummaryRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStackSummaryResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeTimeBasedAutoScaling
///
/// Describes time-based auto scaling configurations for specified instances.
///
///
///
/// You must specify at least one of the parameters.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeTimeBasedAutoScaling service method.
///
/// The response from the DescribeTimeBasedAutoScaling service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeTimeBasedAutoScaling Operation
public virtual DescribeTimeBasedAutoScalingResponse DescribeTimeBasedAutoScaling(DescribeTimeBasedAutoScalingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTimeBasedAutoScalingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTimeBasedAutoScalingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes time-based auto scaling configurations for specified instances.
///
///
///
/// You must specify at least one of the parameters.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeTimeBasedAutoScaling service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeTimeBasedAutoScaling service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeTimeBasedAutoScaling Operation
public virtual Task DescribeTimeBasedAutoScalingAsync(DescribeTimeBasedAutoScalingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTimeBasedAutoScalingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTimeBasedAutoScalingResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeUserProfiles
///
/// Describe specified users.
///
///
///
/// Required Permissions: To use this action, an IAM user must have an attached
/// policy that explicitly grants permissions. For more information about user permissions,
/// see Managing
/// User Permissions.
///
///
///
/// The response from the DescribeUserProfiles service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeUserProfiles Operation
public virtual DescribeUserProfilesResponse DescribeUserProfiles()
{
return DescribeUserProfiles(new DescribeUserProfilesRequest());
}
///
/// Describe specified users.
///
///
///
/// Required Permissions: To use this action, an IAM user must have an attached
/// policy that explicitly grants permissions. For more information about user permissions,
/// see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeUserProfiles service method.
///
/// The response from the DescribeUserProfiles service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeUserProfiles Operation
public virtual DescribeUserProfilesResponse DescribeUserProfiles(DescribeUserProfilesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeUserProfilesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeUserProfilesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describe specified users.
///
///
///
/// Required Permissions: To use this action, an IAM user must have an attached
/// policy that explicitly grants permissions. For more information about user permissions,
/// see Managing
/// User Permissions.
///
///
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeUserProfiles service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeUserProfiles Operation
public virtual Task DescribeUserProfilesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
return DescribeUserProfilesAsync(new DescribeUserProfilesRequest(), cancellationToken);
}
///
/// Describe specified users.
///
///
///
/// Required Permissions: To use this action, an IAM user must have an attached
/// policy that explicitly grants permissions. For more information about user permissions,
/// see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeUserProfiles service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeUserProfiles service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeUserProfiles Operation
public virtual Task DescribeUserProfilesAsync(DescribeUserProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeUserProfilesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeUserProfilesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeVolumes
///
/// Describes an instance's Amazon EBS volumes.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeVolumes service method.
///
/// The response from the DescribeVolumes service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeVolumes Operation
public virtual DescribeVolumesResponse DescribeVolumes(DescribeVolumesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVolumesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVolumesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes an instance's Amazon EBS volumes.
///
///
///
/// This call accepts only one resource-identifying parameter.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Show, Deploy,
/// or Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DescribeVolumes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeVolumes service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DescribeVolumes Operation
public virtual Task DescribeVolumesAsync(DescribeVolumesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVolumesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVolumesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DetachElasticLoadBalancer
///
/// Detaches a specified Elastic Load Balancing instance from its layer.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DetachElasticLoadBalancer service method.
///
/// The response from the DetachElasticLoadBalancer service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
/// REST API Reference for DetachElasticLoadBalancer Operation
public virtual DetachElasticLoadBalancerResponse DetachElasticLoadBalancer(DetachElasticLoadBalancerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachElasticLoadBalancerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachElasticLoadBalancerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Detaches a specified Elastic Load Balancing instance from its layer.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DetachElasticLoadBalancer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DetachElasticLoadBalancer service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
/// REST API Reference for DetachElasticLoadBalancer Operation
public virtual Task DetachElasticLoadBalancerAsync(DetachElasticLoadBalancerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachElasticLoadBalancerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachElasticLoadBalancerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateElasticIp
///
/// Disassociates an Elastic IP address from its instance. The address remains registered
/// with the stack. For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DisassociateElasticIp service method.
///
/// The response from the DisassociateElasticIp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DisassociateElasticIp Operation
public virtual DisassociateElasticIpResponse DisassociateElasticIp(DisassociateElasticIpRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateElasticIpRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateElasticIpResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Disassociates an Elastic IP address from its instance. The address remains registered
/// with the stack. For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the DisassociateElasticIp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateElasticIp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for DisassociateElasticIp Operation
public virtual Task DisassociateElasticIpAsync(DisassociateElasticIpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateElasticIpRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateElasticIpResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetHostnameSuggestion
///
/// Gets a generated host name for the specified layer, based on the current host name
/// theme.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the GetHostnameSuggestion service method.
///
/// The response from the GetHostnameSuggestion service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for GetHostnameSuggestion Operation
public virtual GetHostnameSuggestionResponse GetHostnameSuggestion(GetHostnameSuggestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetHostnameSuggestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetHostnameSuggestionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a generated host name for the specified layer, based on the current host name
/// theme.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the GetHostnameSuggestion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetHostnameSuggestion service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for GetHostnameSuggestion Operation
public virtual Task GetHostnameSuggestionAsync(GetHostnameSuggestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetHostnameSuggestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetHostnameSuggestionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GrantAccess
///
///
///
/// This action can be used only with Windows stacks.
///
///
///
/// Grants RDP access to a Windows instance for a specified time period.
///
///
/// Container for the necessary parameters to execute the GrantAccess service method.
///
/// The response from the GrantAccess service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for GrantAccess Operation
public virtual GrantAccessResponse GrantAccess(GrantAccessRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GrantAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = GrantAccessResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
///
///
/// This action can be used only with Windows stacks.
///
///
///
/// Grants RDP access to a Windows instance for a specified time period.
///
///
/// Container for the necessary parameters to execute the GrantAccess service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GrantAccess service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for GrantAccess Operation
public virtual Task GrantAccessAsync(GrantAccessRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GrantAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = GrantAccessResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTags
///
/// Returns a list of tags that are applied to the specified stack or layer.
///
/// Container for the necessary parameters to execute the ListTags service method.
///
/// The response from the ListTags service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for ListTags Operation
public virtual ListTagsResponse ListTags(ListTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of tags that are applied to the specified stack or layer.
///
/// Container for the necessary parameters to execute the ListTags service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTags service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for ListTags Operation
public virtual Task ListTagsAsync(ListTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RebootInstance
///
/// Reboots a specified instance. For more information, see Starting,
/// Stopping, and Rebooting Instances.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the RebootInstance service method.
///
/// The response from the RebootInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for RebootInstance Operation
public virtual RebootInstanceResponse RebootInstance(RebootInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RebootInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RebootInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Reboots a specified instance. For more information, see Starting,
/// Stopping, and Rebooting Instances.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the RebootInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RebootInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for RebootInstance Operation
public virtual Task RebootInstanceAsync(RebootInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RebootInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RebootInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RegisterEcsCluster
///
/// Registers a specified Amazon ECS cluster with a stack. You can register only one cluster
/// with a stack. A cluster can be registered with only one stack. For more information,
/// see
/// Resource Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see
/// Managing User Permissions.
///
///
/// Container for the necessary parameters to execute the RegisterEcsCluster service method.
///
/// The response from the RegisterEcsCluster service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for RegisterEcsCluster Operation
public virtual RegisterEcsClusterResponse RegisterEcsCluster(RegisterEcsClusterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterEcsClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterEcsClusterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Registers a specified Amazon ECS cluster with a stack. You can register only one cluster
/// with a stack. A cluster can be registered with only one stack. For more information,
/// see
/// Resource Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see
/// Managing User Permissions.
///
///
/// Container for the necessary parameters to execute the RegisterEcsCluster service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RegisterEcsCluster service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for RegisterEcsCluster Operation
public virtual Task RegisterEcsClusterAsync(RegisterEcsClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterEcsClusterRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterEcsClusterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RegisterElasticIp
///
/// Registers an Elastic IP address with a specified stack. An address can be registered
/// with only one stack at a time. If the address is already registered, you must first
/// deregister it by calling DeregisterElasticIp. For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the RegisterElasticIp service method.
///
/// The response from the RegisterElasticIp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for RegisterElasticIp Operation
public virtual RegisterElasticIpResponse RegisterElasticIp(RegisterElasticIpRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterElasticIpRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterElasticIpResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Registers an Elastic IP address with a specified stack. An address can be registered
/// with only one stack at a time. If the address is already registered, you must first
/// deregister it by calling DeregisterElasticIp. For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the RegisterElasticIp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RegisterElasticIp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for RegisterElasticIp Operation
public virtual Task RegisterElasticIpAsync(RegisterElasticIpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterElasticIpRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterElasticIpResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RegisterInstance
///
/// Registers instances that were created outside of AWS OpsWorks Stacks with a specified
/// stack.
///
///
///
/// 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. RegisterInstance
handles
/// only the second step. You should instead use the AWS CLI register
command,
/// which performs the entire registration operation. For more information, see
/// Registering an Instance with an AWS OpsWorks Stacks Stack.
///
///
///
/// Registered instances have the same requirements as instances that are created by using
/// the CreateInstance 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
///
/// Preparing the Instance.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the RegisterInstance service method.
///
/// The response from the RegisterInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for RegisterInstance Operation
public virtual RegisterInstanceResponse RegisterInstance(RegisterInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Registers instances that were created outside of AWS OpsWorks Stacks with a specified
/// stack.
///
///
///
/// 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. RegisterInstance
handles
/// only the second step. You should instead use the AWS CLI register
command,
/// which performs the entire registration operation. For more information, see
/// Registering an Instance with an AWS OpsWorks Stacks Stack.
///
///
///
/// Registered instances have the same requirements as instances that are created by using
/// the CreateInstance 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
///
/// Preparing the Instance.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the RegisterInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RegisterInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for RegisterInstance Operation
public virtual Task RegisterInstanceAsync(RegisterInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RegisterRdsDbInstance
///
/// Registers an Amazon RDS instance with a stack.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the RegisterRdsDbInstance service method.
///
/// The response from the RegisterRdsDbInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for RegisterRdsDbInstance Operation
public virtual RegisterRdsDbInstanceResponse RegisterRdsDbInstance(RegisterRdsDbInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterRdsDbInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterRdsDbInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Registers an Amazon RDS instance with a stack.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the RegisterRdsDbInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RegisterRdsDbInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for RegisterRdsDbInstance Operation
public virtual Task RegisterRdsDbInstanceAsync(RegisterRdsDbInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterRdsDbInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterRdsDbInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RegisterVolume
///
/// Registers an Amazon EBS volume with a specified stack. A volume can be registered
/// with only one stack at a time. If the volume is already registered, you must first
/// deregister it by calling DeregisterVolume. For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the RegisterVolume service method.
///
/// The response from the RegisterVolume service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for RegisterVolume Operation
public virtual RegisterVolumeResponse RegisterVolume(RegisterVolumeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterVolumeRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterVolumeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Registers an Amazon EBS volume with a specified stack. A volume can be registered
/// with only one stack at a time. If the volume is already registered, you must first
/// deregister it by calling DeregisterVolume. For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the RegisterVolume service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RegisterVolume service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for RegisterVolume Operation
public virtual Task RegisterVolumeAsync(RegisterVolumeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterVolumeRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterVolumeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region SetLoadBasedAutoScaling
///
/// Specify the load-based auto scaling configuration for a specified layer. For more
/// information, see Managing
/// Load with Time-based and Load-based Instances.
///
///
///
/// To use load-based auto scaling, you must create a set of load-based auto scaling instances.
/// Load-based auto scaling operates only on the instances from that set, so you must
/// ensure that you have created enough instances to handle the maximum anticipated load.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the SetLoadBasedAutoScaling service method.
///
/// The response from the SetLoadBasedAutoScaling service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for SetLoadBasedAutoScaling Operation
public virtual SetLoadBasedAutoScalingResponse SetLoadBasedAutoScaling(SetLoadBasedAutoScalingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SetLoadBasedAutoScalingRequestMarshaller.Instance;
options.ResponseUnmarshaller = SetLoadBasedAutoScalingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Specify the load-based auto scaling configuration for a specified layer. For more
/// information, see Managing
/// Load with Time-based and Load-based Instances.
///
///
///
/// To use load-based auto scaling, you must create a set of load-based auto scaling instances.
/// Load-based auto scaling operates only on the instances from that set, so you must
/// ensure that you have created enough instances to handle the maximum anticipated load.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the SetLoadBasedAutoScaling service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SetLoadBasedAutoScaling service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for SetLoadBasedAutoScaling Operation
public virtual Task SetLoadBasedAutoScalingAsync(SetLoadBasedAutoScalingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = SetLoadBasedAutoScalingRequestMarshaller.Instance;
options.ResponseUnmarshaller = SetLoadBasedAutoScalingResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region SetPermission
///
/// Specifies a user's permissions. For more information, see Security
/// and Permissions.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the SetPermission service method.
///
/// The response from the SetPermission service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for SetPermission Operation
public virtual SetPermissionResponse SetPermission(SetPermissionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SetPermissionRequestMarshaller.Instance;
options.ResponseUnmarshaller = SetPermissionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Specifies a user's permissions. For more information, see Security
/// and Permissions.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the SetPermission service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SetPermission service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for SetPermission Operation
public virtual Task SetPermissionAsync(SetPermissionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = SetPermissionRequestMarshaller.Instance;
options.ResponseUnmarshaller = SetPermissionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region SetTimeBasedAutoScaling
///
/// Specify the time-based auto scaling configuration for a specified instance. For more
/// information, see Managing
/// Load with Time-based and Load-based Instances.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the SetTimeBasedAutoScaling service method.
///
/// The response from the SetTimeBasedAutoScaling service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for SetTimeBasedAutoScaling Operation
public virtual SetTimeBasedAutoScalingResponse SetTimeBasedAutoScaling(SetTimeBasedAutoScalingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SetTimeBasedAutoScalingRequestMarshaller.Instance;
options.ResponseUnmarshaller = SetTimeBasedAutoScalingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Specify the time-based auto scaling configuration for a specified instance. For more
/// information, see Managing
/// Load with Time-based and Load-based Instances.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the SetTimeBasedAutoScaling service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SetTimeBasedAutoScaling service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for SetTimeBasedAutoScaling Operation
public virtual Task SetTimeBasedAutoScalingAsync(SetTimeBasedAutoScalingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = SetTimeBasedAutoScalingRequestMarshaller.Instance;
options.ResponseUnmarshaller = SetTimeBasedAutoScalingResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartInstance
///
/// Starts a specified instance. For more information, see Starting,
/// Stopping, and Rebooting Instances.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the StartInstance service method.
///
/// The response from the StartInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for StartInstance Operation
public virtual StartInstanceResponse StartInstance(StartInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Starts a specified instance. For more information, see Starting,
/// Stopping, and Rebooting Instances.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the StartInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for StartInstance Operation
public virtual Task StartInstanceAsync(StartInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartStack
///
/// Starts a stack's instances.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the StartStack service method.
///
/// The response from the StartStack service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for StartStack Operation
public virtual StartStackResponse StartStack(StartStackRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartStackResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Starts a stack's instances.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the StartStack service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartStack service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for StartStack Operation
public virtual Task StartStackAsync(StartStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartStackResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopInstance
///
/// Stops a specified instance. When you stop a standard instance, the data disappears
/// and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed
/// instance without losing data. For more information, see Starting,
/// Stopping, and Rebooting Instances.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the StopInstance service method.
///
/// The response from the StopInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for StopInstance Operation
public virtual StopInstanceResponse StopInstance(StopInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Stops a specified instance. When you stop a standard instance, the data disappears
/// and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed
/// instance without losing data. For more information, see Starting,
/// Stopping, and Rebooting Instances.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the StopInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for StopInstance Operation
public virtual Task StopInstanceAsync(StopInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopStack
///
/// Stops a specified stack.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the StopStack service method.
///
/// The response from the StopStack service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for StopStack Operation
public virtual StopStackResponse StopStack(StopStackRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopStackResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Stops a specified stack.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the StopStack service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopStack service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for StopStack Operation
public virtual Task StopStackAsync(StopStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopStackResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
///
/// Apply cost-allocation tags to a specified stack or layer in AWS OpsWorks Stacks. For
/// more information about how tagging works, see Tags
/// in the AWS OpsWorks User Guide.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Apply cost-allocation tags to a specified stack or layer in AWS OpsWorks Stacks. For
/// more information about how tagging works, see Tags
/// in the AWS OpsWorks User Guide.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UnassignInstance
///
/// 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.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack or an attached policy that explicitly grants permissions. For
/// more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UnassignInstance service method.
///
/// The response from the UnassignInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UnassignInstance Operation
public virtual UnassignInstanceResponse UnassignInstance(UnassignInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UnassignInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UnassignInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack or an attached policy that explicitly grants permissions. For
/// more information about user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UnassignInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UnassignInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UnassignInstance Operation
public virtual Task UnassignInstanceAsync(UnassignInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UnassignInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UnassignInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UnassignVolume
///
/// Unassigns an assigned Amazon EBS volume. The volume remains registered with the stack.
/// For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UnassignVolume service method.
///
/// The response from the UnassignVolume service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UnassignVolume Operation
public virtual UnassignVolumeResponse UnassignVolume(UnassignVolumeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UnassignVolumeRequestMarshaller.Instance;
options.ResponseUnmarshaller = UnassignVolumeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Unassigns an assigned Amazon EBS volume. The volume remains registered with the stack.
/// For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UnassignVolume service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UnassignVolume service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UnassignVolume Operation
public virtual Task UnassignVolumeAsync(UnassignVolumeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UnassignVolumeRequestMarshaller.Instance;
options.ResponseUnmarshaller = UnassignVolumeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
///
/// Removes tags from a specified stack or layer.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes tags from a specified stack or layer.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateApp
///
/// Updates a specified app.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Deploy or
/// Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateApp service method.
///
/// The response from the UpdateApp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateApp Operation
public virtual UpdateAppResponse UpdateApp(UpdateAppRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a specified app.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Deploy or
/// Manage permissions level for the stack, or an attached policy that explicitly grants
/// permissions. For more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateApp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateApp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateApp Operation
public virtual Task UpdateAppAsync(UpdateAppRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateElasticIp
///
/// Updates a registered Elastic IP address's name. For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateElasticIp service method.
///
/// The response from the UpdateElasticIp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateElasticIp Operation
public virtual UpdateElasticIpResponse UpdateElasticIp(UpdateElasticIpRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateElasticIpRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateElasticIpResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a registered Elastic IP address's name. For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateElasticIp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateElasticIp service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateElasticIp Operation
public virtual Task UpdateElasticIpAsync(UpdateElasticIpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateElasticIpRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateElasticIpResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateInstance
///
/// Updates a specified instance.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateInstance service method.
///
/// The response from the UpdateInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateInstance Operation
public virtual UpdateInstanceResponse UpdateInstance(UpdateInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a specified instance.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateInstance Operation
public virtual Task UpdateInstanceAsync(UpdateInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateLayer
///
/// Updates a specified layer.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateLayer service method.
///
/// The response from the UpdateLayer service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateLayer Operation
public virtual UpdateLayerResponse UpdateLayer(UpdateLayerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLayerRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLayerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a specified layer.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateLayer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateLayer service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateLayer Operation
public virtual Task UpdateLayerAsync(UpdateLayerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLayerRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLayerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateMyUserProfile
///
/// Updates a user's SSH public key.
///
///
///
/// Required Permissions: 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 Managing
/// User Permissions.
///
///
///
/// The response from the UpdateMyUserProfile service method, as returned by OpsWorks.
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateMyUserProfile Operation
public virtual UpdateMyUserProfileResponse UpdateMyUserProfile()
{
return UpdateMyUserProfile(new UpdateMyUserProfileRequest());
}
///
/// Updates a user's SSH public key.
///
///
///
/// Required Permissions: 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 Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateMyUserProfile service method.
///
/// The response from the UpdateMyUserProfile service method, as returned by OpsWorks.
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateMyUserProfile Operation
public virtual UpdateMyUserProfileResponse UpdateMyUserProfile(UpdateMyUserProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMyUserProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMyUserProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a user's SSH public key.
///
///
///
/// Required Permissions: 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 Managing
/// User Permissions.
///
///
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateMyUserProfile service method, as returned by OpsWorks.
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateMyUserProfile Operation
public virtual Task UpdateMyUserProfileAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
return UpdateMyUserProfileAsync(new UpdateMyUserProfileRequest(), cancellationToken);
}
///
/// Updates a user's SSH public key.
///
///
///
/// Required Permissions: 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 Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateMyUserProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateMyUserProfile service method, as returned by OpsWorks.
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateMyUserProfile Operation
public virtual Task UpdateMyUserProfileAsync(UpdateMyUserProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMyUserProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMyUserProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateRdsDbInstance
///
/// Updates an Amazon RDS instance.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateRdsDbInstance service method.
///
/// The response from the UpdateRdsDbInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateRdsDbInstance Operation
public virtual UpdateRdsDbInstanceResponse UpdateRdsDbInstance(UpdateRdsDbInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRdsDbInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRdsDbInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an Amazon RDS instance.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateRdsDbInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateRdsDbInstance service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateRdsDbInstance Operation
public virtual Task UpdateRdsDbInstanceAsync(UpdateRdsDbInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRdsDbInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRdsDbInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateStack
///
/// Updates a specified stack.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateStack service method.
///
/// The response from the UpdateStack service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateStack Operation
public virtual UpdateStackResponse UpdateStack(UpdateStackRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateStackResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a specified stack.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateStack service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateStack service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateStack Operation
public virtual Task UpdateStackAsync(UpdateStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateStackResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateUserProfile
///
/// Updates a specified user profile.
///
///
///
/// Required Permissions: To use this action, an IAM user must have an attached
/// policy that explicitly grants permissions. For more information about user permissions,
/// see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateUserProfile service method.
///
/// The response from the UpdateUserProfile service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateUserProfile Operation
public virtual UpdateUserProfileResponse UpdateUserProfile(UpdateUserProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateUserProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateUserProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a specified user profile.
///
///
///
/// Required Permissions: To use this action, an IAM user must have an attached
/// policy that explicitly grants permissions. For more information about user permissions,
/// see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateUserProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateUserProfile service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateUserProfile Operation
public virtual Task UpdateUserProfileAsync(UpdateUserProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateUserProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateUserProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateVolume
///
/// Updates an Amazon EBS volume's name or mount point. For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateVolume service method.
///
/// The response from the UpdateVolume service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateVolume Operation
public virtual UpdateVolumeResponse UpdateVolume(UpdateVolumeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVolumeRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVolumeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an Amazon EBS volume's name or mount point. For more information, see Resource
/// Management.
///
///
///
/// Required Permissions: To use this action, an IAM user must have a Manage permissions
/// level for the stack, or an attached policy that explicitly grants permissions. For
/// more information on user permissions, see Managing
/// User Permissions.
///
///
/// Container for the necessary parameters to execute the UpdateVolume service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateVolume service method, as returned by OpsWorks.
///
/// Indicates that a resource was not found.
///
///
/// Indicates that a request was not valid.
///
/// REST API Reference for UpdateVolume Operation
public virtual Task UpdateVolumeAsync(UpdateVolumeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVolumeRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVolumeResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}