/* * 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 ec2-2016-11-15.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.EC2.Model; using Amazon.EC2.Model.Internal.MarshallTransformations; using Amazon.EC2.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.EC2 { /// /// Implementation for accessing EC2 /// /// Amazon Elastic Compute Cloud /// /// Amazon Elastic Compute Cloud (Amazon EC2) provides secure and resizable computing /// capacity in the Amazon Web Services Cloud. Using Amazon EC2 eliminates the need to /// invest in hardware up front, so you can develop and deploy applications faster. Amazon /// Virtual Private Cloud (Amazon VPC) enables you to provision a logically isolated section /// of the Amazon Web Services Cloud where you can launch Amazon Web Services resources /// in a virtual network that you've defined. Amazon Elastic Block Store (Amazon EBS) /// provides block level storage volumes for use with EC2 instances. EBS volumes are highly /// available and reliable storage volumes that can be attached to any running instance /// and used like a hard drive. /// /// /// /// To learn more, see the following resources: /// /// /// public partial class AmazonEC2Client : AmazonServiceClient, IAmazonEC2 { private static IServiceMetadata serviceMetadata = new AmazonEC2Metadata(); private IEC2PaginatorFactory _paginators; /// /// Paginators for the service /// public IEC2PaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new EC2PaginatorFactory(this); } return this._paginators; } } #region Constructors /// /// Constructs AmazonEC2Client 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 AmazonEC2Client() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonEC2Config()) { } /// /// Constructs AmazonEC2Client 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 AmazonEC2Client(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonEC2Config{RegionEndpoint = region}) { } /// /// Constructs AmazonEC2Client 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 AmazonEC2Client Configuration Object public AmazonEC2Client(AmazonEC2Config config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonEC2Client with AWS Credentials /// /// AWS Credentials public AmazonEC2Client(AWSCredentials credentials) : this(credentials, new AmazonEC2Config()) { } /// /// Constructs AmazonEC2Client with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonEC2Client(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonEC2Config{RegionEndpoint = region}) { } /// /// Constructs AmazonEC2Client with AWS Credentials and an /// AmazonEC2Client Configuration object. /// /// AWS Credentials /// The AmazonEC2Client Configuration Object public AmazonEC2Client(AWSCredentials credentials, AmazonEC2Config clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonEC2Client with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonEC2Client(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonEC2Config()) { } /// /// Constructs AmazonEC2Client with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonEC2Client(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonEC2Config() {RegionEndpoint=region}) { } /// /// Constructs AmazonEC2Client with AWS Access Key ID, AWS Secret Key and an /// AmazonEC2Client Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonEC2Client Configuration Object public AmazonEC2Client(string awsAccessKeyId, string awsSecretAccessKey, AmazonEC2Config clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonEC2Client with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonEC2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonEC2Config()) { } /// /// Constructs AmazonEC2Client 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 AmazonEC2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonEC2Config{RegionEndpoint = region}) { } /// /// Constructs AmazonEC2Client with AWS Access Key ID, AWS Secret Key and an /// AmazonEC2Client Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonEC2Client Configuration Object public AmazonEC2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonEC2Config 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.AddHandlerBefore(new Amazon.EC2.Internal.AmazonEC2PreMarshallHandler(this.Credentials)); pipeline.AddHandlerAfter(new Amazon.EC2.Internal.AmazonEC2PostMarshallHandler()); pipeline.AddHandlerBefore(new Amazon.EC2.Internal.AmazonEC2ResponseHandler()); if(this.Config.RetryMode == RequestRetryMode.Legacy) { pipeline.ReplaceHandler(new Amazon.Runtime.Internal.RetryHandler(new Amazon.EC2.Internal.EC2RetryPolicy(this.Config))); } if(this.Config.RetryMode == RequestRetryMode.Standard) { pipeline.ReplaceHandler(new Amazon.Runtime.Internal.RetryHandler(new Amazon.EC2.Internal.EC2StandardRetryPolicy(this.Config))); } if(this.Config.RetryMode == RequestRetryMode.Adaptive) { pipeline.ReplaceHandler(new Amazon.Runtime.Internal.RetryHandler(new Amazon.EC2.Internal.EC2AdaptiveRetryPolicy(this.Config))); } pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonEC2EndpointResolver()); } /// /// 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 AcceptAddressTransfer /// /// Accepts an Elastic IP address transfer. For more information, see Accept /// a transferred Elastic IP address in the Amazon Virtual Private Cloud User Guide. /// /// Container for the necessary parameters to execute the AcceptAddressTransfer service method. /// /// The response from the AcceptAddressTransfer service method, as returned by EC2. /// REST API Reference for AcceptAddressTransfer Operation public virtual AcceptAddressTransferResponse AcceptAddressTransfer(AcceptAddressTransferRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptAddressTransferRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptAddressTransferResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Accepts an Elastic IP address transfer. For more information, see Accept /// a transferred Elastic IP address in the Amazon Virtual Private Cloud User Guide. /// /// Container for the necessary parameters to execute the AcceptAddressTransfer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcceptAddressTransfer service method, as returned by EC2. /// REST API Reference for AcceptAddressTransfer Operation public virtual Task AcceptAddressTransferAsync(AcceptAddressTransferRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptAddressTransferRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptAddressTransferResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AcceptReservedInstancesExchangeQuote /// /// Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote /// call. /// /// Container for the necessary parameters to execute the AcceptReservedInstancesExchangeQuote service method. /// /// The response from the AcceptReservedInstancesExchangeQuote service method, as returned by EC2. /// REST API Reference for AcceptReservedInstancesExchangeQuote Operation public virtual AcceptReservedInstancesExchangeQuoteResponse AcceptReservedInstancesExchangeQuote(AcceptReservedInstancesExchangeQuoteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptReservedInstancesExchangeQuoteRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptReservedInstancesExchangeQuoteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote /// call. /// /// Container for the necessary parameters to execute the AcceptReservedInstancesExchangeQuote service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcceptReservedInstancesExchangeQuote service method, as returned by EC2. /// REST API Reference for AcceptReservedInstancesExchangeQuote Operation public virtual Task AcceptReservedInstancesExchangeQuoteAsync(AcceptReservedInstancesExchangeQuoteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptReservedInstancesExchangeQuoteRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptReservedInstancesExchangeQuoteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AcceptTransitGatewayMulticastDomainAssociations /// /// Accepts a request to associate subnets with a transit gateway multicast domain. /// /// Container for the necessary parameters to execute the AcceptTransitGatewayMulticastDomainAssociations service method. /// /// The response from the AcceptTransitGatewayMulticastDomainAssociations service method, as returned by EC2. /// REST API Reference for AcceptTransitGatewayMulticastDomainAssociations Operation public virtual AcceptTransitGatewayMulticastDomainAssociationsResponse AcceptTransitGatewayMulticastDomainAssociations(AcceptTransitGatewayMulticastDomainAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptTransitGatewayMulticastDomainAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptTransitGatewayMulticastDomainAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Accepts a request to associate subnets with a transit gateway multicast domain. /// /// Container for the necessary parameters to execute the AcceptTransitGatewayMulticastDomainAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcceptTransitGatewayMulticastDomainAssociations service method, as returned by EC2. /// REST API Reference for AcceptTransitGatewayMulticastDomainAssociations Operation public virtual Task AcceptTransitGatewayMulticastDomainAssociationsAsync(AcceptTransitGatewayMulticastDomainAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptTransitGatewayMulticastDomainAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptTransitGatewayMulticastDomainAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AcceptTransitGatewayPeeringAttachment /// /// Accepts a transit gateway peering attachment request. The peering attachment must /// be in the pendingAcceptance state. /// /// Container for the necessary parameters to execute the AcceptTransitGatewayPeeringAttachment service method. /// /// The response from the AcceptTransitGatewayPeeringAttachment service method, as returned by EC2. /// REST API Reference for AcceptTransitGatewayPeeringAttachment Operation public virtual AcceptTransitGatewayPeeringAttachmentResponse AcceptTransitGatewayPeeringAttachment(AcceptTransitGatewayPeeringAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptTransitGatewayPeeringAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptTransitGatewayPeeringAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Accepts a transit gateway peering attachment request. The peering attachment must /// be in the pendingAcceptance state. /// /// Container for the necessary parameters to execute the AcceptTransitGatewayPeeringAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcceptTransitGatewayPeeringAttachment service method, as returned by EC2. /// REST API Reference for AcceptTransitGatewayPeeringAttachment Operation public virtual Task AcceptTransitGatewayPeeringAttachmentAsync(AcceptTransitGatewayPeeringAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptTransitGatewayPeeringAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptTransitGatewayPeeringAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AcceptTransitGatewayVpcAttachment /// /// Accepts a request to attach a VPC to a transit gateway. /// /// /// /// The VPC attachment must be in the pendingAcceptance state. Use DescribeTransitGatewayVpcAttachments /// to view your pending VPC attachment requests. Use RejectTransitGatewayVpcAttachment /// to reject a VPC attachment request. /// /// /// Container for the necessary parameters to execute the AcceptTransitGatewayVpcAttachment service method. /// /// The response from the AcceptTransitGatewayVpcAttachment service method, as returned by EC2. /// REST API Reference for AcceptTransitGatewayVpcAttachment Operation public virtual AcceptTransitGatewayVpcAttachmentResponse AcceptTransitGatewayVpcAttachment(AcceptTransitGatewayVpcAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptTransitGatewayVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptTransitGatewayVpcAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Accepts a request to attach a VPC to a transit gateway. /// /// /// /// The VPC attachment must be in the pendingAcceptance state. Use DescribeTransitGatewayVpcAttachments /// to view your pending VPC attachment requests. Use RejectTransitGatewayVpcAttachment /// to reject a VPC attachment request. /// /// /// Container for the necessary parameters to execute the AcceptTransitGatewayVpcAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcceptTransitGatewayVpcAttachment service method, as returned by EC2. /// REST API Reference for AcceptTransitGatewayVpcAttachment Operation public virtual Task AcceptTransitGatewayVpcAttachmentAsync(AcceptTransitGatewayVpcAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptTransitGatewayVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptTransitGatewayVpcAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AcceptVpcEndpointConnections /// /// Accepts connection requests to your VPC endpoint service. /// /// Container for the necessary parameters to execute the AcceptVpcEndpointConnections service method. /// /// The response from the AcceptVpcEndpointConnections service method, as returned by EC2. /// REST API Reference for AcceptVpcEndpointConnections Operation public virtual AcceptVpcEndpointConnectionsResponse AcceptVpcEndpointConnections(AcceptVpcEndpointConnectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptVpcEndpointConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptVpcEndpointConnectionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Accepts connection requests to your VPC endpoint service. /// /// Container for the necessary parameters to execute the AcceptVpcEndpointConnections service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcceptVpcEndpointConnections service method, as returned by EC2. /// REST API Reference for AcceptVpcEndpointConnections Operation public virtual Task AcceptVpcEndpointConnectionsAsync(AcceptVpcEndpointConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptVpcEndpointConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptVpcEndpointConnectionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AcceptVpcPeeringConnection /// /// Accept a VPC peering connection request. To accept a request, the VPC peering connection /// must be in the pending-acceptance state, and you must be the owner of /// the peer VPC. Use DescribeVpcPeeringConnections to view your outstanding VPC /// peering connection requests. /// /// /// /// For an inter-Region VPC peering connection request, you must accept the VPC peering /// connection in the Region of the accepter VPC. /// /// /// Container for the necessary parameters to execute the AcceptVpcPeeringConnection service method. /// /// The response from the AcceptVpcPeeringConnection service method, as returned by EC2. /// REST API Reference for AcceptVpcPeeringConnection Operation public virtual AcceptVpcPeeringConnectionResponse AcceptVpcPeeringConnection(AcceptVpcPeeringConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptVpcPeeringConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptVpcPeeringConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Accept a VPC peering connection request. To accept a request, the VPC peering connection /// must be in the pending-acceptance state, and you must be the owner of /// the peer VPC. Use DescribeVpcPeeringConnections to view your outstanding VPC /// peering connection requests. /// /// /// /// For an inter-Region VPC peering connection request, you must accept the VPC peering /// connection in the Region of the accepter VPC. /// /// /// Container for the necessary parameters to execute the AcceptVpcPeeringConnection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcceptVpcPeeringConnection service method, as returned by EC2. /// REST API Reference for AcceptVpcPeeringConnection Operation public virtual Task AcceptVpcPeeringConnectionAsync(AcceptVpcPeeringConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptVpcPeeringConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptVpcPeeringConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AdvertiseByoipCidr /// /// Advertises an IPv4 or IPv6 address range that is provisioned for use with your Amazon /// Web Services resources through bring your own IP addresses (BYOIP). /// /// /// /// You can perform this operation at most once every 10 seconds, even if you specify /// different address ranges each time. /// /// /// /// We recommend that you stop advertising the BYOIP CIDR from other locations when you /// advertise it from Amazon Web Services. To minimize down time, you can configure your /// Amazon Web Services resources to use an address from a BYOIP CIDR before it is advertised, /// and then simultaneously stop advertising it from the current location and start advertising /// it through Amazon Web Services. /// /// /// /// It can take a few minutes before traffic to the specified addresses starts routing /// to Amazon Web Services because of BGP propagation delays. /// /// /// /// To stop advertising the BYOIP CIDR, use WithdrawByoipCidr. /// /// /// Container for the necessary parameters to execute the AdvertiseByoipCidr service method. /// /// The response from the AdvertiseByoipCidr service method, as returned by EC2. /// REST API Reference for AdvertiseByoipCidr Operation public virtual AdvertiseByoipCidrResponse AdvertiseByoipCidr(AdvertiseByoipCidrRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AdvertiseByoipCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = AdvertiseByoipCidrResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Advertises an IPv4 or IPv6 address range that is provisioned for use with your Amazon /// Web Services resources through bring your own IP addresses (BYOIP). /// /// /// /// You can perform this operation at most once every 10 seconds, even if you specify /// different address ranges each time. /// /// /// /// We recommend that you stop advertising the BYOIP CIDR from other locations when you /// advertise it from Amazon Web Services. To minimize down time, you can configure your /// Amazon Web Services resources to use an address from a BYOIP CIDR before it is advertised, /// and then simultaneously stop advertising it from the current location and start advertising /// it through Amazon Web Services. /// /// /// /// It can take a few minutes before traffic to the specified addresses starts routing /// to Amazon Web Services because of BGP propagation delays. /// /// /// /// To stop advertising the BYOIP CIDR, use WithdrawByoipCidr. /// /// /// Container for the necessary parameters to execute the AdvertiseByoipCidr service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AdvertiseByoipCidr service method, as returned by EC2. /// REST API Reference for AdvertiseByoipCidr Operation public virtual Task AdvertiseByoipCidrAsync(AdvertiseByoipCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AdvertiseByoipCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = AdvertiseByoipCidrResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AllocateAddress /// /// Allocates an Elastic IP address to your Amazon Web Services account. After you allocate /// the Elastic IP address you can associate it with an instance or network interface. /// After you release an Elastic IP address, it is released to the IP address pool and /// can be allocated to a different Amazon Web Services account. /// /// /// /// You can allocate an Elastic IP address from an address pool owned by Amazon Web Services /// or from an address pool created from a public IPv4 address range that you have brought /// to Amazon Web Services for use with your Amazon Web Services resources using bring /// your own IP addresses (BYOIP). For more information, see Bring /// Your Own IP Addresses (BYOIP) in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// If you release an Elastic IP address, you might be able to recover it. You cannot /// recover an Elastic IP address that you released after it is allocated to another Amazon /// Web Services account. To attempt to recover an Elastic IP address that you released, /// specify it in this operation. /// /// /// /// For more information, see Elastic /// IP Addresses in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// You can allocate a carrier IP address which is a public IP address from a telecommunication /// carrier, to a network interface which resides in a subnet in a Wavelength Zone (for /// example an EC2 instance). /// /// /// /// The response from the AllocateAddress service method, as returned by EC2. /// REST API Reference for AllocateAddress Operation public virtual AllocateAddressResponse AllocateAddress() { return AllocateAddress(new AllocateAddressRequest()); } /// /// Allocates an Elastic IP address to your Amazon Web Services account. After you allocate /// the Elastic IP address you can associate it with an instance or network interface. /// After you release an Elastic IP address, it is released to the IP address pool and /// can be allocated to a different Amazon Web Services account. /// /// /// /// You can allocate an Elastic IP address from an address pool owned by Amazon Web Services /// or from an address pool created from a public IPv4 address range that you have brought /// to Amazon Web Services for use with your Amazon Web Services resources using bring /// your own IP addresses (BYOIP). For more information, see Bring /// Your Own IP Addresses (BYOIP) in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// If you release an Elastic IP address, you might be able to recover it. You cannot /// recover an Elastic IP address that you released after it is allocated to another Amazon /// Web Services account. To attempt to recover an Elastic IP address that you released, /// specify it in this operation. /// /// /// /// For more information, see Elastic /// IP Addresses in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// You can allocate a carrier IP address which is a public IP address from a telecommunication /// carrier, to a network interface which resides in a subnet in a Wavelength Zone (for /// example an EC2 instance). /// /// /// Container for the necessary parameters to execute the AllocateAddress service method. /// /// The response from the AllocateAddress service method, as returned by EC2. /// REST API Reference for AllocateAddress Operation public virtual AllocateAddressResponse AllocateAddress(AllocateAddressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AllocateAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = AllocateAddressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Allocates an Elastic IP address to your Amazon Web Services account. After you allocate /// the Elastic IP address you can associate it with an instance or network interface. /// After you release an Elastic IP address, it is released to the IP address pool and /// can be allocated to a different Amazon Web Services account. /// /// /// /// You can allocate an Elastic IP address from an address pool owned by Amazon Web Services /// or from an address pool created from a public IPv4 address range that you have brought /// to Amazon Web Services for use with your Amazon Web Services resources using bring /// your own IP addresses (BYOIP). For more information, see Bring /// Your Own IP Addresses (BYOIP) in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// If you release an Elastic IP address, you might be able to recover it. You cannot /// recover an Elastic IP address that you released after it is allocated to another Amazon /// Web Services account. To attempt to recover an Elastic IP address that you released, /// specify it in this operation. /// /// /// /// For more information, see Elastic /// IP Addresses in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// You can allocate a carrier IP address which is a public IP address from a telecommunication /// carrier, to a network interface which resides in a subnet in a Wavelength Zone (for /// example an EC2 instance). /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AllocateAddress service method, as returned by EC2. /// REST API Reference for AllocateAddress Operation public virtual Task AllocateAddressAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return AllocateAddressAsync(new AllocateAddressRequest(), cancellationToken); } /// /// Allocates an Elastic IP address to your Amazon Web Services account. After you allocate /// the Elastic IP address you can associate it with an instance or network interface. /// After you release an Elastic IP address, it is released to the IP address pool and /// can be allocated to a different Amazon Web Services account. /// /// /// /// You can allocate an Elastic IP address from an address pool owned by Amazon Web Services /// or from an address pool created from a public IPv4 address range that you have brought /// to Amazon Web Services for use with your Amazon Web Services resources using bring /// your own IP addresses (BYOIP). For more information, see Bring /// Your Own IP Addresses (BYOIP) in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// If you release an Elastic IP address, you might be able to recover it. You cannot /// recover an Elastic IP address that you released after it is allocated to another Amazon /// Web Services account. To attempt to recover an Elastic IP address that you released, /// specify it in this operation. /// /// /// /// For more information, see Elastic /// IP Addresses in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// You can allocate a carrier IP address which is a public IP address from a telecommunication /// carrier, to a network interface which resides in a subnet in a Wavelength Zone (for /// example an EC2 instance). /// /// /// Container for the necessary parameters to execute the AllocateAddress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AllocateAddress service method, as returned by EC2. /// REST API Reference for AllocateAddress Operation public virtual Task AllocateAddressAsync(AllocateAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AllocateAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = AllocateAddressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AllocateHosts /// /// Allocates a Dedicated Host to your account. At a minimum, specify the supported instance /// type or instance family, the Availability Zone in which to allocate the host, and /// the number of hosts to allocate. /// /// Container for the necessary parameters to execute the AllocateHosts service method. /// /// The response from the AllocateHosts service method, as returned by EC2. /// REST API Reference for AllocateHosts Operation public virtual AllocateHostsResponse AllocateHosts(AllocateHostsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AllocateHostsRequestMarshaller.Instance; options.ResponseUnmarshaller = AllocateHostsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Allocates a Dedicated Host to your account. At a minimum, specify the supported instance /// type or instance family, the Availability Zone in which to allocate the host, and /// the number of hosts to allocate. /// /// Container for the necessary parameters to execute the AllocateHosts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AllocateHosts service method, as returned by EC2. /// REST API Reference for AllocateHosts Operation public virtual Task AllocateHostsAsync(AllocateHostsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AllocateHostsRequestMarshaller.Instance; options.ResponseUnmarshaller = AllocateHostsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AllocateIpamPoolCidr /// /// Allocate a CIDR from an IPAM pool. The Region you use should be the IPAM pool locale. /// The locale is the Amazon Web Services Region where this IPAM pool is available for /// allocations. /// /// /// /// In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool /// or to a resource. For more information, see Allocate /// CIDRs in the Amazon VPC IPAM User Guide. /// /// /// /// This action creates an allocation with strong consistency. The returned CIDR will /// not overlap with any other allocations from the same pool. /// /// /// /// Container for the necessary parameters to execute the AllocateIpamPoolCidr service method. /// /// The response from the AllocateIpamPoolCidr service method, as returned by EC2. /// REST API Reference for AllocateIpamPoolCidr Operation public virtual AllocateIpamPoolCidrResponse AllocateIpamPoolCidr(AllocateIpamPoolCidrRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AllocateIpamPoolCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = AllocateIpamPoolCidrResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Allocate a CIDR from an IPAM pool. The Region you use should be the IPAM pool locale. /// The locale is the Amazon Web Services Region where this IPAM pool is available for /// allocations. /// /// /// /// In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool /// or to a resource. For more information, see Allocate /// CIDRs in the Amazon VPC IPAM User Guide. /// /// /// /// This action creates an allocation with strong consistency. The returned CIDR will /// not overlap with any other allocations from the same pool. /// /// /// /// Container for the necessary parameters to execute the AllocateIpamPoolCidr service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AllocateIpamPoolCidr service method, as returned by EC2. /// REST API Reference for AllocateIpamPoolCidr Operation public virtual Task AllocateIpamPoolCidrAsync(AllocateIpamPoolCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AllocateIpamPoolCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = AllocateIpamPoolCidrResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ApplySecurityGroupsToClientVpnTargetNetwork /// /// Applies a security group to the association between the target network and the Client /// VPN endpoint. This action replaces the existing security groups with the specified /// security groups. /// /// Container for the necessary parameters to execute the ApplySecurityGroupsToClientVpnTargetNetwork service method. /// /// The response from the ApplySecurityGroupsToClientVpnTargetNetwork service method, as returned by EC2. /// REST API Reference for ApplySecurityGroupsToClientVpnTargetNetwork Operation public virtual ApplySecurityGroupsToClientVpnTargetNetworkResponse ApplySecurityGroupsToClientVpnTargetNetwork(ApplySecurityGroupsToClientVpnTargetNetworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ApplySecurityGroupsToClientVpnTargetNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = ApplySecurityGroupsToClientVpnTargetNetworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Applies a security group to the association between the target network and the Client /// VPN endpoint. This action replaces the existing security groups with the specified /// security groups. /// /// Container for the necessary parameters to execute the ApplySecurityGroupsToClientVpnTargetNetwork service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ApplySecurityGroupsToClientVpnTargetNetwork service method, as returned by EC2. /// REST API Reference for ApplySecurityGroupsToClientVpnTargetNetwork Operation public virtual Task ApplySecurityGroupsToClientVpnTargetNetworkAsync(ApplySecurityGroupsToClientVpnTargetNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ApplySecurityGroupsToClientVpnTargetNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = ApplySecurityGroupsToClientVpnTargetNetworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssignIpv6Addresses /// /// Assigns one or more IPv6 addresses to the specified network interface. You can specify /// one or more specific IPv6 addresses, or you can specify the number of IPv6 addresses /// to be automatically assigned from within the subnet's IPv6 CIDR block range. You can /// assign as many IPv6 addresses to a network interface as you can assign private IPv4 /// addresses, and the limit varies per instance type. For information, see IP /// Addresses Per Network Interface Per Instance Type in the Amazon Elastic Compute /// Cloud User Guide. /// /// /// /// You must specify either the IPv6 addresses or the IPv6 address count in the request. /// /// /// /// /// You can optionally use Prefix Delegation on the network interface. You must specify /// either the IPV6 Prefix Delegation prefixes, or the IPv6 Prefix Delegation count. For /// information, see /// Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute /// Cloud User Guide. /// /// /// Container for the necessary parameters to execute the AssignIpv6Addresses service method. /// /// The response from the AssignIpv6Addresses service method, as returned by EC2. /// REST API Reference for AssignIpv6Addresses Operation public virtual AssignIpv6AddressesResponse AssignIpv6Addresses(AssignIpv6AddressesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssignIpv6AddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = AssignIpv6AddressesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Assigns one or more IPv6 addresses to the specified network interface. You can specify /// one or more specific IPv6 addresses, or you can specify the number of IPv6 addresses /// to be automatically assigned from within the subnet's IPv6 CIDR block range. You can /// assign as many IPv6 addresses to a network interface as you can assign private IPv4 /// addresses, and the limit varies per instance type. For information, see IP /// Addresses Per Network Interface Per Instance Type in the Amazon Elastic Compute /// Cloud User Guide. /// /// /// /// You must specify either the IPv6 addresses or the IPv6 address count in the request. /// /// /// /// /// You can optionally use Prefix Delegation on the network interface. You must specify /// either the IPV6 Prefix Delegation prefixes, or the IPv6 Prefix Delegation count. For /// information, see /// Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute /// Cloud User Guide. /// /// /// Container for the necessary parameters to execute the AssignIpv6Addresses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssignIpv6Addresses service method, as returned by EC2. /// REST API Reference for AssignIpv6Addresses Operation public virtual Task AssignIpv6AddressesAsync(AssignIpv6AddressesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssignIpv6AddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = AssignIpv6AddressesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssignPrivateIpAddresses /// /// Assigns one or more secondary private IP addresses to the specified network interface. /// /// /// /// You can specify one or more specific secondary IP addresses, or you can specify the /// number of secondary IP addresses to be automatically assigned within the subnet's /// CIDR block range. The number of secondary IP addresses that you can assign to an instance /// varies by instance type. For information about instance types, see Instance /// Types in the Amazon Elastic Compute Cloud User Guide. For more information /// about Elastic IP addresses, see Elastic /// IP Addresses in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// When you move a secondary private IP address to another network interface, any Elastic /// IP address that is associated with the IP address is also moved. /// /// /// /// Remapping an IP address is an asynchronous operation. When you move an IP address /// from one network interface to another, check network/interfaces/macs/mac/local-ipv4s /// in the instance metadata to confirm that the remapping is complete. /// /// /// /// You must specify either the IP addresses or the IP address count in the request. /// /// /// /// You can optionally use Prefix Delegation on the network interface. You must specify /// either the IPv4 Prefix Delegation prefixes, or the IPv4 Prefix Delegation count. For /// information, see /// Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute /// Cloud User Guide. /// /// /// Container for the necessary parameters to execute the AssignPrivateIpAddresses service method. /// /// The response from the AssignPrivateIpAddresses service method, as returned by EC2. /// REST API Reference for AssignPrivateIpAddresses Operation public virtual AssignPrivateIpAddressesResponse AssignPrivateIpAddresses(AssignPrivateIpAddressesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssignPrivateIpAddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = AssignPrivateIpAddressesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Assigns one or more secondary private IP addresses to the specified network interface. /// /// /// /// You can specify one or more specific secondary IP addresses, or you can specify the /// number of secondary IP addresses to be automatically assigned within the subnet's /// CIDR block range. The number of secondary IP addresses that you can assign to an instance /// varies by instance type. For information about instance types, see Instance /// Types in the Amazon Elastic Compute Cloud User Guide. For more information /// about Elastic IP addresses, see Elastic /// IP Addresses in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// When you move a secondary private IP address to another network interface, any Elastic /// IP address that is associated with the IP address is also moved. /// /// /// /// Remapping an IP address is an asynchronous operation. When you move an IP address /// from one network interface to another, check network/interfaces/macs/mac/local-ipv4s /// in the instance metadata to confirm that the remapping is complete. /// /// /// /// You must specify either the IP addresses or the IP address count in the request. /// /// /// /// You can optionally use Prefix Delegation on the network interface. You must specify /// either the IPv4 Prefix Delegation prefixes, or the IPv4 Prefix Delegation count. For /// information, see /// Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute /// Cloud User Guide. /// /// /// Container for the necessary parameters to execute the AssignPrivateIpAddresses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssignPrivateIpAddresses service method, as returned by EC2. /// REST API Reference for AssignPrivateIpAddresses Operation public virtual Task AssignPrivateIpAddressesAsync(AssignPrivateIpAddressesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssignPrivateIpAddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = AssignPrivateIpAddressesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssignPrivateNatGatewayAddress /// /// Assigns one or more private IPv4 addresses to a private NAT gateway. For more information, /// see Work /// with NAT gateways in the Amazon VPC User Guide. /// /// Container for the necessary parameters to execute the AssignPrivateNatGatewayAddress service method. /// /// The response from the AssignPrivateNatGatewayAddress service method, as returned by EC2. /// REST API Reference for AssignPrivateNatGatewayAddress Operation public virtual AssignPrivateNatGatewayAddressResponse AssignPrivateNatGatewayAddress(AssignPrivateNatGatewayAddressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssignPrivateNatGatewayAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = AssignPrivateNatGatewayAddressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Assigns one or more private IPv4 addresses to a private NAT gateway. For more information, /// see Work /// with NAT gateways in the Amazon VPC User Guide. /// /// Container for the necessary parameters to execute the AssignPrivateNatGatewayAddress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssignPrivateNatGatewayAddress service method, as returned by EC2. /// REST API Reference for AssignPrivateNatGatewayAddress Operation public virtual Task AssignPrivateNatGatewayAddressAsync(AssignPrivateNatGatewayAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssignPrivateNatGatewayAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = AssignPrivateNatGatewayAddressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateAddress /// /// Associates an Elastic IP address, or carrier IP address (for instances that are in /// subnets in Wavelength Zones) with an instance or a network interface. Before you can /// use an Elastic IP address, you must allocate it to your account. /// /// /// /// If the Elastic IP address is already associated with a different instance, it is disassociated /// from that instance and associated with the specified instance. If you associate an /// Elastic IP address with an instance that has an existing Elastic IP address, the existing /// address is disassociated from the instance, but remains allocated to your account. /// /// /// /// [Subnets in Wavelength Zones] You can associate an IP address from the telecommunication /// carrier to the instance or network interface. /// /// /// /// You cannot associate an Elastic IP address with an interface in a different network /// border group. /// /// /// /// This is an idempotent operation. If you perform the operation more than once, Amazon /// EC2 doesn't return an error, and you may be charged for each time the Elastic IP address /// is remapped to the same instance. For more information, see the Elastic IP Addresses /// section of Amazon EC2 Pricing. /// /// /// /// Container for the necessary parameters to execute the AssociateAddress service method. /// /// The response from the AssociateAddress service method, as returned by EC2. /// REST API Reference for AssociateAddress Operation public virtual AssociateAddressResponse AssociateAddress(AssociateAddressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateAddressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates an Elastic IP address, or carrier IP address (for instances that are in /// subnets in Wavelength Zones) with an instance or a network interface. Before you can /// use an Elastic IP address, you must allocate it to your account. /// /// /// /// If the Elastic IP address is already associated with a different instance, it is disassociated /// from that instance and associated with the specified instance. If you associate an /// Elastic IP address with an instance that has an existing Elastic IP address, the existing /// address is disassociated from the instance, but remains allocated to your account. /// /// /// /// [Subnets in Wavelength Zones] You can associate an IP address from the telecommunication /// carrier to the instance or network interface. /// /// /// /// You cannot associate an Elastic IP address with an interface in a different network /// border group. /// /// /// /// This is an idempotent operation. If you perform the operation more than once, Amazon /// EC2 doesn't return an error, and you may be charged for each time the Elastic IP address /// is remapped to the same instance. For more information, see the Elastic IP Addresses /// section of Amazon EC2 Pricing. /// /// /// /// Container for the necessary parameters to execute the AssociateAddress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateAddress service method, as returned by EC2. /// REST API Reference for AssociateAddress Operation public virtual Task AssociateAddressAsync(AssociateAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateAddressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateClientVpnTargetNetwork /// /// Associates a target network with a Client VPN endpoint. A target network is a subnet /// in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. /// You can associate only one subnet in each Availability Zone. We recommend that you /// associate at least two subnets to provide Availability Zone redundancy. /// /// /// /// If you specified a VPC when you created the Client VPN endpoint or if you have previous /// subnet associations, the specified subnet must be in the same VPC. To specify a subnet /// that's in a different VPC, you must first modify the Client VPN endpoint (ModifyClientVpnEndpoint) /// and change the VPC that's associated with it. /// /// /// Container for the necessary parameters to execute the AssociateClientVpnTargetNetwork service method. /// /// The response from the AssociateClientVpnTargetNetwork service method, as returned by EC2. /// REST API Reference for AssociateClientVpnTargetNetwork Operation public virtual AssociateClientVpnTargetNetworkResponse AssociateClientVpnTargetNetwork(AssociateClientVpnTargetNetworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateClientVpnTargetNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateClientVpnTargetNetworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates a target network with a Client VPN endpoint. A target network is a subnet /// in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. /// You can associate only one subnet in each Availability Zone. We recommend that you /// associate at least two subnets to provide Availability Zone redundancy. /// /// /// /// If you specified a VPC when you created the Client VPN endpoint or if you have previous /// subnet associations, the specified subnet must be in the same VPC. To specify a subnet /// that's in a different VPC, you must first modify the Client VPN endpoint (ModifyClientVpnEndpoint) /// and change the VPC that's associated with it. /// /// /// Container for the necessary parameters to execute the AssociateClientVpnTargetNetwork service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateClientVpnTargetNetwork service method, as returned by EC2. /// REST API Reference for AssociateClientVpnTargetNetwork Operation public virtual Task AssociateClientVpnTargetNetworkAsync(AssociateClientVpnTargetNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateClientVpnTargetNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateClientVpnTargetNetworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateDhcpOptions /// /// Associates a set of DHCP options (that you've previously created) with the specified /// VPC, or associates no DHCP options with the VPC. /// /// /// /// After you associate the options with the VPC, any existing instances and all new instances /// that you launch in that VPC use the options. You don't need to restart or relaunch /// the instances. They automatically pick up the changes within a few hours, depending /// on how frequently the instance renews its DHCP lease. You can explicitly renew the /// lease using the operating system on the instance. /// /// /// /// For more information, see DHCP /// options sets in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the AssociateDhcpOptions service method. /// /// The response from the AssociateDhcpOptions service method, as returned by EC2. /// REST API Reference for AssociateDhcpOptions Operation public virtual AssociateDhcpOptionsResponse AssociateDhcpOptions(AssociateDhcpOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateDhcpOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateDhcpOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates a set of DHCP options (that you've previously created) with the specified /// VPC, or associates no DHCP options with the VPC. /// /// /// /// After you associate the options with the VPC, any existing instances and all new instances /// that you launch in that VPC use the options. You don't need to restart or relaunch /// the instances. They automatically pick up the changes within a few hours, depending /// on how frequently the instance renews its DHCP lease. You can explicitly renew the /// lease using the operating system on the instance. /// /// /// /// For more information, see DHCP /// options sets in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the AssociateDhcpOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateDhcpOptions service method, as returned by EC2. /// REST API Reference for AssociateDhcpOptions Operation public virtual Task AssociateDhcpOptionsAsync(AssociateDhcpOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateDhcpOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateDhcpOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateEnclaveCertificateIamRole /// /// Associates an Identity and Access Management (IAM) role with an Certificate Manager /// (ACM) certificate. This enables the certificate to be used by the ACM for Nitro Enclaves /// application inside an enclave. For more information, see Certificate /// Manager for Nitro Enclaves in the Amazon Web Services Nitro Enclaves User Guide. /// /// /// /// When the IAM role is associated with the ACM certificate, the certificate, certificate /// chain, and encrypted private key are placed in an Amazon S3 location that only the /// associated IAM role can access. The private key of the certificate is encrypted with /// an Amazon Web Services managed key that has an attached attestation-based key policy. /// /// /// /// To enable the IAM role to access the Amazon S3 object, you must grant it permission /// to call s3:GetObject on the Amazon S3 bucket returned by the command. /// To enable the IAM role to access the KMS key, you must grant it permission to call /// kms:Decrypt on the KMS key returned by the command. For more information, /// see /// Grant the role permission to access the certificate and encryption key in the /// Amazon Web Services Nitro Enclaves User Guide. /// /// /// Container for the necessary parameters to execute the AssociateEnclaveCertificateIamRole service method. /// /// The response from the AssociateEnclaveCertificateIamRole service method, as returned by EC2. /// REST API Reference for AssociateEnclaveCertificateIamRole Operation public virtual AssociateEnclaveCertificateIamRoleResponse AssociateEnclaveCertificateIamRole(AssociateEnclaveCertificateIamRoleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateEnclaveCertificateIamRoleRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateEnclaveCertificateIamRoleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates an Identity and Access Management (IAM) role with an Certificate Manager /// (ACM) certificate. This enables the certificate to be used by the ACM for Nitro Enclaves /// application inside an enclave. For more information, see Certificate /// Manager for Nitro Enclaves in the Amazon Web Services Nitro Enclaves User Guide. /// /// /// /// When the IAM role is associated with the ACM certificate, the certificate, certificate /// chain, and encrypted private key are placed in an Amazon S3 location that only the /// associated IAM role can access. The private key of the certificate is encrypted with /// an Amazon Web Services managed key that has an attached attestation-based key policy. /// /// /// /// To enable the IAM role to access the Amazon S3 object, you must grant it permission /// to call s3:GetObject on the Amazon S3 bucket returned by the command. /// To enable the IAM role to access the KMS key, you must grant it permission to call /// kms:Decrypt on the KMS key returned by the command. For more information, /// see /// Grant the role permission to access the certificate and encryption key in the /// Amazon Web Services Nitro Enclaves User Guide. /// /// /// Container for the necessary parameters to execute the AssociateEnclaveCertificateIamRole service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateEnclaveCertificateIamRole service method, as returned by EC2. /// REST API Reference for AssociateEnclaveCertificateIamRole Operation public virtual Task AssociateEnclaveCertificateIamRoleAsync(AssociateEnclaveCertificateIamRoleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateEnclaveCertificateIamRoleRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateEnclaveCertificateIamRoleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateIamInstanceProfile /// /// Associates an IAM instance profile with a running or stopped instance. You cannot /// associate more than one IAM instance profile with an instance. /// /// Container for the necessary parameters to execute the AssociateIamInstanceProfile service method. /// /// The response from the AssociateIamInstanceProfile service method, as returned by EC2. /// REST API Reference for AssociateIamInstanceProfile Operation public virtual AssociateIamInstanceProfileResponse AssociateIamInstanceProfile(AssociateIamInstanceProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateIamInstanceProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateIamInstanceProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates an IAM instance profile with a running or stopped instance. You cannot /// associate more than one IAM instance profile with an instance. /// /// Container for the necessary parameters to execute the AssociateIamInstanceProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateIamInstanceProfile service method, as returned by EC2. /// REST API Reference for AssociateIamInstanceProfile Operation public virtual Task AssociateIamInstanceProfileAsync(AssociateIamInstanceProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateIamInstanceProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateIamInstanceProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateInstanceEventWindow /// /// Associates one or more targets with an event window. Only one type of target (instance /// IDs, Dedicated Host IDs, or tags) can be specified with an event window. /// /// /// /// For more information, see Define /// event windows for scheduled events in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the AssociateInstanceEventWindow service method. /// /// The response from the AssociateInstanceEventWindow service method, as returned by EC2. /// REST API Reference for AssociateInstanceEventWindow Operation public virtual AssociateInstanceEventWindowResponse AssociateInstanceEventWindow(AssociateInstanceEventWindowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateInstanceEventWindowRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateInstanceEventWindowResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates one or more targets with an event window. Only one type of target (instance /// IDs, Dedicated Host IDs, or tags) can be specified with an event window. /// /// /// /// For more information, see Define /// event windows for scheduled events in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the AssociateInstanceEventWindow service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateInstanceEventWindow service method, as returned by EC2. /// REST API Reference for AssociateInstanceEventWindow Operation public virtual Task AssociateInstanceEventWindowAsync(AssociateInstanceEventWindowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateInstanceEventWindowRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateInstanceEventWindowResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateIpamResourceDiscovery /// /// Associates an IPAM resource discovery with an Amazon VPC IPAM. A resource discovery /// is an IPAM component that enables IPAM to manage and monitor resources that belong /// to the owning account. /// /// Container for the necessary parameters to execute the AssociateIpamResourceDiscovery service method. /// /// The response from the AssociateIpamResourceDiscovery service method, as returned by EC2. /// REST API Reference for AssociateIpamResourceDiscovery Operation public virtual AssociateIpamResourceDiscoveryResponse AssociateIpamResourceDiscovery(AssociateIpamResourceDiscoveryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateIpamResourceDiscoveryRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateIpamResourceDiscoveryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates an IPAM resource discovery with an Amazon VPC IPAM. A resource discovery /// is an IPAM component that enables IPAM to manage and monitor resources that belong /// to the owning account. /// /// Container for the necessary parameters to execute the AssociateIpamResourceDiscovery service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateIpamResourceDiscovery service method, as returned by EC2. /// REST API Reference for AssociateIpamResourceDiscovery Operation public virtual Task AssociateIpamResourceDiscoveryAsync(AssociateIpamResourceDiscoveryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateIpamResourceDiscoveryRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateIpamResourceDiscoveryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateNatGatewayAddress /// /// Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT /// gateway. For more information, see Work /// with NAT gateways in the Amazon VPC User Guide. /// /// /// /// By default, you can associate up to 2 Elastic IP addresses per public NAT gateway. /// You can increase the limit by requesting a quota adjustment. For more information, /// see Elastic /// IP address quotas in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the AssociateNatGatewayAddress service method. /// /// The response from the AssociateNatGatewayAddress service method, as returned by EC2. /// REST API Reference for AssociateNatGatewayAddress Operation public virtual AssociateNatGatewayAddressResponse AssociateNatGatewayAddress(AssociateNatGatewayAddressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateNatGatewayAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateNatGatewayAddressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT /// gateway. For more information, see Work /// with NAT gateways in the Amazon VPC User Guide. /// /// /// /// By default, you can associate up to 2 Elastic IP addresses per public NAT gateway. /// You can increase the limit by requesting a quota adjustment. For more information, /// see Elastic /// IP address quotas in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the AssociateNatGatewayAddress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateNatGatewayAddress service method, as returned by EC2. /// REST API Reference for AssociateNatGatewayAddress Operation public virtual Task AssociateNatGatewayAddressAsync(AssociateNatGatewayAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateNatGatewayAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateNatGatewayAddressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateRouteTable /// /// Associates a subnet in your VPC or an internet gateway or virtual private gateway /// attached to your VPC with a route table in your VPC. This association causes traffic /// from the subnet or gateway to be routed according to the routes in the route table. /// The action returns an association ID, which you need in order to disassociate the /// route table later. A route table can be associated with multiple subnets. /// /// /// /// For more information, see Route /// tables in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the AssociateRouteTable service method. /// /// The response from the AssociateRouteTable service method, as returned by EC2. /// REST API Reference for AssociateRouteTable Operation public virtual AssociateRouteTableResponse AssociateRouteTable(AssociateRouteTableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateRouteTableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates a subnet in your VPC or an internet gateway or virtual private gateway /// attached to your VPC with a route table in your VPC. This association causes traffic /// from the subnet or gateway to be routed according to the routes in the route table. /// The action returns an association ID, which you need in order to disassociate the /// route table later. A route table can be associated with multiple subnets. /// /// /// /// For more information, see Route /// tables in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the AssociateRouteTable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateRouteTable service method, as returned by EC2. /// REST API Reference for AssociateRouteTable Operation public virtual Task AssociateRouteTableAsync(AssociateRouteTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateRouteTableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateSubnetCidrBlock /// /// Associates a CIDR block with your subnet. You can only associate a single IPv6 CIDR /// block with your subnet. An IPv6 CIDR block must have a prefix length of /64. /// /// Container for the necessary parameters to execute the AssociateSubnetCidrBlock service method. /// /// The response from the AssociateSubnetCidrBlock service method, as returned by EC2. /// REST API Reference for AssociateSubnetCidrBlock Operation public virtual AssociateSubnetCidrBlockResponse AssociateSubnetCidrBlock(AssociateSubnetCidrBlockRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateSubnetCidrBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateSubnetCidrBlockResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates a CIDR block with your subnet. You can only associate a single IPv6 CIDR /// block with your subnet. An IPv6 CIDR block must have a prefix length of /64. /// /// Container for the necessary parameters to execute the AssociateSubnetCidrBlock service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateSubnetCidrBlock service method, as returned by EC2. /// REST API Reference for AssociateSubnetCidrBlock Operation public virtual Task AssociateSubnetCidrBlockAsync(AssociateSubnetCidrBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateSubnetCidrBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateSubnetCidrBlockResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateTransitGatewayMulticastDomain /// /// Associates the specified subnets and transit gateway attachments with the specified /// transit gateway multicast domain. /// /// /// /// The transit gateway attachment must be in the available state before you can add a /// resource. Use DescribeTransitGatewayAttachments /// to see the state of the attachment. /// /// /// Container for the necessary parameters to execute the AssociateTransitGatewayMulticastDomain service method. /// /// The response from the AssociateTransitGatewayMulticastDomain service method, as returned by EC2. /// REST API Reference for AssociateTransitGatewayMulticastDomain Operation public virtual AssociateTransitGatewayMulticastDomainResponse AssociateTransitGatewayMulticastDomain(AssociateTransitGatewayMulticastDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateTransitGatewayMulticastDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateTransitGatewayMulticastDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates the specified subnets and transit gateway attachments with the specified /// transit gateway multicast domain. /// /// /// /// The transit gateway attachment must be in the available state before you can add a /// resource. Use DescribeTransitGatewayAttachments /// to see the state of the attachment. /// /// /// Container for the necessary parameters to execute the AssociateTransitGatewayMulticastDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateTransitGatewayMulticastDomain service method, as returned by EC2. /// REST API Reference for AssociateTransitGatewayMulticastDomain Operation public virtual Task AssociateTransitGatewayMulticastDomainAsync(AssociateTransitGatewayMulticastDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateTransitGatewayMulticastDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateTransitGatewayMulticastDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateTransitGatewayPolicyTable /// /// Associates the specified transit gateway attachment with a transit gateway policy /// table. /// /// Container for the necessary parameters to execute the AssociateTransitGatewayPolicyTable service method. /// /// The response from the AssociateTransitGatewayPolicyTable service method, as returned by EC2. /// REST API Reference for AssociateTransitGatewayPolicyTable Operation public virtual AssociateTransitGatewayPolicyTableResponse AssociateTransitGatewayPolicyTable(AssociateTransitGatewayPolicyTableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateTransitGatewayPolicyTableRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateTransitGatewayPolicyTableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates the specified transit gateway attachment with a transit gateway policy /// table. /// /// Container for the necessary parameters to execute the AssociateTransitGatewayPolicyTable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateTransitGatewayPolicyTable service method, as returned by EC2. /// REST API Reference for AssociateTransitGatewayPolicyTable Operation public virtual Task AssociateTransitGatewayPolicyTableAsync(AssociateTransitGatewayPolicyTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateTransitGatewayPolicyTableRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateTransitGatewayPolicyTableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateTransitGatewayRouteTable /// /// Associates the specified attachment with the specified transit gateway route table. /// You can associate only one route table with an attachment. /// /// Container for the necessary parameters to execute the AssociateTransitGatewayRouteTable service method. /// /// The response from the AssociateTransitGatewayRouteTable service method, as returned by EC2. /// REST API Reference for AssociateTransitGatewayRouteTable Operation public virtual AssociateTransitGatewayRouteTableResponse AssociateTransitGatewayRouteTable(AssociateTransitGatewayRouteTableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateTransitGatewayRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateTransitGatewayRouteTableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates the specified attachment with the specified transit gateway route table. /// You can associate only one route table with an attachment. /// /// Container for the necessary parameters to execute the AssociateTransitGatewayRouteTable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateTransitGatewayRouteTable service method, as returned by EC2. /// REST API Reference for AssociateTransitGatewayRouteTable Operation public virtual Task AssociateTransitGatewayRouteTableAsync(AssociateTransitGatewayRouteTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateTransitGatewayRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateTransitGatewayRouteTableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateTrunkInterface /// /// /// /// This API action is currently in limited preview only. If you are interested /// in using this feature, contact your account manager. /// /// /// /// Associates a branch network interface with a trunk network interface. /// /// /// /// Before you create the association, run the create-network-interface /// command and set --interface-type to trunk. You must also /// create a network interface for each branch network interface that you want to associate /// with the trunk network interface. /// /// /// Container for the necessary parameters to execute the AssociateTrunkInterface service method. /// /// The response from the AssociateTrunkInterface service method, as returned by EC2. /// REST API Reference for AssociateTrunkInterface Operation public virtual AssociateTrunkInterfaceResponse AssociateTrunkInterface(AssociateTrunkInterfaceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateTrunkInterfaceRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateTrunkInterfaceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// This API action is currently in limited preview only. If you are interested /// in using this feature, contact your account manager. /// /// /// /// Associates a branch network interface with a trunk network interface. /// /// /// /// Before you create the association, run the create-network-interface /// command and set --interface-type to trunk. You must also /// create a network interface for each branch network interface that you want to associate /// with the trunk network interface. /// /// /// Container for the necessary parameters to execute the AssociateTrunkInterface service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateTrunkInterface service method, as returned by EC2. /// REST API Reference for AssociateTrunkInterface Operation public virtual Task AssociateTrunkInterfaceAsync(AssociateTrunkInterfaceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateTrunkInterfaceRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateTrunkInterfaceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateVpcCidrBlock /// /// Associates a CIDR block with your VPC. You can associate a secondary IPv4 CIDR block, /// an Amazon-provided IPv6 CIDR block, or an IPv6 CIDR block from an IPv6 address pool /// that you provisioned through bring your own IP addresses (BYOIP). /// The IPv6 CIDR block size is fixed at /56. /// /// /// /// You must specify one of the following in the request: an IPv4 CIDR block, an IPv6 /// pool, or an Amazon-provided IPv6 CIDR block. /// /// /// /// For more information about associating CIDR blocks with your VPC and applicable restrictions, /// see IP /// addressing for your VPCs and subnets in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the AssociateVpcCidrBlock service method. /// /// The response from the AssociateVpcCidrBlock service method, as returned by EC2. /// REST API Reference for AssociateVpcCidrBlock Operation public virtual AssociateVpcCidrBlockResponse AssociateVpcCidrBlock(AssociateVpcCidrBlockRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateVpcCidrBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateVpcCidrBlockResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates a CIDR block with your VPC. You can associate a secondary IPv4 CIDR block, /// an Amazon-provided IPv6 CIDR block, or an IPv6 CIDR block from an IPv6 address pool /// that you provisioned through bring your own IP addresses (BYOIP). /// The IPv6 CIDR block size is fixed at /56. /// /// /// /// You must specify one of the following in the request: an IPv4 CIDR block, an IPv6 /// pool, or an Amazon-provided IPv6 CIDR block. /// /// /// /// For more information about associating CIDR blocks with your VPC and applicable restrictions, /// see IP /// addressing for your VPCs and subnets in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the AssociateVpcCidrBlock service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateVpcCidrBlock service method, as returned by EC2. /// REST API Reference for AssociateVpcCidrBlock Operation public virtual Task AssociateVpcCidrBlockAsync(AssociateVpcCidrBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateVpcCidrBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateVpcCidrBlockResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AttachClassicLinkVpc /// /// /// /// This action is deprecated. /// /// /// /// Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of /// the VPC security groups. You cannot link an EC2-Classic instance to more than one /// VPC at a time. You can only link an instance that's in the running state. /// An instance is automatically unlinked from a VPC when it's stopped - you can link /// it to the VPC again when you restart it. /// /// /// /// After you've linked an instance, you cannot change the VPC security groups that are /// associated with it. To change the security groups, you must first unlink the instance, /// and then link it again. /// /// /// /// Linking your instance to a VPC is sometimes referred to as attaching your instance. /// /// /// Container for the necessary parameters to execute the AttachClassicLinkVpc service method. /// /// The response from the AttachClassicLinkVpc service method, as returned by EC2. /// REST API Reference for AttachClassicLinkVpc Operation public virtual AttachClassicLinkVpcResponse AttachClassicLinkVpc(AttachClassicLinkVpcRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachClassicLinkVpcRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachClassicLinkVpcResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// This action is deprecated. /// /// /// /// Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of /// the VPC security groups. You cannot link an EC2-Classic instance to more than one /// VPC at a time. You can only link an instance that's in the running state. /// An instance is automatically unlinked from a VPC when it's stopped - you can link /// it to the VPC again when you restart it. /// /// /// /// After you've linked an instance, you cannot change the VPC security groups that are /// associated with it. To change the security groups, you must first unlink the instance, /// and then link it again. /// /// /// /// Linking your instance to a VPC is sometimes referred to as attaching your instance. /// /// /// Container for the necessary parameters to execute the AttachClassicLinkVpc service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AttachClassicLinkVpc service method, as returned by EC2. /// REST API Reference for AttachClassicLinkVpc Operation public virtual Task AttachClassicLinkVpcAsync(AttachClassicLinkVpcRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AttachClassicLinkVpcRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachClassicLinkVpcResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AttachInternetGateway /// /// Attaches an internet gateway or a virtual private gateway to a VPC, enabling connectivity /// between the internet and the VPC. For more information, see Internet /// gateways in the Amazon VPC User Guide. /// /// Container for the necessary parameters to execute the AttachInternetGateway service method. /// /// The response from the AttachInternetGateway service method, as returned by EC2. /// REST API Reference for AttachInternetGateway Operation public virtual AttachInternetGatewayResponse AttachInternetGateway(AttachInternetGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachInternetGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachInternetGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Attaches an internet gateway or a virtual private gateway to a VPC, enabling connectivity /// between the internet and the VPC. For more information, see Internet /// gateways in the Amazon VPC User Guide. /// /// Container for the necessary parameters to execute the AttachInternetGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AttachInternetGateway service method, as returned by EC2. /// REST API Reference for AttachInternetGateway Operation public virtual Task AttachInternetGatewayAsync(AttachInternetGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AttachInternetGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachInternetGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AttachNetworkInterface /// /// Attaches a network interface to an instance. /// /// Container for the necessary parameters to execute the AttachNetworkInterface service method. /// /// The response from the AttachNetworkInterface service method, as returned by EC2. /// REST API Reference for AttachNetworkInterface Operation public virtual AttachNetworkInterfaceResponse AttachNetworkInterface(AttachNetworkInterfaceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachNetworkInterfaceRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachNetworkInterfaceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Attaches a network interface to an instance. /// /// Container for the necessary parameters to execute the AttachNetworkInterface service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AttachNetworkInterface service method, as returned by EC2. /// REST API Reference for AttachNetworkInterface Operation public virtual Task AttachNetworkInterfaceAsync(AttachNetworkInterfaceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AttachNetworkInterfaceRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachNetworkInterfaceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AttachVerifiedAccessTrustProvider /// /// Attaches the specified Amazon Web Services Verified Access trust provider to the specified /// Amazon Web Services Verified Access instance. /// /// Container for the necessary parameters to execute the AttachVerifiedAccessTrustProvider service method. /// /// The response from the AttachVerifiedAccessTrustProvider service method, as returned by EC2. /// REST API Reference for AttachVerifiedAccessTrustProvider Operation public virtual AttachVerifiedAccessTrustProviderResponse AttachVerifiedAccessTrustProvider(AttachVerifiedAccessTrustProviderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachVerifiedAccessTrustProviderRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachVerifiedAccessTrustProviderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Attaches the specified Amazon Web Services Verified Access trust provider to the specified /// Amazon Web Services Verified Access instance. /// /// Container for the necessary parameters to execute the AttachVerifiedAccessTrustProvider service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AttachVerifiedAccessTrustProvider service method, as returned by EC2. /// REST API Reference for AttachVerifiedAccessTrustProvider Operation public virtual Task AttachVerifiedAccessTrustProviderAsync(AttachVerifiedAccessTrustProviderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AttachVerifiedAccessTrustProviderRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachVerifiedAccessTrustProviderResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AttachVolume /// /// Attaches an EBS volume to a running or stopped instance and exposes it to the instance /// with the specified device name. /// /// /// /// Encrypted EBS volumes must be attached to instances that support Amazon EBS encryption. /// For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// After you attach an EBS volume, you must make it available. For more information, /// see Make /// an EBS volume available for use. /// /// /// /// If a volume has an Amazon Web Services Marketplace product code: /// ///
  • /// /// The volume can be attached only to a stopped instance. /// ///
  • /// /// Amazon Web Services Marketplace product codes are copied from the volume to the instance. /// ///
  • /// /// You must be subscribed to the product. /// ///
  • /// /// The instance type and operating system of the instance must support the product. For /// example, you can't detach a volume from a Windows instance and attach it to a Linux /// instance. /// ///
/// /// For more information, see Attach /// an Amazon EBS volume to an instance in the Amazon Elastic Compute Cloud User /// Guide. /// ///
/// Container for the necessary parameters to execute the AttachVolume service method. /// /// The response from the AttachVolume service method, as returned by EC2. /// REST API Reference for AttachVolume Operation public virtual AttachVolumeResponse AttachVolume(AttachVolumeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachVolumeRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachVolumeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Attaches an EBS volume to a running or stopped instance and exposes it to the instance /// with the specified device name. /// /// /// /// Encrypted EBS volumes must be attached to instances that support Amazon EBS encryption. /// For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// After you attach an EBS volume, you must make it available. For more information, /// see Make /// an EBS volume available for use. /// /// /// /// If a volume has an Amazon Web Services Marketplace product code: /// ///
  • /// /// The volume can be attached only to a stopped instance. /// ///
  • /// /// Amazon Web Services Marketplace product codes are copied from the volume to the instance. /// ///
  • /// /// You must be subscribed to the product. /// ///
  • /// /// The instance type and operating system of the instance must support the product. For /// example, you can't detach a volume from a Windows instance and attach it to a Linux /// instance. /// ///
/// /// For more information, see Attach /// an Amazon EBS volume to an instance in the Amazon Elastic Compute Cloud User /// Guide. /// ///
/// Container for the necessary parameters to execute the AttachVolume service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AttachVolume service method, as returned by EC2. /// REST API Reference for AttachVolume Operation public virtual Task AttachVolumeAsync(AttachVolumeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AttachVolumeRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachVolumeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AttachVpnGateway /// /// Attaches a virtual private gateway to a VPC. You can attach one virtual private gateway /// to one VPC at a time. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// Container for the necessary parameters to execute the AttachVpnGateway service method. /// /// The response from the AttachVpnGateway service method, as returned by EC2. /// REST API Reference for AttachVpnGateway Operation public virtual AttachVpnGatewayResponse AttachVpnGateway(AttachVpnGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachVpnGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachVpnGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Attaches a virtual private gateway to a VPC. You can attach one virtual private gateway /// to one VPC at a time. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// Container for the necessary parameters to execute the AttachVpnGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AttachVpnGateway service method, as returned by EC2. /// REST API Reference for AttachVpnGateway Operation public virtual Task AttachVpnGatewayAsync(AttachVpnGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AttachVpnGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachVpnGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AuthorizeClientVpnIngress /// /// Adds an ingress authorization rule to a Client VPN endpoint. Ingress authorization /// rules act as firewall rules that grant access to networks. You must configure ingress /// authorization rules to enable clients to access resources in Amazon Web Services or /// on-premises networks. /// /// Container for the necessary parameters to execute the AuthorizeClientVpnIngress service method. /// /// The response from the AuthorizeClientVpnIngress service method, as returned by EC2. /// REST API Reference for AuthorizeClientVpnIngress Operation public virtual AuthorizeClientVpnIngressResponse AuthorizeClientVpnIngress(AuthorizeClientVpnIngressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AuthorizeClientVpnIngressRequestMarshaller.Instance; options.ResponseUnmarshaller = AuthorizeClientVpnIngressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds an ingress authorization rule to a Client VPN endpoint. Ingress authorization /// rules act as firewall rules that grant access to networks. You must configure ingress /// authorization rules to enable clients to access resources in Amazon Web Services or /// on-premises networks. /// /// Container for the necessary parameters to execute the AuthorizeClientVpnIngress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AuthorizeClientVpnIngress service method, as returned by EC2. /// REST API Reference for AuthorizeClientVpnIngress Operation public virtual Task AuthorizeClientVpnIngressAsync(AuthorizeClientVpnIngressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AuthorizeClientVpnIngressRequestMarshaller.Instance; options.ResponseUnmarshaller = AuthorizeClientVpnIngressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AuthorizeSecurityGroupEgress /// /// Adds the specified outbound (egress) rules to a security group for use with a VPC. /// /// /// /// An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR /// address ranges, or to the instances that are associated with the specified source /// security groups. When specifying an outbound rule for your security group in a VPC, /// the IpPermissions must include a destination for the traffic. /// /// /// /// You specify a protocol for each rule (for example, TCP). For the TCP and UDP protocols, /// you must also specify the destination port or port range. For the ICMP protocol, you /// must also specify the ICMP type and code. You can use -1 for the type or code to mean /// all types or all codes. /// /// /// /// Rule changes are propagated to affected instances as quickly as possible. However, /// a small delay might occur. /// /// /// /// For information about VPC security group quotas, see Amazon /// VPC quotas. /// /// /// Container for the necessary parameters to execute the AuthorizeSecurityGroupEgress service method. /// /// The response from the AuthorizeSecurityGroupEgress service method, as returned by EC2. /// REST API Reference for AuthorizeSecurityGroupEgress Operation public virtual AuthorizeSecurityGroupEgressResponse AuthorizeSecurityGroupEgress(AuthorizeSecurityGroupEgressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AuthorizeSecurityGroupEgressRequestMarshaller.Instance; options.ResponseUnmarshaller = AuthorizeSecurityGroupEgressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds the specified outbound (egress) rules to a security group for use with a VPC. /// /// /// /// An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR /// address ranges, or to the instances that are associated with the specified source /// security groups. When specifying an outbound rule for your security group in a VPC, /// the IpPermissions must include a destination for the traffic. /// /// /// /// You specify a protocol for each rule (for example, TCP). For the TCP and UDP protocols, /// you must also specify the destination port or port range. For the ICMP protocol, you /// must also specify the ICMP type and code. You can use -1 for the type or code to mean /// all types or all codes. /// /// /// /// Rule changes are propagated to affected instances as quickly as possible. However, /// a small delay might occur. /// /// /// /// For information about VPC security group quotas, see Amazon /// VPC quotas. /// /// /// Container for the necessary parameters to execute the AuthorizeSecurityGroupEgress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AuthorizeSecurityGroupEgress service method, as returned by EC2. /// REST API Reference for AuthorizeSecurityGroupEgress Operation public virtual Task AuthorizeSecurityGroupEgressAsync(AuthorizeSecurityGroupEgressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AuthorizeSecurityGroupEgressRequestMarshaller.Instance; options.ResponseUnmarshaller = AuthorizeSecurityGroupEgressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AuthorizeSecurityGroupIngress /// /// Adds the specified inbound (ingress) rules to a security group. /// /// /// /// An inbound rule permits instances to receive traffic from the specified IPv4 or IPv6 /// CIDR address range, or from the instances that are associated with the specified destination /// security groups. When specifying an inbound rule for your security group in a VPC, /// the IpPermissions must include a source for the traffic. /// /// /// /// You specify a protocol for each rule (for example, TCP). For TCP and UDP, you must /// also specify the destination port or port range. For ICMP/ICMPv6, you must also specify /// the ICMP/ICMPv6 type and code. You can use -1 to mean all types or all codes. /// /// /// /// Rule changes are propagated to instances within the security group as quickly as possible. /// However, a small delay might occur. /// /// /// /// For more information about VPC security group quotas, see Amazon /// VPC quotas. /// /// /// Container for the necessary parameters to execute the AuthorizeSecurityGroupIngress service method. /// /// The response from the AuthorizeSecurityGroupIngress service method, as returned by EC2. /// REST API Reference for AuthorizeSecurityGroupIngress Operation public virtual AuthorizeSecurityGroupIngressResponse AuthorizeSecurityGroupIngress(AuthorizeSecurityGroupIngressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AuthorizeSecurityGroupIngressRequestMarshaller.Instance; options.ResponseUnmarshaller = AuthorizeSecurityGroupIngressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds the specified inbound (ingress) rules to a security group. /// /// /// /// An inbound rule permits instances to receive traffic from the specified IPv4 or IPv6 /// CIDR address range, or from the instances that are associated with the specified destination /// security groups. When specifying an inbound rule for your security group in a VPC, /// the IpPermissions must include a source for the traffic. /// /// /// /// You specify a protocol for each rule (for example, TCP). For TCP and UDP, you must /// also specify the destination port or port range. For ICMP/ICMPv6, you must also specify /// the ICMP/ICMPv6 type and code. You can use -1 to mean all types or all codes. /// /// /// /// Rule changes are propagated to instances within the security group as quickly as possible. /// However, a small delay might occur. /// /// /// /// For more information about VPC security group quotas, see Amazon /// VPC quotas. /// /// /// Container for the necessary parameters to execute the AuthorizeSecurityGroupIngress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AuthorizeSecurityGroupIngress service method, as returned by EC2. /// REST API Reference for AuthorizeSecurityGroupIngress Operation public virtual Task AuthorizeSecurityGroupIngressAsync(AuthorizeSecurityGroupIngressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AuthorizeSecurityGroupIngressRequestMarshaller.Instance; options.ResponseUnmarshaller = AuthorizeSecurityGroupIngressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BundleInstance /// /// Bundles an Amazon instance store-backed Windows instance. /// /// /// /// During bundling, only the root device volume (C:\) is bundled. Data on other instance /// store volumes is not preserved. /// /// /// /// This action is not applicable for Linux/Unix instances or Windows instances that are /// backed by Amazon EBS. /// /// /// /// Container for the necessary parameters to execute the BundleInstance service method. /// /// The response from the BundleInstance service method, as returned by EC2. /// REST API Reference for BundleInstance Operation public virtual BundleInstanceResponse BundleInstance(BundleInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BundleInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = BundleInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Bundles an Amazon instance store-backed Windows instance. /// /// /// /// During bundling, only the root device volume (C:\) is bundled. Data on other instance /// store volumes is not preserved. /// /// /// /// This action is not applicable for Linux/Unix instances or Windows instances that are /// backed by Amazon EBS. /// /// /// /// Container for the necessary parameters to execute the BundleInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BundleInstance service method, as returned by EC2. /// REST API Reference for BundleInstance Operation public virtual Task BundleInstanceAsync(BundleInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BundleInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = BundleInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelBundleTask /// /// Cancels a bundling operation for an instance store-backed Windows instance. /// /// Container for the necessary parameters to execute the CancelBundleTask service method. /// /// The response from the CancelBundleTask service method, as returned by EC2. /// REST API Reference for CancelBundleTask Operation public virtual CancelBundleTaskResponse CancelBundleTask(CancelBundleTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelBundleTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelBundleTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Cancels a bundling operation for an instance store-backed Windows instance. /// /// Container for the necessary parameters to execute the CancelBundleTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelBundleTask service method, as returned by EC2. /// REST API Reference for CancelBundleTask Operation public virtual Task CancelBundleTaskAsync(CancelBundleTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelBundleTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelBundleTaskResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelCapacityReservation /// /// Cancels the specified Capacity Reservation, releases the reserved capacity, and changes /// the Capacity Reservation's state to cancelled. /// /// /// /// Instances running in the reserved capacity continue running until you stop them. Stopped /// instances that target the Capacity Reservation can no longer launch. Modify these /// instances to either target a different Capacity Reservation, launch On-Demand Instance /// capacity, or run in any open Capacity Reservation that has matching attributes and /// sufficient capacity. /// /// /// Container for the necessary parameters to execute the CancelCapacityReservation service method. /// /// The response from the CancelCapacityReservation service method, as returned by EC2. /// REST API Reference for CancelCapacityReservation Operation public virtual CancelCapacityReservationResponse CancelCapacityReservation(CancelCapacityReservationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelCapacityReservationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Cancels the specified Capacity Reservation, releases the reserved capacity, and changes /// the Capacity Reservation's state to cancelled. /// /// /// /// Instances running in the reserved capacity continue running until you stop them. Stopped /// instances that target the Capacity Reservation can no longer launch. Modify these /// instances to either target a different Capacity Reservation, launch On-Demand Instance /// capacity, or run in any open Capacity Reservation that has matching attributes and /// sufficient capacity. /// /// /// Container for the necessary parameters to execute the CancelCapacityReservation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelCapacityReservation service method, as returned by EC2. /// REST API Reference for CancelCapacityReservation Operation public virtual Task CancelCapacityReservationAsync(CancelCapacityReservationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelCapacityReservationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelCapacityReservationFleets /// /// Cancels one or more Capacity Reservation Fleets. When you cancel a Capacity Reservation /// Fleet, the following happens: /// ///
  • /// /// The Capacity Reservation Fleet's status changes to cancelled. /// ///
  • /// /// The individual Capacity Reservations in the Fleet are cancelled. Instances running /// in the Capacity Reservations at the time of cancelling the Fleet continue to run in /// shared capacity. /// ///
  • /// /// The Fleet stops creating new Capacity Reservations. /// ///
///
/// Container for the necessary parameters to execute the CancelCapacityReservationFleets service method. /// /// The response from the CancelCapacityReservationFleets service method, as returned by EC2. /// REST API Reference for CancelCapacityReservationFleets Operation public virtual CancelCapacityReservationFleetsResponse CancelCapacityReservationFleets(CancelCapacityReservationFleetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelCapacityReservationFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelCapacityReservationFleetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Cancels one or more Capacity Reservation Fleets. When you cancel a Capacity Reservation /// Fleet, the following happens: /// ///
  • /// /// The Capacity Reservation Fleet's status changes to cancelled. /// ///
  • /// /// The individual Capacity Reservations in the Fleet are cancelled. Instances running /// in the Capacity Reservations at the time of cancelling the Fleet continue to run in /// shared capacity. /// ///
  • /// /// The Fleet stops creating new Capacity Reservations. /// ///
///
/// Container for the necessary parameters to execute the CancelCapacityReservationFleets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelCapacityReservationFleets service method, as returned by EC2. /// REST API Reference for CancelCapacityReservationFleets Operation public virtual Task CancelCapacityReservationFleetsAsync(CancelCapacityReservationFleetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelCapacityReservationFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelCapacityReservationFleetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelConversionTask /// /// Cancels an active conversion task. The task can be the import of an instance or volume. /// The action removes all artifacts of the conversion, including a partially uploaded /// volume or instance. If the conversion is complete or is in the process of transferring /// the final disk image, the command fails and returns an exception. /// /// /// /// For more information, see Importing /// a Virtual Machine Using the Amazon EC2 CLI. /// /// /// Container for the necessary parameters to execute the CancelConversionTask service method. /// /// The response from the CancelConversionTask service method, as returned by EC2. /// REST API Reference for CancelConversionTask Operation public virtual CancelConversionTaskResponse CancelConversionTask(CancelConversionTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelConversionTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelConversionTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Cancels an active conversion task. The task can be the import of an instance or volume. /// The action removes all artifacts of the conversion, including a partially uploaded /// volume or instance. If the conversion is complete or is in the process of transferring /// the final disk image, the command fails and returns an exception. /// /// /// /// For more information, see Importing /// a Virtual Machine Using the Amazon EC2 CLI. /// /// /// Container for the necessary parameters to execute the CancelConversionTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelConversionTask service method, as returned by EC2. /// REST API Reference for CancelConversionTask Operation public virtual Task CancelConversionTaskAsync(CancelConversionTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelConversionTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelConversionTaskResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelExportTask /// /// Cancels an active export task. The request removes all artifacts of the export, including /// any partially-created Amazon S3 objects. If the export task is complete or is in the /// process of transferring the final disk image, the command fails and returns an error. /// /// Container for the necessary parameters to execute the CancelExportTask service method. /// /// The response from the CancelExportTask service method, as returned by EC2. /// REST API Reference for CancelExportTask Operation public virtual CancelExportTaskResponse CancelExportTask(CancelExportTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelExportTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelExportTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Cancels an active export task. The request removes all artifacts of the export, including /// any partially-created Amazon S3 objects. If the export task is complete or is in the /// process of transferring the final disk image, the command fails and returns an error. /// /// Container for the necessary parameters to execute the CancelExportTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelExportTask service method, as returned by EC2. /// REST API Reference for CancelExportTask Operation public virtual Task CancelExportTaskAsync(CancelExportTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelExportTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelExportTaskResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelImageLaunchPermission /// /// Removes your Amazon Web Services account from the launch permissions for the specified /// AMI. For more information, see /// Cancel having an AMI shared with your Amazon Web Services account in the Amazon /// EC2 User Guide. /// /// Container for the necessary parameters to execute the CancelImageLaunchPermission service method. /// /// The response from the CancelImageLaunchPermission service method, as returned by EC2. /// REST API Reference for CancelImageLaunchPermission Operation public virtual CancelImageLaunchPermissionResponse CancelImageLaunchPermission(CancelImageLaunchPermissionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelImageLaunchPermissionRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelImageLaunchPermissionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes your Amazon Web Services account from the launch permissions for the specified /// AMI. For more information, see /// Cancel having an AMI shared with your Amazon Web Services account in the Amazon /// EC2 User Guide. /// /// Container for the necessary parameters to execute the CancelImageLaunchPermission service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelImageLaunchPermission service method, as returned by EC2. /// REST API Reference for CancelImageLaunchPermission Operation public virtual Task CancelImageLaunchPermissionAsync(CancelImageLaunchPermissionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelImageLaunchPermissionRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelImageLaunchPermissionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelImportTask /// /// Cancels an in-process import virtual machine or import snapshot task. /// /// Container for the necessary parameters to execute the CancelImportTask service method. /// /// The response from the CancelImportTask service method, as returned by EC2. /// REST API Reference for CancelImportTask Operation public virtual CancelImportTaskResponse CancelImportTask(CancelImportTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelImportTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelImportTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Cancels an in-process import virtual machine or import snapshot task. /// /// Container for the necessary parameters to execute the CancelImportTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelImportTask service method, as returned by EC2. /// REST API Reference for CancelImportTask Operation public virtual Task CancelImportTaskAsync(CancelImportTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelImportTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelImportTaskResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelReservedInstancesListing /// /// Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace. /// /// /// /// For more information, see Reserved /// Instance Marketplace in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CancelReservedInstancesListing service method. /// /// The response from the CancelReservedInstancesListing service method, as returned by EC2. /// REST API Reference for CancelReservedInstancesListing Operation public virtual CancelReservedInstancesListingResponse CancelReservedInstancesListing(CancelReservedInstancesListingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelReservedInstancesListingRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelReservedInstancesListingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace. /// /// /// /// For more information, see Reserved /// Instance Marketplace in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CancelReservedInstancesListing service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelReservedInstancesListing service method, as returned by EC2. /// REST API Reference for CancelReservedInstancesListing Operation public virtual Task CancelReservedInstancesListingAsync(CancelReservedInstancesListingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelReservedInstancesListingRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelReservedInstancesListingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelSpotFleetRequests /// /// Cancels the specified Spot Fleet requests. /// /// /// /// After you cancel a Spot Fleet request, the Spot Fleet launches no new instances. /// /// /// /// You must also specify whether a canceled Spot Fleet request should terminate its instances. /// If you choose to terminate the instances, the Spot Fleet request enters the cancelled_terminating /// state. Otherwise, the Spot Fleet request enters the cancelled_running /// state and the instances continue to run until they are interrupted or you terminate /// them manually. /// /// /// Container for the necessary parameters to execute the CancelSpotFleetRequests service method. /// /// The response from the CancelSpotFleetRequests service method, as returned by EC2. /// REST API Reference for CancelSpotFleetRequests Operation public virtual CancelSpotFleetRequestsResponse CancelSpotFleetRequests(CancelSpotFleetRequestsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelSpotFleetRequestsRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelSpotFleetRequestsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Cancels the specified Spot Fleet requests. /// /// /// /// After you cancel a Spot Fleet request, the Spot Fleet launches no new instances. /// /// /// /// You must also specify whether a canceled Spot Fleet request should terminate its instances. /// If you choose to terminate the instances, the Spot Fleet request enters the cancelled_terminating /// state. Otherwise, the Spot Fleet request enters the cancelled_running /// state and the instances continue to run until they are interrupted or you terminate /// them manually. /// /// /// Container for the necessary parameters to execute the CancelSpotFleetRequests service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelSpotFleetRequests service method, as returned by EC2. /// REST API Reference for CancelSpotFleetRequests Operation public virtual Task CancelSpotFleetRequestsAsync(CancelSpotFleetRequestsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelSpotFleetRequestsRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelSpotFleetRequestsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelSpotInstanceRequests /// /// Cancels one or more Spot Instance requests. /// /// /// /// Canceling a Spot Instance request does not terminate running Spot Instances associated /// with the request. /// /// /// /// Container for the necessary parameters to execute the CancelSpotInstanceRequests service method. /// /// The response from the CancelSpotInstanceRequests service method, as returned by EC2. /// REST API Reference for CancelSpotInstanceRequests Operation public virtual CancelSpotInstanceRequestsResponse CancelSpotInstanceRequests(CancelSpotInstanceRequestsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelSpotInstanceRequestsRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelSpotInstanceRequestsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Cancels one or more Spot Instance requests. /// /// /// /// Canceling a Spot Instance request does not terminate running Spot Instances associated /// with the request. /// /// /// /// Container for the necessary parameters to execute the CancelSpotInstanceRequests service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelSpotInstanceRequests service method, as returned by EC2. /// REST API Reference for CancelSpotInstanceRequests Operation public virtual Task CancelSpotInstanceRequestsAsync(CancelSpotInstanceRequestsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelSpotInstanceRequestsRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelSpotInstanceRequestsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ConfirmProductInstance /// /// Determines whether a product code is associated with an instance. This action can /// only be used by the owner of the product code. It is useful when a product code owner /// must verify whether another user's instance is eligible for support. /// /// Container for the necessary parameters to execute the ConfirmProductInstance service method. /// /// The response from the ConfirmProductInstance service method, as returned by EC2. /// REST API Reference for ConfirmProductInstance Operation public virtual ConfirmProductInstanceResponse ConfirmProductInstance(ConfirmProductInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ConfirmProductInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = ConfirmProductInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Determines whether a product code is associated with an instance. This action can /// only be used by the owner of the product code. It is useful when a product code owner /// must verify whether another user's instance is eligible for support. /// /// Container for the necessary parameters to execute the ConfirmProductInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ConfirmProductInstance service method, as returned by EC2. /// REST API Reference for ConfirmProductInstance Operation public virtual Task ConfirmProductInstanceAsync(ConfirmProductInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ConfirmProductInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = ConfirmProductInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CopyFpgaImage /// /// Copies the specified Amazon FPGA Image (AFI) to the current Region. /// /// Container for the necessary parameters to execute the CopyFpgaImage service method. /// /// The response from the CopyFpgaImage service method, as returned by EC2. /// REST API Reference for CopyFpgaImage Operation public virtual CopyFpgaImageResponse CopyFpgaImage(CopyFpgaImageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CopyFpgaImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CopyFpgaImageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Copies the specified Amazon FPGA Image (AFI) to the current Region. /// /// Container for the necessary parameters to execute the CopyFpgaImage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CopyFpgaImage service method, as returned by EC2. /// REST API Reference for CopyFpgaImage Operation public virtual Task CopyFpgaImageAsync(CopyFpgaImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CopyFpgaImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CopyFpgaImageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CopyImage /// /// Initiates the copy of an AMI. You can copy an AMI from one Region to another, or from /// a Region to an Outpost. You can't copy an AMI from an Outpost to a Region, from one /// Outpost to another, or within the same Outpost. To copy an AMI to another partition, /// see CreateStoreImageTask. /// /// /// /// To copy an AMI from one Region to another, specify the source Region using the SourceRegion /// parameter, and specify the destination Region using its endpoint. Copies of encrypted /// backing snapshots for the AMI are encrypted. Copies of unencrypted backing snapshots /// remain unencrypted, unless you set Encrypted during the copy operation. /// You cannot create an unencrypted copy of an encrypted backing snapshot. /// /// /// /// To copy an AMI from a Region to an Outpost, specify the source Region using the SourceRegion /// parameter, and specify the ARN of the destination Outpost using DestinationOutpostArn. /// Backing snapshots copied to an Outpost are encrypted by default using the default /// encryption key for the Region, or a different key that you specify in the request /// using KmsKeyId. Outposts do not support unencrypted snapshots. For more information, /// /// Amazon EBS local snapshots on Outposts in the Amazon EC2 User Guide. /// /// /// /// For more information about the prerequisites and limits when copying an AMI, see Copy an /// AMI in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CopyImage service method. /// /// The response from the CopyImage service method, as returned by EC2. /// REST API Reference for CopyImage Operation public virtual CopyImageResponse CopyImage(CopyImageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CopyImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CopyImageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the copy of an AMI. You can copy an AMI from one Region to another, or from /// a Region to an Outpost. You can't copy an AMI from an Outpost to a Region, from one /// Outpost to another, or within the same Outpost. To copy an AMI to another partition, /// see CreateStoreImageTask. /// /// /// /// To copy an AMI from one Region to another, specify the source Region using the SourceRegion /// parameter, and specify the destination Region using its endpoint. Copies of encrypted /// backing snapshots for the AMI are encrypted. Copies of unencrypted backing snapshots /// remain unencrypted, unless you set Encrypted during the copy operation. /// You cannot create an unencrypted copy of an encrypted backing snapshot. /// /// /// /// To copy an AMI from a Region to an Outpost, specify the source Region using the SourceRegion /// parameter, and specify the ARN of the destination Outpost using DestinationOutpostArn. /// Backing snapshots copied to an Outpost are encrypted by default using the default /// encryption key for the Region, or a different key that you specify in the request /// using KmsKeyId. Outposts do not support unencrypted snapshots. For more information, /// /// Amazon EBS local snapshots on Outposts in the Amazon EC2 User Guide. /// /// /// /// For more information about the prerequisites and limits when copying an AMI, see Copy an /// AMI in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CopyImage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CopyImage service method, as returned by EC2. /// REST API Reference for CopyImage Operation public virtual Task CopyImageAsync(CopyImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CopyImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CopyImageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CopySnapshot /// /// Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3. You can /// copy a snapshot within the same Region, from one Region to another, or from a Region /// to an Outpost. You can't copy a snapshot from an Outpost to a Region, from one Outpost /// to another, or within the same Outpost. /// /// /// /// You can use the snapshot to create EBS volumes or Amazon Machine Images (AMIs). /// /// /// /// When copying snapshots to a Region, copies of encrypted EBS snapshots remain encrypted. /// Copies of unencrypted snapshots remain unencrypted, unless you enable encryption for /// the snapshot copy operation. By default, encrypted snapshot copies use the default /// Key Management Service (KMS) KMS key; however, you can specify a different KMS key. /// To copy an encrypted snapshot that has been shared from another account, you must /// have permissions for the KMS key used to encrypt the snapshot. /// /// /// /// Snapshots copied to an Outpost are encrypted by default using the default encryption /// key for the Region, or a different key that you specify in the request using KmsKeyId. /// Outposts do not support unencrypted snapshots. For more information, /// Amazon EBS local snapshots on Outposts in the Amazon Elastic Compute Cloud /// User Guide. /// /// /// /// Snapshots created by copying another snapshot have an arbitrary volume ID that should /// not be used for any purpose. /// /// /// /// For more information, see Copy /// an Amazon EBS snapshot in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CopySnapshot service method. /// /// The response from the CopySnapshot service method, as returned by EC2. /// REST API Reference for CopySnapshot Operation public virtual CopySnapshotResponse CopySnapshot(CopySnapshotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CopySnapshotRequestMarshaller.Instance; options.ResponseUnmarshaller = CopySnapshotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3. You can /// copy a snapshot within the same Region, from one Region to another, or from a Region /// to an Outpost. You can't copy a snapshot from an Outpost to a Region, from one Outpost /// to another, or within the same Outpost. /// /// /// /// You can use the snapshot to create EBS volumes or Amazon Machine Images (AMIs). /// /// /// /// When copying snapshots to a Region, copies of encrypted EBS snapshots remain encrypted. /// Copies of unencrypted snapshots remain unencrypted, unless you enable encryption for /// the snapshot copy operation. By default, encrypted snapshot copies use the default /// Key Management Service (KMS) KMS key; however, you can specify a different KMS key. /// To copy an encrypted snapshot that has been shared from another account, you must /// have permissions for the KMS key used to encrypt the snapshot. /// /// /// /// Snapshots copied to an Outpost are encrypted by default using the default encryption /// key for the Region, or a different key that you specify in the request using KmsKeyId. /// Outposts do not support unencrypted snapshots. For more information, /// Amazon EBS local snapshots on Outposts in the Amazon Elastic Compute Cloud /// User Guide. /// /// /// /// Snapshots created by copying another snapshot have an arbitrary volume ID that should /// not be used for any purpose. /// /// /// /// For more information, see Copy /// an Amazon EBS snapshot in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CopySnapshot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CopySnapshot service method, as returned by EC2. /// REST API Reference for CopySnapshot Operation public virtual Task CopySnapshotAsync(CopySnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CopySnapshotRequestMarshaller.Instance; options.ResponseUnmarshaller = CopySnapshotResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateCapacityReservation /// /// Creates a new Capacity Reservation with the specified attributes. /// /// /// /// Capacity Reservations enable you to reserve capacity for your Amazon EC2 instances /// in a specific Availability Zone for any duration. This gives you the flexibility to /// selectively add capacity reservations and still get the Regional RI discounts for /// that usage. By creating Capacity Reservations, you ensure that you always have access /// to Amazon EC2 capacity when you need it, for as long as you need it. For more information, /// see Capacity /// Reservations in the Amazon EC2 User Guide. /// /// /// /// Your request to create a Capacity Reservation could fail if Amazon EC2 does not have /// sufficient capacity to fulfill the request. If your request fails due to Amazon EC2 /// capacity constraints, either try again at a later time, try in a different Availability /// Zone, or request a smaller capacity reservation. If your application is flexible across /// instance types and sizes, try to create a Capacity Reservation with different instance /// attributes. /// /// /// /// Your request could also fail if the requested quantity exceeds your On-Demand Instance /// limit for the selected instance type. If your request fails due to limit constraints, /// increase your On-Demand Instance limit for the required instance type and try again. /// For more information about increasing your instance limits, see Amazon /// EC2 Service Quotas in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreateCapacityReservation service method. /// /// The response from the CreateCapacityReservation service method, as returned by EC2. /// REST API Reference for CreateCapacityReservation Operation public virtual CreateCapacityReservationResponse CreateCapacityReservation(CreateCapacityReservationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCapacityReservationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new Capacity Reservation with the specified attributes. /// /// /// /// Capacity Reservations enable you to reserve capacity for your Amazon EC2 instances /// in a specific Availability Zone for any duration. This gives you the flexibility to /// selectively add capacity reservations and still get the Regional RI discounts for /// that usage. By creating Capacity Reservations, you ensure that you always have access /// to Amazon EC2 capacity when you need it, for as long as you need it. For more information, /// see Capacity /// Reservations in the Amazon EC2 User Guide. /// /// /// /// Your request to create a Capacity Reservation could fail if Amazon EC2 does not have /// sufficient capacity to fulfill the request. If your request fails due to Amazon EC2 /// capacity constraints, either try again at a later time, try in a different Availability /// Zone, or request a smaller capacity reservation. If your application is flexible across /// instance types and sizes, try to create a Capacity Reservation with different instance /// attributes. /// /// /// /// Your request could also fail if the requested quantity exceeds your On-Demand Instance /// limit for the selected instance type. If your request fails due to limit constraints, /// increase your On-Demand Instance limit for the required instance type and try again. /// For more information about increasing your instance limits, see Amazon /// EC2 Service Quotas in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreateCapacityReservation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateCapacityReservation service method, as returned by EC2. /// REST API Reference for CreateCapacityReservation Operation public virtual Task CreateCapacityReservationAsync(CreateCapacityReservationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCapacityReservationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateCapacityReservationFleet /// /// Creates a Capacity Reservation Fleet. For more information, see Create /// a Capacity Reservation Fleet in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the CreateCapacityReservationFleet service method. /// /// The response from the CreateCapacityReservationFleet service method, as returned by EC2. /// REST API Reference for CreateCapacityReservationFleet Operation public virtual CreateCapacityReservationFleetResponse CreateCapacityReservationFleet(CreateCapacityReservationFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCapacityReservationFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCapacityReservationFleetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Capacity Reservation Fleet. For more information, see Create /// a Capacity Reservation Fleet in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the CreateCapacityReservationFleet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateCapacityReservationFleet service method, as returned by EC2. /// REST API Reference for CreateCapacityReservationFleet Operation public virtual Task CreateCapacityReservationFleetAsync(CreateCapacityReservationFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCapacityReservationFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCapacityReservationFleetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateCarrierGateway /// /// Creates a carrier gateway. For more information about carrier gateways, see Carrier /// gateways in the Amazon Web Services Wavelength Developer Guide. /// /// Container for the necessary parameters to execute the CreateCarrierGateway service method. /// /// The response from the CreateCarrierGateway service method, as returned by EC2. /// REST API Reference for CreateCarrierGateway Operation public virtual CreateCarrierGatewayResponse CreateCarrierGateway(CreateCarrierGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCarrierGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCarrierGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a carrier gateway. For more information about carrier gateways, see Carrier /// gateways in the Amazon Web Services Wavelength Developer Guide. /// /// Container for the necessary parameters to execute the CreateCarrierGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateCarrierGateway service method, as returned by EC2. /// REST API Reference for CreateCarrierGateway Operation public virtual Task CreateCarrierGatewayAsync(CreateCarrierGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCarrierGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCarrierGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateClientVpnEndpoint /// /// Creates a Client VPN endpoint. A Client VPN endpoint is the resource you create and /// configure to enable and manage client VPN sessions. It is the destination endpoint /// at which all client VPN sessions are terminated. /// /// Container for the necessary parameters to execute the CreateClientVpnEndpoint service method. /// /// The response from the CreateClientVpnEndpoint service method, as returned by EC2. /// REST API Reference for CreateClientVpnEndpoint Operation public virtual CreateClientVpnEndpointResponse CreateClientVpnEndpoint(CreateClientVpnEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateClientVpnEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateClientVpnEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Client VPN endpoint. A Client VPN endpoint is the resource you create and /// configure to enable and manage client VPN sessions. It is the destination endpoint /// at which all client VPN sessions are terminated. /// /// Container for the necessary parameters to execute the CreateClientVpnEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateClientVpnEndpoint service method, as returned by EC2. /// REST API Reference for CreateClientVpnEndpoint Operation public virtual Task CreateClientVpnEndpointAsync(CreateClientVpnEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateClientVpnEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateClientVpnEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateClientVpnRoute /// /// Adds a route to a network to a Client VPN endpoint. Each Client VPN endpoint has a /// route table that describes the available destination network routes. Each route in /// the route table specifies the path for traffic to specific resources or networks. /// /// Container for the necessary parameters to execute the CreateClientVpnRoute service method. /// /// The response from the CreateClientVpnRoute service method, as returned by EC2. /// REST API Reference for CreateClientVpnRoute Operation public virtual CreateClientVpnRouteResponse CreateClientVpnRoute(CreateClientVpnRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateClientVpnRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateClientVpnRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds a route to a network to a Client VPN endpoint. Each Client VPN endpoint has a /// route table that describes the available destination network routes. Each route in /// the route table specifies the path for traffic to specific resources or networks. /// /// Container for the necessary parameters to execute the CreateClientVpnRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateClientVpnRoute service method, as returned by EC2. /// REST API Reference for CreateClientVpnRoute Operation public virtual Task CreateClientVpnRouteAsync(CreateClientVpnRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateClientVpnRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateClientVpnRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateCoipCidr /// /// Creates a range of customer-owned IP addresses. /// /// Container for the necessary parameters to execute the CreateCoipCidr service method. /// /// The response from the CreateCoipCidr service method, as returned by EC2. /// REST API Reference for CreateCoipCidr Operation public virtual CreateCoipCidrResponse CreateCoipCidr(CreateCoipCidrRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCoipCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCoipCidrResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a range of customer-owned IP addresses. /// /// Container for the necessary parameters to execute the CreateCoipCidr service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateCoipCidr service method, as returned by EC2. /// REST API Reference for CreateCoipCidr Operation public virtual Task CreateCoipCidrAsync(CreateCoipCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCoipCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCoipCidrResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateCoipPool /// /// Creates a pool of customer-owned IP (CoIP) addresses. /// /// Container for the necessary parameters to execute the CreateCoipPool service method. /// /// The response from the CreateCoipPool service method, as returned by EC2. /// REST API Reference for CreateCoipPool Operation public virtual CreateCoipPoolResponse CreateCoipPool(CreateCoipPoolRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCoipPoolRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCoipPoolResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a pool of customer-owned IP (CoIP) addresses. /// /// Container for the necessary parameters to execute the CreateCoipPool service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateCoipPool service method, as returned by EC2. /// REST API Reference for CreateCoipPool Operation public virtual Task CreateCoipPoolAsync(CreateCoipPoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCoipPoolRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCoipPoolResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateCustomerGateway /// /// Provides information to Amazon Web Services about your customer gateway device. The /// customer gateway device is the appliance at your end of the VPN connection. You must /// provide the IP address of the customer gateway device’s external interface. The IP /// address must be static and can be behind a device performing network address translation /// (NAT). /// /// /// /// For devices that use Border Gateway Protocol (BGP), you can also provide the device's /// BGP Autonomous System Number (ASN). You can use an existing ASN assigned to your network. /// If you don't have an ASN already, you can use a private ASN. For more information, /// see Customer /// gateway options for your Site-to-Site VPN connection in the Amazon Web Services /// Site-to-Site VPN User Guide. /// /// /// /// To create more than one customer gateway with the same VPN type, IP address, and BGP /// ASN, specify a unique device name for each customer gateway. An identical request /// returns information about the existing customer gateway; it doesn't create a new customer /// gateway. /// /// /// Container for the necessary parameters to execute the CreateCustomerGateway service method. /// /// The response from the CreateCustomerGateway service method, as returned by EC2. /// REST API Reference for CreateCustomerGateway Operation public virtual CreateCustomerGatewayResponse CreateCustomerGateway(CreateCustomerGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCustomerGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCustomerGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides information to Amazon Web Services about your customer gateway device. The /// customer gateway device is the appliance at your end of the VPN connection. You must /// provide the IP address of the customer gateway device’s external interface. The IP /// address must be static and can be behind a device performing network address translation /// (NAT). /// /// /// /// For devices that use Border Gateway Protocol (BGP), you can also provide the device's /// BGP Autonomous System Number (ASN). You can use an existing ASN assigned to your network. /// If you don't have an ASN already, you can use a private ASN. For more information, /// see Customer /// gateway options for your Site-to-Site VPN connection in the Amazon Web Services /// Site-to-Site VPN User Guide. /// /// /// /// To create more than one customer gateway with the same VPN type, IP address, and BGP /// ASN, specify a unique device name for each customer gateway. An identical request /// returns information about the existing customer gateway; it doesn't create a new customer /// gateway. /// /// /// Container for the necessary parameters to execute the CreateCustomerGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateCustomerGateway service method, as returned by EC2. /// REST API Reference for CreateCustomerGateway Operation public virtual Task CreateCustomerGatewayAsync(CreateCustomerGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCustomerGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCustomerGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDefaultSubnet /// /// Creates a default subnet with a size /20 IPv4 CIDR block in the specified /// Availability Zone in your default VPC. You can have only one default subnet per Availability /// Zone. For more information, see Create /// a default subnet in the Amazon VPC User Guide. /// /// Container for the necessary parameters to execute the CreateDefaultSubnet service method. /// /// The response from the CreateDefaultSubnet service method, as returned by EC2. /// REST API Reference for CreateDefaultSubnet Operation public virtual CreateDefaultSubnetResponse CreateDefaultSubnet(CreateDefaultSubnetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDefaultSubnetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDefaultSubnetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a default subnet with a size /20 IPv4 CIDR block in the specified /// Availability Zone in your default VPC. You can have only one default subnet per Availability /// Zone. For more information, see Create /// a default subnet in the Amazon VPC User Guide. /// /// Container for the necessary parameters to execute the CreateDefaultSubnet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDefaultSubnet service method, as returned by EC2. /// REST API Reference for CreateDefaultSubnet Operation public virtual Task CreateDefaultSubnetAsync(CreateDefaultSubnetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDefaultSubnetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDefaultSubnetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDefaultVpc /// /// Creates a default VPC with a size /16 IPv4 CIDR block and a default subnet /// in each Availability Zone. For more information about the components of a default /// VPC, see Default /// VPCs in the Amazon VPC User Guide. You cannot specify the components of /// the default VPC yourself. /// /// /// /// If you deleted your previous default VPC, you can create a default VPC. You cannot /// have more than one default VPC per Region. /// /// /// Container for the necessary parameters to execute the CreateDefaultVpc service method. /// /// The response from the CreateDefaultVpc service method, as returned by EC2. /// REST API Reference for CreateDefaultVpc Operation public virtual CreateDefaultVpcResponse CreateDefaultVpc(CreateDefaultVpcRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDefaultVpcRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDefaultVpcResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a default VPC with a size /16 IPv4 CIDR block and a default subnet /// in each Availability Zone. For more information about the components of a default /// VPC, see Default /// VPCs in the Amazon VPC User Guide. You cannot specify the components of /// the default VPC yourself. /// /// /// /// If you deleted your previous default VPC, you can create a default VPC. You cannot /// have more than one default VPC per Region. /// /// /// Container for the necessary parameters to execute the CreateDefaultVpc service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDefaultVpc service method, as returned by EC2. /// REST API Reference for CreateDefaultVpc Operation public virtual Task CreateDefaultVpcAsync(CreateDefaultVpcRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDefaultVpcRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDefaultVpcResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDhcpOptions /// /// Creates a set of DHCP options for your VPC. After creating the set, you must associate /// it with the VPC, causing all existing and new instances that you launch in the VPC /// to use this set of DHCP options. The following are the individual DHCP options you /// can specify. For more information about the options, see RFC /// 2132. /// ///
  • /// /// domain-name-servers - The IP addresses of up to four domain name servers, /// or AmazonProvidedDNS. The default DHCP option set specifies AmazonProvidedDNS. If /// specifying more than one domain name server, specify the IP addresses in a single /// parameter, separated by commas. To have your instance receive a custom DNS hostname /// as specified in domain-name, you must set domain-name-servers /// to a custom DNS server. /// ///
  • /// /// domain-name - If you're using AmazonProvidedDNS in us-east-1, /// specify ec2.internal. If you're using AmazonProvidedDNS in another Region, /// specify region.compute.internal (for example, ap-northeast-1.compute.internal). /// Otherwise, specify a domain name (for example, ExampleCompany.com). This /// value is used to complete unqualified DNS hostnames. Important: Some Linux /// operating systems accept multiple domain names separated by spaces. However, Windows /// and other Linux operating systems treat the value as a single domain, which results /// in unexpected behavior. If your DHCP options set is associated with a VPC that has /// instances with multiple operating systems, specify only one domain name. /// ///
  • /// /// ntp-servers - The IP addresses of up to four Network Time Protocol (NTP) /// servers. /// ///
  • /// /// netbios-name-servers - The IP addresses of up to four NetBIOS name servers. /// ///
  • /// /// netbios-node-type - The NetBIOS node type (1, 2, 4, or 8). We recommend /// that you specify 2 (broadcast and multicast are not currently supported). For more /// information about these node types, see RFC /// 2132. /// ///
/// /// Your VPC automatically starts out with a set of DHCP options that includes only a /// DNS server that we provide (AmazonProvidedDNS). If you create a set of options, and /// if your VPC has an internet gateway, make sure to set the domain-name-servers /// option either to AmazonProvidedDNS or to a domain name server of your /// choice. For more information, see DHCP /// options sets in the Amazon VPC User Guide. /// ///
/// Container for the necessary parameters to execute the CreateDhcpOptions service method. /// /// The response from the CreateDhcpOptions service method, as returned by EC2. /// REST API Reference for CreateDhcpOptions Operation public virtual CreateDhcpOptionsResponse CreateDhcpOptions(CreateDhcpOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDhcpOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDhcpOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a set of DHCP options for your VPC. After creating the set, you must associate /// it with the VPC, causing all existing and new instances that you launch in the VPC /// to use this set of DHCP options. The following are the individual DHCP options you /// can specify. For more information about the options, see RFC /// 2132. /// ///
  • /// /// domain-name-servers - The IP addresses of up to four domain name servers, /// or AmazonProvidedDNS. The default DHCP option set specifies AmazonProvidedDNS. If /// specifying more than one domain name server, specify the IP addresses in a single /// parameter, separated by commas. To have your instance receive a custom DNS hostname /// as specified in domain-name, you must set domain-name-servers /// to a custom DNS server. /// ///
  • /// /// domain-name - If you're using AmazonProvidedDNS in us-east-1, /// specify ec2.internal. If you're using AmazonProvidedDNS in another Region, /// specify region.compute.internal (for example, ap-northeast-1.compute.internal). /// Otherwise, specify a domain name (for example, ExampleCompany.com). This /// value is used to complete unqualified DNS hostnames. Important: Some Linux /// operating systems accept multiple domain names separated by spaces. However, Windows /// and other Linux operating systems treat the value as a single domain, which results /// in unexpected behavior. If your DHCP options set is associated with a VPC that has /// instances with multiple operating systems, specify only one domain name. /// ///
  • /// /// ntp-servers - The IP addresses of up to four Network Time Protocol (NTP) /// servers. /// ///
  • /// /// netbios-name-servers - The IP addresses of up to four NetBIOS name servers. /// ///
  • /// /// netbios-node-type - The NetBIOS node type (1, 2, 4, or 8). We recommend /// that you specify 2 (broadcast and multicast are not currently supported). For more /// information about these node types, see RFC /// 2132. /// ///
/// /// Your VPC automatically starts out with a set of DHCP options that includes only a /// DNS server that we provide (AmazonProvidedDNS). If you create a set of options, and /// if your VPC has an internet gateway, make sure to set the domain-name-servers /// option either to AmazonProvidedDNS or to a domain name server of your /// choice. For more information, see DHCP /// options sets in the Amazon VPC User Guide. /// ///
/// Container for the necessary parameters to execute the CreateDhcpOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDhcpOptions service method, as returned by EC2. /// REST API Reference for CreateDhcpOptions Operation public virtual Task CreateDhcpOptionsAsync(CreateDhcpOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDhcpOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDhcpOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateEgressOnlyInternetGateway /// /// [IPv6 only] Creates an egress-only internet gateway for your VPC. An egress-only internet /// gateway is used to enable outbound communication over IPv6 from instances in your /// VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 /// connection with your instance. /// /// Container for the necessary parameters to execute the CreateEgressOnlyInternetGateway service method. /// /// The response from the CreateEgressOnlyInternetGateway service method, as returned by EC2. /// REST API Reference for CreateEgressOnlyInternetGateway Operation public virtual CreateEgressOnlyInternetGatewayResponse CreateEgressOnlyInternetGateway(CreateEgressOnlyInternetGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEgressOnlyInternetGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEgressOnlyInternetGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// [IPv6 only] Creates an egress-only internet gateway for your VPC. An egress-only internet /// gateway is used to enable outbound communication over IPv6 from instances in your /// VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 /// connection with your instance. /// /// Container for the necessary parameters to execute the CreateEgressOnlyInternetGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateEgressOnlyInternetGateway service method, as returned by EC2. /// REST API Reference for CreateEgressOnlyInternetGateway Operation public virtual Task CreateEgressOnlyInternetGatewayAsync(CreateEgressOnlyInternetGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEgressOnlyInternetGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEgressOnlyInternetGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateFleet /// /// Creates an EC2 Fleet that contains the configuration information for On-Demand Instances /// and Spot Instances. Instances are launched immediately if there is available capacity. /// /// /// /// A single EC2 Fleet can include multiple launch specifications that vary by instance /// type, AMI, Availability Zone, or subnet. /// /// /// /// For more information, see EC2 /// Fleet in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreateFleet service method. /// /// The response from the CreateFleet service method, as returned by EC2. /// REST API Reference for CreateFleet Operation public virtual CreateFleetResponse CreateFleet(CreateFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFleetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an EC2 Fleet that contains the configuration information for On-Demand Instances /// and Spot Instances. Instances are launched immediately if there is available capacity. /// /// /// /// A single EC2 Fleet can include multiple launch specifications that vary by instance /// type, AMI, Availability Zone, or subnet. /// /// /// /// For more information, see EC2 /// Fleet in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreateFleet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateFleet service method, as returned by EC2. /// REST API Reference for CreateFleet Operation public virtual Task CreateFleetAsync(CreateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFleetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateFlowLogs /// /// Creates one or more flow logs to capture information about IP traffic for a specific /// network interface, subnet, or VPC. /// /// /// /// Flow log data for a monitored network interface is recorded as flow log records, which /// are log events consisting of fields that describe the traffic flow. For more information, /// see Flow /// log records in the Amazon Virtual Private Cloud User Guide. /// /// /// /// When publishing to CloudWatch Logs, flow log records are published to a log group, /// and each network interface has a unique log stream in the log group. When publishing /// to Amazon S3, flow log records for all of the monitored network interfaces are published /// to a single log file object that is stored in the specified bucket. /// /// /// /// For more information, see VPC /// Flow Logs in the Amazon Virtual Private Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateFlowLogs service method. /// /// The response from the CreateFlowLogs service method, as returned by EC2. /// REST API Reference for CreateFlowLogs Operation public virtual CreateFlowLogsResponse CreateFlowLogs(CreateFlowLogsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFlowLogsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFlowLogsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates one or more flow logs to capture information about IP traffic for a specific /// network interface, subnet, or VPC. /// /// /// /// Flow log data for a monitored network interface is recorded as flow log records, which /// are log events consisting of fields that describe the traffic flow. For more information, /// see Flow /// log records in the Amazon Virtual Private Cloud User Guide. /// /// /// /// When publishing to CloudWatch Logs, flow log records are published to a log group, /// and each network interface has a unique log stream in the log group. When publishing /// to Amazon S3, flow log records for all of the monitored network interfaces are published /// to a single log file object that is stored in the specified bucket. /// /// /// /// For more information, see VPC /// Flow Logs in the Amazon Virtual Private Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateFlowLogs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateFlowLogs service method, as returned by EC2. /// REST API Reference for CreateFlowLogs Operation public virtual Task CreateFlowLogsAsync(CreateFlowLogsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFlowLogsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFlowLogsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateFpgaImage /// /// Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP). /// /// /// /// The create operation is asynchronous. To verify that the AFI is ready for use, check /// the output logs. /// /// /// /// An AFI contains the FPGA bitstream that is ready to download to an FPGA. You can securely /// deploy an AFI on multiple FPGA-accelerated instances. For more information, see the /// Amazon Web Services FPGA Hardware Development /// Kit. /// /// /// Container for the necessary parameters to execute the CreateFpgaImage service method. /// /// The response from the CreateFpgaImage service method, as returned by EC2. /// REST API Reference for CreateFpgaImage Operation public virtual CreateFpgaImageResponse CreateFpgaImage(CreateFpgaImageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFpgaImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFpgaImageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP). /// /// /// /// The create operation is asynchronous. To verify that the AFI is ready for use, check /// the output logs. /// /// /// /// An AFI contains the FPGA bitstream that is ready to download to an FPGA. You can securely /// deploy an AFI on multiple FPGA-accelerated instances. For more information, see the /// Amazon Web Services FPGA Hardware Development /// Kit. /// /// /// Container for the necessary parameters to execute the CreateFpgaImage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateFpgaImage service method, as returned by EC2. /// REST API Reference for CreateFpgaImage Operation public virtual Task CreateFpgaImageAsync(CreateFpgaImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFpgaImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFpgaImageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateImage /// /// Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either /// running or stopped. /// /// /// /// If you customized your instance with instance store volumes or Amazon EBS volumes /// in addition to the root device volume, the new AMI contains block device mapping information /// for those volumes. When you launch an instance from this new AMI, the instance automatically /// launches with those additional volumes. /// /// /// /// For more information, see Create /// an Amazon EBS-backed Linux AMI in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateImage service method. /// /// The response from the CreateImage service method, as returned by EC2. /// REST API Reference for CreateImage Operation public virtual CreateImageResponse CreateImage(CreateImageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateImageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either /// running or stopped. /// /// /// /// If you customized your instance with instance store volumes or Amazon EBS volumes /// in addition to the root device volume, the new AMI contains block device mapping information /// for those volumes. When you launch an instance from this new AMI, the instance automatically /// launches with those additional volumes. /// /// /// /// For more information, see Create /// an Amazon EBS-backed Linux AMI in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateImage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateImage service method, as returned by EC2. /// REST API Reference for CreateImage Operation public virtual Task CreateImageAsync(CreateImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateImageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateInstanceConnectEndpoint /// /// Creates an EC2 Instance Connect Endpoint. /// /// /// /// An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring /// the instance to have a public IPv4 address. For more information, see Connect /// to your instances without requiring a public IPv4 address using EC2 Instance Connect /// Endpoint in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreateInstanceConnectEndpoint service method. /// /// The response from the CreateInstanceConnectEndpoint service method, as returned by EC2. /// REST API Reference for CreateInstanceConnectEndpoint Operation public virtual CreateInstanceConnectEndpointResponse CreateInstanceConnectEndpoint(CreateInstanceConnectEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInstanceConnectEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInstanceConnectEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an EC2 Instance Connect Endpoint. /// /// /// /// An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring /// the instance to have a public IPv4 address. For more information, see Connect /// to your instances without requiring a public IPv4 address using EC2 Instance Connect /// Endpoint in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreateInstanceConnectEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateInstanceConnectEndpoint service method, as returned by EC2. /// REST API Reference for CreateInstanceConnectEndpoint Operation public virtual Task CreateInstanceConnectEndpointAsync(CreateInstanceConnectEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInstanceConnectEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInstanceConnectEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateInstanceEventWindow /// /// Creates an event window in which scheduled events for the associated Amazon EC2 instances /// can run. /// /// /// /// You can define either a set of time ranges or a cron expression when creating the /// event window, but not both. All event window times are in UTC. /// /// /// /// You can create up to 200 event windows per Amazon Web Services Region. /// /// /// /// When you create the event window, targets (instance IDs, Dedicated Host IDs, or tags) /// are not yet associated with it. To ensure that the event window can be used, you must /// associate one or more targets with it by using the AssociateInstanceEventWindow /// API. /// /// /// /// Event windows are applicable only for scheduled events that stop, reboot, or terminate /// instances. /// /// /// /// Event windows are not applicable for: /// ///
  • /// /// Expedited scheduled events and network maintenance events. /// ///
  • /// /// Unscheduled maintenance such as AutoRecovery and unplanned reboots. /// ///
/// /// For more information, see Define /// event windows for scheduled events in the Amazon EC2 User Guide. /// ///
/// Container for the necessary parameters to execute the CreateInstanceEventWindow service method. /// /// The response from the CreateInstanceEventWindow service method, as returned by EC2. /// REST API Reference for CreateInstanceEventWindow Operation public virtual CreateInstanceEventWindowResponse CreateInstanceEventWindow(CreateInstanceEventWindowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInstanceEventWindowRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInstanceEventWindowResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an event window in which scheduled events for the associated Amazon EC2 instances /// can run. /// /// /// /// You can define either a set of time ranges or a cron expression when creating the /// event window, but not both. All event window times are in UTC. /// /// /// /// You can create up to 200 event windows per Amazon Web Services Region. /// /// /// /// When you create the event window, targets (instance IDs, Dedicated Host IDs, or tags) /// are not yet associated with it. To ensure that the event window can be used, you must /// associate one or more targets with it by using the AssociateInstanceEventWindow /// API. /// /// /// /// Event windows are applicable only for scheduled events that stop, reboot, or terminate /// instances. /// /// /// /// Event windows are not applicable for: /// ///
  • /// /// Expedited scheduled events and network maintenance events. /// ///
  • /// /// Unscheduled maintenance such as AutoRecovery and unplanned reboots. /// ///
/// /// For more information, see Define /// event windows for scheduled events in the Amazon EC2 User Guide. /// ///
/// Container for the necessary parameters to execute the CreateInstanceEventWindow service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateInstanceEventWindow service method, as returned by EC2. /// REST API Reference for CreateInstanceEventWindow Operation public virtual Task CreateInstanceEventWindowAsync(CreateInstanceEventWindowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInstanceEventWindowRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInstanceEventWindowResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateInstanceExportTask /// /// Exports a running or stopped instance to an Amazon S3 bucket. /// /// /// /// For information about the prerequisites for your Amazon S3 bucket, supported operating /// systems, image formats, and known limitations for the types of instances you can export, /// see Exporting /// an instance as a VM Using VM Import/Export in the VM Import/Export User Guide. /// /// /// Container for the necessary parameters to execute the CreateInstanceExportTask service method. /// /// The response from the CreateInstanceExportTask service method, as returned by EC2. /// REST API Reference for CreateInstanceExportTask Operation public virtual CreateInstanceExportTaskResponse CreateInstanceExportTask(CreateInstanceExportTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInstanceExportTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInstanceExportTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Exports a running or stopped instance to an Amazon S3 bucket. /// /// /// /// For information about the prerequisites for your Amazon S3 bucket, supported operating /// systems, image formats, and known limitations for the types of instances you can export, /// see Exporting /// an instance as a VM Using VM Import/Export in the VM Import/Export User Guide. /// /// /// Container for the necessary parameters to execute the CreateInstanceExportTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateInstanceExportTask service method, as returned by EC2. /// REST API Reference for CreateInstanceExportTask Operation public virtual Task CreateInstanceExportTaskAsync(CreateInstanceExportTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInstanceExportTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInstanceExportTaskResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateInternetGateway /// /// Creates an internet gateway for use with a VPC. After creating the internet gateway, /// you attach it to a VPC using AttachInternetGateway. /// /// /// /// For more information, see Internet /// gateways in the Amazon VPC User Guide. /// /// /// /// The response from the CreateInternetGateway service method, as returned by EC2. /// REST API Reference for CreateInternetGateway Operation public virtual CreateInternetGatewayResponse CreateInternetGateway() { return CreateInternetGateway(new CreateInternetGatewayRequest()); } /// /// Creates an internet gateway for use with a VPC. After creating the internet gateway, /// you attach it to a VPC using AttachInternetGateway. /// /// /// /// For more information, see Internet /// gateways in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the CreateInternetGateway service method. /// /// The response from the CreateInternetGateway service method, as returned by EC2. /// REST API Reference for CreateInternetGateway Operation public virtual CreateInternetGatewayResponse CreateInternetGateway(CreateInternetGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInternetGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInternetGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an internet gateway for use with a VPC. After creating the internet gateway, /// you attach it to a VPC using AttachInternetGateway. /// /// /// /// For more information, see Internet /// gateways in the Amazon VPC User Guide. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateInternetGateway service method, as returned by EC2. /// REST API Reference for CreateInternetGateway Operation public virtual Task CreateInternetGatewayAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return CreateInternetGatewayAsync(new CreateInternetGatewayRequest(), cancellationToken); } /// /// Creates an internet gateway for use with a VPC. After creating the internet gateway, /// you attach it to a VPC using AttachInternetGateway. /// /// /// /// For more information, see Internet /// gateways in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the CreateInternetGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateInternetGateway service method, as returned by EC2. /// REST API Reference for CreateInternetGateway Operation public virtual Task CreateInternetGatewayAsync(CreateInternetGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInternetGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInternetGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateIpam /// /// Create an IPAM. Amazon VPC IP Address Manager (IPAM) is a VPC feature that you can /// use to automate your IP address management workflows including assigning, tracking, /// troubleshooting, and auditing IP addresses across Amazon Web Services Regions and /// accounts throughout your Amazon Web Services Organization. /// /// /// /// For more information, see Create /// an IPAM in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the CreateIpam service method. /// /// The response from the CreateIpam service method, as returned by EC2. /// REST API Reference for CreateIpam Operation public virtual CreateIpamResponse CreateIpam(CreateIpamRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIpamRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIpamResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Create an IPAM. Amazon VPC IP Address Manager (IPAM) is a VPC feature that you can /// use to automate your IP address management workflows including assigning, tracking, /// troubleshooting, and auditing IP addresses across Amazon Web Services Regions and /// accounts throughout your Amazon Web Services Organization. /// /// /// /// For more information, see Create /// an IPAM in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the CreateIpam service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateIpam service method, as returned by EC2. /// REST API Reference for CreateIpam Operation public virtual Task CreateIpamAsync(CreateIpamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIpamRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIpamResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateIpamPool /// /// Create an IP address pool for Amazon VPC IP Address Manager (IPAM). In IPAM, a pool /// is a collection of contiguous IP addresses CIDRs. Pools enable you to organize your /// IP addresses according to your routing and security needs. For example, if you have /// separate routing and security needs for development and production applications, you /// can create a pool for each. /// /// /// /// For more information, see Create /// a top-level pool in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the CreateIpamPool service method. /// /// The response from the CreateIpamPool service method, as returned by EC2. /// REST API Reference for CreateIpamPool Operation public virtual CreateIpamPoolResponse CreateIpamPool(CreateIpamPoolRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIpamPoolRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIpamPoolResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Create an IP address pool for Amazon VPC IP Address Manager (IPAM). In IPAM, a pool /// is a collection of contiguous IP addresses CIDRs. Pools enable you to organize your /// IP addresses according to your routing and security needs. For example, if you have /// separate routing and security needs for development and production applications, you /// can create a pool for each. /// /// /// /// For more information, see Create /// a top-level pool in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the CreateIpamPool service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateIpamPool service method, as returned by EC2. /// REST API Reference for CreateIpamPool Operation public virtual Task CreateIpamPoolAsync(CreateIpamPoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIpamPoolRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIpamPoolResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateIpamResourceDiscovery /// /// Creates an IPAM resource discovery. A resource discovery is an IPAM component that /// enables IPAM to manage and monitor resources that belong to the owning account. /// /// Container for the necessary parameters to execute the CreateIpamResourceDiscovery service method. /// /// The response from the CreateIpamResourceDiscovery service method, as returned by EC2. /// REST API Reference for CreateIpamResourceDiscovery Operation public virtual CreateIpamResourceDiscoveryResponse CreateIpamResourceDiscovery(CreateIpamResourceDiscoveryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIpamResourceDiscoveryRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIpamResourceDiscoveryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an IPAM resource discovery. A resource discovery is an IPAM component that /// enables IPAM to manage and monitor resources that belong to the owning account. /// /// Container for the necessary parameters to execute the CreateIpamResourceDiscovery service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateIpamResourceDiscovery service method, as returned by EC2. /// REST API Reference for CreateIpamResourceDiscovery Operation public virtual Task CreateIpamResourceDiscoveryAsync(CreateIpamResourceDiscoveryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIpamResourceDiscoveryRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIpamResourceDiscoveryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateIpamScope /// /// Create an IPAM scope. In IPAM, a scope is the highest-level container within IPAM. /// An IPAM contains two default scopes. Each scope represents the IP space for a single /// network. The private scope is intended for all private IP address space. The public /// scope is intended for all public IP address space. Scopes enable you to reuse IP addresses /// across multiple unconnected networks without causing IP address overlap or conflict. /// /// /// /// For more information, see Add /// a scope in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the CreateIpamScope service method. /// /// The response from the CreateIpamScope service method, as returned by EC2. /// REST API Reference for CreateIpamScope Operation public virtual CreateIpamScopeResponse CreateIpamScope(CreateIpamScopeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIpamScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIpamScopeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Create an IPAM scope. In IPAM, a scope is the highest-level container within IPAM. /// An IPAM contains two default scopes. Each scope represents the IP space for a single /// network. The private scope is intended for all private IP address space. The public /// scope is intended for all public IP address space. Scopes enable you to reuse IP addresses /// across multiple unconnected networks without causing IP address overlap or conflict. /// /// /// /// For more information, see Add /// a scope in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the CreateIpamScope service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateIpamScope service method, as returned by EC2. /// REST API Reference for CreateIpamScope Operation public virtual Task CreateIpamScopeAsync(CreateIpamScopeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIpamScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIpamScopeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateKeyPair /// /// Creates an ED25519 or 2048-bit RSA key pair with the specified name and in the specified /// PEM or PPK format. Amazon EC2 stores the public key and displays the private key for /// you to save to a file. The private key is returned as an unencrypted PEM encoded PKCS#1 /// private key or an unencrypted PPK formatted private key for use with PuTTY. If a key /// with the specified name already exists, Amazon EC2 returns an error. /// /// /// /// The key pair returned to you is available only in the Amazon Web Services Region in /// which you create it. If you prefer, you can create your own key pair using a third-party /// tool and upload it to any Region using ImportKeyPair. /// /// /// /// You can have up to 5,000 key pairs per Amazon Web Services Region. /// /// /// /// For more information, see Amazon /// EC2 key pairs in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateKeyPair service method. /// /// The response from the CreateKeyPair service method, as returned by EC2. /// REST API Reference for CreateKeyPair Operation public virtual CreateKeyPairResponse CreateKeyPair(CreateKeyPairRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateKeyPairRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateKeyPairResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an ED25519 or 2048-bit RSA key pair with the specified name and in the specified /// PEM or PPK format. Amazon EC2 stores the public key and displays the private key for /// you to save to a file. The private key is returned as an unencrypted PEM encoded PKCS#1 /// private key or an unencrypted PPK formatted private key for use with PuTTY. If a key /// with the specified name already exists, Amazon EC2 returns an error. /// /// /// /// The key pair returned to you is available only in the Amazon Web Services Region in /// which you create it. If you prefer, you can create your own key pair using a third-party /// tool and upload it to any Region using ImportKeyPair. /// /// /// /// You can have up to 5,000 key pairs per Amazon Web Services Region. /// /// /// /// For more information, see Amazon /// EC2 key pairs in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateKeyPair service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateKeyPair service method, as returned by EC2. /// REST API Reference for CreateKeyPair Operation public virtual Task CreateKeyPairAsync(CreateKeyPairRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateKeyPairRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateKeyPairResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateLaunchTemplate /// /// Creates a launch template. /// /// /// /// A launch template contains the parameters to launch an instance. When you launch an /// instance using RunInstances, you can specify a launch template instead of providing /// the launch parameters in the request. For more information, see Launch /// an instance from a launch template in the Amazon Elastic Compute Cloud User /// Guide. /// /// /// /// If you want to clone an existing launch template as the basis for creating a new launch /// template, you can use the Amazon EC2 console. The API, SDKs, and CLI do not support /// cloning a template. For more information, see Create /// a launch template from an existing launch template in the Amazon Elastic Compute /// Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateLaunchTemplate service method. /// /// The response from the CreateLaunchTemplate service method, as returned by EC2. /// REST API Reference for CreateLaunchTemplate Operation public virtual CreateLaunchTemplateResponse CreateLaunchTemplate(CreateLaunchTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLaunchTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLaunchTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a launch template. /// /// /// /// A launch template contains the parameters to launch an instance. When you launch an /// instance using RunInstances, you can specify a launch template instead of providing /// the launch parameters in the request. For more information, see Launch /// an instance from a launch template in the Amazon Elastic Compute Cloud User /// Guide. /// /// /// /// If you want to clone an existing launch template as the basis for creating a new launch /// template, you can use the Amazon EC2 console. The API, SDKs, and CLI do not support /// cloning a template. For more information, see Create /// a launch template from an existing launch template in the Amazon Elastic Compute /// Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateLaunchTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateLaunchTemplate service method, as returned by EC2. /// REST API Reference for CreateLaunchTemplate Operation public virtual Task CreateLaunchTemplateAsync(CreateLaunchTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLaunchTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLaunchTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateLaunchTemplateVersion /// /// Creates a new version of a launch template. You can specify an existing version of /// launch template from which to base the new version. /// /// /// /// Launch template versions are numbered in the order in which they are created. You /// cannot specify, change, or replace the numbering of launch template versions. /// /// /// /// Launch templates are immutable; after you create a launch template, you can't modify /// it. Instead, you can create a new version of the launch template that includes any /// changes you require. /// /// /// /// For more information, see Modify /// a launch template (manage launch template versions) in the Amazon Elastic Compute /// Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateLaunchTemplateVersion service method. /// /// The response from the CreateLaunchTemplateVersion service method, as returned by EC2. /// REST API Reference for CreateLaunchTemplateVersion Operation public virtual CreateLaunchTemplateVersionResponse CreateLaunchTemplateVersion(CreateLaunchTemplateVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLaunchTemplateVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLaunchTemplateVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new version of a launch template. You can specify an existing version of /// launch template from which to base the new version. /// /// /// /// Launch template versions are numbered in the order in which they are created. You /// cannot specify, change, or replace the numbering of launch template versions. /// /// /// /// Launch templates are immutable; after you create a launch template, you can't modify /// it. Instead, you can create a new version of the launch template that includes any /// changes you require. /// /// /// /// For more information, see Modify /// a launch template (manage launch template versions) in the Amazon Elastic Compute /// Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateLaunchTemplateVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateLaunchTemplateVersion service method, as returned by EC2. /// REST API Reference for CreateLaunchTemplateVersion Operation public virtual Task CreateLaunchTemplateVersionAsync(CreateLaunchTemplateVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLaunchTemplateVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLaunchTemplateVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateLocalGatewayRoute /// /// Creates a static route for the specified local gateway route table. You must specify /// one of the following targets: /// ///
  • /// /// LocalGatewayVirtualInterfaceGroupId /// ///
  • /// /// NetworkInterfaceId /// ///
///
/// Container for the necessary parameters to execute the CreateLocalGatewayRoute service method. /// /// The response from the CreateLocalGatewayRoute service method, as returned by EC2. /// REST API Reference for CreateLocalGatewayRoute Operation public virtual CreateLocalGatewayRouteResponse CreateLocalGatewayRoute(CreateLocalGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLocalGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLocalGatewayRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a static route for the specified local gateway route table. You must specify /// one of the following targets: /// ///
  • /// /// LocalGatewayVirtualInterfaceGroupId /// ///
  • /// /// NetworkInterfaceId /// ///
///
/// Container for the necessary parameters to execute the CreateLocalGatewayRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateLocalGatewayRoute service method, as returned by EC2. /// REST API Reference for CreateLocalGatewayRoute Operation public virtual Task CreateLocalGatewayRouteAsync(CreateLocalGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLocalGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLocalGatewayRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateLocalGatewayRouteTable /// /// Creates a local gateway route table. /// /// Container for the necessary parameters to execute the CreateLocalGatewayRouteTable service method. /// /// The response from the CreateLocalGatewayRouteTable service method, as returned by EC2. /// REST API Reference for CreateLocalGatewayRouteTable Operation public virtual CreateLocalGatewayRouteTableResponse CreateLocalGatewayRouteTable(CreateLocalGatewayRouteTableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLocalGatewayRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLocalGatewayRouteTableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a local gateway route table. /// /// Container for the necessary parameters to execute the CreateLocalGatewayRouteTable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateLocalGatewayRouteTable service method, as returned by EC2. /// REST API Reference for CreateLocalGatewayRouteTable Operation public virtual Task CreateLocalGatewayRouteTableAsync(CreateLocalGatewayRouteTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLocalGatewayRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLocalGatewayRouteTableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation /// /// Creates a local gateway route table virtual interface group association. /// /// Container for the necessary parameters to execute the CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation service method. /// /// The response from the CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation service method, as returned by EC2. /// REST API Reference for CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation Operation public virtual CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResponse CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation(CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a local gateway route table virtual interface group association. /// /// Container for the necessary parameters to execute the CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation service method, as returned by EC2. /// REST API Reference for CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation Operation public virtual Task CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationAsync(CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateLocalGatewayRouteTableVpcAssociation /// /// Associates the specified VPC with the specified local gateway route table. /// /// Container for the necessary parameters to execute the CreateLocalGatewayRouteTableVpcAssociation service method. /// /// The response from the CreateLocalGatewayRouteTableVpcAssociation service method, as returned by EC2. /// REST API Reference for CreateLocalGatewayRouteTableVpcAssociation Operation public virtual CreateLocalGatewayRouteTableVpcAssociationResponse CreateLocalGatewayRouteTableVpcAssociation(CreateLocalGatewayRouteTableVpcAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLocalGatewayRouteTableVpcAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLocalGatewayRouteTableVpcAssociationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates the specified VPC with the specified local gateway route table. /// /// Container for the necessary parameters to execute the CreateLocalGatewayRouteTableVpcAssociation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateLocalGatewayRouteTableVpcAssociation service method, as returned by EC2. /// REST API Reference for CreateLocalGatewayRouteTableVpcAssociation Operation public virtual Task CreateLocalGatewayRouteTableVpcAssociationAsync(CreateLocalGatewayRouteTableVpcAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLocalGatewayRouteTableVpcAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLocalGatewayRouteTableVpcAssociationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateManagedPrefixList /// /// Creates a managed prefix list. You can specify one or more entries for the prefix /// list. Each entry consists of a CIDR block and an optional description. /// /// Container for the necessary parameters to execute the CreateManagedPrefixList service method. /// /// The response from the CreateManagedPrefixList service method, as returned by EC2. /// REST API Reference for CreateManagedPrefixList Operation public virtual CreateManagedPrefixListResponse CreateManagedPrefixList(CreateManagedPrefixListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateManagedPrefixListRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateManagedPrefixListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a managed prefix list. You can specify one or more entries for the prefix /// list. Each entry consists of a CIDR block and an optional description. /// /// Container for the necessary parameters to execute the CreateManagedPrefixList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateManagedPrefixList service method, as returned by EC2. /// REST API Reference for CreateManagedPrefixList Operation public virtual Task CreateManagedPrefixListAsync(CreateManagedPrefixListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateManagedPrefixListRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateManagedPrefixListResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateNatGateway /// /// Creates a NAT gateway in the specified subnet. This action creates a network interface /// in the specified subnet with a private IP address from the IP address range of the /// subnet. You can create either a public NAT gateway or a private NAT gateway. /// /// /// /// With a public NAT gateway, internet-bound traffic from a private subnet can be routed /// to the NAT gateway, so that instances in a private subnet can connect to the internet. /// /// /// /// With a private NAT gateway, private communication is routed across VPCs and on-premises /// networks through a transit gateway or virtual private gateway. Common use cases include /// running large workloads behind a small pool of allowlisted IPv4 addresses, preserving /// private IPv4 addresses, and communicating between overlapping networks. /// /// /// /// For more information, see NAT /// gateways in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the CreateNatGateway service method. /// /// The response from the CreateNatGateway service method, as returned by EC2. /// REST API Reference for CreateNatGateway Operation public virtual CreateNatGatewayResponse CreateNatGateway(CreateNatGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNatGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNatGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a NAT gateway in the specified subnet. This action creates a network interface /// in the specified subnet with a private IP address from the IP address range of the /// subnet. You can create either a public NAT gateway or a private NAT gateway. /// /// /// /// With a public NAT gateway, internet-bound traffic from a private subnet can be routed /// to the NAT gateway, so that instances in a private subnet can connect to the internet. /// /// /// /// With a private NAT gateway, private communication is routed across VPCs and on-premises /// networks through a transit gateway or virtual private gateway. Common use cases include /// running large workloads behind a small pool of allowlisted IPv4 addresses, preserving /// private IPv4 addresses, and communicating between overlapping networks. /// /// /// /// For more information, see NAT /// gateways in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the CreateNatGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateNatGateway service method, as returned by EC2. /// REST API Reference for CreateNatGateway Operation public virtual Task CreateNatGatewayAsync(CreateNatGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNatGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNatGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateNetworkAcl /// /// Creates a network ACL in a VPC. Network ACLs provide an optional layer of security /// (in addition to security groups) for the instances in your VPC. /// /// /// /// For more information, see Network /// ACLs in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the CreateNetworkAcl service method. /// /// The response from the CreateNetworkAcl service method, as returned by EC2. /// REST API Reference for CreateNetworkAcl Operation public virtual CreateNetworkAclResponse CreateNetworkAcl(CreateNetworkAclRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkAclRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkAclResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a network ACL in a VPC. Network ACLs provide an optional layer of security /// (in addition to security groups) for the instances in your VPC. /// /// /// /// For more information, see Network /// ACLs in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the CreateNetworkAcl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateNetworkAcl service method, as returned by EC2. /// REST API Reference for CreateNetworkAcl Operation public virtual Task CreateNetworkAclAsync(CreateNetworkAclRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkAclRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkAclResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateNetworkAclEntry /// /// Creates an entry (a rule) in a network ACL with the specified rule number. Each network /// ACL has a set of numbered ingress rules and a separate set of numbered egress rules. /// When determining whether a packet should be allowed in or out of a subnet associated /// with the ACL, we process the entries in the ACL according to the rule numbers, in /// ascending order. Each network ACL has a set of ingress rules and a separate set of /// egress rules. /// /// /// /// We recommend that you leave room between the rule numbers (for example, 100, 110, /// 120, ...), and not number them one right after the other (for example, 101, 102, 103, /// ...). This makes it easier to add a rule between existing ones without having to renumber /// the rules. /// /// /// /// After you add an entry, you can't modify it; you must either replace it, or create /// an entry and delete the old one. /// /// /// /// For more information about network ACLs, see Network /// ACLs in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the CreateNetworkAclEntry service method. /// /// The response from the CreateNetworkAclEntry service method, as returned by EC2. /// REST API Reference for CreateNetworkAclEntry Operation public virtual CreateNetworkAclEntryResponse CreateNetworkAclEntry(CreateNetworkAclEntryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkAclEntryRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkAclEntryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an entry (a rule) in a network ACL with the specified rule number. Each network /// ACL has a set of numbered ingress rules and a separate set of numbered egress rules. /// When determining whether a packet should be allowed in or out of a subnet associated /// with the ACL, we process the entries in the ACL according to the rule numbers, in /// ascending order. Each network ACL has a set of ingress rules and a separate set of /// egress rules. /// /// /// /// We recommend that you leave room between the rule numbers (for example, 100, 110, /// 120, ...), and not number them one right after the other (for example, 101, 102, 103, /// ...). This makes it easier to add a rule between existing ones without having to renumber /// the rules. /// /// /// /// After you add an entry, you can't modify it; you must either replace it, or create /// an entry and delete the old one. /// /// /// /// For more information about network ACLs, see Network /// ACLs in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the CreateNetworkAclEntry service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateNetworkAclEntry service method, as returned by EC2. /// REST API Reference for CreateNetworkAclEntry Operation public virtual Task CreateNetworkAclEntryAsync(CreateNetworkAclEntryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkAclEntryRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkAclEntryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateNetworkInsightsAccessScope /// /// Creates a Network Access Scope. /// /// /// /// Amazon Web Services Network Access Analyzer enables cloud networking and cloud operations /// teams to verify that their networks on Amazon Web Services conform to their network /// security and governance objectives. For more information, see the Amazon /// Web Services Network Access Analyzer Guide. /// /// /// Container for the necessary parameters to execute the CreateNetworkInsightsAccessScope service method. /// /// The response from the CreateNetworkInsightsAccessScope service method, as returned by EC2. /// REST API Reference for CreateNetworkInsightsAccessScope Operation public virtual CreateNetworkInsightsAccessScopeResponse CreateNetworkInsightsAccessScope(CreateNetworkInsightsAccessScopeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkInsightsAccessScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkInsightsAccessScopeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Network Access Scope. /// /// /// /// Amazon Web Services Network Access Analyzer enables cloud networking and cloud operations /// teams to verify that their networks on Amazon Web Services conform to their network /// security and governance objectives. For more information, see the Amazon /// Web Services Network Access Analyzer Guide. /// /// /// Container for the necessary parameters to execute the CreateNetworkInsightsAccessScope service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateNetworkInsightsAccessScope service method, as returned by EC2. /// REST API Reference for CreateNetworkInsightsAccessScope Operation public virtual Task CreateNetworkInsightsAccessScopeAsync(CreateNetworkInsightsAccessScopeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkInsightsAccessScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkInsightsAccessScopeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateNetworkInsightsPath /// /// Creates a path to analyze for reachability. /// /// /// /// Reachability Analyzer enables you to analyze and debug network reachability between /// two resources in your virtual private cloud (VPC). For more information, see the Reachability Analyzer /// Guide. /// /// /// Container for the necessary parameters to execute the CreateNetworkInsightsPath service method. /// /// The response from the CreateNetworkInsightsPath service method, as returned by EC2. /// REST API Reference for CreateNetworkInsightsPath Operation public virtual CreateNetworkInsightsPathResponse CreateNetworkInsightsPath(CreateNetworkInsightsPathRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkInsightsPathRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkInsightsPathResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a path to analyze for reachability. /// /// /// /// Reachability Analyzer enables you to analyze and debug network reachability between /// two resources in your virtual private cloud (VPC). For more information, see the Reachability Analyzer /// Guide. /// /// /// Container for the necessary parameters to execute the CreateNetworkInsightsPath service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateNetworkInsightsPath service method, as returned by EC2. /// REST API Reference for CreateNetworkInsightsPath Operation public virtual Task CreateNetworkInsightsPathAsync(CreateNetworkInsightsPathRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkInsightsPathRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkInsightsPathResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateNetworkInterface /// /// Creates a network interface in the specified subnet. /// /// /// /// The number of IP addresses you can assign to a network interface varies by instance /// type. For more information, see IP /// Addresses Per ENI Per Instance Type in the Amazon Virtual Private Cloud User /// Guide. /// /// /// /// For more information about network interfaces, see Elastic /// network interfaces in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateNetworkInterface service method. /// /// The response from the CreateNetworkInterface service method, as returned by EC2. /// REST API Reference for CreateNetworkInterface Operation public virtual CreateNetworkInterfaceResponse CreateNetworkInterface(CreateNetworkInterfaceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkInterfaceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkInterfaceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a network interface in the specified subnet. /// /// /// /// The number of IP addresses you can assign to a network interface varies by instance /// type. For more information, see IP /// Addresses Per ENI Per Instance Type in the Amazon Virtual Private Cloud User /// Guide. /// /// /// /// For more information about network interfaces, see Elastic /// network interfaces in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateNetworkInterface service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateNetworkInterface service method, as returned by EC2. /// REST API Reference for CreateNetworkInterface Operation public virtual Task CreateNetworkInterfaceAsync(CreateNetworkInterfaceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkInterfaceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkInterfaceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateNetworkInterfacePermission /// /// Grants an Amazon Web Services-authorized account permission to attach the specified /// network interface to an instance in their account. /// /// /// /// You can grant permission to a single Amazon Web Services account only, and only one /// account at a time. /// /// /// Container for the necessary parameters to execute the CreateNetworkInterfacePermission service method. /// /// The response from the CreateNetworkInterfacePermission service method, as returned by EC2. /// REST API Reference for CreateNetworkInterfacePermission Operation public virtual CreateNetworkInterfacePermissionResponse CreateNetworkInterfacePermission(CreateNetworkInterfacePermissionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkInterfacePermissionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkInterfacePermissionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Grants an Amazon Web Services-authorized account permission to attach the specified /// network interface to an instance in their account. /// /// /// /// You can grant permission to a single Amazon Web Services account only, and only one /// account at a time. /// /// /// Container for the necessary parameters to execute the CreateNetworkInterfacePermission service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateNetworkInterfacePermission service method, as returned by EC2. /// REST API Reference for CreateNetworkInterfacePermission Operation public virtual Task CreateNetworkInterfacePermissionAsync(CreateNetworkInterfacePermissionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNetworkInterfacePermissionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNetworkInterfacePermissionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreatePlacementGroup /// /// Creates a placement group in which to launch instances. The strategy of the placement /// group determines how the instances are organized within the group. /// /// /// /// A cluster placement group is a logical grouping of instances within a /// single Availability Zone that benefit from low network latency, high network throughput. /// A spread placement group places instances on distinct hardware. A partition /// placement group places groups of instances in different partitions, where instances /// in one partition do not share the same hardware with instances in another partition. /// /// /// /// For more information, see Placement /// groups in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreatePlacementGroup service method. /// /// The response from the CreatePlacementGroup service method, as returned by EC2. /// REST API Reference for CreatePlacementGroup Operation public virtual CreatePlacementGroupResponse CreatePlacementGroup(CreatePlacementGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePlacementGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePlacementGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a placement group in which to launch instances. The strategy of the placement /// group determines how the instances are organized within the group. /// /// /// /// A cluster placement group is a logical grouping of instances within a /// single Availability Zone that benefit from low network latency, high network throughput. /// A spread placement group places instances on distinct hardware. A partition /// placement group places groups of instances in different partitions, where instances /// in one partition do not share the same hardware with instances in another partition. /// /// /// /// For more information, see Placement /// groups in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreatePlacementGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreatePlacementGroup service method, as returned by EC2. /// REST API Reference for CreatePlacementGroup Operation public virtual Task CreatePlacementGroupAsync(CreatePlacementGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePlacementGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePlacementGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreatePublicIpv4Pool /// /// Creates a public IPv4 address pool. A public IPv4 pool is an EC2 IP address pool required /// for the public IPv4 CIDRs that you own and bring to Amazon Web Services to manage /// with IPAM. IPv6 addresses you bring to Amazon Web Services, however, use IPAM pools /// only. To monitor the status of pool creation, use DescribePublicIpv4Pools. /// /// Container for the necessary parameters to execute the CreatePublicIpv4Pool service method. /// /// The response from the CreatePublicIpv4Pool service method, as returned by EC2. /// REST API Reference for CreatePublicIpv4Pool Operation public virtual CreatePublicIpv4PoolResponse CreatePublicIpv4Pool(CreatePublicIpv4PoolRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePublicIpv4PoolRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePublicIpv4PoolResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a public IPv4 address pool. A public IPv4 pool is an EC2 IP address pool required /// for the public IPv4 CIDRs that you own and bring to Amazon Web Services to manage /// with IPAM. IPv6 addresses you bring to Amazon Web Services, however, use IPAM pools /// only. To monitor the status of pool creation, use DescribePublicIpv4Pools. /// /// Container for the necessary parameters to execute the CreatePublicIpv4Pool service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreatePublicIpv4Pool service method, as returned by EC2. /// REST API Reference for CreatePublicIpv4Pool Operation public virtual Task CreatePublicIpv4PoolAsync(CreatePublicIpv4PoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePublicIpv4PoolRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePublicIpv4PoolResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateReplaceRootVolumeTask /// /// Replaces the EBS-backed root volume for a running instance with a new /// volume that is restored to the original root volume's launch state, that is restored /// to a specific snapshot taken from the original root volume, or that is restored from /// an AMI that has the same key characteristics as that of the instance. /// /// /// /// For more information, see Replace /// a root volume in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateReplaceRootVolumeTask service method. /// /// The response from the CreateReplaceRootVolumeTask service method, as returned by EC2. /// REST API Reference for CreateReplaceRootVolumeTask Operation public virtual CreateReplaceRootVolumeTaskResponse CreateReplaceRootVolumeTask(CreateReplaceRootVolumeTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReplaceRootVolumeTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReplaceRootVolumeTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Replaces the EBS-backed root volume for a running instance with a new /// volume that is restored to the original root volume's launch state, that is restored /// to a specific snapshot taken from the original root volume, or that is restored from /// an AMI that has the same key characteristics as that of the instance. /// /// /// /// For more information, see Replace /// a root volume in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateReplaceRootVolumeTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateReplaceRootVolumeTask service method, as returned by EC2. /// REST API Reference for CreateReplaceRootVolumeTask Operation public virtual Task CreateReplaceRootVolumeTaskAsync(CreateReplaceRootVolumeTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReplaceRootVolumeTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReplaceRootVolumeTaskResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateReservedInstancesListing /// /// Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved /// Instance Marketplace. You can submit one Standard Reserved Instance listing at a time. /// To get a list of your Standard Reserved Instances, you can use the DescribeReservedInstances /// operation. /// /// /// /// Only Standard Reserved Instances can be sold in the Reserved Instance Marketplace. /// Convertible Reserved Instances cannot be sold. /// /// /// /// The Reserved Instance Marketplace matches sellers who want to resell Standard Reserved /// Instance capacity that they no longer need with buyers who want to purchase additional /// capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace /// work like any other Reserved Instances. /// /// /// /// To sell your Standard Reserved Instances, you must first register as a seller in the /// Reserved Instance Marketplace. After completing the registration process, you can /// create a Reserved Instance Marketplace listing of some or all of your Standard Reserved /// Instances, and specify the upfront price to receive for them. Your Standard Reserved /// Instance listings then become available for purchase. To view the details of your /// Standard Reserved Instance listing, you can use the DescribeReservedInstancesListings /// operation. /// /// /// /// For more information, see Reserved /// Instance Marketplace in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreateReservedInstancesListing service method. /// /// The response from the CreateReservedInstancesListing service method, as returned by EC2. /// REST API Reference for CreateReservedInstancesListing Operation public virtual CreateReservedInstancesListingResponse CreateReservedInstancesListing(CreateReservedInstancesListingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReservedInstancesListingRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReservedInstancesListingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved /// Instance Marketplace. You can submit one Standard Reserved Instance listing at a time. /// To get a list of your Standard Reserved Instances, you can use the DescribeReservedInstances /// operation. /// /// /// /// Only Standard Reserved Instances can be sold in the Reserved Instance Marketplace. /// Convertible Reserved Instances cannot be sold. /// /// /// /// The Reserved Instance Marketplace matches sellers who want to resell Standard Reserved /// Instance capacity that they no longer need with buyers who want to purchase additional /// capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace /// work like any other Reserved Instances. /// /// /// /// To sell your Standard Reserved Instances, you must first register as a seller in the /// Reserved Instance Marketplace. After completing the registration process, you can /// create a Reserved Instance Marketplace listing of some or all of your Standard Reserved /// Instances, and specify the upfront price to receive for them. Your Standard Reserved /// Instance listings then become available for purchase. To view the details of your /// Standard Reserved Instance listing, you can use the DescribeReservedInstancesListings /// operation. /// /// /// /// For more information, see Reserved /// Instance Marketplace in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreateReservedInstancesListing service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateReservedInstancesListing service method, as returned by EC2. /// REST API Reference for CreateReservedInstancesListing Operation public virtual Task CreateReservedInstancesListingAsync(CreateReservedInstancesListingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReservedInstancesListingRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReservedInstancesListingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRestoreImageTask /// /// Starts a task that restores an AMI from an Amazon S3 object that was previously created /// by using CreateStoreImageTask. /// /// /// /// To use this API, you must have the required permissions. For more information, see /// Permissions /// for storing and restoring AMIs using Amazon S3 in the Amazon EC2 User Guide. /// /// /// /// For more information, see Store /// and restore an AMI using Amazon S3 in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreateRestoreImageTask service method. /// /// The response from the CreateRestoreImageTask service method, as returned by EC2. /// REST API Reference for CreateRestoreImageTask Operation public virtual CreateRestoreImageTaskResponse CreateRestoreImageTask(CreateRestoreImageTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRestoreImageTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRestoreImageTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts a task that restores an AMI from an Amazon S3 object that was previously created /// by using CreateStoreImageTask. /// /// /// /// To use this API, you must have the required permissions. For more information, see /// Permissions /// for storing and restoring AMIs using Amazon S3 in the Amazon EC2 User Guide. /// /// /// /// For more information, see Store /// and restore an AMI using Amazon S3 in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreateRestoreImageTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRestoreImageTask service method, as returned by EC2. /// REST API Reference for CreateRestoreImageTask Operation public virtual Task CreateRestoreImageTaskAsync(CreateRestoreImageTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRestoreImageTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRestoreImageTaskResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRoute /// /// Creates a route in a route table within a VPC. /// /// /// /// You must specify either a destination CIDR block or a prefix list ID. You must also /// specify exactly one of the resources from the parameter list. /// /// /// /// When determining how to route traffic, we use the route with the most specific match. /// For example, traffic is destined for the IPv4 address 192.0.2.3, and /// the route table includes the following two IPv4 routes: /// ///
  • /// /// 192.0.2.0/24 (goes to some target A) /// ///
  • /// /// 192.0.2.0/28 (goes to some target B) /// ///
/// /// Both routes apply to the traffic destined for 192.0.2.3. However, the /// second route in the list covers a smaller number of IP addresses and is therefore /// more specific, so we use that route to determine where to target the traffic. /// /// /// /// For more information about route tables, see Route /// tables in the Amazon VPC User Guide. /// ///
/// Container for the necessary parameters to execute the CreateRoute service method. /// /// The response from the CreateRoute service method, as returned by EC2. /// REST API Reference for CreateRoute Operation public virtual CreateRouteResponse CreateRoute(CreateRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a route in a route table within a VPC. /// /// /// /// You must specify either a destination CIDR block or a prefix list ID. You must also /// specify exactly one of the resources from the parameter list. /// /// /// /// When determining how to route traffic, we use the route with the most specific match. /// For example, traffic is destined for the IPv4 address 192.0.2.3, and /// the route table includes the following two IPv4 routes: /// ///
  • /// /// 192.0.2.0/24 (goes to some target A) /// ///
  • /// /// 192.0.2.0/28 (goes to some target B) /// ///
/// /// Both routes apply to the traffic destined for 192.0.2.3. However, the /// second route in the list covers a smaller number of IP addresses and is therefore /// more specific, so we use that route to determine where to target the traffic. /// /// /// /// For more information about route tables, see Route /// tables in the Amazon VPC User Guide. /// ///
/// Container for the necessary parameters to execute the CreateRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRoute service method, as returned by EC2. /// REST API Reference for CreateRoute Operation public virtual Task CreateRouteAsync(CreateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRouteTable /// /// Creates a route table for the specified VPC. After you create a route table, you can /// add routes and associate the table with a subnet. /// /// /// /// For more information, see Route /// tables in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the CreateRouteTable service method. /// /// The response from the CreateRouteTable service method, as returned by EC2. /// REST API Reference for CreateRouteTable Operation public virtual CreateRouteTableResponse CreateRouteTable(CreateRouteTableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRouteTableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a route table for the specified VPC. After you create a route table, you can /// add routes and associate the table with a subnet. /// /// /// /// For more information, see Route /// tables in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the CreateRouteTable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRouteTable service method, as returned by EC2. /// REST API Reference for CreateRouteTable Operation public virtual Task CreateRouteTableAsync(CreateRouteTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRouteTableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateSecurityGroup /// /// Creates a security group. /// /// /// /// A security group acts as a virtual firewall for your instance to control inbound and /// outbound traffic. For more information, see Amazon /// EC2 security groups in the Amazon Elastic Compute Cloud User Guide and /// Security /// groups for your VPC in the Amazon Virtual Private Cloud User Guide. /// /// /// /// When you create a security group, you specify a friendly name of your choice. You /// can't have two security groups for the same VPC with the same name. /// /// /// /// You have a default security group for use in your VPC. If you don't specify a security /// group when you launch an instance, the instance is launched into the appropriate default /// security group. A default security group includes a default rule that grants instances /// unrestricted network access to each other. /// /// /// /// You can add or remove rules from your security groups using AuthorizeSecurityGroupIngress, /// AuthorizeSecurityGroupEgress, RevokeSecurityGroupIngress, and RevokeSecurityGroupEgress. /// /// /// /// For more information about VPC security group limits, see Amazon /// VPC Limits. /// /// /// Container for the necessary parameters to execute the CreateSecurityGroup service method. /// /// The response from the CreateSecurityGroup service method, as returned by EC2. /// REST API Reference for CreateSecurityGroup Operation public virtual CreateSecurityGroupResponse CreateSecurityGroup(CreateSecurityGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSecurityGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSecurityGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a security group. /// /// /// /// A security group acts as a virtual firewall for your instance to control inbound and /// outbound traffic. For more information, see Amazon /// EC2 security groups in the Amazon Elastic Compute Cloud User Guide and /// Security /// groups for your VPC in the Amazon Virtual Private Cloud User Guide. /// /// /// /// When you create a security group, you specify a friendly name of your choice. You /// can't have two security groups for the same VPC with the same name. /// /// /// /// You have a default security group for use in your VPC. If you don't specify a security /// group when you launch an instance, the instance is launched into the appropriate default /// security group. A default security group includes a default rule that grants instances /// unrestricted network access to each other. /// /// /// /// You can add or remove rules from your security groups using AuthorizeSecurityGroupIngress, /// AuthorizeSecurityGroupEgress, RevokeSecurityGroupIngress, and RevokeSecurityGroupEgress. /// /// /// /// For more information about VPC security group limits, see Amazon /// VPC Limits. /// /// /// Container for the necessary parameters to execute the CreateSecurityGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSecurityGroup service method, as returned by EC2. /// REST API Reference for CreateSecurityGroup Operation public virtual Task CreateSecurityGroupAsync(CreateSecurityGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSecurityGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSecurityGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateSnapshot /// /// Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots /// for backups, to make copies of EBS volumes, and to save data before shutting down /// an instance. /// /// /// /// You can create snapshots of volumes in a Region and volumes on an Outpost. If you /// create a snapshot of a volume in a Region, the snapshot must be stored in the same /// Region as the volume. If you create a snapshot of a volume on an Outpost, the snapshot /// can be stored on the same Outpost as the volume, or in the Region for that Outpost. /// /// /// /// When a snapshot is created, any Amazon Web Services Marketplace product codes that /// are associated with the source volume are propagated to the snapshot. /// /// /// /// You can take a snapshot of an attached volume that is in use. However, snapshots only /// capture data that has been written to your Amazon EBS volume at the time the snapshot /// command is issued; this might exclude any data that has been cached by any applications /// or the operating system. If you can pause any file systems on the volume long enough /// to take a snapshot, your snapshot should be complete. However, if you cannot pause /// all file writes to the volume, you should unmount the volume from within the instance, /// issue the snapshot command, and then remount the volume to ensure a consistent and /// complete snapshot. You may remount and use your volume while the snapshot status is /// pending. /// /// /// /// When you create a snapshot for an EBS volume that serves as a root device, we recommend /// that you stop the instance before taking the snapshot. /// /// /// /// Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes /// that are created from encrypted snapshots are also automatically encrypted. Your encrypted /// volumes and any associated snapshots always remain protected. /// /// /// /// You can tag your snapshots during creation. For more information, see Tag /// your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// For more information, see Amazon /// Elastic Block Store and Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateSnapshot service method. /// /// The response from the CreateSnapshot service method, as returned by EC2. /// REST API Reference for CreateSnapshot Operation public virtual CreateSnapshotResponse CreateSnapshot(CreateSnapshotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSnapshotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSnapshotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots /// for backups, to make copies of EBS volumes, and to save data before shutting down /// an instance. /// /// /// /// You can create snapshots of volumes in a Region and volumes on an Outpost. If you /// create a snapshot of a volume in a Region, the snapshot must be stored in the same /// Region as the volume. If you create a snapshot of a volume on an Outpost, the snapshot /// can be stored on the same Outpost as the volume, or in the Region for that Outpost. /// /// /// /// When a snapshot is created, any Amazon Web Services Marketplace product codes that /// are associated with the source volume are propagated to the snapshot. /// /// /// /// You can take a snapshot of an attached volume that is in use. However, snapshots only /// capture data that has been written to your Amazon EBS volume at the time the snapshot /// command is issued; this might exclude any data that has been cached by any applications /// or the operating system. If you can pause any file systems on the volume long enough /// to take a snapshot, your snapshot should be complete. However, if you cannot pause /// all file writes to the volume, you should unmount the volume from within the instance, /// issue the snapshot command, and then remount the volume to ensure a consistent and /// complete snapshot. You may remount and use your volume while the snapshot status is /// pending. /// /// /// /// When you create a snapshot for an EBS volume that serves as a root device, we recommend /// that you stop the instance before taking the snapshot. /// /// /// /// Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes /// that are created from encrypted snapshots are also automatically encrypted. Your encrypted /// volumes and any associated snapshots always remain protected. /// /// /// /// You can tag your snapshots during creation. For more information, see Tag /// your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// For more information, see Amazon /// Elastic Block Store and Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateSnapshot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSnapshot service method, as returned by EC2. /// REST API Reference for CreateSnapshot Operation public virtual Task CreateSnapshotAsync(CreateSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSnapshotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSnapshotResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateSnapshots /// /// Creates crash-consistent snapshots of multiple EBS volumes and stores the data in /// S3. Volumes are chosen by specifying an instance. Any attached volumes will produce /// one snapshot each that is crash-consistent across the instance. /// /// /// /// You can include all of the volumes currently attached to the instance, or you can /// exclude the root volume or specific data (non-root) volumes from the multi-volume /// snapshot set. /// /// /// /// You can create multi-volume snapshots of instances in a Region and instances on an /// Outpost. If you create snapshots from an instance in a Region, the snapshots must /// be stored in the same Region as the instance. If you create snapshots from an instance /// on an Outpost, the snapshots can be stored on the same Outpost as the instance, or /// in the Region for that Outpost. /// /// /// Container for the necessary parameters to execute the CreateSnapshots service method. /// /// The response from the CreateSnapshots service method, as returned by EC2. /// REST API Reference for CreateSnapshots Operation public virtual CreateSnapshotsResponse CreateSnapshots(CreateSnapshotsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSnapshotsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSnapshotsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates crash-consistent snapshots of multiple EBS volumes and stores the data in /// S3. Volumes are chosen by specifying an instance. Any attached volumes will produce /// one snapshot each that is crash-consistent across the instance. /// /// /// /// You can include all of the volumes currently attached to the instance, or you can /// exclude the root volume or specific data (non-root) volumes from the multi-volume /// snapshot set. /// /// /// /// You can create multi-volume snapshots of instances in a Region and instances on an /// Outpost. If you create snapshots from an instance in a Region, the snapshots must /// be stored in the same Region as the instance. If you create snapshots from an instance /// on an Outpost, the snapshots can be stored on the same Outpost as the instance, or /// in the Region for that Outpost. /// /// /// Container for the necessary parameters to execute the CreateSnapshots service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSnapshots service method, as returned by EC2. /// REST API Reference for CreateSnapshots Operation public virtual Task CreateSnapshotsAsync(CreateSnapshotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSnapshotsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSnapshotsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateSpotDatafeedSubscription /// /// Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs. /// You can create one data feed per Amazon Web Services account. For more information, /// see Spot /// Instance data feed in the Amazon EC2 User Guide for Linux Instances. /// /// Container for the necessary parameters to execute the CreateSpotDatafeedSubscription service method. /// /// The response from the CreateSpotDatafeedSubscription service method, as returned by EC2. /// REST API Reference for CreateSpotDatafeedSubscription Operation public virtual CreateSpotDatafeedSubscriptionResponse CreateSpotDatafeedSubscription(CreateSpotDatafeedSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSpotDatafeedSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSpotDatafeedSubscriptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs. /// You can create one data feed per Amazon Web Services account. For more information, /// see Spot /// Instance data feed in the Amazon EC2 User Guide for Linux Instances. /// /// Container for the necessary parameters to execute the CreateSpotDatafeedSubscription service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSpotDatafeedSubscription service method, as returned by EC2. /// REST API Reference for CreateSpotDatafeedSubscription Operation public virtual Task CreateSpotDatafeedSubscriptionAsync(CreateSpotDatafeedSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSpotDatafeedSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSpotDatafeedSubscriptionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateStoreImageTask /// /// Stores an AMI as a single object in an Amazon S3 bucket. /// /// /// /// To use this API, you must have the required permissions. For more information, see /// Permissions /// for storing and restoring AMIs using Amazon S3 in the Amazon EC2 User Guide. /// /// /// /// For more information, see Store /// and restore an AMI using Amazon S3 in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreateStoreImageTask service method. /// /// The response from the CreateStoreImageTask service method, as returned by EC2. /// REST API Reference for CreateStoreImageTask Operation public virtual CreateStoreImageTaskResponse CreateStoreImageTask(CreateStoreImageTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStoreImageTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStoreImageTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Stores an AMI as a single object in an Amazon S3 bucket. /// /// /// /// To use this API, you must have the required permissions. For more information, see /// Permissions /// for storing and restoring AMIs using Amazon S3 in the Amazon EC2 User Guide. /// /// /// /// For more information, see Store /// and restore an AMI using Amazon S3 in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreateStoreImageTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateStoreImageTask service method, as returned by EC2. /// REST API Reference for CreateStoreImageTask Operation public virtual Task CreateStoreImageTaskAsync(CreateStoreImageTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStoreImageTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStoreImageTaskResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateSubnet /// /// Creates a subnet in the specified VPC. For an IPv4 only subnet, specify an IPv4 CIDR /// block. If the VPC has an IPv6 CIDR block, you can create an IPv6 only subnet or a /// dual stack subnet instead. For an IPv6 only subnet, specify an IPv6 CIDR block. For /// a dual stack subnet, specify both an IPv4 CIDR block and an IPv6 CIDR block. /// /// /// /// A subnet CIDR block must not overlap the CIDR block of an existing subnet in the VPC. /// After you create a subnet, you can't change its CIDR block. /// /// /// /// The allowed size for an IPv4 subnet is between a /28 netmask (16 IP addresses) and /// a /16 netmask (65,536 IP addresses). Amazon Web Services reserves both the first four /// and the last IPv4 address in each subnet's CIDR block. They're not available for your /// use. /// /// /// /// If you've associated an IPv6 CIDR block with your VPC, you can associate an IPv6 CIDR /// block with a subnet when you create it. The allowed block size for an IPv6 subnet /// is a /64 netmask. /// /// /// /// If you add more than one subnet to a VPC, they're set up in a star topology with a /// logical router in the middle. /// /// /// /// When you stop an instance in a subnet, it retains its private IPv4 address. It's therefore /// possible to have a subnet with no running instances (they're all stopped), but no /// remaining IP addresses available. /// /// /// /// For more information, see Subnets /// in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the CreateSubnet service method. /// /// The response from the CreateSubnet service method, as returned by EC2. /// REST API Reference for CreateSubnet Operation public virtual CreateSubnetResponse CreateSubnet(CreateSubnetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSubnetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSubnetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a subnet in the specified VPC. For an IPv4 only subnet, specify an IPv4 CIDR /// block. If the VPC has an IPv6 CIDR block, you can create an IPv6 only subnet or a /// dual stack subnet instead. For an IPv6 only subnet, specify an IPv6 CIDR block. For /// a dual stack subnet, specify both an IPv4 CIDR block and an IPv6 CIDR block. /// /// /// /// A subnet CIDR block must not overlap the CIDR block of an existing subnet in the VPC. /// After you create a subnet, you can't change its CIDR block. /// /// /// /// The allowed size for an IPv4 subnet is between a /28 netmask (16 IP addresses) and /// a /16 netmask (65,536 IP addresses). Amazon Web Services reserves both the first four /// and the last IPv4 address in each subnet's CIDR block. They're not available for your /// use. /// /// /// /// If you've associated an IPv6 CIDR block with your VPC, you can associate an IPv6 CIDR /// block with a subnet when you create it. The allowed block size for an IPv6 subnet /// is a /64 netmask. /// /// /// /// If you add more than one subnet to a VPC, they're set up in a star topology with a /// logical router in the middle. /// /// /// /// When you stop an instance in a subnet, it retains its private IPv4 address. It's therefore /// possible to have a subnet with no running instances (they're all stopped), but no /// remaining IP addresses available. /// /// /// /// For more information, see Subnets /// in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the CreateSubnet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSubnet service method, as returned by EC2. /// REST API Reference for CreateSubnet Operation public virtual Task CreateSubnetAsync(CreateSubnetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSubnetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSubnetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateSubnetCidrReservation /// /// Creates a subnet CIDR reservation. For information about subnet CIDR reservations, /// see Subnet /// CIDR reservations in the Amazon Virtual Private Cloud User Guide. /// /// Container for the necessary parameters to execute the CreateSubnetCidrReservation service method. /// /// The response from the CreateSubnetCidrReservation service method, as returned by EC2. /// REST API Reference for CreateSubnetCidrReservation Operation public virtual CreateSubnetCidrReservationResponse CreateSubnetCidrReservation(CreateSubnetCidrReservationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSubnetCidrReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSubnetCidrReservationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a subnet CIDR reservation. For information about subnet CIDR reservations, /// see Subnet /// CIDR reservations in the Amazon Virtual Private Cloud User Guide. /// /// Container for the necessary parameters to execute the CreateSubnetCidrReservation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSubnetCidrReservation service method, as returned by EC2. /// REST API Reference for CreateSubnetCidrReservation Operation public virtual Task CreateSubnetCidrReservationAsync(CreateSubnetCidrReservationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSubnetCidrReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSubnetCidrReservationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTags /// /// Adds or overwrites only the specified tags for the specified Amazon EC2 resource or /// resources. When you specify an existing tag key, the value is overwritten with the /// new value. Each resource can have a maximum of 50 tags. Each tag consists of a key /// and optional value. Tag keys must be unique per resource. /// /// /// /// For more information about tags, see Tag /// your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide. /// For more information about creating IAM policies that control users' access to resources /// based on tags, see Supported /// resource-level permissions for Amazon EC2 API actions in the Amazon Elastic /// Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateTags service method. /// /// The response from the CreateTags service method, as returned by EC2. /// REST API Reference for CreateTags Operation public virtual CreateTagsResponse CreateTags(CreateTagsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTagsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds or overwrites only the specified tags for the specified Amazon EC2 resource or /// resources. When you specify an existing tag key, the value is overwritten with the /// new value. Each resource can have a maximum of 50 tags. Each tag consists of a key /// and optional value. Tag keys must be unique per resource. /// /// /// /// For more information about tags, see Tag /// your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide. /// For more information about creating IAM policies that control users' access to resources /// based on tags, see Supported /// resource-level permissions for Amazon EC2 API actions in the Amazon Elastic /// Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTags service method, as returned by EC2. /// REST API Reference for CreateTags Operation public virtual Task CreateTagsAsync(CreateTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTagsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTrafficMirrorFilter /// /// Creates a Traffic Mirror filter. /// /// /// /// A Traffic Mirror filter is a set of rules that defines the traffic to mirror. /// /// /// /// By default, no traffic is mirrored. To mirror traffic, use CreateTrafficMirrorFilterRule /// to add Traffic Mirror rules to the filter. The rules you add define what traffic gets /// mirrored. You can also use ModifyTrafficMirrorFilterNetworkServices /// to mirror supported network services. /// /// /// Container for the necessary parameters to execute the CreateTrafficMirrorFilter service method. /// /// The response from the CreateTrafficMirrorFilter service method, as returned by EC2. /// REST API Reference for CreateTrafficMirrorFilter Operation public virtual CreateTrafficMirrorFilterResponse CreateTrafficMirrorFilter(CreateTrafficMirrorFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTrafficMirrorFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTrafficMirrorFilterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Traffic Mirror filter. /// /// /// /// A Traffic Mirror filter is a set of rules that defines the traffic to mirror. /// /// /// /// By default, no traffic is mirrored. To mirror traffic, use CreateTrafficMirrorFilterRule /// to add Traffic Mirror rules to the filter. The rules you add define what traffic gets /// mirrored. You can also use ModifyTrafficMirrorFilterNetworkServices /// to mirror supported network services. /// /// /// Container for the necessary parameters to execute the CreateTrafficMirrorFilter service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTrafficMirrorFilter service method, as returned by EC2. /// REST API Reference for CreateTrafficMirrorFilter Operation public virtual Task CreateTrafficMirrorFilterAsync(CreateTrafficMirrorFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTrafficMirrorFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTrafficMirrorFilterResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTrafficMirrorFilterRule /// /// Creates a Traffic Mirror filter rule. /// /// /// /// A Traffic Mirror rule defines the Traffic Mirror source traffic to mirror. /// /// /// /// You need the Traffic Mirror filter ID when you create the rule. /// /// /// Container for the necessary parameters to execute the CreateTrafficMirrorFilterRule service method. /// /// The response from the CreateTrafficMirrorFilterRule service method, as returned by EC2. /// REST API Reference for CreateTrafficMirrorFilterRule Operation public virtual CreateTrafficMirrorFilterRuleResponse CreateTrafficMirrorFilterRule(CreateTrafficMirrorFilterRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTrafficMirrorFilterRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTrafficMirrorFilterRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Traffic Mirror filter rule. /// /// /// /// A Traffic Mirror rule defines the Traffic Mirror source traffic to mirror. /// /// /// /// You need the Traffic Mirror filter ID when you create the rule. /// /// /// Container for the necessary parameters to execute the CreateTrafficMirrorFilterRule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTrafficMirrorFilterRule service method, as returned by EC2. /// REST API Reference for CreateTrafficMirrorFilterRule Operation public virtual Task CreateTrafficMirrorFilterRuleAsync(CreateTrafficMirrorFilterRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTrafficMirrorFilterRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTrafficMirrorFilterRuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTrafficMirrorSession /// /// Creates a Traffic Mirror session. /// /// /// /// A Traffic Mirror session actively copies packets from a Traffic Mirror source to a /// Traffic Mirror target. Create a filter, and then assign it to the session to define /// a subset of the traffic to mirror, for example all TCP traffic. /// /// /// /// The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can /// be in the same VPC, or in a different VPC connected via VPC peering or a transit gateway. /// /// /// /// /// By default, no traffic is mirrored. Use CreateTrafficMirrorFilter /// to create filter rules that specify the traffic to mirror. /// /// /// Container for the necessary parameters to execute the CreateTrafficMirrorSession service method. /// /// The response from the CreateTrafficMirrorSession service method, as returned by EC2. /// REST API Reference for CreateTrafficMirrorSession Operation public virtual CreateTrafficMirrorSessionResponse CreateTrafficMirrorSession(CreateTrafficMirrorSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTrafficMirrorSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTrafficMirrorSessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Traffic Mirror session. /// /// /// /// A Traffic Mirror session actively copies packets from a Traffic Mirror source to a /// Traffic Mirror target. Create a filter, and then assign it to the session to define /// a subset of the traffic to mirror, for example all TCP traffic. /// /// /// /// The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can /// be in the same VPC, or in a different VPC connected via VPC peering or a transit gateway. /// /// /// /// /// By default, no traffic is mirrored. Use CreateTrafficMirrorFilter /// to create filter rules that specify the traffic to mirror. /// /// /// Container for the necessary parameters to execute the CreateTrafficMirrorSession service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTrafficMirrorSession service method, as returned by EC2. /// REST API Reference for CreateTrafficMirrorSession Operation public virtual Task CreateTrafficMirrorSessionAsync(CreateTrafficMirrorSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTrafficMirrorSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTrafficMirrorSessionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTrafficMirrorTarget /// /// Creates a target for your Traffic Mirror session. /// /// /// /// A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror /// source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, /// or in different VPCs connected via VPC peering or a transit gateway. /// /// /// /// A Traffic Mirror target can be a network interface, a Network Load Balancer, or a /// Gateway Load Balancer endpoint. /// /// /// /// To use the target in a Traffic Mirror session, use CreateTrafficMirrorSession. /// /// /// Container for the necessary parameters to execute the CreateTrafficMirrorTarget service method. /// /// The response from the CreateTrafficMirrorTarget service method, as returned by EC2. /// REST API Reference for CreateTrafficMirrorTarget Operation public virtual CreateTrafficMirrorTargetResponse CreateTrafficMirrorTarget(CreateTrafficMirrorTargetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTrafficMirrorTargetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTrafficMirrorTargetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a target for your Traffic Mirror session. /// /// /// /// A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror /// source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, /// or in different VPCs connected via VPC peering or a transit gateway. /// /// /// /// A Traffic Mirror target can be a network interface, a Network Load Balancer, or a /// Gateway Load Balancer endpoint. /// /// /// /// To use the target in a Traffic Mirror session, use CreateTrafficMirrorSession. /// /// /// Container for the necessary parameters to execute the CreateTrafficMirrorTarget service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTrafficMirrorTarget service method, as returned by EC2. /// REST API Reference for CreateTrafficMirrorTarget Operation public virtual Task CreateTrafficMirrorTargetAsync(CreateTrafficMirrorTargetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTrafficMirrorTargetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTrafficMirrorTargetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTransitGateway /// /// Creates a transit gateway. /// /// /// /// You can use a transit gateway to interconnect your virtual private clouds (VPC) and /// on-premises networks. After the transit gateway enters the available /// state, you can attach your VPCs and VPN connections to the transit gateway. /// /// /// /// To attach your VPCs, use CreateTransitGatewayVpcAttachment. /// /// /// /// To attach a VPN connection, use CreateCustomerGateway to create a customer /// gateway and specify the ID of the customer gateway and the ID of the transit gateway /// in a call to CreateVpnConnection. /// /// /// /// When you create a transit gateway, we create a default transit gateway route table /// and use it as the default association route table and the default propagation route /// table. You can use CreateTransitGatewayRouteTable to create additional transit /// gateway route tables. If you disable automatic route propagation, we do not create /// a default transit gateway route table. You can use EnableTransitGatewayRouteTablePropagation /// to propagate routes from a resource attachment to a transit gateway route table. If /// you disable automatic associations, you can use AssociateTransitGatewayRouteTable /// to associate a resource attachment with a transit gateway route table. /// /// /// Container for the necessary parameters to execute the CreateTransitGateway service method. /// /// The response from the CreateTransitGateway service method, as returned by EC2. /// REST API Reference for CreateTransitGateway Operation public virtual CreateTransitGatewayResponse CreateTransitGateway(CreateTransitGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a transit gateway. /// /// /// /// You can use a transit gateway to interconnect your virtual private clouds (VPC) and /// on-premises networks. After the transit gateway enters the available /// state, you can attach your VPCs and VPN connections to the transit gateway. /// /// /// /// To attach your VPCs, use CreateTransitGatewayVpcAttachment. /// /// /// /// To attach a VPN connection, use CreateCustomerGateway to create a customer /// gateway and specify the ID of the customer gateway and the ID of the transit gateway /// in a call to CreateVpnConnection. /// /// /// /// When you create a transit gateway, we create a default transit gateway route table /// and use it as the default association route table and the default propagation route /// table. You can use CreateTransitGatewayRouteTable to create additional transit /// gateway route tables. If you disable automatic route propagation, we do not create /// a default transit gateway route table. You can use EnableTransitGatewayRouteTablePropagation /// to propagate routes from a resource attachment to a transit gateway route table. If /// you disable automatic associations, you can use AssociateTransitGatewayRouteTable /// to associate a resource attachment with a transit gateway route table. /// /// /// Container for the necessary parameters to execute the CreateTransitGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTransitGateway service method, as returned by EC2. /// REST API Reference for CreateTransitGateway Operation public virtual Task CreateTransitGatewayAsync(CreateTransitGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTransitGatewayConnect /// /// Creates a Connect attachment from a specified transit gateway attachment. A Connect /// attachment is a GRE-based tunnel attachment that you can use to establish a connection /// between a transit gateway and an appliance. /// /// /// /// A Connect attachment uses an existing VPC or Amazon Web Services Direct Connect attachment /// as the underlying transport mechanism. /// /// /// Container for the necessary parameters to execute the CreateTransitGatewayConnect service method. /// /// The response from the CreateTransitGatewayConnect service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayConnect Operation public virtual CreateTransitGatewayConnectResponse CreateTransitGatewayConnect(CreateTransitGatewayConnectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayConnectRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayConnectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Connect attachment from a specified transit gateway attachment. A Connect /// attachment is a GRE-based tunnel attachment that you can use to establish a connection /// between a transit gateway and an appliance. /// /// /// /// A Connect attachment uses an existing VPC or Amazon Web Services Direct Connect attachment /// as the underlying transport mechanism. /// /// /// Container for the necessary parameters to execute the CreateTransitGatewayConnect service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTransitGatewayConnect service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayConnect Operation public virtual Task CreateTransitGatewayConnectAsync(CreateTransitGatewayConnectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayConnectRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayConnectResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTransitGatewayConnectPeer /// /// Creates a Connect peer for a specified transit gateway Connect attachment between /// a transit gateway and an appliance. /// /// /// /// The peer address and transit gateway address must be the same IP address family (IPv4 /// or IPv6). /// /// /// /// For more information, see Connect /// peers in the Transit Gateways Guide. /// /// /// Container for the necessary parameters to execute the CreateTransitGatewayConnectPeer service method. /// /// The response from the CreateTransitGatewayConnectPeer service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayConnectPeer Operation public virtual CreateTransitGatewayConnectPeerResponse CreateTransitGatewayConnectPeer(CreateTransitGatewayConnectPeerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayConnectPeerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Connect peer for a specified transit gateway Connect attachment between /// a transit gateway and an appliance. /// /// /// /// The peer address and transit gateway address must be the same IP address family (IPv4 /// or IPv6). /// /// /// /// For more information, see Connect /// peers in the Transit Gateways Guide. /// /// /// Container for the necessary parameters to execute the CreateTransitGatewayConnectPeer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTransitGatewayConnectPeer service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayConnectPeer Operation public virtual Task CreateTransitGatewayConnectPeerAsync(CreateTransitGatewayConnectPeerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayConnectPeerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTransitGatewayMulticastDomain /// /// Creates a multicast domain using the specified transit gateway. /// /// /// /// The transit gateway must be in the available state before you create a domain. Use /// DescribeTransitGateways /// to see the state of transit gateway. /// /// /// Container for the necessary parameters to execute the CreateTransitGatewayMulticastDomain service method. /// /// The response from the CreateTransitGatewayMulticastDomain service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayMulticastDomain Operation public virtual CreateTransitGatewayMulticastDomainResponse CreateTransitGatewayMulticastDomain(CreateTransitGatewayMulticastDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayMulticastDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayMulticastDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a multicast domain using the specified transit gateway. /// /// /// /// The transit gateway must be in the available state before you create a domain. Use /// DescribeTransitGateways /// to see the state of transit gateway. /// /// /// Container for the necessary parameters to execute the CreateTransitGatewayMulticastDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTransitGatewayMulticastDomain service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayMulticastDomain Operation public virtual Task CreateTransitGatewayMulticastDomainAsync(CreateTransitGatewayMulticastDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayMulticastDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayMulticastDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTransitGatewayPeeringAttachment /// /// Requests a transit gateway peering attachment between the specified transit gateway /// (requester) and a peer transit gateway (accepter). The peer transit gateway can be /// in your account or a different Amazon Web Services account. /// /// /// /// After you create the peering attachment, the owner of the accepter transit gateway /// must accept the attachment request. /// /// /// Container for the necessary parameters to execute the CreateTransitGatewayPeeringAttachment service method. /// /// The response from the CreateTransitGatewayPeeringAttachment service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayPeeringAttachment Operation public virtual CreateTransitGatewayPeeringAttachmentResponse CreateTransitGatewayPeeringAttachment(CreateTransitGatewayPeeringAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayPeeringAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayPeeringAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Requests a transit gateway peering attachment between the specified transit gateway /// (requester) and a peer transit gateway (accepter). The peer transit gateway can be /// in your account or a different Amazon Web Services account. /// /// /// /// After you create the peering attachment, the owner of the accepter transit gateway /// must accept the attachment request. /// /// /// Container for the necessary parameters to execute the CreateTransitGatewayPeeringAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTransitGatewayPeeringAttachment service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayPeeringAttachment Operation public virtual Task CreateTransitGatewayPeeringAttachmentAsync(CreateTransitGatewayPeeringAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayPeeringAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayPeeringAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTransitGatewayPolicyTable /// /// Creates a transit gateway policy table. /// /// Container for the necessary parameters to execute the CreateTransitGatewayPolicyTable service method. /// /// The response from the CreateTransitGatewayPolicyTable service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayPolicyTable Operation public virtual CreateTransitGatewayPolicyTableResponse CreateTransitGatewayPolicyTable(CreateTransitGatewayPolicyTableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayPolicyTableRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayPolicyTableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a transit gateway policy table. /// /// Container for the necessary parameters to execute the CreateTransitGatewayPolicyTable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTransitGatewayPolicyTable service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayPolicyTable Operation public virtual Task CreateTransitGatewayPolicyTableAsync(CreateTransitGatewayPolicyTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayPolicyTableRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayPolicyTableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTransitGatewayPrefixListReference /// /// Creates a reference (route) to a prefix list in a specified transit gateway route /// table. /// /// Container for the necessary parameters to execute the CreateTransitGatewayPrefixListReference service method. /// /// The response from the CreateTransitGatewayPrefixListReference service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayPrefixListReference Operation public virtual CreateTransitGatewayPrefixListReferenceResponse CreateTransitGatewayPrefixListReference(CreateTransitGatewayPrefixListReferenceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayPrefixListReferenceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayPrefixListReferenceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a reference (route) to a prefix list in a specified transit gateway route /// table. /// /// Container for the necessary parameters to execute the CreateTransitGatewayPrefixListReference service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTransitGatewayPrefixListReference service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayPrefixListReference Operation public virtual Task CreateTransitGatewayPrefixListReferenceAsync(CreateTransitGatewayPrefixListReferenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayPrefixListReferenceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayPrefixListReferenceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTransitGatewayRoute /// /// Creates a static route for the specified transit gateway route table. /// /// Container for the necessary parameters to execute the CreateTransitGatewayRoute service method. /// /// The response from the CreateTransitGatewayRoute service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayRoute Operation public virtual CreateTransitGatewayRouteResponse CreateTransitGatewayRoute(CreateTransitGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a static route for the specified transit gateway route table. /// /// Container for the necessary parameters to execute the CreateTransitGatewayRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTransitGatewayRoute service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayRoute Operation public virtual Task CreateTransitGatewayRouteAsync(CreateTransitGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTransitGatewayRouteTable /// /// Creates a route table for the specified transit gateway. /// /// Container for the necessary parameters to execute the CreateTransitGatewayRouteTable service method. /// /// The response from the CreateTransitGatewayRouteTable service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayRouteTable Operation public virtual CreateTransitGatewayRouteTableResponse CreateTransitGatewayRouteTable(CreateTransitGatewayRouteTableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayRouteTableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a route table for the specified transit gateway. /// /// Container for the necessary parameters to execute the CreateTransitGatewayRouteTable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTransitGatewayRouteTable service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayRouteTable Operation public virtual Task CreateTransitGatewayRouteTableAsync(CreateTransitGatewayRouteTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayRouteTableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTransitGatewayRouteTableAnnouncement /// /// Advertises a new transit gateway route table. /// /// Container for the necessary parameters to execute the CreateTransitGatewayRouteTableAnnouncement service method. /// /// The response from the CreateTransitGatewayRouteTableAnnouncement service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayRouteTableAnnouncement Operation public virtual CreateTransitGatewayRouteTableAnnouncementResponse CreateTransitGatewayRouteTableAnnouncement(CreateTransitGatewayRouteTableAnnouncementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayRouteTableAnnouncementRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayRouteTableAnnouncementResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Advertises a new transit gateway route table. /// /// Container for the necessary parameters to execute the CreateTransitGatewayRouteTableAnnouncement service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTransitGatewayRouteTableAnnouncement service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayRouteTableAnnouncement Operation public virtual Task CreateTransitGatewayRouteTableAnnouncementAsync(CreateTransitGatewayRouteTableAnnouncementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayRouteTableAnnouncementRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayRouteTableAnnouncementResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTransitGatewayVpcAttachment /// /// Attaches the specified VPC to the specified transit gateway. /// /// /// /// If you attach a VPC with a CIDR range that overlaps the CIDR range of a VPC that is /// already attached, the new VPC CIDR range is not propagated to the default propagation /// route table. /// /// /// /// To send VPC traffic to an attached transit gateway, add a route to the VPC route table /// using CreateRoute. /// /// /// Container for the necessary parameters to execute the CreateTransitGatewayVpcAttachment service method. /// /// The response from the CreateTransitGatewayVpcAttachment service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayVpcAttachment Operation public virtual CreateTransitGatewayVpcAttachmentResponse CreateTransitGatewayVpcAttachment(CreateTransitGatewayVpcAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayVpcAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Attaches the specified VPC to the specified transit gateway. /// /// /// /// If you attach a VPC with a CIDR range that overlaps the CIDR range of a VPC that is /// already attached, the new VPC CIDR range is not propagated to the default propagation /// route table. /// /// /// /// To send VPC traffic to an attached transit gateway, add a route to the VPC route table /// using CreateRoute. /// /// /// Container for the necessary parameters to execute the CreateTransitGatewayVpcAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTransitGatewayVpcAttachment service method, as returned by EC2. /// REST API Reference for CreateTransitGatewayVpcAttachment Operation public virtual Task CreateTransitGatewayVpcAttachmentAsync(CreateTransitGatewayVpcAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTransitGatewayVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTransitGatewayVpcAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVerifiedAccessEndpoint /// /// An Amazon Web Services Verified Access endpoint is where you define your application /// along with an optional endpoint-level access policy. /// /// Container for the necessary parameters to execute the CreateVerifiedAccessEndpoint service method. /// /// The response from the CreateVerifiedAccessEndpoint service method, as returned by EC2. /// REST API Reference for CreateVerifiedAccessEndpoint Operation public virtual CreateVerifiedAccessEndpointResponse CreateVerifiedAccessEndpoint(CreateVerifiedAccessEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVerifiedAccessEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVerifiedAccessEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// An Amazon Web Services Verified Access endpoint is where you define your application /// along with an optional endpoint-level access policy. /// /// Container for the necessary parameters to execute the CreateVerifiedAccessEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVerifiedAccessEndpoint service method, as returned by EC2. /// REST API Reference for CreateVerifiedAccessEndpoint Operation public virtual Task CreateVerifiedAccessEndpointAsync(CreateVerifiedAccessEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVerifiedAccessEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVerifiedAccessEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVerifiedAccessGroup /// /// An Amazon Web Services Verified Access group is a collection of Amazon Web Services /// Verified Access endpoints who's associated applications have similar security requirements. /// Each instance within a Verified Access group shares an Verified Access policy. For /// example, you can group all Verified Access instances associated with "sales" applications /// together and use one common Verified Access policy. /// /// Container for the necessary parameters to execute the CreateVerifiedAccessGroup service method. /// /// The response from the CreateVerifiedAccessGroup service method, as returned by EC2. /// REST API Reference for CreateVerifiedAccessGroup Operation public virtual CreateVerifiedAccessGroupResponse CreateVerifiedAccessGroup(CreateVerifiedAccessGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVerifiedAccessGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVerifiedAccessGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// An Amazon Web Services Verified Access group is a collection of Amazon Web Services /// Verified Access endpoints who's associated applications have similar security requirements. /// Each instance within a Verified Access group shares an Verified Access policy. For /// example, you can group all Verified Access instances associated with "sales" applications /// together and use one common Verified Access policy. /// /// Container for the necessary parameters to execute the CreateVerifiedAccessGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVerifiedAccessGroup service method, as returned by EC2. /// REST API Reference for CreateVerifiedAccessGroup Operation public virtual Task CreateVerifiedAccessGroupAsync(CreateVerifiedAccessGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVerifiedAccessGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVerifiedAccessGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVerifiedAccessInstance /// /// An Amazon Web Services Verified Access instance is a regional entity that evaluates /// application requests and grants access only when your security requirements are met. /// /// Container for the necessary parameters to execute the CreateVerifiedAccessInstance service method. /// /// The response from the CreateVerifiedAccessInstance service method, as returned by EC2. /// REST API Reference for CreateVerifiedAccessInstance Operation public virtual CreateVerifiedAccessInstanceResponse CreateVerifiedAccessInstance(CreateVerifiedAccessInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVerifiedAccessInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVerifiedAccessInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// An Amazon Web Services Verified Access instance is a regional entity that evaluates /// application requests and grants access only when your security requirements are met. /// /// Container for the necessary parameters to execute the CreateVerifiedAccessInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVerifiedAccessInstance service method, as returned by EC2. /// REST API Reference for CreateVerifiedAccessInstance Operation public virtual Task CreateVerifiedAccessInstanceAsync(CreateVerifiedAccessInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVerifiedAccessInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVerifiedAccessInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVerifiedAccessTrustProvider /// /// A trust provider is a third-party entity that creates, maintains, and manages identity /// information for users and devices. When an application request is made, the identity /// information sent by the trust provider is evaluated by Verified Access before allowing /// or denying the application request. /// /// Container for the necessary parameters to execute the CreateVerifiedAccessTrustProvider service method. /// /// The response from the CreateVerifiedAccessTrustProvider service method, as returned by EC2. /// REST API Reference for CreateVerifiedAccessTrustProvider Operation public virtual CreateVerifiedAccessTrustProviderResponse CreateVerifiedAccessTrustProvider(CreateVerifiedAccessTrustProviderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVerifiedAccessTrustProviderRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVerifiedAccessTrustProviderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// A trust provider is a third-party entity that creates, maintains, and manages identity /// information for users and devices. When an application request is made, the identity /// information sent by the trust provider is evaluated by Verified Access before allowing /// or denying the application request. /// /// Container for the necessary parameters to execute the CreateVerifiedAccessTrustProvider service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVerifiedAccessTrustProvider service method, as returned by EC2. /// REST API Reference for CreateVerifiedAccessTrustProvider Operation public virtual Task CreateVerifiedAccessTrustProviderAsync(CreateVerifiedAccessTrustProviderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVerifiedAccessTrustProviderRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVerifiedAccessTrustProviderResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVolume /// /// Creates an EBS volume that can be attached to an instance in the same Availability /// Zone. /// /// /// /// You can create a new empty volume or restore a volume from an EBS snapshot. Any Amazon /// Web Services Marketplace product codes from the snapshot are propagated to the volume. /// /// /// /// You can create encrypted volumes. Encrypted volumes must be attached to instances /// that support Amazon EBS encryption. Volumes that are created from encrypted snapshots /// are also automatically encrypted. For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// You can tag your volumes during creation. For more information, see Tag /// your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// For more information, see Create /// an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateVolume service method. /// /// The response from the CreateVolume service method, as returned by EC2. /// REST API Reference for CreateVolume Operation public virtual CreateVolumeResponse CreateVolume(CreateVolumeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVolumeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVolumeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an EBS volume that can be attached to an instance in the same Availability /// Zone. /// /// /// /// You can create a new empty volume or restore a volume from an EBS snapshot. Any Amazon /// Web Services Marketplace product codes from the snapshot are propagated to the volume. /// /// /// /// You can create encrypted volumes. Encrypted volumes must be attached to instances /// that support Amazon EBS encryption. Volumes that are created from encrypted snapshots /// are also automatically encrypted. For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// You can tag your volumes during creation. For more information, see Tag /// your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// For more information, see Create /// an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the CreateVolume service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVolume service method, as returned by EC2. /// REST API Reference for CreateVolume Operation public virtual Task CreateVolumeAsync(CreateVolumeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVolumeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVolumeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVpc /// /// Creates a VPC with the specified CIDR blocks. For more information, see IP /// addressing for your VPCs and subnets in the Amazon VPC User Guide. /// /// /// /// You can optionally request an IPv6 CIDR block for the VPC. You can request an Amazon-provided /// IPv6 CIDR block from Amazon's pool of IPv6 addresses, or an IPv6 CIDR block from an /// IPv6 address pool that you provisioned through bring your own IP addresses (BYOIP). /// /// /// /// By default, each instance that you launch in the VPC has the default DHCP options, /// which include only a default DNS server that we provide (AmazonProvidedDNS). For more /// information, see DHCP /// option sets in the Amazon VPC User Guide. /// /// /// /// You can specify the instance tenancy value for the VPC when you create it. You can't /// change this value for the VPC after you create it. For more information, see Dedicated /// Instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreateVpc service method. /// /// The response from the CreateVpc service method, as returned by EC2. /// REST API Reference for CreateVpc Operation public virtual CreateVpcResponse CreateVpc(CreateVpcRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a VPC with the specified CIDR blocks. For more information, see IP /// addressing for your VPCs and subnets in the Amazon VPC User Guide. /// /// /// /// You can optionally request an IPv6 CIDR block for the VPC. You can request an Amazon-provided /// IPv6 CIDR block from Amazon's pool of IPv6 addresses, or an IPv6 CIDR block from an /// IPv6 address pool that you provisioned through bring your own IP addresses (BYOIP). /// /// /// /// By default, each instance that you launch in the VPC has the default DHCP options, /// which include only a default DNS server that we provide (AmazonProvidedDNS). For more /// information, see DHCP /// option sets in the Amazon VPC User Guide. /// /// /// /// You can specify the instance tenancy value for the VPC when you create it. You can't /// change this value for the VPC after you create it. For more information, see Dedicated /// Instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the CreateVpc service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVpc service method, as returned by EC2. /// REST API Reference for CreateVpc Operation public virtual Task CreateVpcAsync(CreateVpcRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVpcEndpoint /// /// Creates a VPC endpoint. A VPC endpoint provides a private connection between the specified /// VPC and the specified endpoint service. You can use an endpoint service provided by /// Amazon Web Services, an Amazon Web Services Marketplace Partner, or another Amazon /// Web Services account. For more information, see the Amazon /// Web Services PrivateLink User Guide. /// /// Container for the necessary parameters to execute the CreateVpcEndpoint service method. /// /// The response from the CreateVpcEndpoint service method, as returned by EC2. /// REST API Reference for CreateVpcEndpoint Operation public virtual CreateVpcEndpointResponse CreateVpcEndpoint(CreateVpcEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a VPC endpoint. A VPC endpoint provides a private connection between the specified /// VPC and the specified endpoint service. You can use an endpoint service provided by /// Amazon Web Services, an Amazon Web Services Marketplace Partner, or another Amazon /// Web Services account. For more information, see the Amazon /// Web Services PrivateLink User Guide. /// /// Container for the necessary parameters to execute the CreateVpcEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVpcEndpoint service method, as returned by EC2. /// REST API Reference for CreateVpcEndpoint Operation public virtual Task CreateVpcEndpointAsync(CreateVpcEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVpcEndpointConnectionNotification /// /// Creates a connection notification for a specified VPC endpoint or VPC endpoint service. /// A connection notification notifies you of specific endpoint events. You must create /// an SNS topic to receive notifications. For more information, see Create /// a Topic in the Amazon Simple Notification Service Developer Guide. /// /// /// /// You can create a connection notification for interface endpoints only. /// /// /// Container for the necessary parameters to execute the CreateVpcEndpointConnectionNotification service method. /// /// The response from the CreateVpcEndpointConnectionNotification service method, as returned by EC2. /// REST API Reference for CreateVpcEndpointConnectionNotification Operation public virtual CreateVpcEndpointConnectionNotificationResponse CreateVpcEndpointConnectionNotification(CreateVpcEndpointConnectionNotificationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcEndpointConnectionNotificationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcEndpointConnectionNotificationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a connection notification for a specified VPC endpoint or VPC endpoint service. /// A connection notification notifies you of specific endpoint events. You must create /// an SNS topic to receive notifications. For more information, see Create /// a Topic in the Amazon Simple Notification Service Developer Guide. /// /// /// /// You can create a connection notification for interface endpoints only. /// /// /// Container for the necessary parameters to execute the CreateVpcEndpointConnectionNotification service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVpcEndpointConnectionNotification service method, as returned by EC2. /// REST API Reference for CreateVpcEndpointConnectionNotification Operation public virtual Task CreateVpcEndpointConnectionNotificationAsync(CreateVpcEndpointConnectionNotificationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcEndpointConnectionNotificationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcEndpointConnectionNotificationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVpcEndpointServiceConfiguration /// /// Creates a VPC endpoint service to which service consumers (Amazon Web Services accounts, /// users, and IAM roles) can connect. /// /// /// /// Before you create an endpoint service, you must create one of the following for your /// service: /// /// /// /// If you set the private DNS name, you must prove that you own the private DNS domain /// name. /// /// /// /// For more information, see the Amazon /// Web Services PrivateLink Guide. /// /// /// Container for the necessary parameters to execute the CreateVpcEndpointServiceConfiguration service method. /// /// The response from the CreateVpcEndpointServiceConfiguration service method, as returned by EC2. /// REST API Reference for CreateVpcEndpointServiceConfiguration Operation public virtual CreateVpcEndpointServiceConfigurationResponse CreateVpcEndpointServiceConfiguration(CreateVpcEndpointServiceConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcEndpointServiceConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcEndpointServiceConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a VPC endpoint service to which service consumers (Amazon Web Services accounts, /// users, and IAM roles) can connect. /// /// /// /// Before you create an endpoint service, you must create one of the following for your /// service: /// /// /// /// If you set the private DNS name, you must prove that you own the private DNS domain /// name. /// /// /// /// For more information, see the Amazon /// Web Services PrivateLink Guide. /// /// /// Container for the necessary parameters to execute the CreateVpcEndpointServiceConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVpcEndpointServiceConfiguration service method, as returned by EC2. /// REST API Reference for CreateVpcEndpointServiceConfiguration Operation public virtual Task CreateVpcEndpointServiceConfigurationAsync(CreateVpcEndpointServiceConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcEndpointServiceConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcEndpointServiceConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVpcPeeringConnection /// /// Requests a VPC peering connection between two VPCs: a requester VPC that you own and /// an accepter VPC with which to create the connection. The accepter VPC can belong to /// another Amazon Web Services account and can be in a different Region to the requester /// VPC. The requester VPC and accepter VPC cannot have overlapping CIDR blocks. /// /// /// /// Limitations and rules apply to a VPC peering connection. For more information, see /// the limitations /// section in the VPC Peering Guide. /// /// /// /// The owner of the accepter VPC must accept the peering request to activate the peering /// connection. The VPC peering connection request expires after 7 days, after which it /// cannot be accepted or rejected. /// /// /// /// If you create a VPC peering connection request between VPCs with overlapping CIDR /// blocks, the VPC peering connection has a status of failed. /// /// /// Container for the necessary parameters to execute the CreateVpcPeeringConnection service method. /// /// The response from the CreateVpcPeeringConnection service method, as returned by EC2. /// REST API Reference for CreateVpcPeeringConnection Operation public virtual CreateVpcPeeringConnectionResponse CreateVpcPeeringConnection(CreateVpcPeeringConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcPeeringConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcPeeringConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Requests a VPC peering connection between two VPCs: a requester VPC that you own and /// an accepter VPC with which to create the connection. The accepter VPC can belong to /// another Amazon Web Services account and can be in a different Region to the requester /// VPC. The requester VPC and accepter VPC cannot have overlapping CIDR blocks. /// /// /// /// Limitations and rules apply to a VPC peering connection. For more information, see /// the limitations /// section in the VPC Peering Guide. /// /// /// /// The owner of the accepter VPC must accept the peering request to activate the peering /// connection. The VPC peering connection request expires after 7 days, after which it /// cannot be accepted or rejected. /// /// /// /// If you create a VPC peering connection request between VPCs with overlapping CIDR /// blocks, the VPC peering connection has a status of failed. /// /// /// Container for the necessary parameters to execute the CreateVpcPeeringConnection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVpcPeeringConnection service method, as returned by EC2. /// REST API Reference for CreateVpcPeeringConnection Operation public virtual Task CreateVpcPeeringConnectionAsync(CreateVpcPeeringConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcPeeringConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcPeeringConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVpnConnection /// /// Creates a VPN connection between an existing virtual private gateway or transit gateway /// and a customer gateway. The supported connection type is ipsec.1. /// /// /// /// The response includes information that you need to give to your network administrator /// to configure your customer gateway. /// /// /// /// We strongly recommend that you use HTTPS when calling this operation because the response /// contains sensitive cryptographic information for configuring your customer gateway /// device. /// /// /// /// If you decide to shut down your VPN connection for any reason and later create a new /// VPN connection, you must reconfigure your customer gateway with the new information /// returned from this call. /// /// /// /// This is an idempotent operation. If you perform the operation more than once, Amazon /// EC2 doesn't return an error. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// Container for the necessary parameters to execute the CreateVpnConnection service method. /// /// The response from the CreateVpnConnection service method, as returned by EC2. /// REST API Reference for CreateVpnConnection Operation public virtual CreateVpnConnectionResponse CreateVpnConnection(CreateVpnConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpnConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpnConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a VPN connection between an existing virtual private gateway or transit gateway /// and a customer gateway. The supported connection type is ipsec.1. /// /// /// /// The response includes information that you need to give to your network administrator /// to configure your customer gateway. /// /// /// /// We strongly recommend that you use HTTPS when calling this operation because the response /// contains sensitive cryptographic information for configuring your customer gateway /// device. /// /// /// /// If you decide to shut down your VPN connection for any reason and later create a new /// VPN connection, you must reconfigure your customer gateway with the new information /// returned from this call. /// /// /// /// This is an idempotent operation. If you perform the operation more than once, Amazon /// EC2 doesn't return an error. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// Container for the necessary parameters to execute the CreateVpnConnection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVpnConnection service method, as returned by EC2. /// REST API Reference for CreateVpnConnection Operation public virtual Task CreateVpnConnectionAsync(CreateVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpnConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpnConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVpnConnectionRoute /// /// Creates a static route associated with a VPN connection between an existing virtual /// private gateway and a VPN customer gateway. The static route allows traffic to be /// routed from the virtual private gateway to the VPN customer gateway. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// Container for the necessary parameters to execute the CreateVpnConnectionRoute service method. /// /// The response from the CreateVpnConnectionRoute service method, as returned by EC2. /// REST API Reference for CreateVpnConnectionRoute Operation public virtual CreateVpnConnectionRouteResponse CreateVpnConnectionRoute(CreateVpnConnectionRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpnConnectionRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpnConnectionRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a static route associated with a VPN connection between an existing virtual /// private gateway and a VPN customer gateway. The static route allows traffic to be /// routed from the virtual private gateway to the VPN customer gateway. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// Container for the necessary parameters to execute the CreateVpnConnectionRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVpnConnectionRoute service method, as returned by EC2. /// REST API Reference for CreateVpnConnectionRoute Operation public virtual Task CreateVpnConnectionRouteAsync(CreateVpnConnectionRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpnConnectionRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpnConnectionRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVpnGateway /// /// Creates a virtual private gateway. A virtual private gateway is the endpoint on the /// VPC side of your VPN connection. You can create a virtual private gateway before creating /// the VPC itself. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// Container for the necessary parameters to execute the CreateVpnGateway service method. /// /// The response from the CreateVpnGateway service method, as returned by EC2. /// REST API Reference for CreateVpnGateway Operation public virtual CreateVpnGatewayResponse CreateVpnGateway(CreateVpnGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpnGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpnGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a virtual private gateway. A virtual private gateway is the endpoint on the /// VPC side of your VPN connection. You can create a virtual private gateway before creating /// the VPC itself. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// Container for the necessary parameters to execute the CreateVpnGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVpnGateway service method, as returned by EC2. /// REST API Reference for CreateVpnGateway Operation public virtual Task CreateVpnGatewayAsync(CreateVpnGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpnGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpnGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteCarrierGateway /// /// Deletes a carrier gateway. /// /// /// /// If you do not delete the route that contains the carrier gateway as the Target, the /// route is a blackhole route. For information about how to delete a route, see DeleteRoute. /// /// /// /// Container for the necessary parameters to execute the DeleteCarrierGateway service method. /// /// The response from the DeleteCarrierGateway service method, as returned by EC2. /// REST API Reference for DeleteCarrierGateway Operation public virtual DeleteCarrierGatewayResponse DeleteCarrierGateway(DeleteCarrierGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCarrierGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCarrierGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a carrier gateway. /// /// /// /// If you do not delete the route that contains the carrier gateway as the Target, the /// route is a blackhole route. For information about how to delete a route, see DeleteRoute. /// /// /// /// Container for the necessary parameters to execute the DeleteCarrierGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCarrierGateway service method, as returned by EC2. /// REST API Reference for DeleteCarrierGateway Operation public virtual Task DeleteCarrierGatewayAsync(DeleteCarrierGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCarrierGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCarrierGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteClientVpnEndpoint /// /// Deletes the specified Client VPN endpoint. You must disassociate all target networks /// before you can delete a Client VPN endpoint. /// /// Container for the necessary parameters to execute the DeleteClientVpnEndpoint service method. /// /// The response from the DeleteClientVpnEndpoint service method, as returned by EC2. /// REST API Reference for DeleteClientVpnEndpoint Operation public virtual DeleteClientVpnEndpointResponse DeleteClientVpnEndpoint(DeleteClientVpnEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteClientVpnEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteClientVpnEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified Client VPN endpoint. You must disassociate all target networks /// before you can delete a Client VPN endpoint. /// /// Container for the necessary parameters to execute the DeleteClientVpnEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteClientVpnEndpoint service method, as returned by EC2. /// REST API Reference for DeleteClientVpnEndpoint Operation public virtual Task DeleteClientVpnEndpointAsync(DeleteClientVpnEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteClientVpnEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteClientVpnEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteClientVpnRoute /// /// Deletes a route from a Client VPN endpoint. You can only delete routes that you manually /// added using the CreateClientVpnRoute action. You cannot delete routes that /// were automatically added when associating a subnet. To remove routes that have been /// automatically added, disassociate the target subnet from the Client VPN endpoint. /// /// Container for the necessary parameters to execute the DeleteClientVpnRoute service method. /// /// The response from the DeleteClientVpnRoute service method, as returned by EC2. /// REST API Reference for DeleteClientVpnRoute Operation public virtual DeleteClientVpnRouteResponse DeleteClientVpnRoute(DeleteClientVpnRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteClientVpnRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteClientVpnRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a route from a Client VPN endpoint. You can only delete routes that you manually /// added using the CreateClientVpnRoute action. You cannot delete routes that /// were automatically added when associating a subnet. To remove routes that have been /// automatically added, disassociate the target subnet from the Client VPN endpoint. /// /// Container for the necessary parameters to execute the DeleteClientVpnRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteClientVpnRoute service method, as returned by EC2. /// REST API Reference for DeleteClientVpnRoute Operation public virtual Task DeleteClientVpnRouteAsync(DeleteClientVpnRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteClientVpnRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteClientVpnRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteCoipCidr /// /// Deletes a range of customer-owned IP addresses. /// /// Container for the necessary parameters to execute the DeleteCoipCidr service method. /// /// The response from the DeleteCoipCidr service method, as returned by EC2. /// REST API Reference for DeleteCoipCidr Operation public virtual DeleteCoipCidrResponse DeleteCoipCidr(DeleteCoipCidrRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCoipCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCoipCidrResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a range of customer-owned IP addresses. /// /// Container for the necessary parameters to execute the DeleteCoipCidr service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCoipCidr service method, as returned by EC2. /// REST API Reference for DeleteCoipCidr Operation public virtual Task DeleteCoipCidrAsync(DeleteCoipCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCoipCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCoipCidrResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteCoipPool /// /// Deletes a pool of customer-owned IP (CoIP) addresses. /// /// Container for the necessary parameters to execute the DeleteCoipPool service method. /// /// The response from the DeleteCoipPool service method, as returned by EC2. /// REST API Reference for DeleteCoipPool Operation public virtual DeleteCoipPoolResponse DeleteCoipPool(DeleteCoipPoolRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCoipPoolRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCoipPoolResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a pool of customer-owned IP (CoIP) addresses. /// /// Container for the necessary parameters to execute the DeleteCoipPool service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCoipPool service method, as returned by EC2. /// REST API Reference for DeleteCoipPool Operation public virtual Task DeleteCoipPoolAsync(DeleteCoipPoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCoipPoolRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCoipPoolResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteCustomerGateway /// /// Deletes the specified customer gateway. You must delete the VPN connection before /// you can delete the customer gateway. /// /// Container for the necessary parameters to execute the DeleteCustomerGateway service method. /// /// The response from the DeleteCustomerGateway service method, as returned by EC2. /// REST API Reference for DeleteCustomerGateway Operation public virtual DeleteCustomerGatewayResponse DeleteCustomerGateway(DeleteCustomerGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCustomerGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCustomerGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified customer gateway. You must delete the VPN connection before /// you can delete the customer gateway. /// /// Container for the necessary parameters to execute the DeleteCustomerGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCustomerGateway service method, as returned by EC2. /// REST API Reference for DeleteCustomerGateway Operation public virtual Task DeleteCustomerGatewayAsync(DeleteCustomerGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCustomerGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCustomerGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteDhcpOptions /// /// Deletes the specified set of DHCP options. You must disassociate the set of DHCP options /// before you can delete it. You can disassociate the set of DHCP options by associating /// either a new set of options or the default set of options with the VPC. /// /// Container for the necessary parameters to execute the DeleteDhcpOptions service method. /// /// The response from the DeleteDhcpOptions service method, as returned by EC2. /// REST API Reference for DeleteDhcpOptions Operation public virtual DeleteDhcpOptionsResponse DeleteDhcpOptions(DeleteDhcpOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDhcpOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDhcpOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified set of DHCP options. You must disassociate the set of DHCP options /// before you can delete it. You can disassociate the set of DHCP options by associating /// either a new set of options or the default set of options with the VPC. /// /// Container for the necessary parameters to execute the DeleteDhcpOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDhcpOptions service method, as returned by EC2. /// REST API Reference for DeleteDhcpOptions Operation public virtual Task DeleteDhcpOptionsAsync(DeleteDhcpOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDhcpOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDhcpOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteEgressOnlyInternetGateway /// /// Deletes an egress-only internet gateway. /// /// Container for the necessary parameters to execute the DeleteEgressOnlyInternetGateway service method. /// /// The response from the DeleteEgressOnlyInternetGateway service method, as returned by EC2. /// REST API Reference for DeleteEgressOnlyInternetGateway Operation public virtual DeleteEgressOnlyInternetGatewayResponse DeleteEgressOnlyInternetGateway(DeleteEgressOnlyInternetGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEgressOnlyInternetGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEgressOnlyInternetGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an egress-only internet gateway. /// /// Container for the necessary parameters to execute the DeleteEgressOnlyInternetGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteEgressOnlyInternetGateway service method, as returned by EC2. /// REST API Reference for DeleteEgressOnlyInternetGateway Operation public virtual Task DeleteEgressOnlyInternetGatewayAsync(DeleteEgressOnlyInternetGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEgressOnlyInternetGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEgressOnlyInternetGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteFleets /// /// Deletes the specified EC2 Fleets. /// /// /// /// After you delete an EC2 Fleet, it launches no new instances. /// /// /// /// You must also specify whether a deleted EC2 Fleet should terminate its instances. /// If you choose to terminate the instances, the EC2 Fleet enters the deleted_terminating /// state. Otherwise, the EC2 Fleet enters the deleted_running state, and /// the instances continue to run until they are interrupted or you terminate them manually. /// /// /// /// For instant fleets, EC2 Fleet must terminate the instances when the fleet /// is deleted. A deleted instant fleet with running instances is not supported. /// ///

Restrictions /// ///

  • /// /// You can delete up to 25 instant fleets in a single request. If you exceed /// this number, no instant fleets are deleted and an error is returned. /// There is no restriction on the number of fleets of type maintain or request /// that can be deleted in a single request. /// ///
  • /// /// Up to 1000 instances can be terminated in a single request to delete instant /// fleets. /// ///
/// /// For more information, see Delete /// an EC2 Fleet in the Amazon EC2 User Guide. /// ///
/// Container for the necessary parameters to execute the DeleteFleets service method. /// /// The response from the DeleteFleets service method, as returned by EC2. /// REST API Reference for DeleteFleets Operation public virtual DeleteFleetsResponse DeleteFleets(DeleteFleetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFleetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified EC2 Fleets. /// /// /// /// After you delete an EC2 Fleet, it launches no new instances. /// /// /// /// You must also specify whether a deleted EC2 Fleet should terminate its instances. /// If you choose to terminate the instances, the EC2 Fleet enters the deleted_terminating /// state. Otherwise, the EC2 Fleet enters the deleted_running state, and /// the instances continue to run until they are interrupted or you terminate them manually. /// /// /// /// For instant fleets, EC2 Fleet must terminate the instances when the fleet /// is deleted. A deleted instant fleet with running instances is not supported. /// ///

Restrictions /// ///

  • /// /// You can delete up to 25 instant fleets in a single request. If you exceed /// this number, no instant fleets are deleted and an error is returned. /// There is no restriction on the number of fleets of type maintain or request /// that can be deleted in a single request. /// ///
  • /// /// Up to 1000 instances can be terminated in a single request to delete instant /// fleets. /// ///
/// /// For more information, see Delete /// an EC2 Fleet in the Amazon EC2 User Guide. /// ///
/// Container for the necessary parameters to execute the DeleteFleets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteFleets service method, as returned by EC2. /// REST API Reference for DeleteFleets Operation public virtual Task DeleteFleetsAsync(DeleteFleetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFleetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteFlowLogs /// /// Deletes one or more flow logs. /// /// Container for the necessary parameters to execute the DeleteFlowLogs service method. /// /// The response from the DeleteFlowLogs service method, as returned by EC2. /// REST API Reference for DeleteFlowLogs Operation public virtual DeleteFlowLogsResponse DeleteFlowLogs(DeleteFlowLogsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFlowLogsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFlowLogsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes one or more flow logs. /// /// Container for the necessary parameters to execute the DeleteFlowLogs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteFlowLogs service method, as returned by EC2. /// REST API Reference for DeleteFlowLogs Operation public virtual Task DeleteFlowLogsAsync(DeleteFlowLogsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFlowLogsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFlowLogsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteFpgaImage /// /// Deletes the specified Amazon FPGA Image (AFI). /// /// Container for the necessary parameters to execute the DeleteFpgaImage service method. /// /// The response from the DeleteFpgaImage service method, as returned by EC2. /// REST API Reference for DeleteFpgaImage Operation public virtual DeleteFpgaImageResponse DeleteFpgaImage(DeleteFpgaImageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFpgaImageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFpgaImageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified Amazon FPGA Image (AFI). /// /// Container for the necessary parameters to execute the DeleteFpgaImage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteFpgaImage service method, as returned by EC2. /// REST API Reference for DeleteFpgaImage Operation public virtual Task DeleteFpgaImageAsync(DeleteFpgaImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFpgaImageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFpgaImageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteInstanceConnectEndpoint /// /// Deletes the specified EC2 Instance Connect Endpoint. /// /// Container for the necessary parameters to execute the DeleteInstanceConnectEndpoint service method. /// /// The response from the DeleteInstanceConnectEndpoint service method, as returned by EC2. /// REST API Reference for DeleteInstanceConnectEndpoint Operation public virtual DeleteInstanceConnectEndpointResponse DeleteInstanceConnectEndpoint(DeleteInstanceConnectEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInstanceConnectEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInstanceConnectEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified EC2 Instance Connect Endpoint. /// /// Container for the necessary parameters to execute the DeleteInstanceConnectEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteInstanceConnectEndpoint service method, as returned by EC2. /// REST API Reference for DeleteInstanceConnectEndpoint Operation public virtual Task DeleteInstanceConnectEndpointAsync(DeleteInstanceConnectEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInstanceConnectEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInstanceConnectEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteInstanceEventWindow /// /// Deletes the specified event window. /// /// /// /// For more information, see Define /// event windows for scheduled events in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DeleteInstanceEventWindow service method. /// /// The response from the DeleteInstanceEventWindow service method, as returned by EC2. /// REST API Reference for DeleteInstanceEventWindow Operation public virtual DeleteInstanceEventWindowResponse DeleteInstanceEventWindow(DeleteInstanceEventWindowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInstanceEventWindowRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInstanceEventWindowResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified event window. /// /// /// /// For more information, see Define /// event windows for scheduled events in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DeleteInstanceEventWindow service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteInstanceEventWindow service method, as returned by EC2. /// REST API Reference for DeleteInstanceEventWindow Operation public virtual Task DeleteInstanceEventWindowAsync(DeleteInstanceEventWindowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInstanceEventWindowRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInstanceEventWindowResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteInternetGateway /// /// Deletes the specified internet gateway. You must detach the internet gateway from /// the VPC before you can delete it. /// /// Container for the necessary parameters to execute the DeleteInternetGateway service method. /// /// The response from the DeleteInternetGateway service method, as returned by EC2. /// REST API Reference for DeleteInternetGateway Operation public virtual DeleteInternetGatewayResponse DeleteInternetGateway(DeleteInternetGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInternetGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInternetGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified internet gateway. You must detach the internet gateway from /// the VPC before you can delete it. /// /// Container for the necessary parameters to execute the DeleteInternetGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteInternetGateway service method, as returned by EC2. /// REST API Reference for DeleteInternetGateway Operation public virtual Task DeleteInternetGatewayAsync(DeleteInternetGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInternetGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInternetGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteIpam /// /// Delete an IPAM. Deleting an IPAM removes all monitored data associated with the IPAM /// including the historical data for CIDRs. /// /// /// /// For more information, see Delete /// an IPAM in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the DeleteIpam service method. /// /// The response from the DeleteIpam service method, as returned by EC2. /// REST API Reference for DeleteIpam Operation public virtual DeleteIpamResponse DeleteIpam(DeleteIpamRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIpamRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIpamResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete an IPAM. Deleting an IPAM removes all monitored data associated with the IPAM /// including the historical data for CIDRs. /// /// /// /// For more information, see Delete /// an IPAM in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the DeleteIpam service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteIpam service method, as returned by EC2. /// REST API Reference for DeleteIpam Operation public virtual Task DeleteIpamAsync(DeleteIpamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIpamRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIpamResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteIpamPool /// /// Delete an IPAM pool. /// /// /// /// You cannot delete an IPAM pool if there are allocations in it or CIDRs provisioned /// to it. To release allocations, see ReleaseIpamPoolAllocation. /// To deprovision pool CIDRs, see DeprovisionIpamPoolCidr. /// /// /// /// For more information, see Delete /// a pool in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the DeleteIpamPool service method. /// /// The response from the DeleteIpamPool service method, as returned by EC2. /// REST API Reference for DeleteIpamPool Operation public virtual DeleteIpamPoolResponse DeleteIpamPool(DeleteIpamPoolRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIpamPoolRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIpamPoolResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete an IPAM pool. /// /// /// /// You cannot delete an IPAM pool if there are allocations in it or CIDRs provisioned /// to it. To release allocations, see ReleaseIpamPoolAllocation. /// To deprovision pool CIDRs, see DeprovisionIpamPoolCidr. /// /// /// /// For more information, see Delete /// a pool in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the DeleteIpamPool service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteIpamPool service method, as returned by EC2. /// REST API Reference for DeleteIpamPool Operation public virtual Task DeleteIpamPoolAsync(DeleteIpamPoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIpamPoolRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIpamPoolResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteIpamResourceDiscovery /// /// Deletes an IPAM resource discovery. A resource discovery is an IPAM component that /// enables IPAM to manage and monitor resources that belong to the owning account. /// /// Container for the necessary parameters to execute the DeleteIpamResourceDiscovery service method. /// /// The response from the DeleteIpamResourceDiscovery service method, as returned by EC2. /// REST API Reference for DeleteIpamResourceDiscovery Operation public virtual DeleteIpamResourceDiscoveryResponse DeleteIpamResourceDiscovery(DeleteIpamResourceDiscoveryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIpamResourceDiscoveryRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIpamResourceDiscoveryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an IPAM resource discovery. A resource discovery is an IPAM component that /// enables IPAM to manage and monitor resources that belong to the owning account. /// /// Container for the necessary parameters to execute the DeleteIpamResourceDiscovery service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteIpamResourceDiscovery service method, as returned by EC2. /// REST API Reference for DeleteIpamResourceDiscovery Operation public virtual Task DeleteIpamResourceDiscoveryAsync(DeleteIpamResourceDiscoveryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIpamResourceDiscoveryRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIpamResourceDiscoveryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteIpamScope /// /// Delete the scope for an IPAM. You cannot delete the default scopes. /// /// /// /// For more information, see Delete /// a scope in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the DeleteIpamScope service method. /// /// The response from the DeleteIpamScope service method, as returned by EC2. /// REST API Reference for DeleteIpamScope Operation public virtual DeleteIpamScopeResponse DeleteIpamScope(DeleteIpamScopeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIpamScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIpamScopeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete the scope for an IPAM. You cannot delete the default scopes. /// /// /// /// For more information, see Delete /// a scope in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the DeleteIpamScope service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteIpamScope service method, as returned by EC2. /// REST API Reference for DeleteIpamScope Operation public virtual Task DeleteIpamScopeAsync(DeleteIpamScopeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIpamScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIpamScopeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteKeyPair /// /// Deletes the specified key pair, by removing the public key from Amazon EC2. /// /// Container for the necessary parameters to execute the DeleteKeyPair service method. /// /// The response from the DeleteKeyPair service method, as returned by EC2. /// REST API Reference for DeleteKeyPair Operation public virtual DeleteKeyPairResponse DeleteKeyPair(DeleteKeyPairRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteKeyPairRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteKeyPairResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified key pair, by removing the public key from Amazon EC2. /// /// Container for the necessary parameters to execute the DeleteKeyPair service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteKeyPair service method, as returned by EC2. /// REST API Reference for DeleteKeyPair Operation public virtual Task DeleteKeyPairAsync(DeleteKeyPairRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteKeyPairRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteKeyPairResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteLaunchTemplate /// /// Deletes a launch template. Deleting a launch template deletes all of its versions. /// /// Container for the necessary parameters to execute the DeleteLaunchTemplate service method. /// /// The response from the DeleteLaunchTemplate service method, as returned by EC2. /// REST API Reference for DeleteLaunchTemplate Operation public virtual DeleteLaunchTemplateResponse DeleteLaunchTemplate(DeleteLaunchTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLaunchTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLaunchTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a launch template. Deleting a launch template deletes all of its versions. /// /// Container for the necessary parameters to execute the DeleteLaunchTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteLaunchTemplate service method, as returned by EC2. /// REST API Reference for DeleteLaunchTemplate Operation public virtual Task DeleteLaunchTemplateAsync(DeleteLaunchTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLaunchTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLaunchTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteLaunchTemplateVersions /// /// Deletes one or more versions of a launch template. You cannot delete the default version /// of a launch template; you must first assign a different version as the default. If /// the default version is the only version for the launch template, you must delete the /// entire launch template using DeleteLaunchTemplate. /// /// Container for the necessary parameters to execute the DeleteLaunchTemplateVersions service method. /// /// The response from the DeleteLaunchTemplateVersions service method, as returned by EC2. /// REST API Reference for DeleteLaunchTemplateVersions Operation public virtual DeleteLaunchTemplateVersionsResponse DeleteLaunchTemplateVersions(DeleteLaunchTemplateVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLaunchTemplateVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLaunchTemplateVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes one or more versions of a launch template. You cannot delete the default version /// of a launch template; you must first assign a different version as the default. If /// the default version is the only version for the launch template, you must delete the /// entire launch template using DeleteLaunchTemplate. /// /// Container for the necessary parameters to execute the DeleteLaunchTemplateVersions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteLaunchTemplateVersions service method, as returned by EC2. /// REST API Reference for DeleteLaunchTemplateVersions Operation public virtual Task DeleteLaunchTemplateVersionsAsync(DeleteLaunchTemplateVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLaunchTemplateVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLaunchTemplateVersionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteLocalGatewayRoute /// /// Deletes the specified route from the specified local gateway route table. /// /// Container for the necessary parameters to execute the DeleteLocalGatewayRoute service method. /// /// The response from the DeleteLocalGatewayRoute service method, as returned by EC2. /// REST API Reference for DeleteLocalGatewayRoute Operation public virtual DeleteLocalGatewayRouteResponse DeleteLocalGatewayRoute(DeleteLocalGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLocalGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLocalGatewayRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified route from the specified local gateway route table. /// /// Container for the necessary parameters to execute the DeleteLocalGatewayRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteLocalGatewayRoute service method, as returned by EC2. /// REST API Reference for DeleteLocalGatewayRoute Operation public virtual Task DeleteLocalGatewayRouteAsync(DeleteLocalGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLocalGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLocalGatewayRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteLocalGatewayRouteTable /// /// Deletes a local gateway route table. /// /// Container for the necessary parameters to execute the DeleteLocalGatewayRouteTable service method. /// /// The response from the DeleteLocalGatewayRouteTable service method, as returned by EC2. /// REST API Reference for DeleteLocalGatewayRouteTable Operation public virtual DeleteLocalGatewayRouteTableResponse DeleteLocalGatewayRouteTable(DeleteLocalGatewayRouteTableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLocalGatewayRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLocalGatewayRouteTableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a local gateway route table. /// /// Container for the necessary parameters to execute the DeleteLocalGatewayRouteTable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteLocalGatewayRouteTable service method, as returned by EC2. /// REST API Reference for DeleteLocalGatewayRouteTable Operation public virtual Task DeleteLocalGatewayRouteTableAsync(DeleteLocalGatewayRouteTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLocalGatewayRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLocalGatewayRouteTableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation /// /// Deletes a local gateway route table virtual interface group association. /// /// Container for the necessary parameters to execute the DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation service method. /// /// The response from the DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation service method, as returned by EC2. /// REST API Reference for DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation Operation public virtual DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResponse DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation(DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a local gateway route table virtual interface group association. /// /// Container for the necessary parameters to execute the DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation service method, as returned by EC2. /// REST API Reference for DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation Operation public virtual Task DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationAsync(DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteLocalGatewayRouteTableVpcAssociation /// /// Deletes the specified association between a VPC and local gateway route table. /// /// Container for the necessary parameters to execute the DeleteLocalGatewayRouteTableVpcAssociation service method. /// /// The response from the DeleteLocalGatewayRouteTableVpcAssociation service method, as returned by EC2. /// REST API Reference for DeleteLocalGatewayRouteTableVpcAssociation Operation public virtual DeleteLocalGatewayRouteTableVpcAssociationResponse DeleteLocalGatewayRouteTableVpcAssociation(DeleteLocalGatewayRouteTableVpcAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLocalGatewayRouteTableVpcAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLocalGatewayRouteTableVpcAssociationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified association between a VPC and local gateway route table. /// /// Container for the necessary parameters to execute the DeleteLocalGatewayRouteTableVpcAssociation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteLocalGatewayRouteTableVpcAssociation service method, as returned by EC2. /// REST API Reference for DeleteLocalGatewayRouteTableVpcAssociation Operation public virtual Task DeleteLocalGatewayRouteTableVpcAssociationAsync(DeleteLocalGatewayRouteTableVpcAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLocalGatewayRouteTableVpcAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLocalGatewayRouteTableVpcAssociationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteManagedPrefixList /// /// Deletes the specified managed prefix list. You must first remove all references to /// the prefix list in your resources. /// /// Container for the necessary parameters to execute the DeleteManagedPrefixList service method. /// /// The response from the DeleteManagedPrefixList service method, as returned by EC2. /// REST API Reference for DeleteManagedPrefixList Operation public virtual DeleteManagedPrefixListResponse DeleteManagedPrefixList(DeleteManagedPrefixListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteManagedPrefixListRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteManagedPrefixListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified managed prefix list. You must first remove all references to /// the prefix list in your resources. /// /// Container for the necessary parameters to execute the DeleteManagedPrefixList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteManagedPrefixList service method, as returned by EC2. /// REST API Reference for DeleteManagedPrefixList Operation public virtual Task DeleteManagedPrefixListAsync(DeleteManagedPrefixListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteManagedPrefixListRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteManagedPrefixListResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteNatGateway /// /// Deletes the specified NAT gateway. Deleting a public NAT gateway disassociates its /// Elastic IP address, but does not release the address from your account. Deleting a /// NAT gateway does not delete any NAT gateway routes in your route tables. /// /// Container for the necessary parameters to execute the DeleteNatGateway service method. /// /// The response from the DeleteNatGateway service method, as returned by EC2. /// REST API Reference for DeleteNatGateway Operation public virtual DeleteNatGatewayResponse DeleteNatGateway(DeleteNatGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNatGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNatGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified NAT gateway. Deleting a public NAT gateway disassociates its /// Elastic IP address, but does not release the address from your account. Deleting a /// NAT gateway does not delete any NAT gateway routes in your route tables. /// /// Container for the necessary parameters to execute the DeleteNatGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteNatGateway service method, as returned by EC2. /// REST API Reference for DeleteNatGateway Operation public virtual Task DeleteNatGatewayAsync(DeleteNatGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNatGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNatGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteNetworkAcl /// /// Deletes the specified network ACL. You can't delete the ACL if it's associated with /// any subnets. You can't delete the default network ACL. /// /// Container for the necessary parameters to execute the DeleteNetworkAcl service method. /// /// The response from the DeleteNetworkAcl service method, as returned by EC2. /// REST API Reference for DeleteNetworkAcl Operation public virtual DeleteNetworkAclResponse DeleteNetworkAcl(DeleteNetworkAclRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkAclRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkAclResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified network ACL. You can't delete the ACL if it's associated with /// any subnets. You can't delete the default network ACL. /// /// Container for the necessary parameters to execute the DeleteNetworkAcl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteNetworkAcl service method, as returned by EC2. /// REST API Reference for DeleteNetworkAcl Operation public virtual Task DeleteNetworkAclAsync(DeleteNetworkAclRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkAclRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkAclResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteNetworkAclEntry /// /// Deletes the specified ingress or egress entry (rule) from the specified network ACL. /// /// Container for the necessary parameters to execute the DeleteNetworkAclEntry service method. /// /// The response from the DeleteNetworkAclEntry service method, as returned by EC2. /// REST API Reference for DeleteNetworkAclEntry Operation public virtual DeleteNetworkAclEntryResponse DeleteNetworkAclEntry(DeleteNetworkAclEntryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkAclEntryRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkAclEntryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified ingress or egress entry (rule) from the specified network ACL. /// /// Container for the necessary parameters to execute the DeleteNetworkAclEntry service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteNetworkAclEntry service method, as returned by EC2. /// REST API Reference for DeleteNetworkAclEntry Operation public virtual Task DeleteNetworkAclEntryAsync(DeleteNetworkAclEntryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkAclEntryRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkAclEntryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteNetworkInsightsAccessScope /// /// Deletes the specified Network Access Scope. /// /// Container for the necessary parameters to execute the DeleteNetworkInsightsAccessScope service method. /// /// The response from the DeleteNetworkInsightsAccessScope service method, as returned by EC2. /// REST API Reference for DeleteNetworkInsightsAccessScope Operation public virtual DeleteNetworkInsightsAccessScopeResponse DeleteNetworkInsightsAccessScope(DeleteNetworkInsightsAccessScopeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkInsightsAccessScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkInsightsAccessScopeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified Network Access Scope. /// /// Container for the necessary parameters to execute the DeleteNetworkInsightsAccessScope service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteNetworkInsightsAccessScope service method, as returned by EC2. /// REST API Reference for DeleteNetworkInsightsAccessScope Operation public virtual Task DeleteNetworkInsightsAccessScopeAsync(DeleteNetworkInsightsAccessScopeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkInsightsAccessScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkInsightsAccessScopeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteNetworkInsightsAccessScopeAnalysis /// /// Deletes the specified Network Access Scope analysis. /// /// Container for the necessary parameters to execute the DeleteNetworkInsightsAccessScopeAnalysis service method. /// /// The response from the DeleteNetworkInsightsAccessScopeAnalysis service method, as returned by EC2. /// REST API Reference for DeleteNetworkInsightsAccessScopeAnalysis Operation public virtual DeleteNetworkInsightsAccessScopeAnalysisResponse DeleteNetworkInsightsAccessScopeAnalysis(DeleteNetworkInsightsAccessScopeAnalysisRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkInsightsAccessScopeAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkInsightsAccessScopeAnalysisResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified Network Access Scope analysis. /// /// Container for the necessary parameters to execute the DeleteNetworkInsightsAccessScopeAnalysis service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteNetworkInsightsAccessScopeAnalysis service method, as returned by EC2. /// REST API Reference for DeleteNetworkInsightsAccessScopeAnalysis Operation public virtual Task DeleteNetworkInsightsAccessScopeAnalysisAsync(DeleteNetworkInsightsAccessScopeAnalysisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkInsightsAccessScopeAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkInsightsAccessScopeAnalysisResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteNetworkInsightsAnalysis /// /// Deletes the specified network insights analysis. /// /// Container for the necessary parameters to execute the DeleteNetworkInsightsAnalysis service method. /// /// The response from the DeleteNetworkInsightsAnalysis service method, as returned by EC2. /// REST API Reference for DeleteNetworkInsightsAnalysis Operation public virtual DeleteNetworkInsightsAnalysisResponse DeleteNetworkInsightsAnalysis(DeleteNetworkInsightsAnalysisRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkInsightsAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkInsightsAnalysisResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified network insights analysis. /// /// Container for the necessary parameters to execute the DeleteNetworkInsightsAnalysis service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteNetworkInsightsAnalysis service method, as returned by EC2. /// REST API Reference for DeleteNetworkInsightsAnalysis Operation public virtual Task DeleteNetworkInsightsAnalysisAsync(DeleteNetworkInsightsAnalysisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkInsightsAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkInsightsAnalysisResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteNetworkInsightsPath /// /// Deletes the specified path. /// /// Container for the necessary parameters to execute the DeleteNetworkInsightsPath service method. /// /// The response from the DeleteNetworkInsightsPath service method, as returned by EC2. /// REST API Reference for DeleteNetworkInsightsPath Operation public virtual DeleteNetworkInsightsPathResponse DeleteNetworkInsightsPath(DeleteNetworkInsightsPathRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkInsightsPathRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkInsightsPathResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified path. /// /// Container for the necessary parameters to execute the DeleteNetworkInsightsPath service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteNetworkInsightsPath service method, as returned by EC2. /// REST API Reference for DeleteNetworkInsightsPath Operation public virtual Task DeleteNetworkInsightsPathAsync(DeleteNetworkInsightsPathRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkInsightsPathRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkInsightsPathResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteNetworkInterface /// /// Deletes the specified network interface. You must detach the network interface before /// you can delete it. /// /// Container for the necessary parameters to execute the DeleteNetworkInterface service method. /// /// The response from the DeleteNetworkInterface service method, as returned by EC2. /// REST API Reference for DeleteNetworkInterface Operation public virtual DeleteNetworkInterfaceResponse DeleteNetworkInterface(DeleteNetworkInterfaceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkInterfaceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkInterfaceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified network interface. You must detach the network interface before /// you can delete it. /// /// Container for the necessary parameters to execute the DeleteNetworkInterface service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteNetworkInterface service method, as returned by EC2. /// REST API Reference for DeleteNetworkInterface Operation public virtual Task DeleteNetworkInterfaceAsync(DeleteNetworkInterfaceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkInterfaceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkInterfaceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteNetworkInterfacePermission /// /// Deletes a permission for a network interface. By default, you cannot delete the permission /// if the account for which you're removing the permission has attached the network interface /// to an instance. However, you can force delete the permission, regardless of any attachment. /// /// Container for the necessary parameters to execute the DeleteNetworkInterfacePermission service method. /// /// The response from the DeleteNetworkInterfacePermission service method, as returned by EC2. /// REST API Reference for DeleteNetworkInterfacePermission Operation public virtual DeleteNetworkInterfacePermissionResponse DeleteNetworkInterfacePermission(DeleteNetworkInterfacePermissionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkInterfacePermissionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkInterfacePermissionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a permission for a network interface. By default, you cannot delete the permission /// if the account for which you're removing the permission has attached the network interface /// to an instance. However, you can force delete the permission, regardless of any attachment. /// /// Container for the necessary parameters to execute the DeleteNetworkInterfacePermission service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteNetworkInterfacePermission service method, as returned by EC2. /// REST API Reference for DeleteNetworkInterfacePermission Operation public virtual Task DeleteNetworkInterfacePermissionAsync(DeleteNetworkInterfacePermissionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNetworkInterfacePermissionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNetworkInterfacePermissionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeletePlacementGroup /// /// Deletes the specified placement group. You must terminate all instances in the placement /// group before you can delete the placement group. For more information, see Placement /// groups in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the DeletePlacementGroup service method. /// /// The response from the DeletePlacementGroup service method, as returned by EC2. /// REST API Reference for DeletePlacementGroup Operation public virtual DeletePlacementGroupResponse DeletePlacementGroup(DeletePlacementGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePlacementGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePlacementGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified placement group. You must terminate all instances in the placement /// group before you can delete the placement group. For more information, see Placement /// groups in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the DeletePlacementGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeletePlacementGroup service method, as returned by EC2. /// REST API Reference for DeletePlacementGroup Operation public virtual Task DeletePlacementGroupAsync(DeletePlacementGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePlacementGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePlacementGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeletePublicIpv4Pool /// /// Delete a public IPv4 pool. A public IPv4 pool is an EC2 IP address pool required for /// the public IPv4 CIDRs that you own and bring to Amazon Web Services to manage with /// IPAM. IPv6 addresses you bring to Amazon Web Services, however, use IPAM pools only. /// /// Container for the necessary parameters to execute the DeletePublicIpv4Pool service method. /// /// The response from the DeletePublicIpv4Pool service method, as returned by EC2. /// REST API Reference for DeletePublicIpv4Pool Operation public virtual DeletePublicIpv4PoolResponse DeletePublicIpv4Pool(DeletePublicIpv4PoolRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePublicIpv4PoolRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePublicIpv4PoolResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete a public IPv4 pool. A public IPv4 pool is an EC2 IP address pool required for /// the public IPv4 CIDRs that you own and bring to Amazon Web Services to manage with /// IPAM. IPv6 addresses you bring to Amazon Web Services, however, use IPAM pools only. /// /// Container for the necessary parameters to execute the DeletePublicIpv4Pool service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeletePublicIpv4Pool service method, as returned by EC2. /// REST API Reference for DeletePublicIpv4Pool Operation public virtual Task DeletePublicIpv4PoolAsync(DeletePublicIpv4PoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePublicIpv4PoolRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePublicIpv4PoolResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteQueuedReservedInstances /// /// Deletes the queued purchases for the specified Reserved Instances. /// /// Container for the necessary parameters to execute the DeleteQueuedReservedInstances service method. /// /// The response from the DeleteQueuedReservedInstances service method, as returned by EC2. /// REST API Reference for DeleteQueuedReservedInstances Operation public virtual DeleteQueuedReservedInstancesResponse DeleteQueuedReservedInstances(DeleteQueuedReservedInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteQueuedReservedInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteQueuedReservedInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the queued purchases for the specified Reserved Instances. /// /// Container for the necessary parameters to execute the DeleteQueuedReservedInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteQueuedReservedInstances service method, as returned by EC2. /// REST API Reference for DeleteQueuedReservedInstances Operation public virtual Task DeleteQueuedReservedInstancesAsync(DeleteQueuedReservedInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteQueuedReservedInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteQueuedReservedInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRoute /// /// Deletes the specified route from the specified route table. /// /// Container for the necessary parameters to execute the DeleteRoute service method. /// /// The response from the DeleteRoute service method, as returned by EC2. /// REST API Reference for DeleteRoute Operation public virtual DeleteRouteResponse DeleteRoute(DeleteRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified route from the specified route table. /// /// Container for the necessary parameters to execute the DeleteRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRoute service method, as returned by EC2. /// REST API Reference for DeleteRoute Operation public virtual Task DeleteRouteAsync(DeleteRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRouteTable /// /// Deletes the specified route table. You must disassociate the route table from any /// subnets before you can delete it. You can't delete the main route table. /// /// Container for the necessary parameters to execute the DeleteRouteTable service method. /// /// The response from the DeleteRouteTable service method, as returned by EC2. /// REST API Reference for DeleteRouteTable Operation public virtual DeleteRouteTableResponse DeleteRouteTable(DeleteRouteTableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteTableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified route table. You must disassociate the route table from any /// subnets before you can delete it. You can't delete the main route table. /// /// Container for the necessary parameters to execute the DeleteRouteTable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRouteTable service method, as returned by EC2. /// REST API Reference for DeleteRouteTable Operation public virtual Task DeleteRouteTableAsync(DeleteRouteTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteTableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteSecurityGroup /// /// Deletes a security group. /// /// /// /// If you attempt to delete a security group that is associated with an instance or network /// interface or is referenced by another security group, the operation fails with DependencyViolation. /// /// /// Container for the necessary parameters to execute the DeleteSecurityGroup service method. /// /// The response from the DeleteSecurityGroup service method, as returned by EC2. /// REST API Reference for DeleteSecurityGroup Operation public virtual DeleteSecurityGroupResponse DeleteSecurityGroup(DeleteSecurityGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSecurityGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSecurityGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a security group. /// /// /// /// If you attempt to delete a security group that is associated with an instance or network /// interface or is referenced by another security group, the operation fails with DependencyViolation. /// /// /// Container for the necessary parameters to execute the DeleteSecurityGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSecurityGroup service method, as returned by EC2. /// REST API Reference for DeleteSecurityGroup Operation public virtual Task DeleteSecurityGroupAsync(DeleteSecurityGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSecurityGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSecurityGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteSnapshot /// /// Deletes the specified snapshot. /// /// /// /// When you make periodic snapshots of a volume, the snapshots are incremental, and only /// the blocks on the device that have changed since your last snapshot are saved in the /// new snapshot. When you delete a snapshot, only the data not needed for any other snapshot /// is removed. So regardless of which prior snapshots have been deleted, all active snapshots /// will have access to all the information needed to restore the volume. /// /// /// /// You cannot delete a snapshot of the root device of an EBS volume used by a registered /// AMI. You must first de-register the AMI before you can delete the snapshot. /// /// /// /// For more information, see Delete /// an Amazon EBS snapshot in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DeleteSnapshot service method. /// /// The response from the DeleteSnapshot service method, as returned by EC2. /// REST API Reference for DeleteSnapshot Operation public virtual DeleteSnapshotResponse DeleteSnapshot(DeleteSnapshotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSnapshotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSnapshotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified snapshot. /// /// /// /// When you make periodic snapshots of a volume, the snapshots are incremental, and only /// the blocks on the device that have changed since your last snapshot are saved in the /// new snapshot. When you delete a snapshot, only the data not needed for any other snapshot /// is removed. So regardless of which prior snapshots have been deleted, all active snapshots /// will have access to all the information needed to restore the volume. /// /// /// /// You cannot delete a snapshot of the root device of an EBS volume used by a registered /// AMI. You must first de-register the AMI before you can delete the snapshot. /// /// /// /// For more information, see Delete /// an Amazon EBS snapshot in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DeleteSnapshot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSnapshot service method, as returned by EC2. /// REST API Reference for DeleteSnapshot Operation public virtual Task DeleteSnapshotAsync(DeleteSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSnapshotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSnapshotResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteSpotDatafeedSubscription /// /// Deletes the data feed for Spot Instances. /// /// /// The response from the DeleteSpotDatafeedSubscription service method, as returned by EC2. /// REST API Reference for DeleteSpotDatafeedSubscription Operation public virtual DeleteSpotDatafeedSubscriptionResponse DeleteSpotDatafeedSubscription() { return DeleteSpotDatafeedSubscription(new DeleteSpotDatafeedSubscriptionRequest()); } /// /// Deletes the data feed for Spot Instances. /// /// Container for the necessary parameters to execute the DeleteSpotDatafeedSubscription service method. /// /// The response from the DeleteSpotDatafeedSubscription service method, as returned by EC2. /// REST API Reference for DeleteSpotDatafeedSubscription Operation public virtual DeleteSpotDatafeedSubscriptionResponse DeleteSpotDatafeedSubscription(DeleteSpotDatafeedSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSpotDatafeedSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSpotDatafeedSubscriptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the data feed for Spot Instances. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSpotDatafeedSubscription service method, as returned by EC2. /// REST API Reference for DeleteSpotDatafeedSubscription Operation public virtual Task DeleteSpotDatafeedSubscriptionAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DeleteSpotDatafeedSubscriptionAsync(new DeleteSpotDatafeedSubscriptionRequest(), cancellationToken); } /// /// Deletes the data feed for Spot Instances. /// /// Container for the necessary parameters to execute the DeleteSpotDatafeedSubscription service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSpotDatafeedSubscription service method, as returned by EC2. /// REST API Reference for DeleteSpotDatafeedSubscription Operation public virtual Task DeleteSpotDatafeedSubscriptionAsync(DeleteSpotDatafeedSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSpotDatafeedSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSpotDatafeedSubscriptionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteSubnet /// /// Deletes the specified subnet. You must terminate all running instances in the subnet /// before you can delete the subnet. /// /// Container for the necessary parameters to execute the DeleteSubnet service method. /// /// The response from the DeleteSubnet service method, as returned by EC2. /// REST API Reference for DeleteSubnet Operation public virtual DeleteSubnetResponse DeleteSubnet(DeleteSubnetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSubnetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSubnetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified subnet. You must terminate all running instances in the subnet /// before you can delete the subnet. /// /// Container for the necessary parameters to execute the DeleteSubnet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSubnet service method, as returned by EC2. /// REST API Reference for DeleteSubnet Operation public virtual Task DeleteSubnetAsync(DeleteSubnetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSubnetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSubnetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteSubnetCidrReservation /// /// Deletes a subnet CIDR reservation. /// /// Container for the necessary parameters to execute the DeleteSubnetCidrReservation service method. /// /// The response from the DeleteSubnetCidrReservation service method, as returned by EC2. /// REST API Reference for DeleteSubnetCidrReservation Operation public virtual DeleteSubnetCidrReservationResponse DeleteSubnetCidrReservation(DeleteSubnetCidrReservationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSubnetCidrReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSubnetCidrReservationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a subnet CIDR reservation. /// /// Container for the necessary parameters to execute the DeleteSubnetCidrReservation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSubnetCidrReservation service method, as returned by EC2. /// REST API Reference for DeleteSubnetCidrReservation Operation public virtual Task DeleteSubnetCidrReservationAsync(DeleteSubnetCidrReservationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSubnetCidrReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSubnetCidrReservationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTags /// /// Deletes the specified set of tags from the specified set of resources. /// /// /// /// To list the current tags, use DescribeTags. For more information about tags, /// see Tag /// your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DeleteTags service method. /// /// The response from the DeleteTags service method, as returned by EC2. /// REST API Reference for DeleteTags Operation public virtual DeleteTagsResponse DeleteTags(DeleteTagsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTagsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified set of tags from the specified set of resources. /// /// /// /// To list the current tags, use DescribeTags. For more information about tags, /// see Tag /// your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DeleteTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTags service method, as returned by EC2. /// REST API Reference for DeleteTags Operation public virtual Task DeleteTagsAsync(DeleteTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTagsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTrafficMirrorFilter /// /// Deletes the specified Traffic Mirror filter. /// /// /// /// You cannot delete a Traffic Mirror filter that is in use by a Traffic Mirror session. /// /// /// Container for the necessary parameters to execute the DeleteTrafficMirrorFilter service method. /// /// The response from the DeleteTrafficMirrorFilter service method, as returned by EC2. /// REST API Reference for DeleteTrafficMirrorFilter Operation public virtual DeleteTrafficMirrorFilterResponse DeleteTrafficMirrorFilter(DeleteTrafficMirrorFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTrafficMirrorFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTrafficMirrorFilterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified Traffic Mirror filter. /// /// /// /// You cannot delete a Traffic Mirror filter that is in use by a Traffic Mirror session. /// /// /// Container for the necessary parameters to execute the DeleteTrafficMirrorFilter service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTrafficMirrorFilter service method, as returned by EC2. /// REST API Reference for DeleteTrafficMirrorFilter Operation public virtual Task DeleteTrafficMirrorFilterAsync(DeleteTrafficMirrorFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTrafficMirrorFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTrafficMirrorFilterResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTrafficMirrorFilterRule /// /// Deletes the specified Traffic Mirror rule. /// /// Container for the necessary parameters to execute the DeleteTrafficMirrorFilterRule service method. /// /// The response from the DeleteTrafficMirrorFilterRule service method, as returned by EC2. /// REST API Reference for DeleteTrafficMirrorFilterRule Operation public virtual DeleteTrafficMirrorFilterRuleResponse DeleteTrafficMirrorFilterRule(DeleteTrafficMirrorFilterRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTrafficMirrorFilterRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTrafficMirrorFilterRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified Traffic Mirror rule. /// /// Container for the necessary parameters to execute the DeleteTrafficMirrorFilterRule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTrafficMirrorFilterRule service method, as returned by EC2. /// REST API Reference for DeleteTrafficMirrorFilterRule Operation public virtual Task DeleteTrafficMirrorFilterRuleAsync(DeleteTrafficMirrorFilterRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTrafficMirrorFilterRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTrafficMirrorFilterRuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTrafficMirrorSession /// /// Deletes the specified Traffic Mirror session. /// /// Container for the necessary parameters to execute the DeleteTrafficMirrorSession service method. /// /// The response from the DeleteTrafficMirrorSession service method, as returned by EC2. /// REST API Reference for DeleteTrafficMirrorSession Operation public virtual DeleteTrafficMirrorSessionResponse DeleteTrafficMirrorSession(DeleteTrafficMirrorSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTrafficMirrorSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTrafficMirrorSessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified Traffic Mirror session. /// /// Container for the necessary parameters to execute the DeleteTrafficMirrorSession service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTrafficMirrorSession service method, as returned by EC2. /// REST API Reference for DeleteTrafficMirrorSession Operation public virtual Task DeleteTrafficMirrorSessionAsync(DeleteTrafficMirrorSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTrafficMirrorSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTrafficMirrorSessionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTrafficMirrorTarget /// /// Deletes the specified Traffic Mirror target. /// /// /// /// You cannot delete a Traffic Mirror target that is in use by a Traffic Mirror session. /// /// /// Container for the necessary parameters to execute the DeleteTrafficMirrorTarget service method. /// /// The response from the DeleteTrafficMirrorTarget service method, as returned by EC2. /// REST API Reference for DeleteTrafficMirrorTarget Operation public virtual DeleteTrafficMirrorTargetResponse DeleteTrafficMirrorTarget(DeleteTrafficMirrorTargetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTrafficMirrorTargetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTrafficMirrorTargetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified Traffic Mirror target. /// /// /// /// You cannot delete a Traffic Mirror target that is in use by a Traffic Mirror session. /// /// /// Container for the necessary parameters to execute the DeleteTrafficMirrorTarget service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTrafficMirrorTarget service method, as returned by EC2. /// REST API Reference for DeleteTrafficMirrorTarget Operation public virtual Task DeleteTrafficMirrorTargetAsync(DeleteTrafficMirrorTargetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTrafficMirrorTargetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTrafficMirrorTargetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTransitGateway /// /// Deletes the specified transit gateway. /// /// Container for the necessary parameters to execute the DeleteTransitGateway service method. /// /// The response from the DeleteTransitGateway service method, as returned by EC2. /// REST API Reference for DeleteTransitGateway Operation public virtual DeleteTransitGatewayResponse DeleteTransitGateway(DeleteTransitGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified transit gateway. /// /// Container for the necessary parameters to execute the DeleteTransitGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTransitGateway service method, as returned by EC2. /// REST API Reference for DeleteTransitGateway Operation public virtual Task DeleteTransitGatewayAsync(DeleteTransitGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTransitGatewayConnect /// /// Deletes the specified Connect attachment. You must first delete any Connect peers /// for the attachment. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayConnect service method. /// /// The response from the DeleteTransitGatewayConnect service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayConnect Operation public virtual DeleteTransitGatewayConnectResponse DeleteTransitGatewayConnect(DeleteTransitGatewayConnectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayConnectRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayConnectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified Connect attachment. You must first delete any Connect peers /// for the attachment. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayConnect service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTransitGatewayConnect service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayConnect Operation public virtual Task DeleteTransitGatewayConnectAsync(DeleteTransitGatewayConnectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayConnectRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayConnectResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTransitGatewayConnectPeer /// /// Deletes the specified Connect peer. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayConnectPeer service method. /// /// The response from the DeleteTransitGatewayConnectPeer service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayConnectPeer Operation public virtual DeleteTransitGatewayConnectPeerResponse DeleteTransitGatewayConnectPeer(DeleteTransitGatewayConnectPeerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayConnectPeerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified Connect peer. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayConnectPeer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTransitGatewayConnectPeer service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayConnectPeer Operation public virtual Task DeleteTransitGatewayConnectPeerAsync(DeleteTransitGatewayConnectPeerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayConnectPeerRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayConnectPeerResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTransitGatewayMulticastDomain /// /// Deletes the specified transit gateway multicast domain. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayMulticastDomain service method. /// /// The response from the DeleteTransitGatewayMulticastDomain service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayMulticastDomain Operation public virtual DeleteTransitGatewayMulticastDomainResponse DeleteTransitGatewayMulticastDomain(DeleteTransitGatewayMulticastDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayMulticastDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayMulticastDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified transit gateway multicast domain. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayMulticastDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTransitGatewayMulticastDomain service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayMulticastDomain Operation public virtual Task DeleteTransitGatewayMulticastDomainAsync(DeleteTransitGatewayMulticastDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayMulticastDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayMulticastDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTransitGatewayPeeringAttachment /// /// Deletes a transit gateway peering attachment. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayPeeringAttachment service method. /// /// The response from the DeleteTransitGatewayPeeringAttachment service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayPeeringAttachment Operation public virtual DeleteTransitGatewayPeeringAttachmentResponse DeleteTransitGatewayPeeringAttachment(DeleteTransitGatewayPeeringAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayPeeringAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayPeeringAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a transit gateway peering attachment. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayPeeringAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTransitGatewayPeeringAttachment service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayPeeringAttachment Operation public virtual Task DeleteTransitGatewayPeeringAttachmentAsync(DeleteTransitGatewayPeeringAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayPeeringAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayPeeringAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTransitGatewayPolicyTable /// /// Deletes the specified transit gateway policy table. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayPolicyTable service method. /// /// The response from the DeleteTransitGatewayPolicyTable service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayPolicyTable Operation public virtual DeleteTransitGatewayPolicyTableResponse DeleteTransitGatewayPolicyTable(DeleteTransitGatewayPolicyTableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayPolicyTableRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayPolicyTableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified transit gateway policy table. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayPolicyTable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTransitGatewayPolicyTable service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayPolicyTable Operation public virtual Task DeleteTransitGatewayPolicyTableAsync(DeleteTransitGatewayPolicyTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayPolicyTableRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayPolicyTableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTransitGatewayPrefixListReference /// /// Deletes a reference (route) to a prefix list in a specified transit gateway route /// table. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayPrefixListReference service method. /// /// The response from the DeleteTransitGatewayPrefixListReference service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayPrefixListReference Operation public virtual DeleteTransitGatewayPrefixListReferenceResponse DeleteTransitGatewayPrefixListReference(DeleteTransitGatewayPrefixListReferenceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayPrefixListReferenceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayPrefixListReferenceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a reference (route) to a prefix list in a specified transit gateway route /// table. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayPrefixListReference service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTransitGatewayPrefixListReference service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayPrefixListReference Operation public virtual Task DeleteTransitGatewayPrefixListReferenceAsync(DeleteTransitGatewayPrefixListReferenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayPrefixListReferenceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayPrefixListReferenceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTransitGatewayRoute /// /// Deletes the specified route from the specified transit gateway route table. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayRoute service method. /// /// The response from the DeleteTransitGatewayRoute service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayRoute Operation public virtual DeleteTransitGatewayRouteResponse DeleteTransitGatewayRoute(DeleteTransitGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified route from the specified transit gateway route table. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTransitGatewayRoute service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayRoute Operation public virtual Task DeleteTransitGatewayRouteAsync(DeleteTransitGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTransitGatewayRouteTable /// /// Deletes the specified transit gateway route table. You must disassociate the route /// table from any transit gateway route tables before you can delete it. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayRouteTable service method. /// /// The response from the DeleteTransitGatewayRouteTable service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayRouteTable Operation public virtual DeleteTransitGatewayRouteTableResponse DeleteTransitGatewayRouteTable(DeleteTransitGatewayRouteTableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayRouteTableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified transit gateway route table. You must disassociate the route /// table from any transit gateway route tables before you can delete it. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayRouteTable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTransitGatewayRouteTable service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayRouteTable Operation public virtual Task DeleteTransitGatewayRouteTableAsync(DeleteTransitGatewayRouteTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayRouteTableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTransitGatewayRouteTableAnnouncement /// /// Advertises to the transit gateway that a transit gateway route table is deleted. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayRouteTableAnnouncement service method. /// /// The response from the DeleteTransitGatewayRouteTableAnnouncement service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayRouteTableAnnouncement Operation public virtual DeleteTransitGatewayRouteTableAnnouncementResponse DeleteTransitGatewayRouteTableAnnouncement(DeleteTransitGatewayRouteTableAnnouncementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayRouteTableAnnouncementRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayRouteTableAnnouncementResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Advertises to the transit gateway that a transit gateway route table is deleted. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayRouteTableAnnouncement service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTransitGatewayRouteTableAnnouncement service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayRouteTableAnnouncement Operation public virtual Task DeleteTransitGatewayRouteTableAnnouncementAsync(DeleteTransitGatewayRouteTableAnnouncementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayRouteTableAnnouncementRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayRouteTableAnnouncementResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTransitGatewayVpcAttachment /// /// Deletes the specified VPC attachment. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayVpcAttachment service method. /// /// The response from the DeleteTransitGatewayVpcAttachment service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayVpcAttachment Operation public virtual DeleteTransitGatewayVpcAttachmentResponse DeleteTransitGatewayVpcAttachment(DeleteTransitGatewayVpcAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayVpcAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified VPC attachment. /// /// Container for the necessary parameters to execute the DeleteTransitGatewayVpcAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTransitGatewayVpcAttachment service method, as returned by EC2. /// REST API Reference for DeleteTransitGatewayVpcAttachment Operation public virtual Task DeleteTransitGatewayVpcAttachmentAsync(DeleteTransitGatewayVpcAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTransitGatewayVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTransitGatewayVpcAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVerifiedAccessEndpoint /// /// Delete an Amazon Web Services Verified Access endpoint. /// /// Container for the necessary parameters to execute the DeleteVerifiedAccessEndpoint service method. /// /// The response from the DeleteVerifiedAccessEndpoint service method, as returned by EC2. /// REST API Reference for DeleteVerifiedAccessEndpoint Operation public virtual DeleteVerifiedAccessEndpointResponse DeleteVerifiedAccessEndpoint(DeleteVerifiedAccessEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVerifiedAccessEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVerifiedAccessEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete an Amazon Web Services Verified Access endpoint. /// /// Container for the necessary parameters to execute the DeleteVerifiedAccessEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVerifiedAccessEndpoint service method, as returned by EC2. /// REST API Reference for DeleteVerifiedAccessEndpoint Operation public virtual Task DeleteVerifiedAccessEndpointAsync(DeleteVerifiedAccessEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVerifiedAccessEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVerifiedAccessEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVerifiedAccessGroup /// /// Delete an Amazon Web Services Verified Access group. /// /// Container for the necessary parameters to execute the DeleteVerifiedAccessGroup service method. /// /// The response from the DeleteVerifiedAccessGroup service method, as returned by EC2. /// REST API Reference for DeleteVerifiedAccessGroup Operation public virtual DeleteVerifiedAccessGroupResponse DeleteVerifiedAccessGroup(DeleteVerifiedAccessGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVerifiedAccessGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVerifiedAccessGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete an Amazon Web Services Verified Access group. /// /// Container for the necessary parameters to execute the DeleteVerifiedAccessGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVerifiedAccessGroup service method, as returned by EC2. /// REST API Reference for DeleteVerifiedAccessGroup Operation public virtual Task DeleteVerifiedAccessGroupAsync(DeleteVerifiedAccessGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVerifiedAccessGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVerifiedAccessGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVerifiedAccessInstance /// /// Delete an Amazon Web Services Verified Access instance. /// /// Container for the necessary parameters to execute the DeleteVerifiedAccessInstance service method. /// /// The response from the DeleteVerifiedAccessInstance service method, as returned by EC2. /// REST API Reference for DeleteVerifiedAccessInstance Operation public virtual DeleteVerifiedAccessInstanceResponse DeleteVerifiedAccessInstance(DeleteVerifiedAccessInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVerifiedAccessInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVerifiedAccessInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete an Amazon Web Services Verified Access instance. /// /// Container for the necessary parameters to execute the DeleteVerifiedAccessInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVerifiedAccessInstance service method, as returned by EC2. /// REST API Reference for DeleteVerifiedAccessInstance Operation public virtual Task DeleteVerifiedAccessInstanceAsync(DeleteVerifiedAccessInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVerifiedAccessInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVerifiedAccessInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVerifiedAccessTrustProvider /// /// Delete an Amazon Web Services Verified Access trust provider. /// /// Container for the necessary parameters to execute the DeleteVerifiedAccessTrustProvider service method. /// /// The response from the DeleteVerifiedAccessTrustProvider service method, as returned by EC2. /// REST API Reference for DeleteVerifiedAccessTrustProvider Operation public virtual DeleteVerifiedAccessTrustProviderResponse DeleteVerifiedAccessTrustProvider(DeleteVerifiedAccessTrustProviderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVerifiedAccessTrustProviderRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVerifiedAccessTrustProviderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Delete an Amazon Web Services Verified Access trust provider. /// /// Container for the necessary parameters to execute the DeleteVerifiedAccessTrustProvider service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVerifiedAccessTrustProvider service method, as returned by EC2. /// REST API Reference for DeleteVerifiedAccessTrustProvider Operation public virtual Task DeleteVerifiedAccessTrustProviderAsync(DeleteVerifiedAccessTrustProviderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVerifiedAccessTrustProviderRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVerifiedAccessTrustProviderResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVolume /// /// Deletes the specified EBS volume. The volume must be in the available /// state (not attached to an instance). /// /// /// /// The volume can remain in the deleting state for several minutes. /// /// /// /// For more information, see Delete /// an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DeleteVolume service method. /// /// The response from the DeleteVolume service method, as returned by EC2. /// REST API Reference for DeleteVolume Operation public virtual DeleteVolumeResponse DeleteVolume(DeleteVolumeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVolumeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVolumeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified EBS volume. The volume must be in the available /// state (not attached to an instance). /// /// /// /// The volume can remain in the deleting state for several minutes. /// /// /// /// For more information, see Delete /// an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DeleteVolume service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVolume service method, as returned by EC2. /// REST API Reference for DeleteVolume Operation public virtual Task DeleteVolumeAsync(DeleteVolumeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVolumeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVolumeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVpc /// /// Deletes the specified VPC. You must detach or delete all gateways and resources that /// are associated with the VPC before you can delete it. For example, you must terminate /// all instances running in the VPC, delete all security groups associated with the VPC /// (except the default one), delete all route tables associated with the VPC (except /// the default one), and so on. /// /// Container for the necessary parameters to execute the DeleteVpc service method. /// /// The response from the DeleteVpc service method, as returned by EC2. /// REST API Reference for DeleteVpc Operation public virtual DeleteVpcResponse DeleteVpc(DeleteVpcRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified VPC. You must detach or delete all gateways and resources that /// are associated with the VPC before you can delete it. For example, you must terminate /// all instances running in the VPC, delete all security groups associated with the VPC /// (except the default one), delete all route tables associated with the VPC (except /// the default one), and so on. /// /// Container for the necessary parameters to execute the DeleteVpc service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVpc service method, as returned by EC2. /// REST API Reference for DeleteVpc Operation public virtual Task DeleteVpcAsync(DeleteVpcRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVpcEndpointConnectionNotifications /// /// Deletes the specified VPC endpoint connection notifications. /// /// Container for the necessary parameters to execute the DeleteVpcEndpointConnectionNotifications service method. /// /// The response from the DeleteVpcEndpointConnectionNotifications service method, as returned by EC2. /// REST API Reference for DeleteVpcEndpointConnectionNotifications Operation public virtual DeleteVpcEndpointConnectionNotificationsResponse DeleteVpcEndpointConnectionNotifications(DeleteVpcEndpointConnectionNotificationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcEndpointConnectionNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcEndpointConnectionNotificationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified VPC endpoint connection notifications. /// /// Container for the necessary parameters to execute the DeleteVpcEndpointConnectionNotifications service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVpcEndpointConnectionNotifications service method, as returned by EC2. /// REST API Reference for DeleteVpcEndpointConnectionNotifications Operation public virtual Task DeleteVpcEndpointConnectionNotificationsAsync(DeleteVpcEndpointConnectionNotificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcEndpointConnectionNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcEndpointConnectionNotificationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVpcEndpoints /// /// Deletes the specified VPC endpoints. /// /// /// /// When you delete a gateway endpoint, we delete the endpoint routes in the route tables /// for the endpoint. /// /// /// /// When you delete a Gateway Load Balancer endpoint, we delete its endpoint network interfaces. /// You can only delete Gateway Load Balancer endpoints when the routes that are associated /// with the endpoint are deleted. /// /// /// /// When you delete an interface endpoint, we delete its endpoint network interfaces. /// /// /// Container for the necessary parameters to execute the DeleteVpcEndpoints service method. /// /// The response from the DeleteVpcEndpoints service method, as returned by EC2. /// REST API Reference for DeleteVpcEndpoints Operation public virtual DeleteVpcEndpointsResponse DeleteVpcEndpoints(DeleteVpcEndpointsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcEndpointsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified VPC endpoints. /// /// /// /// When you delete a gateway endpoint, we delete the endpoint routes in the route tables /// for the endpoint. /// /// /// /// When you delete a Gateway Load Balancer endpoint, we delete its endpoint network interfaces. /// You can only delete Gateway Load Balancer endpoints when the routes that are associated /// with the endpoint are deleted. /// /// /// /// When you delete an interface endpoint, we delete its endpoint network interfaces. /// /// /// Container for the necessary parameters to execute the DeleteVpcEndpoints service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVpcEndpoints service method, as returned by EC2. /// REST API Reference for DeleteVpcEndpoints Operation public virtual Task DeleteVpcEndpointsAsync(DeleteVpcEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcEndpointsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVpcEndpointServiceConfigurations /// /// Deletes the specified VPC endpoint service configurations. Before you can delete an /// endpoint service configuration, you must reject any Available or PendingAcceptance /// interface endpoint connections that are attached to the service. /// /// Container for the necessary parameters to execute the DeleteVpcEndpointServiceConfigurations service method. /// /// The response from the DeleteVpcEndpointServiceConfigurations service method, as returned by EC2. /// REST API Reference for DeleteVpcEndpointServiceConfigurations Operation public virtual DeleteVpcEndpointServiceConfigurationsResponse DeleteVpcEndpointServiceConfigurations(DeleteVpcEndpointServiceConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcEndpointServiceConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcEndpointServiceConfigurationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified VPC endpoint service configurations. Before you can delete an /// endpoint service configuration, you must reject any Available or PendingAcceptance /// interface endpoint connections that are attached to the service. /// /// Container for the necessary parameters to execute the DeleteVpcEndpointServiceConfigurations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVpcEndpointServiceConfigurations service method, as returned by EC2. /// REST API Reference for DeleteVpcEndpointServiceConfigurations Operation public virtual Task DeleteVpcEndpointServiceConfigurationsAsync(DeleteVpcEndpointServiceConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcEndpointServiceConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcEndpointServiceConfigurationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVpcPeeringConnection /// /// Deletes a VPC peering connection. Either the owner of the requester VPC or the owner /// of the accepter VPC can delete the VPC peering connection if it's in the active /// state. The owner of the requester VPC can delete a VPC peering connection in the pending-acceptance /// state. You cannot delete a VPC peering connection that's in the failed /// state. /// /// Container for the necessary parameters to execute the DeleteVpcPeeringConnection service method. /// /// The response from the DeleteVpcPeeringConnection service method, as returned by EC2. /// REST API Reference for DeleteVpcPeeringConnection Operation public virtual DeleteVpcPeeringConnectionResponse DeleteVpcPeeringConnection(DeleteVpcPeeringConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcPeeringConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcPeeringConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a VPC peering connection. Either the owner of the requester VPC or the owner /// of the accepter VPC can delete the VPC peering connection if it's in the active /// state. The owner of the requester VPC can delete a VPC peering connection in the pending-acceptance /// state. You cannot delete a VPC peering connection that's in the failed /// state. /// /// Container for the necessary parameters to execute the DeleteVpcPeeringConnection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVpcPeeringConnection service method, as returned by EC2. /// REST API Reference for DeleteVpcPeeringConnection Operation public virtual Task DeleteVpcPeeringConnectionAsync(DeleteVpcPeeringConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcPeeringConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcPeeringConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVpnConnection /// /// Deletes the specified VPN connection. /// /// /// /// If you're deleting the VPC and its associated components, we recommend that you detach /// the virtual private gateway from the VPC and delete the VPC before deleting the VPN /// connection. If you believe that the tunnel credentials for your VPN connection have /// been compromised, you can delete the VPN connection and create a new one that has /// new keys, without needing to delete the VPC or virtual private gateway. If you create /// a new VPN connection, you must reconfigure the customer gateway device using the new /// configuration information returned with the new VPN connection ID. /// /// /// /// For certificate-based authentication, delete all Certificate Manager (ACM) private /// certificates used for the Amazon Web Services-side tunnel endpoints for the VPN connection /// before deleting the VPN connection. /// /// /// Container for the necessary parameters to execute the DeleteVpnConnection service method. /// /// The response from the DeleteVpnConnection service method, as returned by EC2. /// REST API Reference for DeleteVpnConnection Operation public virtual DeleteVpnConnectionResponse DeleteVpnConnection(DeleteVpnConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpnConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpnConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified VPN connection. /// /// /// /// If you're deleting the VPC and its associated components, we recommend that you detach /// the virtual private gateway from the VPC and delete the VPC before deleting the VPN /// connection. If you believe that the tunnel credentials for your VPN connection have /// been compromised, you can delete the VPN connection and create a new one that has /// new keys, without needing to delete the VPC or virtual private gateway. If you create /// a new VPN connection, you must reconfigure the customer gateway device using the new /// configuration information returned with the new VPN connection ID. /// /// /// /// For certificate-based authentication, delete all Certificate Manager (ACM) private /// certificates used for the Amazon Web Services-side tunnel endpoints for the VPN connection /// before deleting the VPN connection. /// /// /// Container for the necessary parameters to execute the DeleteVpnConnection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVpnConnection service method, as returned by EC2. /// REST API Reference for DeleteVpnConnection Operation public virtual Task DeleteVpnConnectionAsync(DeleteVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpnConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpnConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVpnConnectionRoute /// /// Deletes the specified static route associated with a VPN connection between an existing /// virtual private gateway and a VPN customer gateway. The static route allows traffic /// to be routed from the virtual private gateway to the VPN customer gateway. /// /// Container for the necessary parameters to execute the DeleteVpnConnectionRoute service method. /// /// The response from the DeleteVpnConnectionRoute service method, as returned by EC2. /// REST API Reference for DeleteVpnConnectionRoute Operation public virtual DeleteVpnConnectionRouteResponse DeleteVpnConnectionRoute(DeleteVpnConnectionRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpnConnectionRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpnConnectionRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified static route associated with a VPN connection between an existing /// virtual private gateway and a VPN customer gateway. The static route allows traffic /// to be routed from the virtual private gateway to the VPN customer gateway. /// /// Container for the necessary parameters to execute the DeleteVpnConnectionRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVpnConnectionRoute service method, as returned by EC2. /// REST API Reference for DeleteVpnConnectionRoute Operation public virtual Task DeleteVpnConnectionRouteAsync(DeleteVpnConnectionRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpnConnectionRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpnConnectionRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVpnGateway /// /// Deletes the specified virtual private gateway. You must first detach the virtual private /// gateway from the VPC. Note that you don't need to delete the virtual private gateway /// if you plan to delete and recreate the VPN connection between your VPC and your network. /// /// Container for the necessary parameters to execute the DeleteVpnGateway service method. /// /// The response from the DeleteVpnGateway service method, as returned by EC2. /// REST API Reference for DeleteVpnGateway Operation public virtual DeleteVpnGatewayResponse DeleteVpnGateway(DeleteVpnGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpnGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpnGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified virtual private gateway. You must first detach the virtual private /// gateway from the VPC. Note that you don't need to delete the virtual private gateway /// if you plan to delete and recreate the VPN connection between your VPC and your network. /// /// Container for the necessary parameters to execute the DeleteVpnGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVpnGateway service method, as returned by EC2. /// REST API Reference for DeleteVpnGateway Operation public virtual Task DeleteVpnGatewayAsync(DeleteVpnGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpnGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpnGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeprovisionByoipCidr /// /// Releases the specified address range that you provisioned for use with your Amazon /// Web Services resources through bring your own IP addresses (BYOIP) and deletes the /// corresponding address pool. /// /// /// /// Before you can release an address range, you must stop advertising it using WithdrawByoipCidr /// and you must not have any IP addresses allocated from its address range. /// /// /// Container for the necessary parameters to execute the DeprovisionByoipCidr service method. /// /// The response from the DeprovisionByoipCidr service method, as returned by EC2. /// REST API Reference for DeprovisionByoipCidr Operation public virtual DeprovisionByoipCidrResponse DeprovisionByoipCidr(DeprovisionByoipCidrRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeprovisionByoipCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = DeprovisionByoipCidrResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Releases the specified address range that you provisioned for use with your Amazon /// Web Services resources through bring your own IP addresses (BYOIP) and deletes the /// corresponding address pool. /// /// /// /// Before you can release an address range, you must stop advertising it using WithdrawByoipCidr /// and you must not have any IP addresses allocated from its address range. /// /// /// Container for the necessary parameters to execute the DeprovisionByoipCidr service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeprovisionByoipCidr service method, as returned by EC2. /// REST API Reference for DeprovisionByoipCidr Operation public virtual Task DeprovisionByoipCidrAsync(DeprovisionByoipCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeprovisionByoipCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = DeprovisionByoipCidrResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeprovisionIpamPoolCidr /// /// Deprovision a CIDR provisioned from an IPAM pool. If you deprovision a CIDR from a /// pool that has a source pool, the CIDR is recycled back into the source pool. For more /// information, see Deprovision /// pool CIDRs in the Amazon VPC IPAM User Guide. /// /// Container for the necessary parameters to execute the DeprovisionIpamPoolCidr service method. /// /// The response from the DeprovisionIpamPoolCidr service method, as returned by EC2. /// REST API Reference for DeprovisionIpamPoolCidr Operation public virtual DeprovisionIpamPoolCidrResponse DeprovisionIpamPoolCidr(DeprovisionIpamPoolCidrRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeprovisionIpamPoolCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = DeprovisionIpamPoolCidrResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deprovision a CIDR provisioned from an IPAM pool. If you deprovision a CIDR from a /// pool that has a source pool, the CIDR is recycled back into the source pool. For more /// information, see Deprovision /// pool CIDRs in the Amazon VPC IPAM User Guide. /// /// Container for the necessary parameters to execute the DeprovisionIpamPoolCidr service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeprovisionIpamPoolCidr service method, as returned by EC2. /// REST API Reference for DeprovisionIpamPoolCidr Operation public virtual Task DeprovisionIpamPoolCidrAsync(DeprovisionIpamPoolCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeprovisionIpamPoolCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = DeprovisionIpamPoolCidrResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeprovisionPublicIpv4PoolCidr /// /// Deprovision a CIDR from a public IPv4 pool. /// /// Container for the necessary parameters to execute the DeprovisionPublicIpv4PoolCidr service method. /// /// The response from the DeprovisionPublicIpv4PoolCidr service method, as returned by EC2. /// REST API Reference for DeprovisionPublicIpv4PoolCidr Operation public virtual DeprovisionPublicIpv4PoolCidrResponse DeprovisionPublicIpv4PoolCidr(DeprovisionPublicIpv4PoolCidrRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeprovisionPublicIpv4PoolCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = DeprovisionPublicIpv4PoolCidrResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deprovision a CIDR from a public IPv4 pool. /// /// Container for the necessary parameters to execute the DeprovisionPublicIpv4PoolCidr service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeprovisionPublicIpv4PoolCidr service method, as returned by EC2. /// REST API Reference for DeprovisionPublicIpv4PoolCidr Operation public virtual Task DeprovisionPublicIpv4PoolCidrAsync(DeprovisionPublicIpv4PoolCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeprovisionPublicIpv4PoolCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = DeprovisionPublicIpv4PoolCidrResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeregisterImage /// /// Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch /// new instances. /// /// /// /// If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained /// in the Recycle Bin for the specified retention period. For more information, see Recycle /// Bin in the Amazon EC2 User Guide. /// /// /// /// When you deregister an AMI, it doesn't affect any instances that you've already launched /// from the AMI. You'll continue to incur usage costs for those instances until you terminate /// them. /// /// /// /// When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that /// was created for the root volume of the instance during the AMI creation process. When /// you deregister an instance store-backed AMI, it doesn't affect the files that you /// uploaded to Amazon S3 when you created the AMI. /// /// /// Container for the necessary parameters to execute the DeregisterImage service method. /// /// The response from the DeregisterImage service method, as returned by EC2. /// REST API Reference for DeregisterImage Operation public virtual DeregisterImageResponse DeregisterImage(DeregisterImageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterImageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterImageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch /// new instances. /// /// /// /// If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained /// in the Recycle Bin for the specified retention period. For more information, see Recycle /// Bin in the Amazon EC2 User Guide. /// /// /// /// When you deregister an AMI, it doesn't affect any instances that you've already launched /// from the AMI. You'll continue to incur usage costs for those instances until you terminate /// them. /// /// /// /// When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that /// was created for the root volume of the instance during the AMI creation process. When /// you deregister an instance store-backed AMI, it doesn't affect the files that you /// uploaded to Amazon S3 when you created the AMI. /// /// /// Container for the necessary parameters to execute the DeregisterImage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeregisterImage service method, as returned by EC2. /// REST API Reference for DeregisterImage Operation public virtual Task DeregisterImageAsync(DeregisterImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterImageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterImageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeregisterInstanceEventNotificationAttributes /// /// Deregisters tag keys to prevent tags that have the specified tag keys from being included /// in scheduled event notifications for resources in the Region. /// /// Container for the necessary parameters to execute the DeregisterInstanceEventNotificationAttributes service method. /// /// The response from the DeregisterInstanceEventNotificationAttributes service method, as returned by EC2. /// REST API Reference for DeregisterInstanceEventNotificationAttributes Operation public virtual DeregisterInstanceEventNotificationAttributesResponse DeregisterInstanceEventNotificationAttributes(DeregisterInstanceEventNotificationAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterInstanceEventNotificationAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterInstanceEventNotificationAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deregisters tag keys to prevent tags that have the specified tag keys from being included /// in scheduled event notifications for resources in the Region. /// /// Container for the necessary parameters to execute the DeregisterInstanceEventNotificationAttributes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeregisterInstanceEventNotificationAttributes service method, as returned by EC2. /// REST API Reference for DeregisterInstanceEventNotificationAttributes Operation public virtual Task DeregisterInstanceEventNotificationAttributesAsync(DeregisterInstanceEventNotificationAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterInstanceEventNotificationAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterInstanceEventNotificationAttributesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeregisterTransitGatewayMulticastGroupMembers /// /// Deregisters the specified members (network interfaces) from the transit gateway multicast /// group. /// /// Container for the necessary parameters to execute the DeregisterTransitGatewayMulticastGroupMembers service method. /// /// The response from the DeregisterTransitGatewayMulticastGroupMembers service method, as returned by EC2. /// REST API Reference for DeregisterTransitGatewayMulticastGroupMembers Operation public virtual DeregisterTransitGatewayMulticastGroupMembersResponse DeregisterTransitGatewayMulticastGroupMembers(DeregisterTransitGatewayMulticastGroupMembersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterTransitGatewayMulticastGroupMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterTransitGatewayMulticastGroupMembersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deregisters the specified members (network interfaces) from the transit gateway multicast /// group. /// /// Container for the necessary parameters to execute the DeregisterTransitGatewayMulticastGroupMembers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeregisterTransitGatewayMulticastGroupMembers service method, as returned by EC2. /// REST API Reference for DeregisterTransitGatewayMulticastGroupMembers Operation public virtual Task DeregisterTransitGatewayMulticastGroupMembersAsync(DeregisterTransitGatewayMulticastGroupMembersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterTransitGatewayMulticastGroupMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterTransitGatewayMulticastGroupMembersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeregisterTransitGatewayMulticastGroupSources /// /// Deregisters the specified sources (network interfaces) from the transit gateway multicast /// group. /// /// Container for the necessary parameters to execute the DeregisterTransitGatewayMulticastGroupSources service method. /// /// The response from the DeregisterTransitGatewayMulticastGroupSources service method, as returned by EC2. /// REST API Reference for DeregisterTransitGatewayMulticastGroupSources Operation public virtual DeregisterTransitGatewayMulticastGroupSourcesResponse DeregisterTransitGatewayMulticastGroupSources(DeregisterTransitGatewayMulticastGroupSourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterTransitGatewayMulticastGroupSourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterTransitGatewayMulticastGroupSourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deregisters the specified sources (network interfaces) from the transit gateway multicast /// group. /// /// Container for the necessary parameters to execute the DeregisterTransitGatewayMulticastGroupSources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeregisterTransitGatewayMulticastGroupSources service method, as returned by EC2. /// REST API Reference for DeregisterTransitGatewayMulticastGroupSources Operation public virtual Task DeregisterTransitGatewayMulticastGroupSourcesAsync(DeregisterTransitGatewayMulticastGroupSourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterTransitGatewayMulticastGroupSourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterTransitGatewayMulticastGroupSourcesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAccountAttributes /// /// Describes attributes of your Amazon Web Services account. The following are the supported /// account attributes: /// ///
  • /// /// default-vpc: The ID of the default VPC for your account, or none. /// ///
  • /// /// max-instances: This attribute is no longer supported. The returned value /// does not reflect your actual vCPU limit for running On-Demand Instances. For more /// information, see On-Demand /// Instance Limits in the Amazon Elastic Compute Cloud User Guide. /// ///
  • /// /// max-elastic-ips: The maximum number of Elastic IP addresses that you /// can allocate. /// ///
  • /// /// supported-platforms: This attribute is deprecated. /// ///
  • /// /// vpc-max-elastic-ips: The maximum number of Elastic IP addresses that /// you can allocate. /// ///
  • /// /// vpc-max-security-groups-per-interface: The maximum number of security /// groups that you can assign to a network interface. /// ///
///
/// /// The response from the DescribeAccountAttributes service method, as returned by EC2. /// REST API Reference for DescribeAccountAttributes Operation public virtual DescribeAccountAttributesResponse DescribeAccountAttributes() { return DescribeAccountAttributes(new DescribeAccountAttributesRequest()); } /// /// Describes attributes of your Amazon Web Services account. The following are the supported /// account attributes: /// ///
  • /// /// default-vpc: The ID of the default VPC for your account, or none. /// ///
  • /// /// max-instances: This attribute is no longer supported. The returned value /// does not reflect your actual vCPU limit for running On-Demand Instances. For more /// information, see On-Demand /// Instance Limits in the Amazon Elastic Compute Cloud User Guide. /// ///
  • /// /// max-elastic-ips: The maximum number of Elastic IP addresses that you /// can allocate. /// ///
  • /// /// supported-platforms: This attribute is deprecated. /// ///
  • /// /// vpc-max-elastic-ips: The maximum number of Elastic IP addresses that /// you can allocate. /// ///
  • /// /// vpc-max-security-groups-per-interface: The maximum number of security /// groups that you can assign to a network interface. /// ///
///
/// Container for the necessary parameters to execute the DescribeAccountAttributes service method. /// /// The response from the DescribeAccountAttributes service method, as returned by EC2. /// REST API Reference for DescribeAccountAttributes Operation public virtual DescribeAccountAttributesResponse DescribeAccountAttributes(DescribeAccountAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAccountAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAccountAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes attributes of your Amazon Web Services account. The following are the supported /// account attributes: /// ///
  • /// /// default-vpc: The ID of the default VPC for your account, or none. /// ///
  • /// /// max-instances: This attribute is no longer supported. The returned value /// does not reflect your actual vCPU limit for running On-Demand Instances. For more /// information, see On-Demand /// Instance Limits in the Amazon Elastic Compute Cloud User Guide. /// ///
  • /// /// max-elastic-ips: The maximum number of Elastic IP addresses that you /// can allocate. /// ///
  • /// /// supported-platforms: This attribute is deprecated. /// ///
  • /// /// vpc-max-elastic-ips: The maximum number of Elastic IP addresses that /// you can allocate. /// ///
  • /// /// vpc-max-security-groups-per-interface: The maximum number of security /// groups that you can assign to a network interface. /// ///
///
/// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAccountAttributes service method, as returned by EC2. /// REST API Reference for DescribeAccountAttributes Operation public virtual Task DescribeAccountAttributesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeAccountAttributesAsync(new DescribeAccountAttributesRequest(), cancellationToken); } /// /// Describes attributes of your Amazon Web Services account. The following are the supported /// account attributes: /// ///
  • /// /// default-vpc: The ID of the default VPC for your account, or none. /// ///
  • /// /// max-instances: This attribute is no longer supported. The returned value /// does not reflect your actual vCPU limit for running On-Demand Instances. For more /// information, see On-Demand /// Instance Limits in the Amazon Elastic Compute Cloud User Guide. /// ///
  • /// /// max-elastic-ips: The maximum number of Elastic IP addresses that you /// can allocate. /// ///
  • /// /// supported-platforms: This attribute is deprecated. /// ///
  • /// /// vpc-max-elastic-ips: The maximum number of Elastic IP addresses that /// you can allocate. /// ///
  • /// /// vpc-max-security-groups-per-interface: The maximum number of security /// groups that you can assign to a network interface. /// ///
///
/// Container for the necessary parameters to execute the DescribeAccountAttributes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAccountAttributes service method, as returned by EC2. /// REST API Reference for DescribeAccountAttributes Operation public virtual Task DescribeAccountAttributesAsync(DescribeAccountAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAccountAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAccountAttributesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAddresses /// /// Describes the specified Elastic IP addresses or all of your Elastic IP addresses. /// /// /// The response from the DescribeAddresses service method, as returned by EC2. /// REST API Reference for DescribeAddresses Operation public virtual DescribeAddressesResponse DescribeAddresses() { return DescribeAddresses(new DescribeAddressesRequest()); } /// /// Describes the specified Elastic IP addresses or all of your Elastic IP addresses. /// /// Container for the necessary parameters to execute the DescribeAddresses service method. /// /// The response from the DescribeAddresses service method, as returned by EC2. /// REST API Reference for DescribeAddresses Operation public virtual DescribeAddressesResponse DescribeAddresses(DescribeAddressesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAddressesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified Elastic IP addresses or all of your Elastic IP addresses. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAddresses service method, as returned by EC2. /// REST API Reference for DescribeAddresses Operation public virtual Task DescribeAddressesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeAddressesAsync(new DescribeAddressesRequest(), cancellationToken); } /// /// Describes the specified Elastic IP addresses or all of your Elastic IP addresses. /// /// Container for the necessary parameters to execute the DescribeAddresses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAddresses service method, as returned by EC2. /// REST API Reference for DescribeAddresses Operation public virtual Task DescribeAddressesAsync(DescribeAddressesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAddressesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAddressesAttribute /// /// Describes the attributes of the specified Elastic IP addresses. For requirements, /// see Using /// reverse DNS for email applications. /// /// Container for the necessary parameters to execute the DescribeAddressesAttribute service method. /// /// The response from the DescribeAddressesAttribute service method, as returned by EC2. /// REST API Reference for DescribeAddressesAttribute Operation public virtual DescribeAddressesAttributeResponse DescribeAddressesAttribute(DescribeAddressesAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAddressesAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAddressesAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the attributes of the specified Elastic IP addresses. For requirements, /// see Using /// reverse DNS for email applications. /// /// Container for the necessary parameters to execute the DescribeAddressesAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAddressesAttribute service method, as returned by EC2. /// REST API Reference for DescribeAddressesAttribute Operation public virtual Task DescribeAddressesAttributeAsync(DescribeAddressesAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAddressesAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAddressesAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAddressTransfers /// /// Describes an Elastic IP address transfer. For more information, see Transfer /// Elastic IP addresses in the Amazon Virtual Private Cloud User Guide. /// /// /// /// When you transfer an Elastic IP address, there is a two-step handshake between the /// source and transfer Amazon Web Services accounts. When the source account starts the /// transfer, the transfer account has seven days to accept the Elastic IP address transfer. /// During those seven days, the source account can view the pending transfer by using /// this action. After seven days, the transfer expires and ownership of the Elastic IP /// address returns to the source account. Accepted transfers are visible to the source /// account for three days after the transfers have been accepted. /// /// /// Container for the necessary parameters to execute the DescribeAddressTransfers service method. /// /// The response from the DescribeAddressTransfers service method, as returned by EC2. /// REST API Reference for DescribeAddressTransfers Operation public virtual DescribeAddressTransfersResponse DescribeAddressTransfers(DescribeAddressTransfersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAddressTransfersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAddressTransfersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes an Elastic IP address transfer. For more information, see Transfer /// Elastic IP addresses in the Amazon Virtual Private Cloud User Guide. /// /// /// /// When you transfer an Elastic IP address, there is a two-step handshake between the /// source and transfer Amazon Web Services accounts. When the source account starts the /// transfer, the transfer account has seven days to accept the Elastic IP address transfer. /// During those seven days, the source account can view the pending transfer by using /// this action. After seven days, the transfer expires and ownership of the Elastic IP /// address returns to the source account. Accepted transfers are visible to the source /// account for three days after the transfers have been accepted. /// /// /// Container for the necessary parameters to execute the DescribeAddressTransfers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAddressTransfers service method, as returned by EC2. /// REST API Reference for DescribeAddressTransfers Operation public virtual Task DescribeAddressTransfersAsync(DescribeAddressTransfersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAddressTransfersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAddressTransfersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAggregateIdFormat /// /// Describes the longer ID format settings for all resource types in a specific Region. /// This request is useful for performing a quick audit to determine whether a specific /// Region is fully opted in for longer IDs (17-character IDs). /// /// /// /// This request only returns information about resource types that support longer IDs. /// /// /// /// The following resource types support longer IDs: bundle | conversion-task /// | customer-gateway | dhcp-options | elastic-ip-allocation /// | elastic-ip-association | export-task | flow-log /// | image | import-task | instance | internet-gateway /// | network-acl | network-acl-association | network-interface /// | network-interface-attachment | prefix-list | reservation /// | route-table | route-table-association | security-group /// | snapshot | subnet | subnet-cidr-block-association /// | volume | vpc | vpc-cidr-block-association /// | vpc-endpoint | vpc-peering-connection | vpn-connection /// | vpn-gateway. /// /// /// Container for the necessary parameters to execute the DescribeAggregateIdFormat service method. /// /// The response from the DescribeAggregateIdFormat service method, as returned by EC2. /// REST API Reference for DescribeAggregateIdFormat Operation public virtual DescribeAggregateIdFormatResponse DescribeAggregateIdFormat(DescribeAggregateIdFormatRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAggregateIdFormatRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAggregateIdFormatResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the longer ID format settings for all resource types in a specific Region. /// This request is useful for performing a quick audit to determine whether a specific /// Region is fully opted in for longer IDs (17-character IDs). /// /// /// /// This request only returns information about resource types that support longer IDs. /// /// /// /// The following resource types support longer IDs: bundle | conversion-task /// | customer-gateway | dhcp-options | elastic-ip-allocation /// | elastic-ip-association | export-task | flow-log /// | image | import-task | instance | internet-gateway /// | network-acl | network-acl-association | network-interface /// | network-interface-attachment | prefix-list | reservation /// | route-table | route-table-association | security-group /// | snapshot | subnet | subnet-cidr-block-association /// | volume | vpc | vpc-cidr-block-association /// | vpc-endpoint | vpc-peering-connection | vpn-connection /// | vpn-gateway. /// /// /// Container for the necessary parameters to execute the DescribeAggregateIdFormat service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAggregateIdFormat service method, as returned by EC2. /// REST API Reference for DescribeAggregateIdFormat Operation public virtual Task DescribeAggregateIdFormatAsync(DescribeAggregateIdFormatRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAggregateIdFormatRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAggregateIdFormatResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAvailabilityZones /// /// Describes the Availability Zones, Local Zones, and Wavelength Zones that are available /// to you. If there is an event impacting a zone, you can use this request to view the /// state and any provided messages for that zone. /// /// /// /// For more information about Availability Zones, Local Zones, and Wavelength Zones, /// see Regions /// and zones in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// The response from the DescribeAvailabilityZones service method, as returned by EC2. /// REST API Reference for DescribeAvailabilityZones Operation public virtual DescribeAvailabilityZonesResponse DescribeAvailabilityZones() { return DescribeAvailabilityZones(new DescribeAvailabilityZonesRequest()); } /// /// Describes the Availability Zones, Local Zones, and Wavelength Zones that are available /// to you. If there is an event impacting a zone, you can use this request to view the /// state and any provided messages for that zone. /// /// /// /// For more information about Availability Zones, Local Zones, and Wavelength Zones, /// see Regions /// and zones in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DescribeAvailabilityZones service method. /// /// The response from the DescribeAvailabilityZones service method, as returned by EC2. /// REST API Reference for DescribeAvailabilityZones Operation public virtual DescribeAvailabilityZonesResponse DescribeAvailabilityZones(DescribeAvailabilityZonesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAvailabilityZonesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAvailabilityZonesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the Availability Zones, Local Zones, and Wavelength Zones that are available /// to you. If there is an event impacting a zone, you can use this request to view the /// state and any provided messages for that zone. /// /// /// /// For more information about Availability Zones, Local Zones, and Wavelength Zones, /// see Regions /// and zones in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAvailabilityZones service method, as returned by EC2. /// REST API Reference for DescribeAvailabilityZones Operation public virtual Task DescribeAvailabilityZonesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeAvailabilityZonesAsync(new DescribeAvailabilityZonesRequest(), cancellationToken); } /// /// Describes the Availability Zones, Local Zones, and Wavelength Zones that are available /// to you. If there is an event impacting a zone, you can use this request to view the /// state and any provided messages for that zone. /// /// /// /// For more information about Availability Zones, Local Zones, and Wavelength Zones, /// see Regions /// and zones in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DescribeAvailabilityZones service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAvailabilityZones service method, as returned by EC2. /// REST API Reference for DescribeAvailabilityZones Operation public virtual Task DescribeAvailabilityZonesAsync(DescribeAvailabilityZonesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAvailabilityZonesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAvailabilityZonesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAwsNetworkPerformanceMetricSubscriptions /// /// Describes the current Infrastructure Performance metric subscriptions. /// /// Container for the necessary parameters to execute the DescribeAwsNetworkPerformanceMetricSubscriptions service method. /// /// The response from the DescribeAwsNetworkPerformanceMetricSubscriptions service method, as returned by EC2. /// REST API Reference for DescribeAwsNetworkPerformanceMetricSubscriptions Operation public virtual DescribeAwsNetworkPerformanceMetricSubscriptionsResponse DescribeAwsNetworkPerformanceMetricSubscriptions(DescribeAwsNetworkPerformanceMetricSubscriptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAwsNetworkPerformanceMetricSubscriptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAwsNetworkPerformanceMetricSubscriptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the current Infrastructure Performance metric subscriptions. /// /// Container for the necessary parameters to execute the DescribeAwsNetworkPerformanceMetricSubscriptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAwsNetworkPerformanceMetricSubscriptions service method, as returned by EC2. /// REST API Reference for DescribeAwsNetworkPerformanceMetricSubscriptions Operation public virtual Task DescribeAwsNetworkPerformanceMetricSubscriptionsAsync(DescribeAwsNetworkPerformanceMetricSubscriptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAwsNetworkPerformanceMetricSubscriptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAwsNetworkPerformanceMetricSubscriptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeBundleTasks /// /// Describes the specified bundle tasks or all of your bundle tasks. /// /// /// /// Completed bundle tasks are listed for only a limited time. If your bundle task is /// no longer in the list, you can still register an AMI from it. Just use RegisterImage /// with the Amazon S3 bucket name and image manifest name you provided to the bundle /// task. /// /// /// /// /// The response from the DescribeBundleTasks service method, as returned by EC2. /// REST API Reference for DescribeBundleTasks Operation public virtual DescribeBundleTasksResponse DescribeBundleTasks() { return DescribeBundleTasks(new DescribeBundleTasksRequest()); } /// /// Describes the specified bundle tasks or all of your bundle tasks. /// /// /// /// Completed bundle tasks are listed for only a limited time. If your bundle task is /// no longer in the list, you can still register an AMI from it. Just use RegisterImage /// with the Amazon S3 bucket name and image manifest name you provided to the bundle /// task. /// /// /// /// Container for the necessary parameters to execute the DescribeBundleTasks service method. /// /// The response from the DescribeBundleTasks service method, as returned by EC2. /// REST API Reference for DescribeBundleTasks Operation public virtual DescribeBundleTasksResponse DescribeBundleTasks(DescribeBundleTasksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBundleTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBundleTasksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified bundle tasks or all of your bundle tasks. /// /// /// /// Completed bundle tasks are listed for only a limited time. If your bundle task is /// no longer in the list, you can still register an AMI from it. Just use RegisterImage /// with the Amazon S3 bucket name and image manifest name you provided to the bundle /// task. /// /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeBundleTasks service method, as returned by EC2. /// REST API Reference for DescribeBundleTasks Operation public virtual Task DescribeBundleTasksAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeBundleTasksAsync(new DescribeBundleTasksRequest(), cancellationToken); } /// /// Describes the specified bundle tasks or all of your bundle tasks. /// /// /// /// Completed bundle tasks are listed for only a limited time. If your bundle task is /// no longer in the list, you can still register an AMI from it. Just use RegisterImage /// with the Amazon S3 bucket name and image manifest name you provided to the bundle /// task. /// /// /// /// Container for the necessary parameters to execute the DescribeBundleTasks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeBundleTasks service method, as returned by EC2. /// REST API Reference for DescribeBundleTasks Operation public virtual Task DescribeBundleTasksAsync(DescribeBundleTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBundleTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBundleTasksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeByoipCidrs /// /// Describes the IP address ranges that were specified in calls to ProvisionByoipCidr. /// /// /// /// To describe the address pools that were created when you provisioned the address ranges, /// use DescribePublicIpv4Pools or DescribeIpv6Pools. /// /// /// Container for the necessary parameters to execute the DescribeByoipCidrs service method. /// /// The response from the DescribeByoipCidrs service method, as returned by EC2. /// REST API Reference for DescribeByoipCidrs Operation public virtual DescribeByoipCidrsResponse DescribeByoipCidrs(DescribeByoipCidrsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeByoipCidrsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeByoipCidrsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the IP address ranges that were specified in calls to ProvisionByoipCidr. /// /// /// /// To describe the address pools that were created when you provisioned the address ranges, /// use DescribePublicIpv4Pools or DescribeIpv6Pools. /// /// /// Container for the necessary parameters to execute the DescribeByoipCidrs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeByoipCidrs service method, as returned by EC2. /// REST API Reference for DescribeByoipCidrs Operation public virtual Task DescribeByoipCidrsAsync(DescribeByoipCidrsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeByoipCidrsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeByoipCidrsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeCapacityReservationFleets /// /// Describes one or more Capacity Reservation Fleets. /// /// Container for the necessary parameters to execute the DescribeCapacityReservationFleets service method. /// /// The response from the DescribeCapacityReservationFleets service method, as returned by EC2. /// REST API Reference for DescribeCapacityReservationFleets Operation public virtual DescribeCapacityReservationFleetsResponse DescribeCapacityReservationFleets(DescribeCapacityReservationFleetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCapacityReservationFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCapacityReservationFleetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more Capacity Reservation Fleets. /// /// Container for the necessary parameters to execute the DescribeCapacityReservationFleets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeCapacityReservationFleets service method, as returned by EC2. /// REST API Reference for DescribeCapacityReservationFleets Operation public virtual Task DescribeCapacityReservationFleetsAsync(DescribeCapacityReservationFleetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCapacityReservationFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCapacityReservationFleetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeCapacityReservations /// /// Describes one or more of your Capacity Reservations. The results describe only the /// Capacity Reservations in the Amazon Web Services Region that you're currently using. /// /// Container for the necessary parameters to execute the DescribeCapacityReservations service method. /// /// The response from the DescribeCapacityReservations service method, as returned by EC2. /// REST API Reference for DescribeCapacityReservations Operation public virtual DescribeCapacityReservationsResponse DescribeCapacityReservations(DescribeCapacityReservationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCapacityReservationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCapacityReservationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your Capacity Reservations. The results describe only the /// Capacity Reservations in the Amazon Web Services Region that you're currently using. /// /// Container for the necessary parameters to execute the DescribeCapacityReservations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeCapacityReservations service method, as returned by EC2. /// REST API Reference for DescribeCapacityReservations Operation public virtual Task DescribeCapacityReservationsAsync(DescribeCapacityReservationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCapacityReservationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCapacityReservationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeCarrierGateways /// /// Describes one or more of your carrier gateways. /// /// Container for the necessary parameters to execute the DescribeCarrierGateways service method. /// /// The response from the DescribeCarrierGateways service method, as returned by EC2. /// REST API Reference for DescribeCarrierGateways Operation public virtual DescribeCarrierGatewaysResponse DescribeCarrierGateways(DescribeCarrierGatewaysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCarrierGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCarrierGatewaysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your carrier gateways. /// /// Container for the necessary parameters to execute the DescribeCarrierGateways service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeCarrierGateways service method, as returned by EC2. /// REST API Reference for DescribeCarrierGateways Operation public virtual Task DescribeCarrierGatewaysAsync(DescribeCarrierGatewaysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCarrierGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCarrierGatewaysResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeClassicLinkInstances /// /// /// /// This action is deprecated. /// /// /// /// Describes one or more of your linked EC2-Classic instances. This request only returns /// information about EC2-Classic instances linked to a VPC through ClassicLink. You cannot /// use this request to return information about other instances. /// /// /// Container for the necessary parameters to execute the DescribeClassicLinkInstances service method. /// /// The response from the DescribeClassicLinkInstances service method, as returned by EC2. /// REST API Reference for DescribeClassicLinkInstances Operation public virtual DescribeClassicLinkInstancesResponse DescribeClassicLinkInstances(DescribeClassicLinkInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClassicLinkInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClassicLinkInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// This action is deprecated. /// /// /// /// Describes one or more of your linked EC2-Classic instances. This request only returns /// information about EC2-Classic instances linked to a VPC through ClassicLink. You cannot /// use this request to return information about other instances. /// /// /// Container for the necessary parameters to execute the DescribeClassicLinkInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeClassicLinkInstances service method, as returned by EC2. /// REST API Reference for DescribeClassicLinkInstances Operation public virtual Task DescribeClassicLinkInstancesAsync(DescribeClassicLinkInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClassicLinkInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClassicLinkInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeClientVpnAuthorizationRules /// /// Describes the authorization rules for a specified Client VPN endpoint. /// /// Container for the necessary parameters to execute the DescribeClientVpnAuthorizationRules service method. /// /// The response from the DescribeClientVpnAuthorizationRules service method, as returned by EC2. /// REST API Reference for DescribeClientVpnAuthorizationRules Operation public virtual DescribeClientVpnAuthorizationRulesResponse DescribeClientVpnAuthorizationRules(DescribeClientVpnAuthorizationRulesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClientVpnAuthorizationRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClientVpnAuthorizationRulesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the authorization rules for a specified Client VPN endpoint. /// /// Container for the necessary parameters to execute the DescribeClientVpnAuthorizationRules service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeClientVpnAuthorizationRules service method, as returned by EC2. /// REST API Reference for DescribeClientVpnAuthorizationRules Operation public virtual Task DescribeClientVpnAuthorizationRulesAsync(DescribeClientVpnAuthorizationRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClientVpnAuthorizationRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClientVpnAuthorizationRulesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeClientVpnConnections /// /// Describes active client connections and connections that have been terminated within /// the last 60 minutes for the specified Client VPN endpoint. /// /// Container for the necessary parameters to execute the DescribeClientVpnConnections service method. /// /// The response from the DescribeClientVpnConnections service method, as returned by EC2. /// REST API Reference for DescribeClientVpnConnections Operation public virtual DescribeClientVpnConnectionsResponse DescribeClientVpnConnections(DescribeClientVpnConnectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClientVpnConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClientVpnConnectionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes active client connections and connections that have been terminated within /// the last 60 minutes for the specified Client VPN endpoint. /// /// Container for the necessary parameters to execute the DescribeClientVpnConnections service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeClientVpnConnections service method, as returned by EC2. /// REST API Reference for DescribeClientVpnConnections Operation public virtual Task DescribeClientVpnConnectionsAsync(DescribeClientVpnConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClientVpnConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClientVpnConnectionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeClientVpnEndpoints /// /// Describes one or more Client VPN endpoints in the account. /// /// Container for the necessary parameters to execute the DescribeClientVpnEndpoints service method. /// /// The response from the DescribeClientVpnEndpoints service method, as returned by EC2. /// REST API Reference for DescribeClientVpnEndpoints Operation public virtual DescribeClientVpnEndpointsResponse DescribeClientVpnEndpoints(DescribeClientVpnEndpointsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClientVpnEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClientVpnEndpointsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more Client VPN endpoints in the account. /// /// Container for the necessary parameters to execute the DescribeClientVpnEndpoints service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeClientVpnEndpoints service method, as returned by EC2. /// REST API Reference for DescribeClientVpnEndpoints Operation public virtual Task DescribeClientVpnEndpointsAsync(DescribeClientVpnEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClientVpnEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClientVpnEndpointsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeClientVpnRoutes /// /// Describes the routes for the specified Client VPN endpoint. /// /// Container for the necessary parameters to execute the DescribeClientVpnRoutes service method. /// /// The response from the DescribeClientVpnRoutes service method, as returned by EC2. /// REST API Reference for DescribeClientVpnRoutes Operation public virtual DescribeClientVpnRoutesResponse DescribeClientVpnRoutes(DescribeClientVpnRoutesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClientVpnRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClientVpnRoutesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the routes for the specified Client VPN endpoint. /// /// Container for the necessary parameters to execute the DescribeClientVpnRoutes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeClientVpnRoutes service method, as returned by EC2. /// REST API Reference for DescribeClientVpnRoutes Operation public virtual Task DescribeClientVpnRoutesAsync(DescribeClientVpnRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClientVpnRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClientVpnRoutesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeClientVpnTargetNetworks /// /// Describes the target networks associated with the specified Client VPN endpoint. /// /// Container for the necessary parameters to execute the DescribeClientVpnTargetNetworks service method. /// /// The response from the DescribeClientVpnTargetNetworks service method, as returned by EC2. /// REST API Reference for DescribeClientVpnTargetNetworks Operation public virtual DescribeClientVpnTargetNetworksResponse DescribeClientVpnTargetNetworks(DescribeClientVpnTargetNetworksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClientVpnTargetNetworksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClientVpnTargetNetworksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the target networks associated with the specified Client VPN endpoint. /// /// Container for the necessary parameters to execute the DescribeClientVpnTargetNetworks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeClientVpnTargetNetworks service method, as returned by EC2. /// REST API Reference for DescribeClientVpnTargetNetworks Operation public virtual Task DescribeClientVpnTargetNetworksAsync(DescribeClientVpnTargetNetworksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClientVpnTargetNetworksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClientVpnTargetNetworksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeCoipPools /// /// Describes the specified customer-owned address pools or all of your customer-owned /// address pools. /// /// Container for the necessary parameters to execute the DescribeCoipPools service method. /// /// The response from the DescribeCoipPools service method, as returned by EC2. /// REST API Reference for DescribeCoipPools Operation public virtual DescribeCoipPoolsResponse DescribeCoipPools(DescribeCoipPoolsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCoipPoolsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCoipPoolsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified customer-owned address pools or all of your customer-owned /// address pools. /// /// Container for the necessary parameters to execute the DescribeCoipPools service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeCoipPools service method, as returned by EC2. /// REST API Reference for DescribeCoipPools Operation public virtual Task DescribeCoipPoolsAsync(DescribeCoipPoolsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCoipPoolsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCoipPoolsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeConversionTasks /// /// Describes the specified conversion tasks or all your conversion tasks. For more information, /// see the VM Import/Export /// User Guide. /// /// /// /// For information about the import manifest referenced by this API action, see VM /// Import Manifest. /// /// /// /// The response from the DescribeConversionTasks service method, as returned by EC2. /// REST API Reference for DescribeConversionTasks Operation public virtual DescribeConversionTasksResponse DescribeConversionTasks() { return DescribeConversionTasks(new DescribeConversionTasksRequest()); } /// /// Describes the specified conversion tasks or all your conversion tasks. For more information, /// see the VM Import/Export /// User Guide. /// /// /// /// For information about the import manifest referenced by this API action, see VM /// Import Manifest. /// /// /// Container for the necessary parameters to execute the DescribeConversionTasks service method. /// /// The response from the DescribeConversionTasks service method, as returned by EC2. /// REST API Reference for DescribeConversionTasks Operation public virtual DescribeConversionTasksResponse DescribeConversionTasks(DescribeConversionTasksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeConversionTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeConversionTasksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified conversion tasks or all your conversion tasks. For more information, /// see the VM Import/Export /// User Guide. /// /// /// /// For information about the import manifest referenced by this API action, see VM /// Import Manifest. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeConversionTasks service method, as returned by EC2. /// REST API Reference for DescribeConversionTasks Operation public virtual Task DescribeConversionTasksAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeConversionTasksAsync(new DescribeConversionTasksRequest(), cancellationToken); } /// /// Describes the specified conversion tasks or all your conversion tasks. For more information, /// see the VM Import/Export /// User Guide. /// /// /// /// For information about the import manifest referenced by this API action, see VM /// Import Manifest. /// /// /// Container for the necessary parameters to execute the DescribeConversionTasks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeConversionTasks service method, as returned by EC2. /// REST API Reference for DescribeConversionTasks Operation public virtual Task DescribeConversionTasksAsync(DescribeConversionTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeConversionTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeConversionTasksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeCustomerGateways /// /// Describes one or more of your VPN customer gateways. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// /// The response from the DescribeCustomerGateways service method, as returned by EC2. /// REST API Reference for DescribeCustomerGateways Operation public virtual DescribeCustomerGatewaysResponse DescribeCustomerGateways() { return DescribeCustomerGateways(new DescribeCustomerGatewaysRequest()); } /// /// Describes one or more of your VPN customer gateways. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// Container for the necessary parameters to execute the DescribeCustomerGateways service method. /// /// The response from the DescribeCustomerGateways service method, as returned by EC2. /// REST API Reference for DescribeCustomerGateways Operation public virtual DescribeCustomerGatewaysResponse DescribeCustomerGateways(DescribeCustomerGatewaysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCustomerGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCustomerGatewaysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your VPN customer gateways. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeCustomerGateways service method, as returned by EC2. /// REST API Reference for DescribeCustomerGateways Operation public virtual Task DescribeCustomerGatewaysAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeCustomerGatewaysAsync(new DescribeCustomerGatewaysRequest(), cancellationToken); } /// /// Describes one or more of your VPN customer gateways. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// Container for the necessary parameters to execute the DescribeCustomerGateways service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeCustomerGateways service method, as returned by EC2. /// REST API Reference for DescribeCustomerGateways Operation public virtual Task DescribeCustomerGatewaysAsync(DescribeCustomerGatewaysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCustomerGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCustomerGatewaysResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeDhcpOptions /// /// Describes one or more of your DHCP options sets. /// /// /// /// For more information, see DHCP /// options sets in the Amazon VPC User Guide. /// /// /// /// The response from the DescribeDhcpOptions service method, as returned by EC2. /// REST API Reference for DescribeDhcpOptions Operation public virtual DescribeDhcpOptionsResponse DescribeDhcpOptions() { return DescribeDhcpOptions(new DescribeDhcpOptionsRequest()); } /// /// Describes one or more of your DHCP options sets. /// /// /// /// For more information, see DHCP /// options sets in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the DescribeDhcpOptions service method. /// /// The response from the DescribeDhcpOptions service method, as returned by EC2. /// REST API Reference for DescribeDhcpOptions Operation public virtual DescribeDhcpOptionsResponse DescribeDhcpOptions(DescribeDhcpOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDhcpOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDhcpOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your DHCP options sets. /// /// /// /// For more information, see DHCP /// options sets in the Amazon VPC User Guide. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeDhcpOptions service method, as returned by EC2. /// REST API Reference for DescribeDhcpOptions Operation public virtual Task DescribeDhcpOptionsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeDhcpOptionsAsync(new DescribeDhcpOptionsRequest(), cancellationToken); } /// /// Describes one or more of your DHCP options sets. /// /// /// /// For more information, see DHCP /// options sets in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the DescribeDhcpOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeDhcpOptions service method, as returned by EC2. /// REST API Reference for DescribeDhcpOptions Operation public virtual Task DescribeDhcpOptionsAsync(DescribeDhcpOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDhcpOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDhcpOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeEgressOnlyInternetGateways /// /// Describes one or more of your egress-only internet gateways. /// /// Container for the necessary parameters to execute the DescribeEgressOnlyInternetGateways service method. /// /// The response from the DescribeEgressOnlyInternetGateways service method, as returned by EC2. /// REST API Reference for DescribeEgressOnlyInternetGateways Operation public virtual DescribeEgressOnlyInternetGatewaysResponse DescribeEgressOnlyInternetGateways(DescribeEgressOnlyInternetGatewaysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEgressOnlyInternetGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEgressOnlyInternetGatewaysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your egress-only internet gateways. /// /// Container for the necessary parameters to execute the DescribeEgressOnlyInternetGateways service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeEgressOnlyInternetGateways service method, as returned by EC2. /// REST API Reference for DescribeEgressOnlyInternetGateways Operation public virtual Task DescribeEgressOnlyInternetGatewaysAsync(DescribeEgressOnlyInternetGatewaysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEgressOnlyInternetGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEgressOnlyInternetGatewaysResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeElasticGpus /// /// Describes the Elastic Graphics accelerator associated with your instances. For more /// information about Elastic Graphics, see Amazon /// Elastic Graphics. /// /// Container for the necessary parameters to execute the DescribeElasticGpus service method. /// /// The response from the DescribeElasticGpus service method, as returned by EC2. /// REST API Reference for DescribeElasticGpus Operation public virtual DescribeElasticGpusResponse DescribeElasticGpus(DescribeElasticGpusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeElasticGpusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeElasticGpusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the Elastic Graphics accelerator associated with your instances. For more /// information about Elastic Graphics, see Amazon /// Elastic Graphics. /// /// Container for the necessary parameters to execute the DescribeElasticGpus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeElasticGpus service method, as returned by EC2. /// REST API Reference for DescribeElasticGpus Operation public virtual Task DescribeElasticGpusAsync(DescribeElasticGpusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeElasticGpusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeElasticGpusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeExportImageTasks /// /// Describes the specified export image tasks or all of your export image tasks. /// /// Container for the necessary parameters to execute the DescribeExportImageTasks service method. /// /// The response from the DescribeExportImageTasks service method, as returned by EC2. /// REST API Reference for DescribeExportImageTasks Operation public virtual DescribeExportImageTasksResponse DescribeExportImageTasks(DescribeExportImageTasksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeExportImageTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeExportImageTasksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified export image tasks or all of your export image tasks. /// /// Container for the necessary parameters to execute the DescribeExportImageTasks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeExportImageTasks service method, as returned by EC2. /// REST API Reference for DescribeExportImageTasks Operation public virtual Task DescribeExportImageTasksAsync(DescribeExportImageTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeExportImageTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeExportImageTasksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeExportTasks /// /// Describes the specified export instance tasks or all of your export instance tasks. /// /// /// The response from the DescribeExportTasks service method, as returned by EC2. /// REST API Reference for DescribeExportTasks Operation public virtual DescribeExportTasksResponse DescribeExportTasks() { return DescribeExportTasks(new DescribeExportTasksRequest()); } /// /// Describes the specified export instance tasks or all of your export instance tasks. /// /// Container for the necessary parameters to execute the DescribeExportTasks service method. /// /// The response from the DescribeExportTasks service method, as returned by EC2. /// REST API Reference for DescribeExportTasks Operation public virtual DescribeExportTasksResponse DescribeExportTasks(DescribeExportTasksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeExportTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeExportTasksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified export instance tasks or all of your export instance tasks. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeExportTasks service method, as returned by EC2. /// REST API Reference for DescribeExportTasks Operation public virtual Task DescribeExportTasksAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeExportTasksAsync(new DescribeExportTasksRequest(), cancellationToken); } /// /// Describes the specified export instance tasks or all of your export instance tasks. /// /// Container for the necessary parameters to execute the DescribeExportTasks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeExportTasks service method, as returned by EC2. /// REST API Reference for DescribeExportTasks Operation public virtual Task DescribeExportTasksAsync(DescribeExportTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeExportTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeExportTasksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeFastLaunchImages /// /// Describe details for Windows AMIs that are configured for faster launching. /// /// Container for the necessary parameters to execute the DescribeFastLaunchImages service method. /// /// The response from the DescribeFastLaunchImages service method, as returned by EC2. /// REST API Reference for DescribeFastLaunchImages Operation public virtual DescribeFastLaunchImagesResponse DescribeFastLaunchImages(DescribeFastLaunchImagesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFastLaunchImagesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFastLaunchImagesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describe details for Windows AMIs that are configured for faster launching. /// /// Container for the necessary parameters to execute the DescribeFastLaunchImages service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeFastLaunchImages service method, as returned by EC2. /// REST API Reference for DescribeFastLaunchImages Operation public virtual Task DescribeFastLaunchImagesAsync(DescribeFastLaunchImagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFastLaunchImagesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFastLaunchImagesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeFastSnapshotRestores /// /// Describes the state of fast snapshot restores for your snapshots. /// /// Container for the necessary parameters to execute the DescribeFastSnapshotRestores service method. /// /// The response from the DescribeFastSnapshotRestores service method, as returned by EC2. /// REST API Reference for DescribeFastSnapshotRestores Operation public virtual DescribeFastSnapshotRestoresResponse DescribeFastSnapshotRestores(DescribeFastSnapshotRestoresRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFastSnapshotRestoresRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFastSnapshotRestoresResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the state of fast snapshot restores for your snapshots. /// /// Container for the necessary parameters to execute the DescribeFastSnapshotRestores service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeFastSnapshotRestores service method, as returned by EC2. /// REST API Reference for DescribeFastSnapshotRestores Operation public virtual Task DescribeFastSnapshotRestoresAsync(DescribeFastSnapshotRestoresRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFastSnapshotRestoresRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFastSnapshotRestoresResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeFleetHistory /// /// Describes the events for the specified EC2 Fleet during the specified time. /// /// /// /// EC2 Fleet events are delayed by up to 30 seconds before they can be described. This /// ensures that you can query by the last evaluated time and not miss a recorded event. /// EC2 Fleet events are available for 48 hours. /// /// /// /// For more information, see Monitor /// fleet events using Amazon EventBridge in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeFleetHistory service method. /// /// The response from the DescribeFleetHistory service method, as returned by EC2. /// REST API Reference for DescribeFleetHistory Operation public virtual DescribeFleetHistoryResponse DescribeFleetHistory(DescribeFleetHistoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetHistoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the events for the specified EC2 Fleet during the specified time. /// /// /// /// EC2 Fleet events are delayed by up to 30 seconds before they can be described. This /// ensures that you can query by the last evaluated time and not miss a recorded event. /// EC2 Fleet events are available for 48 hours. /// /// /// /// For more information, see Monitor /// fleet events using Amazon EventBridge in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeFleetHistory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeFleetHistory service method, as returned by EC2. /// REST API Reference for DescribeFleetHistory Operation public virtual Task DescribeFleetHistoryAsync(DescribeFleetHistoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetHistoryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeFleetInstances /// /// Describes the running instances for the specified EC2 Fleet. /// /// /// /// For more information, see Monitor /// your EC2 Fleet in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeFleetInstances service method. /// /// The response from the DescribeFleetInstances service method, as returned by EC2. /// REST API Reference for DescribeFleetInstances Operation public virtual DescribeFleetInstancesResponse DescribeFleetInstances(DescribeFleetInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the running instances for the specified EC2 Fleet. /// /// /// /// For more information, see Monitor /// your EC2 Fleet in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeFleetInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeFleetInstances service method, as returned by EC2. /// REST API Reference for DescribeFleetInstances Operation public virtual Task DescribeFleetInstancesAsync(DescribeFleetInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeFleets /// /// Describes the specified EC2 Fleets or all of your EC2 Fleets. /// /// /// /// For more information, see Monitor /// your EC2 Fleet in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeFleets service method. /// /// The response from the DescribeFleets service method, as returned by EC2. /// REST API Reference for DescribeFleets Operation public virtual DescribeFleetsResponse DescribeFleets(DescribeFleetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified EC2 Fleets or all of your EC2 Fleets. /// /// /// /// For more information, see Monitor /// your EC2 Fleet in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeFleets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeFleets service method, as returned by EC2. /// REST API Reference for DescribeFleets Operation public virtual Task DescribeFleetsAsync(DescribeFleetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeFlowLogs /// /// Describes one or more flow logs. /// /// /// /// To view the published flow log records, you must view the log destination. For example, /// the CloudWatch Logs log group, the Amazon S3 bucket, or the Kinesis Data Firehose /// delivery stream. /// /// /// Container for the necessary parameters to execute the DescribeFlowLogs service method. /// /// The response from the DescribeFlowLogs service method, as returned by EC2. /// REST API Reference for DescribeFlowLogs Operation public virtual DescribeFlowLogsResponse DescribeFlowLogs(DescribeFlowLogsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFlowLogsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFlowLogsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more flow logs. /// /// /// /// To view the published flow log records, you must view the log destination. For example, /// the CloudWatch Logs log group, the Amazon S3 bucket, or the Kinesis Data Firehose /// delivery stream. /// /// /// Container for the necessary parameters to execute the DescribeFlowLogs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeFlowLogs service method, as returned by EC2. /// REST API Reference for DescribeFlowLogs Operation public virtual Task DescribeFlowLogsAsync(DescribeFlowLogsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFlowLogsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFlowLogsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeFpgaImageAttribute /// /// Describes the specified attribute of the specified Amazon FPGA Image (AFI). /// /// Container for the necessary parameters to execute the DescribeFpgaImageAttribute service method. /// /// The response from the DescribeFpgaImageAttribute service method, as returned by EC2. /// REST API Reference for DescribeFpgaImageAttribute Operation public virtual DescribeFpgaImageAttributeResponse DescribeFpgaImageAttribute(DescribeFpgaImageAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFpgaImageAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFpgaImageAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified attribute of the specified Amazon FPGA Image (AFI). /// /// Container for the necessary parameters to execute the DescribeFpgaImageAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeFpgaImageAttribute service method, as returned by EC2. /// REST API Reference for DescribeFpgaImageAttribute Operation public virtual Task DescribeFpgaImageAttributeAsync(DescribeFpgaImageAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFpgaImageAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFpgaImageAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeFpgaImages /// /// Describes the Amazon FPGA Images (AFIs) available to you. These include public AFIs, /// private AFIs that you own, and AFIs owned by other Amazon Web Services accounts for /// which you have load permissions. /// /// Container for the necessary parameters to execute the DescribeFpgaImages service method. /// /// The response from the DescribeFpgaImages service method, as returned by EC2. /// REST API Reference for DescribeFpgaImages Operation public virtual DescribeFpgaImagesResponse DescribeFpgaImages(DescribeFpgaImagesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFpgaImagesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFpgaImagesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the Amazon FPGA Images (AFIs) available to you. These include public AFIs, /// private AFIs that you own, and AFIs owned by other Amazon Web Services accounts for /// which you have load permissions. /// /// Container for the necessary parameters to execute the DescribeFpgaImages service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeFpgaImages service method, as returned by EC2. /// REST API Reference for DescribeFpgaImages Operation public virtual Task DescribeFpgaImagesAsync(DescribeFpgaImagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFpgaImagesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFpgaImagesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeHostReservationOfferings /// /// Describes the Dedicated Host reservations that are available to purchase. /// /// /// /// The results describe all of the Dedicated Host reservation offerings, including offerings /// that might not match the instance family and Region of your Dedicated Hosts. When /// purchasing an offering, ensure that the instance family and Region of the offering /// matches that of the Dedicated Hosts with which it is to be associated. For more information /// about supported instance types, see Dedicated /// Hosts in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeHostReservationOfferings service method. /// /// The response from the DescribeHostReservationOfferings service method, as returned by EC2. /// REST API Reference for DescribeHostReservationOfferings Operation public virtual DescribeHostReservationOfferingsResponse DescribeHostReservationOfferings(DescribeHostReservationOfferingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeHostReservationOfferingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeHostReservationOfferingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the Dedicated Host reservations that are available to purchase. /// /// /// /// The results describe all of the Dedicated Host reservation offerings, including offerings /// that might not match the instance family and Region of your Dedicated Hosts. When /// purchasing an offering, ensure that the instance family and Region of the offering /// matches that of the Dedicated Hosts with which it is to be associated. For more information /// about supported instance types, see Dedicated /// Hosts in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeHostReservationOfferings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeHostReservationOfferings service method, as returned by EC2. /// REST API Reference for DescribeHostReservationOfferings Operation public virtual Task DescribeHostReservationOfferingsAsync(DescribeHostReservationOfferingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeHostReservationOfferingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeHostReservationOfferingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeHostReservations /// /// Describes reservations that are associated with Dedicated Hosts in your account. /// /// Container for the necessary parameters to execute the DescribeHostReservations service method. /// /// The response from the DescribeHostReservations service method, as returned by EC2. /// REST API Reference for DescribeHostReservations Operation public virtual DescribeHostReservationsResponse DescribeHostReservations(DescribeHostReservationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeHostReservationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeHostReservationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes reservations that are associated with Dedicated Hosts in your account. /// /// Container for the necessary parameters to execute the DescribeHostReservations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeHostReservations service method, as returned by EC2. /// REST API Reference for DescribeHostReservations Operation public virtual Task DescribeHostReservationsAsync(DescribeHostReservationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeHostReservationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeHostReservationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeHosts /// /// Describes the specified Dedicated Hosts or all your Dedicated Hosts. /// /// /// /// The results describe only the Dedicated Hosts in the Region you're currently using. /// All listed instances consume capacity on your Dedicated Host. Dedicated Hosts that /// have recently been released are listed with the state released. /// /// /// Container for the necessary parameters to execute the DescribeHosts service method. /// /// The response from the DescribeHosts service method, as returned by EC2. /// REST API Reference for DescribeHosts Operation public virtual DescribeHostsResponse DescribeHosts(DescribeHostsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeHostsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeHostsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified Dedicated Hosts or all your Dedicated Hosts. /// /// /// /// The results describe only the Dedicated Hosts in the Region you're currently using. /// All listed instances consume capacity on your Dedicated Host. Dedicated Hosts that /// have recently been released are listed with the state released. /// /// /// Container for the necessary parameters to execute the DescribeHosts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeHosts service method, as returned by EC2. /// REST API Reference for DescribeHosts Operation public virtual Task DescribeHostsAsync(DescribeHostsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeHostsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeHostsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeIamInstanceProfileAssociations /// /// Describes your IAM instance profile associations. /// /// Container for the necessary parameters to execute the DescribeIamInstanceProfileAssociations service method. /// /// The response from the DescribeIamInstanceProfileAssociations service method, as returned by EC2. /// REST API Reference for DescribeIamInstanceProfileAssociations Operation public virtual DescribeIamInstanceProfileAssociationsResponse DescribeIamInstanceProfileAssociations(DescribeIamInstanceProfileAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIamInstanceProfileAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIamInstanceProfileAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes your IAM instance profile associations. /// /// Container for the necessary parameters to execute the DescribeIamInstanceProfileAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeIamInstanceProfileAssociations service method, as returned by EC2. /// REST API Reference for DescribeIamInstanceProfileAssociations Operation public virtual Task DescribeIamInstanceProfileAssociationsAsync(DescribeIamInstanceProfileAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIamInstanceProfileAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIamInstanceProfileAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeIdentityIdFormat /// /// Describes the ID format settings for resources for the specified IAM user, IAM role, /// or root user. For example, you can view the resource types that are enabled for longer /// IDs. This request only returns information about resource types whose ID formats can /// be modified; it does not return information about other resource types. For more information, /// see Resource /// IDs in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// The following resource types support longer IDs: bundle | conversion-task /// | customer-gateway | dhcp-options | elastic-ip-allocation /// | elastic-ip-association | export-task | flow-log /// | image | import-task | instance | internet-gateway /// | network-acl | network-acl-association | network-interface /// | network-interface-attachment | prefix-list | reservation /// | route-table | route-table-association | security-group /// | snapshot | subnet | subnet-cidr-block-association /// | volume | vpc | vpc-cidr-block-association /// | vpc-endpoint | vpc-peering-connection | vpn-connection /// | vpn-gateway. /// /// /// /// These settings apply to the principal specified in the request. They do not apply /// to the principal that makes the request. /// /// /// Container for the necessary parameters to execute the DescribeIdentityIdFormat service method. /// /// The response from the DescribeIdentityIdFormat service method, as returned by EC2. /// REST API Reference for DescribeIdentityIdFormat Operation public virtual DescribeIdentityIdFormatResponse DescribeIdentityIdFormat(DescribeIdentityIdFormatRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIdentityIdFormatRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIdentityIdFormatResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the ID format settings for resources for the specified IAM user, IAM role, /// or root user. For example, you can view the resource types that are enabled for longer /// IDs. This request only returns information about resource types whose ID formats can /// be modified; it does not return information about other resource types. For more information, /// see Resource /// IDs in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// The following resource types support longer IDs: bundle | conversion-task /// | customer-gateway | dhcp-options | elastic-ip-allocation /// | elastic-ip-association | export-task | flow-log /// | image | import-task | instance | internet-gateway /// | network-acl | network-acl-association | network-interface /// | network-interface-attachment | prefix-list | reservation /// | route-table | route-table-association | security-group /// | snapshot | subnet | subnet-cidr-block-association /// | volume | vpc | vpc-cidr-block-association /// | vpc-endpoint | vpc-peering-connection | vpn-connection /// | vpn-gateway. /// /// /// /// These settings apply to the principal specified in the request. They do not apply /// to the principal that makes the request. /// /// /// Container for the necessary parameters to execute the DescribeIdentityIdFormat service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeIdentityIdFormat service method, as returned by EC2. /// REST API Reference for DescribeIdentityIdFormat Operation public virtual Task DescribeIdentityIdFormatAsync(DescribeIdentityIdFormatRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIdentityIdFormatRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIdentityIdFormatResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeIdFormat /// /// Describes the ID format settings for your resources on a per-Region basis, for example, /// to view which resource types are enabled for longer IDs. This request only returns /// information about resource types whose ID formats can be modified; it does not return /// information about other resource types. /// /// /// /// The following resource types support longer IDs: bundle | conversion-task /// | customer-gateway | dhcp-options | elastic-ip-allocation /// | elastic-ip-association | export-task | flow-log /// | image | import-task | instance | internet-gateway /// | network-acl | network-acl-association | network-interface /// | network-interface-attachment | prefix-list | reservation /// | route-table | route-table-association | security-group /// | snapshot | subnet | subnet-cidr-block-association /// | volume | vpc | vpc-cidr-block-association /// | vpc-endpoint | vpc-peering-connection | vpn-connection /// | vpn-gateway. /// /// /// /// These settings apply to the IAM user who makes the request; they do not apply to the /// entire Amazon Web Services account. By default, an IAM user defaults to the same settings /// as the root user, unless they explicitly override the settings by running the ModifyIdFormat /// command. Resources created with longer IDs are visible to all IAM users, regardless /// of these settings and provided that they have permission to use the relevant Describe /// command for the resource type. /// /// /// Container for the necessary parameters to execute the DescribeIdFormat service method. /// /// The response from the DescribeIdFormat service method, as returned by EC2. /// REST API Reference for DescribeIdFormat Operation public virtual DescribeIdFormatResponse DescribeIdFormat(DescribeIdFormatRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIdFormatRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIdFormatResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the ID format settings for your resources on a per-Region basis, for example, /// to view which resource types are enabled for longer IDs. This request only returns /// information about resource types whose ID formats can be modified; it does not return /// information about other resource types. /// /// /// /// The following resource types support longer IDs: bundle | conversion-task /// | customer-gateway | dhcp-options | elastic-ip-allocation /// | elastic-ip-association | export-task | flow-log /// | image | import-task | instance | internet-gateway /// | network-acl | network-acl-association | network-interface /// | network-interface-attachment | prefix-list | reservation /// | route-table | route-table-association | security-group /// | snapshot | subnet | subnet-cidr-block-association /// | volume | vpc | vpc-cidr-block-association /// | vpc-endpoint | vpc-peering-connection | vpn-connection /// | vpn-gateway. /// /// /// /// These settings apply to the IAM user who makes the request; they do not apply to the /// entire Amazon Web Services account. By default, an IAM user defaults to the same settings /// as the root user, unless they explicitly override the settings by running the ModifyIdFormat /// command. Resources created with longer IDs are visible to all IAM users, regardless /// of these settings and provided that they have permission to use the relevant Describe /// command for the resource type. /// /// /// Container for the necessary parameters to execute the DescribeIdFormat service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeIdFormat service method, as returned by EC2. /// REST API Reference for DescribeIdFormat Operation public virtual Task DescribeIdFormatAsync(DescribeIdFormatRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIdFormatRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIdFormatResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeImageAttribute /// /// Describes the specified attribute of the specified AMI. You can specify only one attribute /// at a time. /// /// Container for the necessary parameters to execute the DescribeImageAttribute service method. /// /// The response from the DescribeImageAttribute service method, as returned by EC2. /// REST API Reference for DescribeImageAttribute Operation public virtual DescribeImageAttributeResponse DescribeImageAttribute(DescribeImageAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImageAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImageAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified attribute of the specified AMI. You can specify only one attribute /// at a time. /// /// Container for the necessary parameters to execute the DescribeImageAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeImageAttribute service method, as returned by EC2. /// REST API Reference for DescribeImageAttribute Operation public virtual Task DescribeImageAttributeAsync(DescribeImageAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImageAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImageAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeImages /// /// Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the /// images available to you. /// /// /// /// The images available to you include public images, private images that you own, and /// private images owned by other Amazon Web Services accounts for which you have explicit /// launch permissions. /// /// /// /// Recently deregistered images appear in the returned results for a short interval and /// then return empty results. After all instances that reference a deregistered AMI are /// terminated, specifying the ID of the image will eventually return an error indicating /// that the AMI ID cannot be found. /// /// /// /// The response from the DescribeImages service method, as returned by EC2. /// REST API Reference for DescribeImages Operation public virtual DescribeImagesResponse DescribeImages() { return DescribeImages(new DescribeImagesRequest()); } /// /// Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the /// images available to you. /// /// /// /// The images available to you include public images, private images that you own, and /// private images owned by other Amazon Web Services accounts for which you have explicit /// launch permissions. /// /// /// /// Recently deregistered images appear in the returned results for a short interval and /// then return empty results. After all instances that reference a deregistered AMI are /// terminated, specifying the ID of the image will eventually return an error indicating /// that the AMI ID cannot be found. /// /// /// Container for the necessary parameters to execute the DescribeImages service method. /// /// The response from the DescribeImages service method, as returned by EC2. /// REST API Reference for DescribeImages Operation public virtual DescribeImagesResponse DescribeImages(DescribeImagesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImagesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImagesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the /// images available to you. /// /// /// /// The images available to you include public images, private images that you own, and /// private images owned by other Amazon Web Services accounts for which you have explicit /// launch permissions. /// /// /// /// Recently deregistered images appear in the returned results for a short interval and /// then return empty results. After all instances that reference a deregistered AMI are /// terminated, specifying the ID of the image will eventually return an error indicating /// that the AMI ID cannot be found. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeImages service method, as returned by EC2. /// REST API Reference for DescribeImages Operation public virtual Task DescribeImagesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeImagesAsync(new DescribeImagesRequest(), cancellationToken); } /// /// Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the /// images available to you. /// /// /// /// The images available to you include public images, private images that you own, and /// private images owned by other Amazon Web Services accounts for which you have explicit /// launch permissions. /// /// /// /// Recently deregistered images appear in the returned results for a short interval and /// then return empty results. After all instances that reference a deregistered AMI are /// terminated, specifying the ID of the image will eventually return an error indicating /// that the AMI ID cannot be found. /// /// /// Container for the necessary parameters to execute the DescribeImages service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeImages service method, as returned by EC2. /// REST API Reference for DescribeImages Operation public virtual Task DescribeImagesAsync(DescribeImagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImagesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImagesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeImportImageTasks /// /// Displays details about an import virtual machine or import snapshot tasks that are /// already created. /// /// Container for the necessary parameters to execute the DescribeImportImageTasks service method. /// /// The response from the DescribeImportImageTasks service method, as returned by EC2. /// REST API Reference for DescribeImportImageTasks Operation public virtual DescribeImportImageTasksResponse DescribeImportImageTasks(DescribeImportImageTasksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImportImageTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImportImageTasksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Displays details about an import virtual machine or import snapshot tasks that are /// already created. /// /// Container for the necessary parameters to execute the DescribeImportImageTasks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeImportImageTasks service method, as returned by EC2. /// REST API Reference for DescribeImportImageTasks Operation public virtual Task DescribeImportImageTasksAsync(DescribeImportImageTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImportImageTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImportImageTasksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeImportSnapshotTasks /// /// Describes your import snapshot tasks. /// /// Container for the necessary parameters to execute the DescribeImportSnapshotTasks service method. /// /// The response from the DescribeImportSnapshotTasks service method, as returned by EC2. /// REST API Reference for DescribeImportSnapshotTasks Operation public virtual DescribeImportSnapshotTasksResponse DescribeImportSnapshotTasks(DescribeImportSnapshotTasksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImportSnapshotTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImportSnapshotTasksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes your import snapshot tasks. /// /// Container for the necessary parameters to execute the DescribeImportSnapshotTasks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeImportSnapshotTasks service method, as returned by EC2. /// REST API Reference for DescribeImportSnapshotTasks Operation public virtual Task DescribeImportSnapshotTasksAsync(DescribeImportSnapshotTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImportSnapshotTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImportSnapshotTasksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeInstanceAttribute /// /// Describes the specified attribute of the specified instance. You can specify only /// one attribute at a time. Valid attribute values are: instanceType | kernel /// | ramdisk | userData | disableApiTermination /// | instanceInitiatedShutdownBehavior | rootDeviceName | blockDeviceMapping /// | productCodes | sourceDestCheck | groupSet /// | ebsOptimized | sriovNetSupport /// /// Container for the necessary parameters to execute the DescribeInstanceAttribute service method. /// /// The response from the DescribeInstanceAttribute service method, as returned by EC2. /// REST API Reference for DescribeInstanceAttribute Operation public virtual DescribeInstanceAttributeResponse DescribeInstanceAttribute(DescribeInstanceAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified attribute of the specified instance. You can specify only /// one attribute at a time. Valid attribute values are: instanceType | kernel /// | ramdisk | userData | disableApiTermination /// | instanceInitiatedShutdownBehavior | rootDeviceName | blockDeviceMapping /// | productCodes | sourceDestCheck | groupSet /// | ebsOptimized | sriovNetSupport /// /// Container for the necessary parameters to execute the DescribeInstanceAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeInstanceAttribute service method, as returned by EC2. /// REST API Reference for DescribeInstanceAttribute Operation public virtual Task DescribeInstanceAttributeAsync(DescribeInstanceAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeInstanceConnectEndpoints /// /// Describes the specified EC2 Instance Connect Endpoints or all EC2 Instance Connect /// Endpoints. /// /// Container for the necessary parameters to execute the DescribeInstanceConnectEndpoints service method. /// /// The response from the DescribeInstanceConnectEndpoints service method, as returned by EC2. /// REST API Reference for DescribeInstanceConnectEndpoints Operation public virtual DescribeInstanceConnectEndpointsResponse DescribeInstanceConnectEndpoints(DescribeInstanceConnectEndpointsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceConnectEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceConnectEndpointsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified EC2 Instance Connect Endpoints or all EC2 Instance Connect /// Endpoints. /// /// Container for the necessary parameters to execute the DescribeInstanceConnectEndpoints service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeInstanceConnectEndpoints service method, as returned by EC2. /// REST API Reference for DescribeInstanceConnectEndpoints Operation public virtual Task DescribeInstanceConnectEndpointsAsync(DescribeInstanceConnectEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceConnectEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceConnectEndpointsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeInstanceCreditSpecifications /// /// Describes the credit option for CPU usage of the specified burstable performance instances. /// The credit options are standard and unlimited. /// /// /// /// If you do not specify an instance ID, Amazon EC2 returns burstable performance instances /// with the unlimited credit option, as well as instances that were previously /// configured as T2, T3, and T3a with the unlimited credit option. For example, /// if you resize a T2 instance, while it is configured as unlimited, to /// an M4 instance, Amazon EC2 returns the M4 instance. /// /// /// /// If you specify one or more instance IDs, Amazon EC2 returns the credit option (standard /// or unlimited) of those instances. If you specify an instance ID that /// is not valid, such as an instance that is not a burstable performance instance, an /// error is returned. /// /// /// /// Recently terminated instances might appear in the returned results. This interval /// is usually less than one hour. /// /// /// /// If an Availability Zone is experiencing a service disruption and you specify instance /// IDs in the affected zone, or do not specify any instance IDs at all, the call fails. /// If you specify only instance IDs in an unaffected zone, the call works normally. /// /// /// /// For more information, see Burstable /// performance instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeInstanceCreditSpecifications service method. /// /// The response from the DescribeInstanceCreditSpecifications service method, as returned by EC2. /// REST API Reference for DescribeInstanceCreditSpecifications Operation public virtual DescribeInstanceCreditSpecificationsResponse DescribeInstanceCreditSpecifications(DescribeInstanceCreditSpecificationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceCreditSpecificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceCreditSpecificationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the credit option for CPU usage of the specified burstable performance instances. /// The credit options are standard and unlimited. /// /// /// /// If you do not specify an instance ID, Amazon EC2 returns burstable performance instances /// with the unlimited credit option, as well as instances that were previously /// configured as T2, T3, and T3a with the unlimited credit option. For example, /// if you resize a T2 instance, while it is configured as unlimited, to /// an M4 instance, Amazon EC2 returns the M4 instance. /// /// /// /// If you specify one or more instance IDs, Amazon EC2 returns the credit option (standard /// or unlimited) of those instances. If you specify an instance ID that /// is not valid, such as an instance that is not a burstable performance instance, an /// error is returned. /// /// /// /// Recently terminated instances might appear in the returned results. This interval /// is usually less than one hour. /// /// /// /// If an Availability Zone is experiencing a service disruption and you specify instance /// IDs in the affected zone, or do not specify any instance IDs at all, the call fails. /// If you specify only instance IDs in an unaffected zone, the call works normally. /// /// /// /// For more information, see Burstable /// performance instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeInstanceCreditSpecifications service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeInstanceCreditSpecifications service method, as returned by EC2. /// REST API Reference for DescribeInstanceCreditSpecifications Operation public virtual Task DescribeInstanceCreditSpecificationsAsync(DescribeInstanceCreditSpecificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceCreditSpecificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceCreditSpecificationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeInstanceEventNotificationAttributes /// /// Describes the tag keys that are registered to appear in scheduled event notifications /// for resources in the current Region. /// /// Container for the necessary parameters to execute the DescribeInstanceEventNotificationAttributes service method. /// /// The response from the DescribeInstanceEventNotificationAttributes service method, as returned by EC2. /// REST API Reference for DescribeInstanceEventNotificationAttributes Operation public virtual DescribeInstanceEventNotificationAttributesResponse DescribeInstanceEventNotificationAttributes(DescribeInstanceEventNotificationAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceEventNotificationAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceEventNotificationAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the tag keys that are registered to appear in scheduled event notifications /// for resources in the current Region. /// /// Container for the necessary parameters to execute the DescribeInstanceEventNotificationAttributes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeInstanceEventNotificationAttributes service method, as returned by EC2. /// REST API Reference for DescribeInstanceEventNotificationAttributes Operation public virtual Task DescribeInstanceEventNotificationAttributesAsync(DescribeInstanceEventNotificationAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceEventNotificationAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceEventNotificationAttributesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeInstanceEventWindows /// /// Describes the specified event windows or all event windows. /// /// /// /// If you specify event window IDs, the output includes information for only the specified /// event windows. If you specify filters, the output includes information for only those /// event windows that meet the filter criteria. If you do not specify event windows IDs /// or filters, the output includes information for all event windows, which can affect /// performance. We recommend that you use pagination to ensure that the operation returns /// quickly and successfully. /// /// /// /// For more information, see Define /// event windows for scheduled events in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeInstanceEventWindows service method. /// /// The response from the DescribeInstanceEventWindows service method, as returned by EC2. /// REST API Reference for DescribeInstanceEventWindows Operation public virtual DescribeInstanceEventWindowsResponse DescribeInstanceEventWindows(DescribeInstanceEventWindowsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceEventWindowsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceEventWindowsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified event windows or all event windows. /// /// /// /// If you specify event window IDs, the output includes information for only the specified /// event windows. If you specify filters, the output includes information for only those /// event windows that meet the filter criteria. If you do not specify event windows IDs /// or filters, the output includes information for all event windows, which can affect /// performance. We recommend that you use pagination to ensure that the operation returns /// quickly and successfully. /// /// /// /// For more information, see Define /// event windows for scheduled events in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeInstanceEventWindows service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeInstanceEventWindows service method, as returned by EC2. /// REST API Reference for DescribeInstanceEventWindows Operation public virtual Task DescribeInstanceEventWindowsAsync(DescribeInstanceEventWindowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceEventWindowsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceEventWindowsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeInstances /// /// Describes the specified instances or all instances. /// /// /// /// If you specify instance IDs, the output includes information for only the specified /// instances. If you specify filters, the output includes information for only those /// instances that meet the filter criteria. If you do not specify instance IDs or filters, /// the output includes information for all instances, which can affect performance. We /// recommend that you use pagination to ensure that the operation returns quickly and /// successfully. /// /// /// /// If you specify an instance ID that is not valid, an error is returned. If you specify /// an instance that you do not own, it is not included in the output. /// /// /// /// Recently terminated instances might appear in the returned results. This interval /// is usually less than one hour. /// /// /// /// If you describe instances in the rare case where an Availability Zone is experiencing /// a service disruption and you specify instance IDs that are in the affected zone, or /// do not specify any instance IDs at all, the call fails. If you describe instances /// and specify only instance IDs that are in an unaffected zone, the call works normally. /// /// /// /// The response from the DescribeInstances service method, as returned by EC2. /// REST API Reference for DescribeInstances Operation public virtual DescribeInstancesResponse DescribeInstances() { return DescribeInstances(new DescribeInstancesRequest()); } /// /// Describes the specified instances or all instances. /// /// /// /// If you specify instance IDs, the output includes information for only the specified /// instances. If you specify filters, the output includes information for only those /// instances that meet the filter criteria. If you do not specify instance IDs or filters, /// the output includes information for all instances, which can affect performance. We /// recommend that you use pagination to ensure that the operation returns quickly and /// successfully. /// /// /// /// If you specify an instance ID that is not valid, an error is returned. If you specify /// an instance that you do not own, it is not included in the output. /// /// /// /// Recently terminated instances might appear in the returned results. This interval /// is usually less than one hour. /// /// /// /// If you describe instances in the rare case where an Availability Zone is experiencing /// a service disruption and you specify instance IDs that are in the affected zone, or /// do not specify any instance IDs at all, the call fails. If you describe instances /// and specify only instance IDs that are in an unaffected zone, the call works normally. /// /// /// Container for the necessary parameters to execute the DescribeInstances service method. /// /// The response from the DescribeInstances service method, as returned by EC2. /// 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); } /// /// Describes the specified instances or all instances. /// /// /// /// If you specify instance IDs, the output includes information for only the specified /// instances. If you specify filters, the output includes information for only those /// instances that meet the filter criteria. If you do not specify instance IDs or filters, /// the output includes information for all instances, which can affect performance. We /// recommend that you use pagination to ensure that the operation returns quickly and /// successfully. /// /// /// /// If you specify an instance ID that is not valid, an error is returned. If you specify /// an instance that you do not own, it is not included in the output. /// /// /// /// Recently terminated instances might appear in the returned results. This interval /// is usually less than one hour. /// /// /// /// If you describe instances in the rare case where an Availability Zone is experiencing /// a service disruption and you specify instance IDs that are in the affected zone, or /// do not specify any instance IDs at all, the call fails. If you describe instances /// and specify only instance IDs that are in an unaffected zone, the call works normally. /// /// /// /// 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 EC2. /// REST API Reference for DescribeInstances Operation public virtual Task DescribeInstancesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeInstancesAsync(new DescribeInstancesRequest(), cancellationToken); } /// /// Describes the specified instances or all instances. /// /// /// /// If you specify instance IDs, the output includes information for only the specified /// instances. If you specify filters, the output includes information for only those /// instances that meet the filter criteria. If you do not specify instance IDs or filters, /// the output includes information for all instances, which can affect performance. We /// recommend that you use pagination to ensure that the operation returns quickly and /// successfully. /// /// /// /// If you specify an instance ID that is not valid, an error is returned. If you specify /// an instance that you do not own, it is not included in the output. /// /// /// /// Recently terminated instances might appear in the returned results. This interval /// is usually less than one hour. /// /// /// /// If you describe instances in the rare case where an Availability Zone is experiencing /// a service disruption and you specify instance IDs that are in the affected zone, or /// do not specify any instance IDs at all, the call fails. If you describe instances /// and specify only instance IDs that are in an unaffected zone, the call works normally. /// /// /// 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 EC2. /// 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 DescribeInstanceStatus /// /// Describes the status of the specified instances or all of your instances. By default, /// only running instances are described, unless you specifically indicate to return the /// status of all instances. /// /// /// /// Instance status includes the following components: /// ///
  • /// /// Status checks - Amazon EC2 performs status checks on running EC2 instances /// to identify hardware and software issues. For more information, see Status /// checks for your instances and Troubleshoot /// instances with failed status checks in the Amazon EC2 User Guide. /// ///
  • /// /// Scheduled events - Amazon EC2 can schedule events (such as reboot, stop, or /// terminate) for your instances related to hardware issues, software updates, or system /// maintenance. For more information, see Scheduled /// events for your instances in the Amazon EC2 User Guide. /// ///
  • /// /// Instance state - You can manage your instances from the moment you launch /// them through their termination. For more information, see Instance /// lifecycle in the Amazon EC2 User Guide. /// ///
///
/// /// The response from the DescribeInstanceStatus service method, as returned by EC2. /// REST API Reference for DescribeInstanceStatus Operation public virtual DescribeInstanceStatusResponse DescribeInstanceStatus() { return DescribeInstanceStatus(new DescribeInstanceStatusRequest()); } /// /// Describes the status of the specified instances or all of your instances. By default, /// only running instances are described, unless you specifically indicate to return the /// status of all instances. /// /// /// /// Instance status includes the following components: /// ///
  • /// /// Status checks - Amazon EC2 performs status checks on running EC2 instances /// to identify hardware and software issues. For more information, see Status /// checks for your instances and Troubleshoot /// instances with failed status checks in the Amazon EC2 User Guide. /// ///
  • /// /// Scheduled events - Amazon EC2 can schedule events (such as reboot, stop, or /// terminate) for your instances related to hardware issues, software updates, or system /// maintenance. For more information, see Scheduled /// events for your instances in the Amazon EC2 User Guide. /// ///
  • /// /// Instance state - You can manage your instances from the moment you launch /// them through their termination. For more information, see Instance /// lifecycle in the Amazon EC2 User Guide. /// ///
///
/// Container for the necessary parameters to execute the DescribeInstanceStatus service method. /// /// The response from the DescribeInstanceStatus service method, as returned by EC2. /// REST API Reference for DescribeInstanceStatus Operation public virtual DescribeInstanceStatusResponse DescribeInstanceStatus(DescribeInstanceStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the status of the specified instances or all of your instances. By default, /// only running instances are described, unless you specifically indicate to return the /// status of all instances. /// /// /// /// Instance status includes the following components: /// ///
  • /// /// Status checks - Amazon EC2 performs status checks on running EC2 instances /// to identify hardware and software issues. For more information, see Status /// checks for your instances and Troubleshoot /// instances with failed status checks in the Amazon EC2 User Guide. /// ///
  • /// /// Scheduled events - Amazon EC2 can schedule events (such as reboot, stop, or /// terminate) for your instances related to hardware issues, software updates, or system /// maintenance. For more information, see Scheduled /// events for your instances in the Amazon EC2 User Guide. /// ///
  • /// /// Instance state - You can manage your instances from the moment you launch /// them through their termination. For more information, see Instance /// lifecycle in the Amazon EC2 User Guide. /// ///
///
/// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeInstanceStatus service method, as returned by EC2. /// REST API Reference for DescribeInstanceStatus Operation public virtual Task DescribeInstanceStatusAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeInstanceStatusAsync(new DescribeInstanceStatusRequest(), cancellationToken); } /// /// Describes the status of the specified instances or all of your instances. By default, /// only running instances are described, unless you specifically indicate to return the /// status of all instances. /// /// /// /// Instance status includes the following components: /// ///
  • /// /// Status checks - Amazon EC2 performs status checks on running EC2 instances /// to identify hardware and software issues. For more information, see Status /// checks for your instances and Troubleshoot /// instances with failed status checks in the Amazon EC2 User Guide. /// ///
  • /// /// Scheduled events - Amazon EC2 can schedule events (such as reboot, stop, or /// terminate) for your instances related to hardware issues, software updates, or system /// maintenance. For more information, see Scheduled /// events for your instances in the Amazon EC2 User Guide. /// ///
  • /// /// Instance state - You can manage your instances from the moment you launch /// them through their termination. For more information, see Instance /// lifecycle in the Amazon EC2 User Guide. /// ///
///
/// Container for the necessary parameters to execute the DescribeInstanceStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeInstanceStatus service method, as returned by EC2. /// REST API Reference for DescribeInstanceStatus Operation public virtual Task DescribeInstanceStatusAsync(DescribeInstanceStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeInstanceTypeOfferings /// /// Returns a list of all instance types offered. The results can be filtered by location /// (Region or Availability Zone). If no location is specified, the instance types offered /// in the current Region are returned. /// /// Container for the necessary parameters to execute the DescribeInstanceTypeOfferings service method. /// /// The response from the DescribeInstanceTypeOfferings service method, as returned by EC2. /// REST API Reference for DescribeInstanceTypeOfferings Operation public virtual DescribeInstanceTypeOfferingsResponse DescribeInstanceTypeOfferings(DescribeInstanceTypeOfferingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceTypeOfferingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceTypeOfferingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of all instance types offered. The results can be filtered by location /// (Region or Availability Zone). If no location is specified, the instance types offered /// in the current Region are returned. /// /// Container for the necessary parameters to execute the DescribeInstanceTypeOfferings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeInstanceTypeOfferings service method, as returned by EC2. /// REST API Reference for DescribeInstanceTypeOfferings Operation public virtual Task DescribeInstanceTypeOfferingsAsync(DescribeInstanceTypeOfferingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceTypeOfferingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceTypeOfferingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeInstanceTypes /// /// Describes the details of the instance types that are offered in a location. The results /// can be filtered by the attributes of the instance types. /// /// Container for the necessary parameters to execute the DescribeInstanceTypes service method. /// /// The response from the DescribeInstanceTypes service method, as returned by EC2. /// REST API Reference for DescribeInstanceTypes Operation public virtual DescribeInstanceTypesResponse DescribeInstanceTypes(DescribeInstanceTypesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceTypesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the details of the instance types that are offered in a location. The results /// can be filtered by the attributes of the instance types. /// /// Container for the necessary parameters to execute the DescribeInstanceTypes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeInstanceTypes service method, as returned by EC2. /// REST API Reference for DescribeInstanceTypes Operation public virtual Task DescribeInstanceTypesAsync(DescribeInstanceTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceTypesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeInternetGateways /// /// Describes one or more of your internet gateways. /// /// /// The response from the DescribeInternetGateways service method, as returned by EC2. /// REST API Reference for DescribeInternetGateways Operation public virtual DescribeInternetGatewaysResponse DescribeInternetGateways() { return DescribeInternetGateways(new DescribeInternetGatewaysRequest()); } /// /// Describes one or more of your internet gateways. /// /// Container for the necessary parameters to execute the DescribeInternetGateways service method. /// /// The response from the DescribeInternetGateways service method, as returned by EC2. /// REST API Reference for DescribeInternetGateways Operation public virtual DescribeInternetGatewaysResponse DescribeInternetGateways(DescribeInternetGatewaysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInternetGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInternetGatewaysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your internet gateways. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeInternetGateways service method, as returned by EC2. /// REST API Reference for DescribeInternetGateways Operation public virtual Task DescribeInternetGatewaysAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeInternetGatewaysAsync(new DescribeInternetGatewaysRequest(), cancellationToken); } /// /// Describes one or more of your internet gateways. /// /// Container for the necessary parameters to execute the DescribeInternetGateways service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeInternetGateways service method, as returned by EC2. /// REST API Reference for DescribeInternetGateways Operation public virtual Task DescribeInternetGatewaysAsync(DescribeInternetGatewaysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInternetGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInternetGatewaysResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeIpamPools /// /// Get information about your IPAM pools. /// /// Container for the necessary parameters to execute the DescribeIpamPools service method. /// /// The response from the DescribeIpamPools service method, as returned by EC2. /// REST API Reference for DescribeIpamPools Operation public virtual DescribeIpamPoolsResponse DescribeIpamPools(DescribeIpamPoolsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIpamPoolsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIpamPoolsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get information about your IPAM pools. /// /// Container for the necessary parameters to execute the DescribeIpamPools service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeIpamPools service method, as returned by EC2. /// REST API Reference for DescribeIpamPools Operation public virtual Task DescribeIpamPoolsAsync(DescribeIpamPoolsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIpamPoolsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIpamPoolsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeIpamResourceDiscoveries /// /// Describes IPAM resource discoveries. A resource discovery is an IPAM component that /// enables IPAM to manage and monitor resources that belong to the owning account. /// /// Container for the necessary parameters to execute the DescribeIpamResourceDiscoveries service method. /// /// The response from the DescribeIpamResourceDiscoveries service method, as returned by EC2. /// REST API Reference for DescribeIpamResourceDiscoveries Operation public virtual DescribeIpamResourceDiscoveriesResponse DescribeIpamResourceDiscoveries(DescribeIpamResourceDiscoveriesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIpamResourceDiscoveriesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIpamResourceDiscoveriesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes IPAM resource discoveries. A resource discovery is an IPAM component that /// enables IPAM to manage and monitor resources that belong to the owning account. /// /// Container for the necessary parameters to execute the DescribeIpamResourceDiscoveries service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeIpamResourceDiscoveries service method, as returned by EC2. /// REST API Reference for DescribeIpamResourceDiscoveries Operation public virtual Task DescribeIpamResourceDiscoveriesAsync(DescribeIpamResourceDiscoveriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIpamResourceDiscoveriesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIpamResourceDiscoveriesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeIpamResourceDiscoveryAssociations /// /// Describes resource discovery association with an Amazon VPC IPAM. An associated resource /// discovery is a resource discovery that has been associated with an IPAM.. /// /// Container for the necessary parameters to execute the DescribeIpamResourceDiscoveryAssociations service method. /// /// The response from the DescribeIpamResourceDiscoveryAssociations service method, as returned by EC2. /// REST API Reference for DescribeIpamResourceDiscoveryAssociations Operation public virtual DescribeIpamResourceDiscoveryAssociationsResponse DescribeIpamResourceDiscoveryAssociations(DescribeIpamResourceDiscoveryAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIpamResourceDiscoveryAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIpamResourceDiscoveryAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes resource discovery association with an Amazon VPC IPAM. An associated resource /// discovery is a resource discovery that has been associated with an IPAM.. /// /// Container for the necessary parameters to execute the DescribeIpamResourceDiscoveryAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeIpamResourceDiscoveryAssociations service method, as returned by EC2. /// REST API Reference for DescribeIpamResourceDiscoveryAssociations Operation public virtual Task DescribeIpamResourceDiscoveryAssociationsAsync(DescribeIpamResourceDiscoveryAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIpamResourceDiscoveryAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIpamResourceDiscoveryAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeIpams /// /// Get information about your IPAM pools. /// /// /// /// For more information, see What /// is IPAM? in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the DescribeIpams service method. /// /// The response from the DescribeIpams service method, as returned by EC2. /// REST API Reference for DescribeIpams Operation public virtual DescribeIpamsResponse DescribeIpams(DescribeIpamsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIpamsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIpamsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get information about your IPAM pools. /// /// /// /// For more information, see What /// is IPAM? in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the DescribeIpams service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeIpams service method, as returned by EC2. /// REST API Reference for DescribeIpams Operation public virtual Task DescribeIpamsAsync(DescribeIpamsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIpamsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIpamsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeIpamScopes /// /// Get information about your IPAM scopes. /// /// Container for the necessary parameters to execute the DescribeIpamScopes service method. /// /// The response from the DescribeIpamScopes service method, as returned by EC2. /// REST API Reference for DescribeIpamScopes Operation public virtual DescribeIpamScopesResponse DescribeIpamScopes(DescribeIpamScopesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIpamScopesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIpamScopesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get information about your IPAM scopes. /// /// Container for the necessary parameters to execute the DescribeIpamScopes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeIpamScopes service method, as returned by EC2. /// REST API Reference for DescribeIpamScopes Operation public virtual Task DescribeIpamScopesAsync(DescribeIpamScopesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIpamScopesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIpamScopesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeIpv6Pools /// /// Describes your IPv6 address pools. /// /// Container for the necessary parameters to execute the DescribeIpv6Pools service method. /// /// The response from the DescribeIpv6Pools service method, as returned by EC2. /// REST API Reference for DescribeIpv6Pools Operation public virtual DescribeIpv6PoolsResponse DescribeIpv6Pools(DescribeIpv6PoolsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIpv6PoolsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIpv6PoolsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes your IPv6 address pools. /// /// Container for the necessary parameters to execute the DescribeIpv6Pools service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeIpv6Pools service method, as returned by EC2. /// REST API Reference for DescribeIpv6Pools Operation public virtual Task DescribeIpv6PoolsAsync(DescribeIpv6PoolsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIpv6PoolsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIpv6PoolsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeKeyPairs /// /// Describes the specified key pairs or all of your key pairs. /// /// /// /// For more information about key pairs, see Amazon /// EC2 key pairs in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// The response from the DescribeKeyPairs service method, as returned by EC2. /// REST API Reference for DescribeKeyPairs Operation public virtual DescribeKeyPairsResponse DescribeKeyPairs() { return DescribeKeyPairs(new DescribeKeyPairsRequest()); } /// /// Describes the specified key pairs or all of your key pairs. /// /// /// /// For more information about key pairs, see Amazon /// EC2 key pairs in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DescribeKeyPairs service method. /// /// The response from the DescribeKeyPairs service method, as returned by EC2. /// REST API Reference for DescribeKeyPairs Operation public virtual DescribeKeyPairsResponse DescribeKeyPairs(DescribeKeyPairsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeKeyPairsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeKeyPairsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified key pairs or all of your key pairs. /// /// /// /// For more information about key pairs, see Amazon /// EC2 key pairs in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeKeyPairs service method, as returned by EC2. /// REST API Reference for DescribeKeyPairs Operation public virtual Task DescribeKeyPairsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeKeyPairsAsync(new DescribeKeyPairsRequest(), cancellationToken); } /// /// Describes the specified key pairs or all of your key pairs. /// /// /// /// For more information about key pairs, see Amazon /// EC2 key pairs in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DescribeKeyPairs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeKeyPairs service method, as returned by EC2. /// REST API Reference for DescribeKeyPairs Operation public virtual Task DescribeKeyPairsAsync(DescribeKeyPairsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeKeyPairsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeKeyPairsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeLaunchTemplates /// /// Describes one or more launch templates. /// /// Container for the necessary parameters to execute the DescribeLaunchTemplates service method. /// /// The response from the DescribeLaunchTemplates service method, as returned by EC2. /// REST API Reference for DescribeLaunchTemplates Operation public virtual DescribeLaunchTemplatesResponse DescribeLaunchTemplates(DescribeLaunchTemplatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLaunchTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLaunchTemplatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more launch templates. /// /// Container for the necessary parameters to execute the DescribeLaunchTemplates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeLaunchTemplates service method, as returned by EC2. /// REST API Reference for DescribeLaunchTemplates Operation public virtual Task DescribeLaunchTemplatesAsync(DescribeLaunchTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLaunchTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLaunchTemplatesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeLaunchTemplateVersions /// /// Describes one or more versions of a specified launch template. You can describe all /// versions, individual versions, or a range of versions. You can also describe all the /// latest versions or all the default versions of all the launch templates in your account. /// /// Container for the necessary parameters to execute the DescribeLaunchTemplateVersions service method. /// /// The response from the DescribeLaunchTemplateVersions service method, as returned by EC2. /// REST API Reference for DescribeLaunchTemplateVersions Operation public virtual DescribeLaunchTemplateVersionsResponse DescribeLaunchTemplateVersions(DescribeLaunchTemplateVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLaunchTemplateVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLaunchTemplateVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more versions of a specified launch template. You can describe all /// versions, individual versions, or a range of versions. You can also describe all the /// latest versions or all the default versions of all the launch templates in your account. /// /// Container for the necessary parameters to execute the DescribeLaunchTemplateVersions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeLaunchTemplateVersions service method, as returned by EC2. /// REST API Reference for DescribeLaunchTemplateVersions Operation public virtual Task DescribeLaunchTemplateVersionsAsync(DescribeLaunchTemplateVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLaunchTemplateVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLaunchTemplateVersionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeLocalGatewayRouteTables /// /// Describes one or more local gateway route tables. By default, all local gateway route /// tables are described. Alternatively, you can filter the results. /// /// Container for the necessary parameters to execute the DescribeLocalGatewayRouteTables service method. /// /// The response from the DescribeLocalGatewayRouteTables service method, as returned by EC2. /// REST API Reference for DescribeLocalGatewayRouteTables Operation public virtual DescribeLocalGatewayRouteTablesResponse DescribeLocalGatewayRouteTables(DescribeLocalGatewayRouteTablesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLocalGatewayRouteTablesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLocalGatewayRouteTablesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more local gateway route tables. By default, all local gateway route /// tables are described. Alternatively, you can filter the results. /// /// Container for the necessary parameters to execute the DescribeLocalGatewayRouteTables service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeLocalGatewayRouteTables service method, as returned by EC2. /// REST API Reference for DescribeLocalGatewayRouteTables Operation public virtual Task DescribeLocalGatewayRouteTablesAsync(DescribeLocalGatewayRouteTablesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLocalGatewayRouteTablesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLocalGatewayRouteTablesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations /// /// Describes the associations between virtual interface groups and local gateway route /// tables. /// /// Container for the necessary parameters to execute the DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations service method. /// /// The response from the DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations service method, as returned by EC2. /// REST API Reference for DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations Operation public virtual DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResponse DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations(DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the associations between virtual interface groups and local gateway route /// tables. /// /// Container for the necessary parameters to execute the DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations service method, as returned by EC2. /// REST API Reference for DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations Operation public virtual Task DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsAsync(DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeLocalGatewayRouteTableVpcAssociations /// /// Describes the specified associations between VPCs and local gateway route tables. /// /// Container for the necessary parameters to execute the DescribeLocalGatewayRouteTableVpcAssociations service method. /// /// The response from the DescribeLocalGatewayRouteTableVpcAssociations service method, as returned by EC2. /// REST API Reference for DescribeLocalGatewayRouteTableVpcAssociations Operation public virtual DescribeLocalGatewayRouteTableVpcAssociationsResponse DescribeLocalGatewayRouteTableVpcAssociations(DescribeLocalGatewayRouteTableVpcAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLocalGatewayRouteTableVpcAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLocalGatewayRouteTableVpcAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified associations between VPCs and local gateway route tables. /// /// Container for the necessary parameters to execute the DescribeLocalGatewayRouteTableVpcAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeLocalGatewayRouteTableVpcAssociations service method, as returned by EC2. /// REST API Reference for DescribeLocalGatewayRouteTableVpcAssociations Operation public virtual Task DescribeLocalGatewayRouteTableVpcAssociationsAsync(DescribeLocalGatewayRouteTableVpcAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLocalGatewayRouteTableVpcAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLocalGatewayRouteTableVpcAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeLocalGateways /// /// Describes one or more local gateways. By default, all local gateways are described. /// Alternatively, you can filter the results. /// /// Container for the necessary parameters to execute the DescribeLocalGateways service method. /// /// The response from the DescribeLocalGateways service method, as returned by EC2. /// REST API Reference for DescribeLocalGateways Operation public virtual DescribeLocalGatewaysResponse DescribeLocalGateways(DescribeLocalGatewaysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLocalGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLocalGatewaysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more local gateways. By default, all local gateways are described. /// Alternatively, you can filter the results. /// /// Container for the necessary parameters to execute the DescribeLocalGateways service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeLocalGateways service method, as returned by EC2. /// REST API Reference for DescribeLocalGateways Operation public virtual Task DescribeLocalGatewaysAsync(DescribeLocalGatewaysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLocalGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLocalGatewaysResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeLocalGatewayVirtualInterfaceGroups /// /// Describes the specified local gateway virtual interface groups. /// /// Container for the necessary parameters to execute the DescribeLocalGatewayVirtualInterfaceGroups service method. /// /// The response from the DescribeLocalGatewayVirtualInterfaceGroups service method, as returned by EC2. /// REST API Reference for DescribeLocalGatewayVirtualInterfaceGroups Operation public virtual DescribeLocalGatewayVirtualInterfaceGroupsResponse DescribeLocalGatewayVirtualInterfaceGroups(DescribeLocalGatewayVirtualInterfaceGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLocalGatewayVirtualInterfaceGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLocalGatewayVirtualInterfaceGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified local gateway virtual interface groups. /// /// Container for the necessary parameters to execute the DescribeLocalGatewayVirtualInterfaceGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeLocalGatewayVirtualInterfaceGroups service method, as returned by EC2. /// REST API Reference for DescribeLocalGatewayVirtualInterfaceGroups Operation public virtual Task DescribeLocalGatewayVirtualInterfaceGroupsAsync(DescribeLocalGatewayVirtualInterfaceGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLocalGatewayVirtualInterfaceGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLocalGatewayVirtualInterfaceGroupsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeLocalGatewayVirtualInterfaces /// /// Describes the specified local gateway virtual interfaces. /// /// Container for the necessary parameters to execute the DescribeLocalGatewayVirtualInterfaces service method. /// /// The response from the DescribeLocalGatewayVirtualInterfaces service method, as returned by EC2. /// REST API Reference for DescribeLocalGatewayVirtualInterfaces Operation public virtual DescribeLocalGatewayVirtualInterfacesResponse DescribeLocalGatewayVirtualInterfaces(DescribeLocalGatewayVirtualInterfacesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLocalGatewayVirtualInterfacesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLocalGatewayVirtualInterfacesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified local gateway virtual interfaces. /// /// Container for the necessary parameters to execute the DescribeLocalGatewayVirtualInterfaces service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeLocalGatewayVirtualInterfaces service method, as returned by EC2. /// REST API Reference for DescribeLocalGatewayVirtualInterfaces Operation public virtual Task DescribeLocalGatewayVirtualInterfacesAsync(DescribeLocalGatewayVirtualInterfacesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLocalGatewayVirtualInterfacesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLocalGatewayVirtualInterfacesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeManagedPrefixLists /// /// Describes your managed prefix lists and any Amazon Web Services-managed prefix lists. /// /// /// /// To view the entries for your prefix list, use GetManagedPrefixListEntries. /// /// /// Container for the necessary parameters to execute the DescribeManagedPrefixLists service method. /// /// The response from the DescribeManagedPrefixLists service method, as returned by EC2. /// REST API Reference for DescribeManagedPrefixLists Operation public virtual DescribeManagedPrefixListsResponse DescribeManagedPrefixLists(DescribeManagedPrefixListsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeManagedPrefixListsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeManagedPrefixListsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes your managed prefix lists and any Amazon Web Services-managed prefix lists. /// /// /// /// To view the entries for your prefix list, use GetManagedPrefixListEntries. /// /// /// Container for the necessary parameters to execute the DescribeManagedPrefixLists service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeManagedPrefixLists service method, as returned by EC2. /// REST API Reference for DescribeManagedPrefixLists Operation public virtual Task DescribeManagedPrefixListsAsync(DescribeManagedPrefixListsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeManagedPrefixListsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeManagedPrefixListsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeMovingAddresses /// /// /// /// This action is deprecated. /// /// /// /// Describes your Elastic IP addresses that are being moved from or being restored to /// the EC2-Classic platform. This request does not return information about any other /// Elastic IP addresses in your account. /// /// /// Container for the necessary parameters to execute the DescribeMovingAddresses service method. /// /// The response from the DescribeMovingAddresses service method, as returned by EC2. /// REST API Reference for DescribeMovingAddresses Operation public virtual DescribeMovingAddressesResponse DescribeMovingAddresses(DescribeMovingAddressesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMovingAddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMovingAddressesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// This action is deprecated. /// /// /// /// Describes your Elastic IP addresses that are being moved from or being restored to /// the EC2-Classic platform. This request does not return information about any other /// Elastic IP addresses in your account. /// /// /// Container for the necessary parameters to execute the DescribeMovingAddresses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeMovingAddresses service method, as returned by EC2. /// REST API Reference for DescribeMovingAddresses Operation public virtual Task DescribeMovingAddressesAsync(DescribeMovingAddressesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMovingAddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMovingAddressesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeNatGateways /// /// Describes one or more of your NAT gateways. /// /// Container for the necessary parameters to execute the DescribeNatGateways service method. /// /// The response from the DescribeNatGateways service method, as returned by EC2. /// REST API Reference for DescribeNatGateways Operation public virtual DescribeNatGatewaysResponse DescribeNatGateways(DescribeNatGatewaysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNatGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNatGatewaysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your NAT gateways. /// /// Container for the necessary parameters to execute the DescribeNatGateways service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeNatGateways service method, as returned by EC2. /// REST API Reference for DescribeNatGateways Operation public virtual Task DescribeNatGatewaysAsync(DescribeNatGatewaysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNatGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNatGatewaysResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeNetworkAcls /// /// Describes one or more of your network ACLs. /// /// /// /// For more information, see Network /// ACLs in the Amazon VPC User Guide. /// /// /// /// The response from the DescribeNetworkAcls service method, as returned by EC2. /// REST API Reference for DescribeNetworkAcls Operation public virtual DescribeNetworkAclsResponse DescribeNetworkAcls() { return DescribeNetworkAcls(new DescribeNetworkAclsRequest()); } /// /// Describes one or more of your network ACLs. /// /// /// /// For more information, see Network /// ACLs in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the DescribeNetworkAcls service method. /// /// The response from the DescribeNetworkAcls service method, as returned by EC2. /// REST API Reference for DescribeNetworkAcls Operation public virtual DescribeNetworkAclsResponse DescribeNetworkAcls(DescribeNetworkAclsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkAclsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkAclsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your network ACLs. /// /// /// /// For more information, see Network /// ACLs in the Amazon VPC User Guide. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeNetworkAcls service method, as returned by EC2. /// REST API Reference for DescribeNetworkAcls Operation public virtual Task DescribeNetworkAclsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeNetworkAclsAsync(new DescribeNetworkAclsRequest(), cancellationToken); } /// /// Describes one or more of your network ACLs. /// /// /// /// For more information, see Network /// ACLs in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the DescribeNetworkAcls service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeNetworkAcls service method, as returned by EC2. /// REST API Reference for DescribeNetworkAcls Operation public virtual Task DescribeNetworkAclsAsync(DescribeNetworkAclsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkAclsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkAclsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeNetworkInsightsAccessScopeAnalyses /// /// Describes the specified Network Access Scope analyses. /// /// Container for the necessary parameters to execute the DescribeNetworkInsightsAccessScopeAnalyses service method. /// /// The response from the DescribeNetworkInsightsAccessScopeAnalyses service method, as returned by EC2. /// REST API Reference for DescribeNetworkInsightsAccessScopeAnalyses Operation public virtual DescribeNetworkInsightsAccessScopeAnalysesResponse DescribeNetworkInsightsAccessScopeAnalyses(DescribeNetworkInsightsAccessScopeAnalysesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkInsightsAccessScopeAnalysesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkInsightsAccessScopeAnalysesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified Network Access Scope analyses. /// /// Container for the necessary parameters to execute the DescribeNetworkInsightsAccessScopeAnalyses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeNetworkInsightsAccessScopeAnalyses service method, as returned by EC2. /// REST API Reference for DescribeNetworkInsightsAccessScopeAnalyses Operation public virtual Task DescribeNetworkInsightsAccessScopeAnalysesAsync(DescribeNetworkInsightsAccessScopeAnalysesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkInsightsAccessScopeAnalysesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkInsightsAccessScopeAnalysesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeNetworkInsightsAccessScopes /// /// Describes the specified Network Access Scopes. /// /// Container for the necessary parameters to execute the DescribeNetworkInsightsAccessScopes service method. /// /// The response from the DescribeNetworkInsightsAccessScopes service method, as returned by EC2. /// REST API Reference for DescribeNetworkInsightsAccessScopes Operation public virtual DescribeNetworkInsightsAccessScopesResponse DescribeNetworkInsightsAccessScopes(DescribeNetworkInsightsAccessScopesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkInsightsAccessScopesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkInsightsAccessScopesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified Network Access Scopes. /// /// Container for the necessary parameters to execute the DescribeNetworkInsightsAccessScopes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeNetworkInsightsAccessScopes service method, as returned by EC2. /// REST API Reference for DescribeNetworkInsightsAccessScopes Operation public virtual Task DescribeNetworkInsightsAccessScopesAsync(DescribeNetworkInsightsAccessScopesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkInsightsAccessScopesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkInsightsAccessScopesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeNetworkInsightsAnalyses /// /// Describes one or more of your network insights analyses. /// /// Container for the necessary parameters to execute the DescribeNetworkInsightsAnalyses service method. /// /// The response from the DescribeNetworkInsightsAnalyses service method, as returned by EC2. /// REST API Reference for DescribeNetworkInsightsAnalyses Operation public virtual DescribeNetworkInsightsAnalysesResponse DescribeNetworkInsightsAnalyses(DescribeNetworkInsightsAnalysesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkInsightsAnalysesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkInsightsAnalysesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your network insights analyses. /// /// Container for the necessary parameters to execute the DescribeNetworkInsightsAnalyses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeNetworkInsightsAnalyses service method, as returned by EC2. /// REST API Reference for DescribeNetworkInsightsAnalyses Operation public virtual Task DescribeNetworkInsightsAnalysesAsync(DescribeNetworkInsightsAnalysesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkInsightsAnalysesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkInsightsAnalysesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeNetworkInsightsPaths /// /// Describes one or more of your paths. /// /// Container for the necessary parameters to execute the DescribeNetworkInsightsPaths service method. /// /// The response from the DescribeNetworkInsightsPaths service method, as returned by EC2. /// REST API Reference for DescribeNetworkInsightsPaths Operation public virtual DescribeNetworkInsightsPathsResponse DescribeNetworkInsightsPaths(DescribeNetworkInsightsPathsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkInsightsPathsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkInsightsPathsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your paths. /// /// Container for the necessary parameters to execute the DescribeNetworkInsightsPaths service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeNetworkInsightsPaths service method, as returned by EC2. /// REST API Reference for DescribeNetworkInsightsPaths Operation public virtual Task DescribeNetworkInsightsPathsAsync(DescribeNetworkInsightsPathsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkInsightsPathsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkInsightsPathsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeNetworkInterfaceAttribute /// /// Describes a network interface attribute. You can specify only one attribute at a time. /// /// Container for the necessary parameters to execute the DescribeNetworkInterfaceAttribute service method. /// /// The response from the DescribeNetworkInterfaceAttribute service method, as returned by EC2. /// REST API Reference for DescribeNetworkInterfaceAttribute Operation public virtual DescribeNetworkInterfaceAttributeResponse DescribeNetworkInterfaceAttribute(DescribeNetworkInterfaceAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkInterfaceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkInterfaceAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes a network interface attribute. You can specify only one attribute at a time. /// /// Container for the necessary parameters to execute the DescribeNetworkInterfaceAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeNetworkInterfaceAttribute service method, as returned by EC2. /// REST API Reference for DescribeNetworkInterfaceAttribute Operation public virtual Task DescribeNetworkInterfaceAttributeAsync(DescribeNetworkInterfaceAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkInterfaceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkInterfaceAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeNetworkInterfacePermissions /// /// Describes the permissions for your network interfaces. /// /// Container for the necessary parameters to execute the DescribeNetworkInterfacePermissions service method. /// /// The response from the DescribeNetworkInterfacePermissions service method, as returned by EC2. /// REST API Reference for DescribeNetworkInterfacePermissions Operation public virtual DescribeNetworkInterfacePermissionsResponse DescribeNetworkInterfacePermissions(DescribeNetworkInterfacePermissionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkInterfacePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkInterfacePermissionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the permissions for your network interfaces. /// /// Container for the necessary parameters to execute the DescribeNetworkInterfacePermissions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeNetworkInterfacePermissions service method, as returned by EC2. /// REST API Reference for DescribeNetworkInterfacePermissions Operation public virtual Task DescribeNetworkInterfacePermissionsAsync(DescribeNetworkInterfacePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkInterfacePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkInterfacePermissionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeNetworkInterfaces /// /// Describes one or more of your network interfaces. /// /// /// The response from the DescribeNetworkInterfaces service method, as returned by EC2. /// REST API Reference for DescribeNetworkInterfaces Operation public virtual DescribeNetworkInterfacesResponse DescribeNetworkInterfaces() { return DescribeNetworkInterfaces(new DescribeNetworkInterfacesRequest()); } /// /// Describes one or more of your network interfaces. /// /// Container for the necessary parameters to execute the DescribeNetworkInterfaces service method. /// /// The response from the DescribeNetworkInterfaces service method, as returned by EC2. /// REST API Reference for DescribeNetworkInterfaces Operation public virtual DescribeNetworkInterfacesResponse DescribeNetworkInterfaces(DescribeNetworkInterfacesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkInterfacesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkInterfacesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your network interfaces. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeNetworkInterfaces service method, as returned by EC2. /// REST API Reference for DescribeNetworkInterfaces Operation public virtual Task DescribeNetworkInterfacesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeNetworkInterfacesAsync(new DescribeNetworkInterfacesRequest(), cancellationToken); } /// /// Describes one or more of your network interfaces. /// /// Container for the necessary parameters to execute the DescribeNetworkInterfaces service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeNetworkInterfaces service method, as returned by EC2. /// REST API Reference for DescribeNetworkInterfaces Operation public virtual Task DescribeNetworkInterfacesAsync(DescribeNetworkInterfacesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeNetworkInterfacesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeNetworkInterfacesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribePlacementGroups /// /// Describes the specified placement groups or all of your placement groups. For more /// information, see Placement /// groups in the Amazon EC2 User Guide. /// /// /// The response from the DescribePlacementGroups service method, as returned by EC2. /// REST API Reference for DescribePlacementGroups Operation public virtual DescribePlacementGroupsResponse DescribePlacementGroups() { return DescribePlacementGroups(new DescribePlacementGroupsRequest()); } /// /// Describes the specified placement groups or all of your placement groups. For more /// information, see Placement /// groups in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the DescribePlacementGroups service method. /// /// The response from the DescribePlacementGroups service method, as returned by EC2. /// REST API Reference for DescribePlacementGroups Operation public virtual DescribePlacementGroupsResponse DescribePlacementGroups(DescribePlacementGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePlacementGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePlacementGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified placement groups or all of your placement groups. For more /// information, see Placement /// groups in the Amazon EC2 User Guide. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribePlacementGroups service method, as returned by EC2. /// REST API Reference for DescribePlacementGroups Operation public virtual Task DescribePlacementGroupsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribePlacementGroupsAsync(new DescribePlacementGroupsRequest(), cancellationToken); } /// /// Describes the specified placement groups or all of your placement groups. For more /// information, see Placement /// groups in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the DescribePlacementGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribePlacementGroups service method, as returned by EC2. /// REST API Reference for DescribePlacementGroups Operation public virtual Task DescribePlacementGroupsAsync(DescribePlacementGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePlacementGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePlacementGroupsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribePrefixLists /// /// Describes available Amazon Web Services services in a prefix list format, which includes /// the prefix list name and prefix list ID of the service and the IP address range for /// the service. /// /// /// /// We recommend that you use DescribeManagedPrefixLists instead. /// /// /// Container for the necessary parameters to execute the DescribePrefixLists service method. /// /// The response from the DescribePrefixLists service method, as returned by EC2. /// REST API Reference for DescribePrefixLists Operation public virtual DescribePrefixListsResponse DescribePrefixLists(DescribePrefixListsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePrefixListsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePrefixListsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes available Amazon Web Services services in a prefix list format, which includes /// the prefix list name and prefix list ID of the service and the IP address range for /// the service. /// /// /// /// We recommend that you use DescribeManagedPrefixLists instead. /// /// /// Container for the necessary parameters to execute the DescribePrefixLists service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribePrefixLists service method, as returned by EC2. /// REST API Reference for DescribePrefixLists Operation public virtual Task DescribePrefixListsAsync(DescribePrefixListsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePrefixListsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePrefixListsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribePrincipalIdFormat /// /// Describes the ID format settings for the root user and all IAM roles and IAM users /// that have explicitly specified a longer ID (17-character ID) preference. /// /// /// /// By default, all IAM roles and IAM users default to the same ID settings as the root /// user, unless they explicitly override the settings. This request is useful for identifying /// those IAM users and IAM roles that have overridden the default ID settings. /// /// /// /// The following resource types support longer IDs: bundle | conversion-task /// | customer-gateway | dhcp-options | elastic-ip-allocation /// | elastic-ip-association | export-task | flow-log /// | image | import-task | instance | internet-gateway /// | network-acl | network-acl-association | network-interface /// | network-interface-attachment | prefix-list | reservation /// | route-table | route-table-association | security-group /// | snapshot | subnet | subnet-cidr-block-association /// | volume | vpc | vpc-cidr-block-association /// | vpc-endpoint | vpc-peering-connection | vpn-connection /// | vpn-gateway. /// /// /// Container for the necessary parameters to execute the DescribePrincipalIdFormat service method. /// /// The response from the DescribePrincipalIdFormat service method, as returned by EC2. /// REST API Reference for DescribePrincipalIdFormat Operation public virtual DescribePrincipalIdFormatResponse DescribePrincipalIdFormat(DescribePrincipalIdFormatRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePrincipalIdFormatRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePrincipalIdFormatResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the ID format settings for the root user and all IAM roles and IAM users /// that have explicitly specified a longer ID (17-character ID) preference. /// /// /// /// By default, all IAM roles and IAM users default to the same ID settings as the root /// user, unless they explicitly override the settings. This request is useful for identifying /// those IAM users and IAM roles that have overridden the default ID settings. /// /// /// /// The following resource types support longer IDs: bundle | conversion-task /// | customer-gateway | dhcp-options | elastic-ip-allocation /// | elastic-ip-association | export-task | flow-log /// | image | import-task | instance | internet-gateway /// | network-acl | network-acl-association | network-interface /// | network-interface-attachment | prefix-list | reservation /// | route-table | route-table-association | security-group /// | snapshot | subnet | subnet-cidr-block-association /// | volume | vpc | vpc-cidr-block-association /// | vpc-endpoint | vpc-peering-connection | vpn-connection /// | vpn-gateway. /// /// /// Container for the necessary parameters to execute the DescribePrincipalIdFormat service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribePrincipalIdFormat service method, as returned by EC2. /// REST API Reference for DescribePrincipalIdFormat Operation public virtual Task DescribePrincipalIdFormatAsync(DescribePrincipalIdFormatRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePrincipalIdFormatRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePrincipalIdFormatResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribePublicIpv4Pools /// /// Describes the specified IPv4 address pools. /// /// Container for the necessary parameters to execute the DescribePublicIpv4Pools service method. /// /// The response from the DescribePublicIpv4Pools service method, as returned by EC2. /// REST API Reference for DescribePublicIpv4Pools Operation public virtual DescribePublicIpv4PoolsResponse DescribePublicIpv4Pools(DescribePublicIpv4PoolsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePublicIpv4PoolsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePublicIpv4PoolsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified IPv4 address pools. /// /// Container for the necessary parameters to execute the DescribePublicIpv4Pools service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribePublicIpv4Pools service method, as returned by EC2. /// REST API Reference for DescribePublicIpv4Pools Operation public virtual Task DescribePublicIpv4PoolsAsync(DescribePublicIpv4PoolsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePublicIpv4PoolsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePublicIpv4PoolsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeRegions /// /// Describes the Regions that are enabled for your account, or all Regions. /// /// /// /// For a list of the Regions supported by Amazon EC2, see /// Amazon Elastic Compute Cloud endpoints and quotas. /// /// /// /// For information about enabling and disabling Regions for your account, see Managing /// Amazon Web Services Regions in the Amazon Web Services General Reference. /// /// /// /// The response from the DescribeRegions service method, as returned by EC2. /// REST API Reference for DescribeRegions Operation public virtual DescribeRegionsResponse DescribeRegions() { return DescribeRegions(new DescribeRegionsRequest()); } /// /// Describes the Regions that are enabled for your account, or all Regions. /// /// /// /// For a list of the Regions supported by Amazon EC2, see /// Amazon Elastic Compute Cloud endpoints and quotas. /// /// /// /// For information about enabling and disabling Regions for your account, see Managing /// Amazon Web Services Regions in the Amazon Web Services General Reference. /// /// /// Container for the necessary parameters to execute the DescribeRegions service method. /// /// The response from the DescribeRegions service method, as returned by EC2. /// REST API Reference for DescribeRegions Operation public virtual DescribeRegionsResponse DescribeRegions(DescribeRegionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRegionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRegionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the Regions that are enabled for your account, or all Regions. /// /// /// /// For a list of the Regions supported by Amazon EC2, see /// Amazon Elastic Compute Cloud endpoints and quotas. /// /// /// /// For information about enabling and disabling Regions for your account, see Managing /// Amazon Web Services Regions in the Amazon Web Services General Reference. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRegions service method, as returned by EC2. /// REST API Reference for DescribeRegions Operation public virtual Task DescribeRegionsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeRegionsAsync(new DescribeRegionsRequest(), cancellationToken); } /// /// Describes the Regions that are enabled for your account, or all Regions. /// /// /// /// For a list of the Regions supported by Amazon EC2, see /// Amazon Elastic Compute Cloud endpoints and quotas. /// /// /// /// For information about enabling and disabling Regions for your account, see Managing /// Amazon Web Services Regions in the Amazon Web Services General Reference. /// /// /// Container for the necessary parameters to execute the DescribeRegions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRegions service method, as returned by EC2. /// REST API Reference for DescribeRegions Operation public virtual Task DescribeRegionsAsync(DescribeRegionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRegionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRegionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReplaceRootVolumeTasks /// /// Describes a root volume replacement task. For more information, see Replace /// a root volume in the Amazon Elastic Compute Cloud User Guide. /// /// Container for the necessary parameters to execute the DescribeReplaceRootVolumeTasks service method. /// /// The response from the DescribeReplaceRootVolumeTasks service method, as returned by EC2. /// REST API Reference for DescribeReplaceRootVolumeTasks Operation public virtual DescribeReplaceRootVolumeTasksResponse DescribeReplaceRootVolumeTasks(DescribeReplaceRootVolumeTasksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplaceRootVolumeTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplaceRootVolumeTasksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes a root volume replacement task. For more information, see Replace /// a root volume in the Amazon Elastic Compute Cloud User Guide. /// /// Container for the necessary parameters to execute the DescribeReplaceRootVolumeTasks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReplaceRootVolumeTasks service method, as returned by EC2. /// REST API Reference for DescribeReplaceRootVolumeTasks Operation public virtual Task DescribeReplaceRootVolumeTasksAsync(DescribeReplaceRootVolumeTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplaceRootVolumeTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplaceRootVolumeTasksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReservedInstances /// /// Describes one or more of the Reserved Instances that you purchased. /// /// /// /// For more information about Reserved Instances, see Reserved /// Instances in the Amazon EC2 User Guide. /// /// /// /// The response from the DescribeReservedInstances service method, as returned by EC2. /// REST API Reference for DescribeReservedInstances Operation public virtual DescribeReservedInstancesResponse DescribeReservedInstances() { return DescribeReservedInstances(new DescribeReservedInstancesRequest()); } /// /// Describes one or more of the Reserved Instances that you purchased. /// /// /// /// For more information about Reserved Instances, see Reserved /// Instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeReservedInstances service method. /// /// The response from the DescribeReservedInstances service method, as returned by EC2. /// REST API Reference for DescribeReservedInstances Operation public virtual DescribeReservedInstancesResponse DescribeReservedInstances(DescribeReservedInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of the Reserved Instances that you purchased. /// /// /// /// For more information about Reserved Instances, see Reserved /// Instances in the Amazon EC2 User Guide. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReservedInstances service method, as returned by EC2. /// REST API Reference for DescribeReservedInstances Operation public virtual Task DescribeReservedInstancesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeReservedInstancesAsync(new DescribeReservedInstancesRequest(), cancellationToken); } /// /// Describes one or more of the Reserved Instances that you purchased. /// /// /// /// For more information about Reserved Instances, see Reserved /// Instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeReservedInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReservedInstances service method, as returned by EC2. /// REST API Reference for DescribeReservedInstances Operation public virtual Task DescribeReservedInstancesAsync(DescribeReservedInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReservedInstancesListings /// /// Describes your account's Reserved Instance listings in the Reserved Instance Marketplace. /// /// /// /// The Reserved Instance Marketplace matches sellers who want to resell Reserved Instance /// capacity that they no longer need with buyers who want to purchase additional capacity. /// Reserved Instances bought and sold through the Reserved Instance Marketplace work /// like any other Reserved Instances. /// /// /// /// As a seller, you choose to list some or all of your Reserved Instances, and you specify /// the upfront price to receive for them. Your Reserved Instances are then listed in /// the Reserved Instance Marketplace and are available for purchase. /// /// /// /// As a buyer, you specify the configuration of the Reserved Instance to purchase, and /// the Marketplace matches what you're searching for with what's available. The Marketplace /// first sells the lowest priced Reserved Instances to you, and continues to sell available /// Reserved Instance listings to you until your demand is met. You are charged based /// on the total price of all of the listings that you purchase. /// /// /// /// For more information, see Reserved /// Instance Marketplace in the Amazon EC2 User Guide. /// /// /// /// The response from the DescribeReservedInstancesListings service method, as returned by EC2. /// REST API Reference for DescribeReservedInstancesListings Operation public virtual DescribeReservedInstancesListingsResponse DescribeReservedInstancesListings() { return DescribeReservedInstancesListings(new DescribeReservedInstancesListingsRequest()); } /// /// Describes your account's Reserved Instance listings in the Reserved Instance Marketplace. /// /// /// /// The Reserved Instance Marketplace matches sellers who want to resell Reserved Instance /// capacity that they no longer need with buyers who want to purchase additional capacity. /// Reserved Instances bought and sold through the Reserved Instance Marketplace work /// like any other Reserved Instances. /// /// /// /// As a seller, you choose to list some or all of your Reserved Instances, and you specify /// the upfront price to receive for them. Your Reserved Instances are then listed in /// the Reserved Instance Marketplace and are available for purchase. /// /// /// /// As a buyer, you specify the configuration of the Reserved Instance to purchase, and /// the Marketplace matches what you're searching for with what's available. The Marketplace /// first sells the lowest priced Reserved Instances to you, and continues to sell available /// Reserved Instance listings to you until your demand is met. You are charged based /// on the total price of all of the listings that you purchase. /// /// /// /// For more information, see Reserved /// Instance Marketplace in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeReservedInstancesListings service method. /// /// The response from the DescribeReservedInstancesListings service method, as returned by EC2. /// REST API Reference for DescribeReservedInstancesListings Operation public virtual DescribeReservedInstancesListingsResponse DescribeReservedInstancesListings(DescribeReservedInstancesListingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedInstancesListingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedInstancesListingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes your account's Reserved Instance listings in the Reserved Instance Marketplace. /// /// /// /// The Reserved Instance Marketplace matches sellers who want to resell Reserved Instance /// capacity that they no longer need with buyers who want to purchase additional capacity. /// Reserved Instances bought and sold through the Reserved Instance Marketplace work /// like any other Reserved Instances. /// /// /// /// As a seller, you choose to list some or all of your Reserved Instances, and you specify /// the upfront price to receive for them. Your Reserved Instances are then listed in /// the Reserved Instance Marketplace and are available for purchase. /// /// /// /// As a buyer, you specify the configuration of the Reserved Instance to purchase, and /// the Marketplace matches what you're searching for with what's available. The Marketplace /// first sells the lowest priced Reserved Instances to you, and continues to sell available /// Reserved Instance listings to you until your demand is met. You are charged based /// on the total price of all of the listings that you purchase. /// /// /// /// For more information, see Reserved /// Instance Marketplace in the Amazon EC2 User Guide. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReservedInstancesListings service method, as returned by EC2. /// REST API Reference for DescribeReservedInstancesListings Operation public virtual Task DescribeReservedInstancesListingsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeReservedInstancesListingsAsync(new DescribeReservedInstancesListingsRequest(), cancellationToken); } /// /// Describes your account's Reserved Instance listings in the Reserved Instance Marketplace. /// /// /// /// The Reserved Instance Marketplace matches sellers who want to resell Reserved Instance /// capacity that they no longer need with buyers who want to purchase additional capacity. /// Reserved Instances bought and sold through the Reserved Instance Marketplace work /// like any other Reserved Instances. /// /// /// /// As a seller, you choose to list some or all of your Reserved Instances, and you specify /// the upfront price to receive for them. Your Reserved Instances are then listed in /// the Reserved Instance Marketplace and are available for purchase. /// /// /// /// As a buyer, you specify the configuration of the Reserved Instance to purchase, and /// the Marketplace matches what you're searching for with what's available. The Marketplace /// first sells the lowest priced Reserved Instances to you, and continues to sell available /// Reserved Instance listings to you until your demand is met. You are charged based /// on the total price of all of the listings that you purchase. /// /// /// /// For more information, see Reserved /// Instance Marketplace in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeReservedInstancesListings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReservedInstancesListings service method, as returned by EC2. /// REST API Reference for DescribeReservedInstancesListings Operation public virtual Task DescribeReservedInstancesListingsAsync(DescribeReservedInstancesListingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedInstancesListingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedInstancesListingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReservedInstancesModifications /// /// Describes the modifications made to your Reserved Instances. If no parameter is specified, /// information about all your Reserved Instances modification requests is returned. If /// a modification ID is specified, only information about the specific modification is /// returned. /// /// /// /// For more information, see Modifying /// Reserved Instances in the Amazon EC2 User Guide. /// /// /// /// The response from the DescribeReservedInstancesModifications service method, as returned by EC2. /// REST API Reference for DescribeReservedInstancesModifications Operation public virtual DescribeReservedInstancesModificationsResponse DescribeReservedInstancesModifications() { return DescribeReservedInstancesModifications(new DescribeReservedInstancesModificationsRequest()); } /// /// Describes the modifications made to your Reserved Instances. If no parameter is specified, /// information about all your Reserved Instances modification requests is returned. If /// a modification ID is specified, only information about the specific modification is /// returned. /// /// /// /// For more information, see Modifying /// Reserved Instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeReservedInstancesModifications service method. /// /// The response from the DescribeReservedInstancesModifications service method, as returned by EC2. /// REST API Reference for DescribeReservedInstancesModifications Operation public virtual DescribeReservedInstancesModificationsResponse DescribeReservedInstancesModifications(DescribeReservedInstancesModificationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedInstancesModificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedInstancesModificationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the modifications made to your Reserved Instances. If no parameter is specified, /// information about all your Reserved Instances modification requests is returned. If /// a modification ID is specified, only information about the specific modification is /// returned. /// /// /// /// For more information, see Modifying /// Reserved Instances in the Amazon EC2 User Guide. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReservedInstancesModifications service method, as returned by EC2. /// REST API Reference for DescribeReservedInstancesModifications Operation public virtual Task DescribeReservedInstancesModificationsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeReservedInstancesModificationsAsync(new DescribeReservedInstancesModificationsRequest(), cancellationToken); } /// /// Describes the modifications made to your Reserved Instances. If no parameter is specified, /// information about all your Reserved Instances modification requests is returned. If /// a modification ID is specified, only information about the specific modification is /// returned. /// /// /// /// For more information, see Modifying /// Reserved Instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeReservedInstancesModifications service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReservedInstancesModifications service method, as returned by EC2. /// REST API Reference for DescribeReservedInstancesModifications Operation public virtual Task DescribeReservedInstancesModificationsAsync(DescribeReservedInstancesModificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedInstancesModificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedInstancesModificationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReservedInstancesOfferings /// /// Describes Reserved Instance offerings that are available for purchase. With Reserved /// Instances, you purchase the right to launch instances for a period of time. During /// that time period, you do not receive insufficient capacity errors, and you pay a lower /// usage rate than the rate charged for On-Demand instances for the actual time used. /// /// /// /// If you have listed your own Reserved Instances for sale in the Reserved Instance Marketplace, /// they will be excluded from these results. This is to ensure that you do not purchase /// your own Reserved Instances. /// /// /// /// For more information, see Reserved /// Instance Marketplace in the Amazon EC2 User Guide. /// /// /// /// The response from the DescribeReservedInstancesOfferings service method, as returned by EC2. /// REST API Reference for DescribeReservedInstancesOfferings Operation public virtual DescribeReservedInstancesOfferingsResponse DescribeReservedInstancesOfferings() { return DescribeReservedInstancesOfferings(new DescribeReservedInstancesOfferingsRequest()); } /// /// Describes Reserved Instance offerings that are available for purchase. With Reserved /// Instances, you purchase the right to launch instances for a period of time. During /// that time period, you do not receive insufficient capacity errors, and you pay a lower /// usage rate than the rate charged for On-Demand instances for the actual time used. /// /// /// /// If you have listed your own Reserved Instances for sale in the Reserved Instance Marketplace, /// they will be excluded from these results. This is to ensure that you do not purchase /// your own Reserved Instances. /// /// /// /// For more information, see Reserved /// Instance Marketplace in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeReservedInstancesOfferings service method. /// /// The response from the DescribeReservedInstancesOfferings service method, as returned by EC2. /// REST API Reference for DescribeReservedInstancesOfferings Operation public virtual DescribeReservedInstancesOfferingsResponse DescribeReservedInstancesOfferings(DescribeReservedInstancesOfferingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedInstancesOfferingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedInstancesOfferingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes Reserved Instance offerings that are available for purchase. With Reserved /// Instances, you purchase the right to launch instances for a period of time. During /// that time period, you do not receive insufficient capacity errors, and you pay a lower /// usage rate than the rate charged for On-Demand instances for the actual time used. /// /// /// /// If you have listed your own Reserved Instances for sale in the Reserved Instance Marketplace, /// they will be excluded from these results. This is to ensure that you do not purchase /// your own Reserved Instances. /// /// /// /// For more information, see Reserved /// Instance Marketplace in the Amazon EC2 User Guide. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReservedInstancesOfferings service method, as returned by EC2. /// REST API Reference for DescribeReservedInstancesOfferings Operation public virtual Task DescribeReservedInstancesOfferingsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeReservedInstancesOfferingsAsync(new DescribeReservedInstancesOfferingsRequest(), cancellationToken); } /// /// Describes Reserved Instance offerings that are available for purchase. With Reserved /// Instances, you purchase the right to launch instances for a period of time. During /// that time period, you do not receive insufficient capacity errors, and you pay a lower /// usage rate than the rate charged for On-Demand instances for the actual time used. /// /// /// /// If you have listed your own Reserved Instances for sale in the Reserved Instance Marketplace, /// they will be excluded from these results. This is to ensure that you do not purchase /// your own Reserved Instances. /// /// /// /// For more information, see Reserved /// Instance Marketplace in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeReservedInstancesOfferings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReservedInstancesOfferings service method, as returned by EC2. /// REST API Reference for DescribeReservedInstancesOfferings Operation public virtual Task DescribeReservedInstancesOfferingsAsync(DescribeReservedInstancesOfferingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedInstancesOfferingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedInstancesOfferingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeRouteTables /// /// Describes one or more of your route tables. /// /// /// /// Each subnet in your VPC must be associated with a route table. If a subnet is not /// explicitly associated with any route table, it is implicitly associated with the main /// route table. This command does not return the subnet ID for implicit associations. /// /// /// /// For more information, see Route /// tables in the Amazon VPC User Guide. /// /// /// /// The response from the DescribeRouteTables service method, as returned by EC2. /// REST API Reference for DescribeRouteTables Operation public virtual DescribeRouteTablesResponse DescribeRouteTables() { return DescribeRouteTables(new DescribeRouteTablesRequest()); } /// /// Describes one or more of your route tables. /// /// /// /// Each subnet in your VPC must be associated with a route table. If a subnet is not /// explicitly associated with any route table, it is implicitly associated with the main /// route table. This command does not return the subnet ID for implicit associations. /// /// /// /// For more information, see Route /// tables in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the DescribeRouteTables service method. /// /// The response from the DescribeRouteTables service method, as returned by EC2. /// REST API Reference for DescribeRouteTables Operation public virtual DescribeRouteTablesResponse DescribeRouteTables(DescribeRouteTablesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRouteTablesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRouteTablesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your route tables. /// /// /// /// Each subnet in your VPC must be associated with a route table. If a subnet is not /// explicitly associated with any route table, it is implicitly associated with the main /// route table. This command does not return the subnet ID for implicit associations. /// /// /// /// For more information, see Route /// tables in the Amazon VPC User Guide. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRouteTables service method, as returned by EC2. /// REST API Reference for DescribeRouteTables Operation public virtual Task DescribeRouteTablesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeRouteTablesAsync(new DescribeRouteTablesRequest(), cancellationToken); } /// /// Describes one or more of your route tables. /// /// /// /// Each subnet in your VPC must be associated with a route table. If a subnet is not /// explicitly associated with any route table, it is implicitly associated with the main /// route table. This command does not return the subnet ID for implicit associations. /// /// /// /// For more information, see Route /// tables in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the DescribeRouteTables service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRouteTables service method, as returned by EC2. /// REST API Reference for DescribeRouteTables Operation public virtual Task DescribeRouteTablesAsync(DescribeRouteTablesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRouteTablesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRouteTablesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeScheduledInstanceAvailability /// /// Finds available schedules that meet the specified criteria. /// /// /// /// You can search for an available schedule no more than 3 months in advance. You must /// meet the minimum required duration of 1,200 hours per year. For example, the minimum /// daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum /// monthly schedule is 100 hours. /// /// /// /// After you find a schedule that meets your needs, call PurchaseScheduledInstances /// to purchase Scheduled Instances with that schedule. /// /// /// Container for the necessary parameters to execute the DescribeScheduledInstanceAvailability service method. /// /// The response from the DescribeScheduledInstanceAvailability service method, as returned by EC2. /// REST API Reference for DescribeScheduledInstanceAvailability Operation public virtual DescribeScheduledInstanceAvailabilityResponse DescribeScheduledInstanceAvailability(DescribeScheduledInstanceAvailabilityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeScheduledInstanceAvailabilityRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeScheduledInstanceAvailabilityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Finds available schedules that meet the specified criteria. /// /// /// /// You can search for an available schedule no more than 3 months in advance. You must /// meet the minimum required duration of 1,200 hours per year. For example, the minimum /// daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum /// monthly schedule is 100 hours. /// /// /// /// After you find a schedule that meets your needs, call PurchaseScheduledInstances /// to purchase Scheduled Instances with that schedule. /// /// /// Container for the necessary parameters to execute the DescribeScheduledInstanceAvailability service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeScheduledInstanceAvailability service method, as returned by EC2. /// REST API Reference for DescribeScheduledInstanceAvailability Operation public virtual Task DescribeScheduledInstanceAvailabilityAsync(DescribeScheduledInstanceAvailabilityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeScheduledInstanceAvailabilityRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeScheduledInstanceAvailabilityResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeScheduledInstances /// /// Describes the specified Scheduled Instances or all your Scheduled Instances. /// /// Container for the necessary parameters to execute the DescribeScheduledInstances service method. /// /// The response from the DescribeScheduledInstances service method, as returned by EC2. /// REST API Reference for DescribeScheduledInstances Operation public virtual DescribeScheduledInstancesResponse DescribeScheduledInstances(DescribeScheduledInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeScheduledInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeScheduledInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified Scheduled Instances or all your Scheduled Instances. /// /// Container for the necessary parameters to execute the DescribeScheduledInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeScheduledInstances service method, as returned by EC2. /// REST API Reference for DescribeScheduledInstances Operation public virtual Task DescribeScheduledInstancesAsync(DescribeScheduledInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeScheduledInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeScheduledInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSecurityGroupReferences /// /// Describes the VPCs on the other side of a VPC peering connection that are referencing /// the security groups you've specified in this request. /// /// Container for the necessary parameters to execute the DescribeSecurityGroupReferences service method. /// /// The response from the DescribeSecurityGroupReferences service method, as returned by EC2. /// REST API Reference for DescribeSecurityGroupReferences Operation public virtual DescribeSecurityGroupReferencesResponse DescribeSecurityGroupReferences(DescribeSecurityGroupReferencesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSecurityGroupReferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSecurityGroupReferencesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the VPCs on the other side of a VPC peering connection that are referencing /// the security groups you've specified in this request. /// /// Container for the necessary parameters to execute the DescribeSecurityGroupReferences service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSecurityGroupReferences service method, as returned by EC2. /// REST API Reference for DescribeSecurityGroupReferences Operation public virtual Task DescribeSecurityGroupReferencesAsync(DescribeSecurityGroupReferencesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSecurityGroupReferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSecurityGroupReferencesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSecurityGroupRules /// /// Describes one or more of your security group rules. /// /// Container for the necessary parameters to execute the DescribeSecurityGroupRules service method. /// /// The response from the DescribeSecurityGroupRules service method, as returned by EC2. /// REST API Reference for DescribeSecurityGroupRules Operation public virtual DescribeSecurityGroupRulesResponse DescribeSecurityGroupRules(DescribeSecurityGroupRulesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSecurityGroupRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSecurityGroupRulesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your security group rules. /// /// Container for the necessary parameters to execute the DescribeSecurityGroupRules service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSecurityGroupRules service method, as returned by EC2. /// REST API Reference for DescribeSecurityGroupRules Operation public virtual Task DescribeSecurityGroupRulesAsync(DescribeSecurityGroupRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSecurityGroupRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSecurityGroupRulesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSecurityGroups /// /// Describes the specified security groups or all of your security groups. /// /// /// The response from the DescribeSecurityGroups service method, as returned by EC2. /// REST API Reference for DescribeSecurityGroups Operation public virtual DescribeSecurityGroupsResponse DescribeSecurityGroups() { return DescribeSecurityGroups(new DescribeSecurityGroupsRequest()); } /// /// Describes the specified security groups or all of your security groups. /// /// Container for the necessary parameters to execute the DescribeSecurityGroups service method. /// /// The response from the DescribeSecurityGroups service method, as returned by EC2. /// REST API Reference for DescribeSecurityGroups Operation public virtual DescribeSecurityGroupsResponse DescribeSecurityGroups(DescribeSecurityGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSecurityGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSecurityGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified security groups or all of your security groups. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSecurityGroups service method, as returned by EC2. /// REST API Reference for DescribeSecurityGroups Operation public virtual Task DescribeSecurityGroupsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeSecurityGroupsAsync(new DescribeSecurityGroupsRequest(), cancellationToken); } /// /// Describes the specified security groups or all of your security groups. /// /// Container for the necessary parameters to execute the DescribeSecurityGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSecurityGroups service method, as returned by EC2. /// REST API Reference for DescribeSecurityGroups Operation public virtual Task DescribeSecurityGroupsAsync(DescribeSecurityGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSecurityGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSecurityGroupsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSnapshotAttribute /// /// Describes the specified attribute of the specified snapshot. You can specify only /// one attribute at a time. /// /// /// /// For more information about EBS snapshots, see Amazon /// EBS snapshots in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DescribeSnapshotAttribute service method. /// /// The response from the DescribeSnapshotAttribute service method, as returned by EC2. /// REST API Reference for DescribeSnapshotAttribute Operation public virtual DescribeSnapshotAttributeResponse DescribeSnapshotAttribute(DescribeSnapshotAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSnapshotAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSnapshotAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified attribute of the specified snapshot. You can specify only /// one attribute at a time. /// /// /// /// For more information about EBS snapshots, see Amazon /// EBS snapshots in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DescribeSnapshotAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSnapshotAttribute service method, as returned by EC2. /// REST API Reference for DescribeSnapshotAttribute Operation public virtual Task DescribeSnapshotAttributeAsync(DescribeSnapshotAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSnapshotAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSnapshotAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSnapshots /// /// Describes the specified EBS snapshots available to you or all of the EBS snapshots /// available to you. /// /// /// /// The snapshots available to you include public snapshots, private snapshots that you /// own, and private snapshots owned by other Amazon Web Services accounts for which you /// have explicit create volume permissions. /// /// /// /// The create volume permissions fall into the following categories: /// ///
  • /// /// public: The owner of the snapshot granted create volume permissions for the /// snapshot to the all group. All Amazon Web Services accounts have create /// volume permissions for these snapshots. /// ///
  • /// /// explicit: The owner of the snapshot granted create volume permissions to a /// specific Amazon Web Services account. /// ///
  • /// /// implicit: An Amazon Web Services account has implicit create volume permissions /// for all snapshots it owns. /// ///
/// /// The list of snapshots returned can be filtered by specifying snapshot IDs, snapshot /// owners, or Amazon Web Services accounts with create volume permissions. If no options /// are specified, Amazon EC2 returns all snapshots for which you have create volume permissions. /// /// /// /// If you specify one or more snapshot IDs, only snapshots that have the specified IDs /// are returned. If you specify an invalid snapshot ID, an error is returned. If you /// specify a snapshot ID for which you do not have access, it is not included in the /// returned results. /// /// /// /// If you specify one or more snapshot owners using the OwnerIds option, /// only snapshots from the specified owners and for which you have access are returned. /// The results can include the Amazon Web Services account IDs of the specified owners, /// amazon for snapshots owned by Amazon, or self for snapshots /// that you own. /// /// /// /// If you specify a list of restorable users, only snapshots with create snapshot permissions /// for those users are returned. You can specify Amazon Web Services account IDs (if /// you own the snapshots), self for snapshots for which you own or have /// explicit permissions, or all for public snapshots. /// /// /// /// If you are describing a long list of snapshots, we recommend that you paginate the /// output to make the list more manageable. For more information, see Pagination. /// /// /// /// To get the state of fast snapshot restores for a snapshot, use DescribeFastSnapshotRestores. /// /// /// /// For more information about EBS snapshots, see Amazon /// EBS snapshots in the Amazon Elastic Compute Cloud User Guide. /// ///
/// /// The response from the DescribeSnapshots service method, as returned by EC2. /// REST API Reference for DescribeSnapshots Operation public virtual DescribeSnapshotsResponse DescribeSnapshots() { return DescribeSnapshots(new DescribeSnapshotsRequest()); } /// /// Describes the specified EBS snapshots available to you or all of the EBS snapshots /// available to you. /// /// /// /// The snapshots available to you include public snapshots, private snapshots that you /// own, and private snapshots owned by other Amazon Web Services accounts for which you /// have explicit create volume permissions. /// /// /// /// The create volume permissions fall into the following categories: /// ///
  • /// /// public: The owner of the snapshot granted create volume permissions for the /// snapshot to the all group. All Amazon Web Services accounts have create /// volume permissions for these snapshots. /// ///
  • /// /// explicit: The owner of the snapshot granted create volume permissions to a /// specific Amazon Web Services account. /// ///
  • /// /// implicit: An Amazon Web Services account has implicit create volume permissions /// for all snapshots it owns. /// ///
/// /// The list of snapshots returned can be filtered by specifying snapshot IDs, snapshot /// owners, or Amazon Web Services accounts with create volume permissions. If no options /// are specified, Amazon EC2 returns all snapshots for which you have create volume permissions. /// /// /// /// If you specify one or more snapshot IDs, only snapshots that have the specified IDs /// are returned. If you specify an invalid snapshot ID, an error is returned. If you /// specify a snapshot ID for which you do not have access, it is not included in the /// returned results. /// /// /// /// If you specify one or more snapshot owners using the OwnerIds option, /// only snapshots from the specified owners and for which you have access are returned. /// The results can include the Amazon Web Services account IDs of the specified owners, /// amazon for snapshots owned by Amazon, or self for snapshots /// that you own. /// /// /// /// If you specify a list of restorable users, only snapshots with create snapshot permissions /// for those users are returned. You can specify Amazon Web Services account IDs (if /// you own the snapshots), self for snapshots for which you own or have /// explicit permissions, or all for public snapshots. /// /// /// /// If you are describing a long list of snapshots, we recommend that you paginate the /// output to make the list more manageable. For more information, see Pagination. /// /// /// /// To get the state of fast snapshot restores for a snapshot, use DescribeFastSnapshotRestores. /// /// /// /// For more information about EBS snapshots, see Amazon /// EBS snapshots in the Amazon Elastic Compute Cloud User Guide. /// ///
/// Container for the necessary parameters to execute the DescribeSnapshots service method. /// /// The response from the DescribeSnapshots service method, as returned by EC2. /// REST API Reference for DescribeSnapshots Operation public virtual DescribeSnapshotsResponse DescribeSnapshots(DescribeSnapshotsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSnapshotsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSnapshotsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified EBS snapshots available to you or all of the EBS snapshots /// available to you. /// /// /// /// The snapshots available to you include public snapshots, private snapshots that you /// own, and private snapshots owned by other Amazon Web Services accounts for which you /// have explicit create volume permissions. /// /// /// /// The create volume permissions fall into the following categories: /// ///
  • /// /// public: The owner of the snapshot granted create volume permissions for the /// snapshot to the all group. All Amazon Web Services accounts have create /// volume permissions for these snapshots. /// ///
  • /// /// explicit: The owner of the snapshot granted create volume permissions to a /// specific Amazon Web Services account. /// ///
  • /// /// implicit: An Amazon Web Services account has implicit create volume permissions /// for all snapshots it owns. /// ///
/// /// The list of snapshots returned can be filtered by specifying snapshot IDs, snapshot /// owners, or Amazon Web Services accounts with create volume permissions. If no options /// are specified, Amazon EC2 returns all snapshots for which you have create volume permissions. /// /// /// /// If you specify one or more snapshot IDs, only snapshots that have the specified IDs /// are returned. If you specify an invalid snapshot ID, an error is returned. If you /// specify a snapshot ID for which you do not have access, it is not included in the /// returned results. /// /// /// /// If you specify one or more snapshot owners using the OwnerIds option, /// only snapshots from the specified owners and for which you have access are returned. /// The results can include the Amazon Web Services account IDs of the specified owners, /// amazon for snapshots owned by Amazon, or self for snapshots /// that you own. /// /// /// /// If you specify a list of restorable users, only snapshots with create snapshot permissions /// for those users are returned. You can specify Amazon Web Services account IDs (if /// you own the snapshots), self for snapshots for which you own or have /// explicit permissions, or all for public snapshots. /// /// /// /// If you are describing a long list of snapshots, we recommend that you paginate the /// output to make the list more manageable. For more information, see Pagination. /// /// /// /// To get the state of fast snapshot restores for a snapshot, use DescribeFastSnapshotRestores. /// /// /// /// For more information about EBS snapshots, see Amazon /// EBS snapshots in the Amazon Elastic Compute Cloud User Guide. /// ///
/// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSnapshots service method, as returned by EC2. /// REST API Reference for DescribeSnapshots Operation public virtual Task DescribeSnapshotsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeSnapshotsAsync(new DescribeSnapshotsRequest(), cancellationToken); } /// /// Describes the specified EBS snapshots available to you or all of the EBS snapshots /// available to you. /// /// /// /// The snapshots available to you include public snapshots, private snapshots that you /// own, and private snapshots owned by other Amazon Web Services accounts for which you /// have explicit create volume permissions. /// /// /// /// The create volume permissions fall into the following categories: /// ///
  • /// /// public: The owner of the snapshot granted create volume permissions for the /// snapshot to the all group. All Amazon Web Services accounts have create /// volume permissions for these snapshots. /// ///
  • /// /// explicit: The owner of the snapshot granted create volume permissions to a /// specific Amazon Web Services account. /// ///
  • /// /// implicit: An Amazon Web Services account has implicit create volume permissions /// for all snapshots it owns. /// ///
/// /// The list of snapshots returned can be filtered by specifying snapshot IDs, snapshot /// owners, or Amazon Web Services accounts with create volume permissions. If no options /// are specified, Amazon EC2 returns all snapshots for which you have create volume permissions. /// /// /// /// If you specify one or more snapshot IDs, only snapshots that have the specified IDs /// are returned. If you specify an invalid snapshot ID, an error is returned. If you /// specify a snapshot ID for which you do not have access, it is not included in the /// returned results. /// /// /// /// If you specify one or more snapshot owners using the OwnerIds option, /// only snapshots from the specified owners and for which you have access are returned. /// The results can include the Amazon Web Services account IDs of the specified owners, /// amazon for snapshots owned by Amazon, or self for snapshots /// that you own. /// /// /// /// If you specify a list of restorable users, only snapshots with create snapshot permissions /// for those users are returned. You can specify Amazon Web Services account IDs (if /// you own the snapshots), self for snapshots for which you own or have /// explicit permissions, or all for public snapshots. /// /// /// /// If you are describing a long list of snapshots, we recommend that you paginate the /// output to make the list more manageable. For more information, see Pagination. /// /// /// /// To get the state of fast snapshot restores for a snapshot, use DescribeFastSnapshotRestores. /// /// /// /// For more information about EBS snapshots, see Amazon /// EBS snapshots in the Amazon Elastic Compute Cloud User Guide. /// ///
/// Container for the necessary parameters to execute the DescribeSnapshots service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSnapshots service method, as returned by EC2. /// REST API Reference for DescribeSnapshots Operation public virtual Task DescribeSnapshotsAsync(DescribeSnapshotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSnapshotsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSnapshotsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSnapshotTierStatus /// /// Describes the storage tier status of one or more Amazon EBS snapshots. /// /// Container for the necessary parameters to execute the DescribeSnapshotTierStatus service method. /// /// The response from the DescribeSnapshotTierStatus service method, as returned by EC2. /// REST API Reference for DescribeSnapshotTierStatus Operation public virtual DescribeSnapshotTierStatusResponse DescribeSnapshotTierStatus(DescribeSnapshotTierStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSnapshotTierStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSnapshotTierStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the storage tier status of one or more Amazon EBS snapshots. /// /// Container for the necessary parameters to execute the DescribeSnapshotTierStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSnapshotTierStatus service method, as returned by EC2. /// REST API Reference for DescribeSnapshotTierStatus Operation public virtual Task DescribeSnapshotTierStatusAsync(DescribeSnapshotTierStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSnapshotTierStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSnapshotTierStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSpotDatafeedSubscription /// /// Describes the data feed for Spot Instances. For more information, see Spot /// Instance data feed in the Amazon EC2 User Guide for Linux Instances. /// /// /// The response from the DescribeSpotDatafeedSubscription service method, as returned by EC2. /// REST API Reference for DescribeSpotDatafeedSubscription Operation public virtual DescribeSpotDatafeedSubscriptionResponse DescribeSpotDatafeedSubscription() { return DescribeSpotDatafeedSubscription(new DescribeSpotDatafeedSubscriptionRequest()); } /// /// Describes the data feed for Spot Instances. For more information, see Spot /// Instance data feed in the Amazon EC2 User Guide for Linux Instances. /// /// Container for the necessary parameters to execute the DescribeSpotDatafeedSubscription service method. /// /// The response from the DescribeSpotDatafeedSubscription service method, as returned by EC2. /// REST API Reference for DescribeSpotDatafeedSubscription Operation public virtual DescribeSpotDatafeedSubscriptionResponse DescribeSpotDatafeedSubscription(DescribeSpotDatafeedSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSpotDatafeedSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSpotDatafeedSubscriptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the data feed for Spot Instances. For more information, see Spot /// Instance data feed in the Amazon EC2 User Guide for Linux Instances. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSpotDatafeedSubscription service method, as returned by EC2. /// REST API Reference for DescribeSpotDatafeedSubscription Operation public virtual Task DescribeSpotDatafeedSubscriptionAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeSpotDatafeedSubscriptionAsync(new DescribeSpotDatafeedSubscriptionRequest(), cancellationToken); } /// /// Describes the data feed for Spot Instances. For more information, see Spot /// Instance data feed in the Amazon EC2 User Guide for Linux Instances. /// /// Container for the necessary parameters to execute the DescribeSpotDatafeedSubscription service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSpotDatafeedSubscription service method, as returned by EC2. /// REST API Reference for DescribeSpotDatafeedSubscription Operation public virtual Task DescribeSpotDatafeedSubscriptionAsync(DescribeSpotDatafeedSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSpotDatafeedSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSpotDatafeedSubscriptionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSpotFleetInstances /// /// Describes the running instances for the specified Spot Fleet. /// /// Container for the necessary parameters to execute the DescribeSpotFleetInstances service method. /// /// The response from the DescribeSpotFleetInstances service method, as returned by EC2. /// REST API Reference for DescribeSpotFleetInstances Operation public virtual DescribeSpotFleetInstancesResponse DescribeSpotFleetInstances(DescribeSpotFleetInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSpotFleetInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSpotFleetInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the running instances for the specified Spot Fleet. /// /// Container for the necessary parameters to execute the DescribeSpotFleetInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSpotFleetInstances service method, as returned by EC2. /// REST API Reference for DescribeSpotFleetInstances Operation public virtual Task DescribeSpotFleetInstancesAsync(DescribeSpotFleetInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSpotFleetInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSpotFleetInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSpotFleetRequestHistory /// /// Describes the events for the specified Spot Fleet request during the specified time. /// /// /// /// Spot Fleet events are delayed by up to 30 seconds before they can be described. This /// ensures that you can query by the last evaluated time and not miss a recorded event. /// Spot Fleet events are available for 48 hours. /// /// /// /// For more information, see Monitor /// fleet events using Amazon EventBridge in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeSpotFleetRequestHistory service method. /// /// The response from the DescribeSpotFleetRequestHistory service method, as returned by EC2. /// REST API Reference for DescribeSpotFleetRequestHistory Operation public virtual DescribeSpotFleetRequestHistoryResponse DescribeSpotFleetRequestHistory(DescribeSpotFleetRequestHistoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSpotFleetRequestHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSpotFleetRequestHistoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the events for the specified Spot Fleet request during the specified time. /// /// /// /// Spot Fleet events are delayed by up to 30 seconds before they can be described. This /// ensures that you can query by the last evaluated time and not miss a recorded event. /// Spot Fleet events are available for 48 hours. /// /// /// /// For more information, see Monitor /// fleet events using Amazon EventBridge in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeSpotFleetRequestHistory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSpotFleetRequestHistory service method, as returned by EC2. /// REST API Reference for DescribeSpotFleetRequestHistory Operation public virtual Task DescribeSpotFleetRequestHistoryAsync(DescribeSpotFleetRequestHistoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSpotFleetRequestHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSpotFleetRequestHistoryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSpotFleetRequests /// /// Describes your Spot Fleet requests. /// /// /// /// Spot Fleet requests are deleted 48 hours after they are canceled and their instances /// are terminated. /// /// /// Container for the necessary parameters to execute the DescribeSpotFleetRequests service method. /// /// The response from the DescribeSpotFleetRequests service method, as returned by EC2. /// REST API Reference for DescribeSpotFleetRequests Operation public virtual DescribeSpotFleetRequestsResponse DescribeSpotFleetRequests(DescribeSpotFleetRequestsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSpotFleetRequestsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSpotFleetRequestsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes your Spot Fleet requests. /// /// /// /// Spot Fleet requests are deleted 48 hours after they are canceled and their instances /// are terminated. /// /// /// Container for the necessary parameters to execute the DescribeSpotFleetRequests service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSpotFleetRequests service method, as returned by EC2. /// REST API Reference for DescribeSpotFleetRequests Operation public virtual Task DescribeSpotFleetRequestsAsync(DescribeSpotFleetRequestsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSpotFleetRequestsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSpotFleetRequestsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSpotInstanceRequests /// /// Describes the specified Spot Instance requests. /// /// /// /// You can use DescribeSpotInstanceRequests to find a running Spot Instance /// by examining the response. If the status of the Spot Instance is fulfilled, /// the instance ID appears in the response and contains the identifier of the instance. /// Alternatively, you can use DescribeInstances /// with a filter to look for instances where the instance lifecycle is spot. /// /// /// /// We recommend that you set MaxResults to a value between 5 and 1000 to /// limit the number of items returned. This paginates the output, which makes the list /// more manageable and returns the items faster. If the list of items exceeds your MaxResults /// value, then that number of items is returned along with a NextToken value /// that can be passed to a subsequent DescribeSpotInstanceRequests request /// to retrieve the remaining items. /// /// /// /// Spot Instance requests are deleted four hours after they are canceled and their instances /// are terminated. /// /// /// /// The response from the DescribeSpotInstanceRequests service method, as returned by EC2. /// REST API Reference for DescribeSpotInstanceRequests Operation public virtual DescribeSpotInstanceRequestsResponse DescribeSpotInstanceRequests() { return DescribeSpotInstanceRequests(new DescribeSpotInstanceRequestsRequest()); } /// /// Describes the specified Spot Instance requests. /// /// /// /// You can use DescribeSpotInstanceRequests to find a running Spot Instance /// by examining the response. If the status of the Spot Instance is fulfilled, /// the instance ID appears in the response and contains the identifier of the instance. /// Alternatively, you can use DescribeInstances /// with a filter to look for instances where the instance lifecycle is spot. /// /// /// /// We recommend that you set MaxResults to a value between 5 and 1000 to /// limit the number of items returned. This paginates the output, which makes the list /// more manageable and returns the items faster. If the list of items exceeds your MaxResults /// value, then that number of items is returned along with a NextToken value /// that can be passed to a subsequent DescribeSpotInstanceRequests request /// to retrieve the remaining items. /// /// /// /// Spot Instance requests are deleted four hours after they are canceled and their instances /// are terminated. /// /// /// Container for the necessary parameters to execute the DescribeSpotInstanceRequests service method. /// /// The response from the DescribeSpotInstanceRequests service method, as returned by EC2. /// REST API Reference for DescribeSpotInstanceRequests Operation public virtual DescribeSpotInstanceRequestsResponse DescribeSpotInstanceRequests(DescribeSpotInstanceRequestsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSpotInstanceRequestsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSpotInstanceRequestsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified Spot Instance requests. /// /// /// /// You can use DescribeSpotInstanceRequests to find a running Spot Instance /// by examining the response. If the status of the Spot Instance is fulfilled, /// the instance ID appears in the response and contains the identifier of the instance. /// Alternatively, you can use DescribeInstances /// with a filter to look for instances where the instance lifecycle is spot. /// /// /// /// We recommend that you set MaxResults to a value between 5 and 1000 to /// limit the number of items returned. This paginates the output, which makes the list /// more manageable and returns the items faster. If the list of items exceeds your MaxResults /// value, then that number of items is returned along with a NextToken value /// that can be passed to a subsequent DescribeSpotInstanceRequests request /// to retrieve the remaining items. /// /// /// /// Spot Instance requests are deleted four hours after they are canceled and their instances /// are terminated. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSpotInstanceRequests service method, as returned by EC2. /// REST API Reference for DescribeSpotInstanceRequests Operation public virtual Task DescribeSpotInstanceRequestsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeSpotInstanceRequestsAsync(new DescribeSpotInstanceRequestsRequest(), cancellationToken); } /// /// Describes the specified Spot Instance requests. /// /// /// /// You can use DescribeSpotInstanceRequests to find a running Spot Instance /// by examining the response. If the status of the Spot Instance is fulfilled, /// the instance ID appears in the response and contains the identifier of the instance. /// Alternatively, you can use DescribeInstances /// with a filter to look for instances where the instance lifecycle is spot. /// /// /// /// We recommend that you set MaxResults to a value between 5 and 1000 to /// limit the number of items returned. This paginates the output, which makes the list /// more manageable and returns the items faster. If the list of items exceeds your MaxResults /// value, then that number of items is returned along with a NextToken value /// that can be passed to a subsequent DescribeSpotInstanceRequests request /// to retrieve the remaining items. /// /// /// /// Spot Instance requests are deleted four hours after they are canceled and their instances /// are terminated. /// /// /// Container for the necessary parameters to execute the DescribeSpotInstanceRequests service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSpotInstanceRequests service method, as returned by EC2. /// REST API Reference for DescribeSpotInstanceRequests Operation public virtual Task DescribeSpotInstanceRequestsAsync(DescribeSpotInstanceRequestsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSpotInstanceRequestsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSpotInstanceRequestsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSpotPriceHistory /// /// Describes the Spot price history. For more information, see Spot /// Instance pricing history in the Amazon EC2 User Guide for Linux Instances. /// /// /// /// When you specify a start and end time, the operation returns the prices of the instance /// types within that time range. It also returns the last price change before the start /// time, which is the effective price as of the start time. /// /// /// /// The response from the DescribeSpotPriceHistory service method, as returned by EC2. /// REST API Reference for DescribeSpotPriceHistory Operation public virtual DescribeSpotPriceHistoryResponse DescribeSpotPriceHistory() { return DescribeSpotPriceHistory(new DescribeSpotPriceHistoryRequest()); } /// /// Describes the Spot price history. For more information, see Spot /// Instance pricing history in the Amazon EC2 User Guide for Linux Instances. /// /// /// /// When you specify a start and end time, the operation returns the prices of the instance /// types within that time range. It also returns the last price change before the start /// time, which is the effective price as of the start time. /// /// /// Container for the necessary parameters to execute the DescribeSpotPriceHistory service method. /// /// The response from the DescribeSpotPriceHistory service method, as returned by EC2. /// REST API Reference for DescribeSpotPriceHistory Operation public virtual DescribeSpotPriceHistoryResponse DescribeSpotPriceHistory(DescribeSpotPriceHistoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSpotPriceHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSpotPriceHistoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the Spot price history. For more information, see Spot /// Instance pricing history in the Amazon EC2 User Guide for Linux Instances. /// /// /// /// When you specify a start and end time, the operation returns the prices of the instance /// types within that time range. It also returns the last price change before the start /// time, which is the effective price as of the start time. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSpotPriceHistory service method, as returned by EC2. /// REST API Reference for DescribeSpotPriceHistory Operation public virtual Task DescribeSpotPriceHistoryAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeSpotPriceHistoryAsync(new DescribeSpotPriceHistoryRequest(), cancellationToken); } /// /// Describes the Spot price history. For more information, see Spot /// Instance pricing history in the Amazon EC2 User Guide for Linux Instances. /// /// /// /// When you specify a start and end time, the operation returns the prices of the instance /// types within that time range. It also returns the last price change before the start /// time, which is the effective price as of the start time. /// /// /// Container for the necessary parameters to execute the DescribeSpotPriceHistory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSpotPriceHistory service method, as returned by EC2. /// REST API Reference for DescribeSpotPriceHistory Operation public virtual Task DescribeSpotPriceHistoryAsync(DescribeSpotPriceHistoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSpotPriceHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSpotPriceHistoryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeStaleSecurityGroups /// /// Describes the stale security group rules for security groups in a specified VPC. Rules /// are stale when they reference a deleted security group in the same VPC or in a peer /// VPC, or if they reference a security group in a peer VPC for which the VPC peering /// connection has been deleted. /// /// Container for the necessary parameters to execute the DescribeStaleSecurityGroups service method. /// /// The response from the DescribeStaleSecurityGroups service method, as returned by EC2. /// REST API Reference for DescribeStaleSecurityGroups Operation public virtual DescribeStaleSecurityGroupsResponse DescribeStaleSecurityGroups(DescribeStaleSecurityGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStaleSecurityGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStaleSecurityGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the stale security group rules for security groups in a specified VPC. Rules /// are stale when they reference a deleted security group in the same VPC or in a peer /// VPC, or if they reference a security group in a peer VPC for which the VPC peering /// connection has been deleted. /// /// Container for the necessary parameters to execute the DescribeStaleSecurityGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStaleSecurityGroups service method, as returned by EC2. /// REST API Reference for DescribeStaleSecurityGroups Operation public virtual Task DescribeStaleSecurityGroupsAsync(DescribeStaleSecurityGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStaleSecurityGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStaleSecurityGroupsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeStoreImageTasks /// /// Describes the progress of the AMI store tasks. You can describe the store tasks for /// specified AMIs. If you don't specify the AMIs, you get a paginated list of store tasks /// from the last 31 days. /// /// /// /// For each AMI task, the response indicates if the task is InProgress, /// Completed, or Failed. For tasks InProgress, /// the response shows the estimated progress as a percentage. /// /// /// /// Tasks are listed in reverse chronological order. Currently, only tasks from the past /// 31 days can be viewed. /// /// /// /// To use this API, you must have the required permissions. For more information, see /// Permissions /// for storing and restoring AMIs using Amazon S3 in the Amazon EC2 User Guide. /// /// /// /// For more information, see Store /// and restore an AMI using Amazon S3 in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeStoreImageTasks service method. /// /// The response from the DescribeStoreImageTasks service method, as returned by EC2. /// REST API Reference for DescribeStoreImageTasks Operation public virtual DescribeStoreImageTasksResponse DescribeStoreImageTasks(DescribeStoreImageTasksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStoreImageTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStoreImageTasksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the progress of the AMI store tasks. You can describe the store tasks for /// specified AMIs. If you don't specify the AMIs, you get a paginated list of store tasks /// from the last 31 days. /// /// /// /// For each AMI task, the response indicates if the task is InProgress, /// Completed, or Failed. For tasks InProgress, /// the response shows the estimated progress as a percentage. /// /// /// /// Tasks are listed in reverse chronological order. Currently, only tasks from the past /// 31 days can be viewed. /// /// /// /// To use this API, you must have the required permissions. For more information, see /// Permissions /// for storing and restoring AMIs using Amazon S3 in the Amazon EC2 User Guide. /// /// /// /// For more information, see Store /// and restore an AMI using Amazon S3 in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DescribeStoreImageTasks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStoreImageTasks service method, as returned by EC2. /// REST API Reference for DescribeStoreImageTasks Operation public virtual Task DescribeStoreImageTasksAsync(DescribeStoreImageTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStoreImageTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStoreImageTasksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSubnets /// /// Describes one or more of your subnets. /// /// /// /// For more information, see Subnets /// in the Amazon VPC User Guide. /// /// /// /// The response from the DescribeSubnets service method, as returned by EC2. /// REST API Reference for DescribeSubnets Operation public virtual DescribeSubnetsResponse DescribeSubnets() { return DescribeSubnets(new DescribeSubnetsRequest()); } /// /// Describes one or more of your subnets. /// /// /// /// For more information, see Subnets /// in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the DescribeSubnets service method. /// /// The response from the DescribeSubnets service method, as returned by EC2. /// REST API Reference for DescribeSubnets Operation public virtual DescribeSubnetsResponse DescribeSubnets(DescribeSubnetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSubnetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSubnetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your subnets. /// /// /// /// For more information, see Subnets /// in the Amazon VPC User Guide. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSubnets service method, as returned by EC2. /// REST API Reference for DescribeSubnets Operation public virtual Task DescribeSubnetsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeSubnetsAsync(new DescribeSubnetsRequest(), cancellationToken); } /// /// Describes one or more of your subnets. /// /// /// /// For more information, see Subnets /// in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the DescribeSubnets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSubnets service method, as returned by EC2. /// REST API Reference for DescribeSubnets Operation public virtual Task DescribeSubnetsAsync(DescribeSubnetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSubnetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSubnetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTags /// /// Describes the specified tags for your EC2 resources. /// /// /// /// For more information about tags, see Tag /// your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// The response from the DescribeTags service method, as returned by EC2. /// REST API Reference for DescribeTags Operation public virtual DescribeTagsResponse DescribeTags() { return DescribeTags(new DescribeTagsRequest()); } /// /// Describes the specified tags for your EC2 resources. /// /// /// /// For more information about tags, see Tag /// your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DescribeTags service method. /// /// The response from the DescribeTags service method, as returned by EC2. /// REST API Reference for DescribeTags Operation public virtual DescribeTagsResponse DescribeTags(DescribeTagsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTagsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified tags for your EC2 resources. /// /// /// /// For more information about tags, see Tag /// your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTags service method, as returned by EC2. /// REST API Reference for DescribeTags Operation public virtual Task DescribeTagsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeTagsAsync(new DescribeTagsRequest(), cancellationToken); } /// /// Describes the specified tags for your EC2 resources. /// /// /// /// For more information about tags, see Tag /// your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DescribeTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTags service method, as returned by EC2. /// REST API Reference for DescribeTags Operation public virtual Task DescribeTagsAsync(DescribeTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTagsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTrafficMirrorFilters /// /// Describes one or more Traffic Mirror filters. /// /// Container for the necessary parameters to execute the DescribeTrafficMirrorFilters service method. /// /// The response from the DescribeTrafficMirrorFilters service method, as returned by EC2. /// REST API Reference for DescribeTrafficMirrorFilters Operation public virtual DescribeTrafficMirrorFiltersResponse DescribeTrafficMirrorFilters(DescribeTrafficMirrorFiltersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTrafficMirrorFiltersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTrafficMirrorFiltersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more Traffic Mirror filters. /// /// Container for the necessary parameters to execute the DescribeTrafficMirrorFilters service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTrafficMirrorFilters service method, as returned by EC2. /// REST API Reference for DescribeTrafficMirrorFilters Operation public virtual Task DescribeTrafficMirrorFiltersAsync(DescribeTrafficMirrorFiltersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTrafficMirrorFiltersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTrafficMirrorFiltersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTrafficMirrorSessions /// /// Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions /// are described. Alternatively, you can filter the results. /// /// Container for the necessary parameters to execute the DescribeTrafficMirrorSessions service method. /// /// The response from the DescribeTrafficMirrorSessions service method, as returned by EC2. /// REST API Reference for DescribeTrafficMirrorSessions Operation public virtual DescribeTrafficMirrorSessionsResponse DescribeTrafficMirrorSessions(DescribeTrafficMirrorSessionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTrafficMirrorSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTrafficMirrorSessionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions /// are described. Alternatively, you can filter the results. /// /// Container for the necessary parameters to execute the DescribeTrafficMirrorSessions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTrafficMirrorSessions service method, as returned by EC2. /// REST API Reference for DescribeTrafficMirrorSessions Operation public virtual Task DescribeTrafficMirrorSessionsAsync(DescribeTrafficMirrorSessionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTrafficMirrorSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTrafficMirrorSessionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTrafficMirrorTargets /// /// Information about one or more Traffic Mirror targets. /// /// Container for the necessary parameters to execute the DescribeTrafficMirrorTargets service method. /// /// The response from the DescribeTrafficMirrorTargets service method, as returned by EC2. /// REST API Reference for DescribeTrafficMirrorTargets Operation public virtual DescribeTrafficMirrorTargetsResponse DescribeTrafficMirrorTargets(DescribeTrafficMirrorTargetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTrafficMirrorTargetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTrafficMirrorTargetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Information about one or more Traffic Mirror targets. /// /// Container for the necessary parameters to execute the DescribeTrafficMirrorTargets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTrafficMirrorTargets service method, as returned by EC2. /// REST API Reference for DescribeTrafficMirrorTargets Operation public virtual Task DescribeTrafficMirrorTargetsAsync(DescribeTrafficMirrorTargetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTrafficMirrorTargetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTrafficMirrorTargetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTransitGatewayAttachments /// /// Describes one or more attachments between resources and transit gateways. By default, /// all attachments are described. Alternatively, you can filter the results by attachment /// ID, attachment state, resource ID, or resource owner. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayAttachments service method. /// /// The response from the DescribeTransitGatewayAttachments service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayAttachments Operation public virtual DescribeTransitGatewayAttachmentsResponse DescribeTransitGatewayAttachments(DescribeTransitGatewayAttachmentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayAttachmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayAttachmentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more attachments between resources and transit gateways. By default, /// all attachments are described. Alternatively, you can filter the results by attachment /// ID, attachment state, resource ID, or resource owner. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayAttachments service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTransitGatewayAttachments service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayAttachments Operation public virtual Task DescribeTransitGatewayAttachmentsAsync(DescribeTransitGatewayAttachmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayAttachmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayAttachmentsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTransitGatewayConnectPeers /// /// Describes one or more Connect peers. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayConnectPeers service method. /// /// The response from the DescribeTransitGatewayConnectPeers service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayConnectPeers Operation public virtual DescribeTransitGatewayConnectPeersResponse DescribeTransitGatewayConnectPeers(DescribeTransitGatewayConnectPeersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayConnectPeersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayConnectPeersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more Connect peers. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayConnectPeers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTransitGatewayConnectPeers service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayConnectPeers Operation public virtual Task DescribeTransitGatewayConnectPeersAsync(DescribeTransitGatewayConnectPeersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayConnectPeersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayConnectPeersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTransitGatewayConnects /// /// Describes one or more Connect attachments. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayConnects service method. /// /// The response from the DescribeTransitGatewayConnects service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayConnects Operation public virtual DescribeTransitGatewayConnectsResponse DescribeTransitGatewayConnects(DescribeTransitGatewayConnectsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayConnectsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayConnectsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more Connect attachments. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayConnects service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTransitGatewayConnects service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayConnects Operation public virtual Task DescribeTransitGatewayConnectsAsync(DescribeTransitGatewayConnectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayConnectsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayConnectsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTransitGatewayMulticastDomains /// /// Describes one or more transit gateway multicast domains. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayMulticastDomains service method. /// /// The response from the DescribeTransitGatewayMulticastDomains service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayMulticastDomains Operation public virtual DescribeTransitGatewayMulticastDomainsResponse DescribeTransitGatewayMulticastDomains(DescribeTransitGatewayMulticastDomainsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayMulticastDomainsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayMulticastDomainsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more transit gateway multicast domains. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayMulticastDomains service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTransitGatewayMulticastDomains service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayMulticastDomains Operation public virtual Task DescribeTransitGatewayMulticastDomainsAsync(DescribeTransitGatewayMulticastDomainsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayMulticastDomainsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayMulticastDomainsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTransitGatewayPeeringAttachments /// /// Describes your transit gateway peering attachments. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayPeeringAttachments service method. /// /// The response from the DescribeTransitGatewayPeeringAttachments service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayPeeringAttachments Operation public virtual DescribeTransitGatewayPeeringAttachmentsResponse DescribeTransitGatewayPeeringAttachments(DescribeTransitGatewayPeeringAttachmentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayPeeringAttachmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayPeeringAttachmentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes your transit gateway peering attachments. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayPeeringAttachments service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTransitGatewayPeeringAttachments service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayPeeringAttachments Operation public virtual Task DescribeTransitGatewayPeeringAttachmentsAsync(DescribeTransitGatewayPeeringAttachmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayPeeringAttachmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayPeeringAttachmentsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTransitGatewayPolicyTables /// /// Describes one or more transit gateway route policy tables. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayPolicyTables service method. /// /// The response from the DescribeTransitGatewayPolicyTables service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayPolicyTables Operation public virtual DescribeTransitGatewayPolicyTablesResponse DescribeTransitGatewayPolicyTables(DescribeTransitGatewayPolicyTablesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayPolicyTablesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayPolicyTablesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more transit gateway route policy tables. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayPolicyTables service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTransitGatewayPolicyTables service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayPolicyTables Operation public virtual Task DescribeTransitGatewayPolicyTablesAsync(DescribeTransitGatewayPolicyTablesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayPolicyTablesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayPolicyTablesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTransitGatewayRouteTableAnnouncements /// /// Describes one or more transit gateway route table advertisements. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayRouteTableAnnouncements service method. /// /// The response from the DescribeTransitGatewayRouteTableAnnouncements service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayRouteTableAnnouncements Operation public virtual DescribeTransitGatewayRouteTableAnnouncementsResponse DescribeTransitGatewayRouteTableAnnouncements(DescribeTransitGatewayRouteTableAnnouncementsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayRouteTableAnnouncementsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayRouteTableAnnouncementsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more transit gateway route table advertisements. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayRouteTableAnnouncements service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTransitGatewayRouteTableAnnouncements service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayRouteTableAnnouncements Operation public virtual Task DescribeTransitGatewayRouteTableAnnouncementsAsync(DescribeTransitGatewayRouteTableAnnouncementsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayRouteTableAnnouncementsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayRouteTableAnnouncementsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTransitGatewayRouteTables /// /// Describes one or more transit gateway route tables. By default, all transit gateway /// route tables are described. Alternatively, you can filter the results. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayRouteTables service method. /// /// The response from the DescribeTransitGatewayRouteTables service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayRouteTables Operation public virtual DescribeTransitGatewayRouteTablesResponse DescribeTransitGatewayRouteTables(DescribeTransitGatewayRouteTablesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayRouteTablesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayRouteTablesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more transit gateway route tables. By default, all transit gateway /// route tables are described. Alternatively, you can filter the results. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayRouteTables service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTransitGatewayRouteTables service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayRouteTables Operation public virtual Task DescribeTransitGatewayRouteTablesAsync(DescribeTransitGatewayRouteTablesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayRouteTablesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayRouteTablesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTransitGateways /// /// Describes one or more transit gateways. By default, all transit gateways are described. /// Alternatively, you can filter the results. /// /// Container for the necessary parameters to execute the DescribeTransitGateways service method. /// /// The response from the DescribeTransitGateways service method, as returned by EC2. /// REST API Reference for DescribeTransitGateways Operation public virtual DescribeTransitGatewaysResponse DescribeTransitGateways(DescribeTransitGatewaysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewaysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more transit gateways. By default, all transit gateways are described. /// Alternatively, you can filter the results. /// /// Container for the necessary parameters to execute the DescribeTransitGateways service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTransitGateways service method, as returned by EC2. /// REST API Reference for DescribeTransitGateways Operation public virtual Task DescribeTransitGatewaysAsync(DescribeTransitGatewaysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewaysResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTransitGatewayVpcAttachments /// /// Describes one or more VPC attachments. By default, all VPC attachments are described. /// Alternatively, you can filter the results. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayVpcAttachments service method. /// /// The response from the DescribeTransitGatewayVpcAttachments service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayVpcAttachments Operation public virtual DescribeTransitGatewayVpcAttachmentsResponse DescribeTransitGatewayVpcAttachments(DescribeTransitGatewayVpcAttachmentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayVpcAttachmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayVpcAttachmentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more VPC attachments. By default, all VPC attachments are described. /// Alternatively, you can filter the results. /// /// Container for the necessary parameters to execute the DescribeTransitGatewayVpcAttachments service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTransitGatewayVpcAttachments service method, as returned by EC2. /// REST API Reference for DescribeTransitGatewayVpcAttachments Operation public virtual Task DescribeTransitGatewayVpcAttachmentsAsync(DescribeTransitGatewayVpcAttachmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTransitGatewayVpcAttachmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTransitGatewayVpcAttachmentsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTrunkInterfaceAssociations /// /// /// /// This API action is currently in limited preview only. If you are interested /// in using this feature, contact your account manager. /// /// /// /// Describes one or more network interface trunk associations. /// /// /// Container for the necessary parameters to execute the DescribeTrunkInterfaceAssociations service method. /// /// The response from the DescribeTrunkInterfaceAssociations service method, as returned by EC2. /// REST API Reference for DescribeTrunkInterfaceAssociations Operation public virtual DescribeTrunkInterfaceAssociationsResponse DescribeTrunkInterfaceAssociations(DescribeTrunkInterfaceAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTrunkInterfaceAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTrunkInterfaceAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// This API action is currently in limited preview only. If you are interested /// in using this feature, contact your account manager. /// /// /// /// Describes one or more network interface trunk associations. /// /// /// Container for the necessary parameters to execute the DescribeTrunkInterfaceAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTrunkInterfaceAssociations service method, as returned by EC2. /// REST API Reference for DescribeTrunkInterfaceAssociations Operation public virtual Task DescribeTrunkInterfaceAssociationsAsync(DescribeTrunkInterfaceAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTrunkInterfaceAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTrunkInterfaceAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVerifiedAccessEndpoints /// /// Describes the specified Amazon Web Services Verified Access endpoints. /// /// Container for the necessary parameters to execute the DescribeVerifiedAccessEndpoints service method. /// /// The response from the DescribeVerifiedAccessEndpoints service method, as returned by EC2. /// REST API Reference for DescribeVerifiedAccessEndpoints Operation public virtual DescribeVerifiedAccessEndpointsResponse DescribeVerifiedAccessEndpoints(DescribeVerifiedAccessEndpointsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVerifiedAccessEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVerifiedAccessEndpointsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified Amazon Web Services Verified Access endpoints. /// /// Container for the necessary parameters to execute the DescribeVerifiedAccessEndpoints service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVerifiedAccessEndpoints service method, as returned by EC2. /// REST API Reference for DescribeVerifiedAccessEndpoints Operation public virtual Task DescribeVerifiedAccessEndpointsAsync(DescribeVerifiedAccessEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVerifiedAccessEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVerifiedAccessEndpointsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVerifiedAccessGroups /// /// Describes the specified Verified Access groups. /// /// Container for the necessary parameters to execute the DescribeVerifiedAccessGroups service method. /// /// The response from the DescribeVerifiedAccessGroups service method, as returned by EC2. /// REST API Reference for DescribeVerifiedAccessGroups Operation public virtual DescribeVerifiedAccessGroupsResponse DescribeVerifiedAccessGroups(DescribeVerifiedAccessGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVerifiedAccessGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVerifiedAccessGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified Verified Access groups. /// /// Container for the necessary parameters to execute the DescribeVerifiedAccessGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVerifiedAccessGroups service method, as returned by EC2. /// REST API Reference for DescribeVerifiedAccessGroups Operation public virtual Task DescribeVerifiedAccessGroupsAsync(DescribeVerifiedAccessGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVerifiedAccessGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVerifiedAccessGroupsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVerifiedAccessInstanceLoggingConfigurations /// /// Describes the specified Amazon Web Services Verified Access instances. /// /// Container for the necessary parameters to execute the DescribeVerifiedAccessInstanceLoggingConfigurations service method. /// /// The response from the DescribeVerifiedAccessInstanceLoggingConfigurations service method, as returned by EC2. /// REST API Reference for DescribeVerifiedAccessInstanceLoggingConfigurations Operation public virtual DescribeVerifiedAccessInstanceLoggingConfigurationsResponse DescribeVerifiedAccessInstanceLoggingConfigurations(DescribeVerifiedAccessInstanceLoggingConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVerifiedAccessInstanceLoggingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVerifiedAccessInstanceLoggingConfigurationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified Amazon Web Services Verified Access instances. /// /// Container for the necessary parameters to execute the DescribeVerifiedAccessInstanceLoggingConfigurations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVerifiedAccessInstanceLoggingConfigurations service method, as returned by EC2. /// REST API Reference for DescribeVerifiedAccessInstanceLoggingConfigurations Operation public virtual Task DescribeVerifiedAccessInstanceLoggingConfigurationsAsync(DescribeVerifiedAccessInstanceLoggingConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVerifiedAccessInstanceLoggingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVerifiedAccessInstanceLoggingConfigurationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVerifiedAccessInstances /// /// Describes the specified Amazon Web Services Verified Access instances. /// /// Container for the necessary parameters to execute the DescribeVerifiedAccessInstances service method. /// /// The response from the DescribeVerifiedAccessInstances service method, as returned by EC2. /// REST API Reference for DescribeVerifiedAccessInstances Operation public virtual DescribeVerifiedAccessInstancesResponse DescribeVerifiedAccessInstances(DescribeVerifiedAccessInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVerifiedAccessInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVerifiedAccessInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified Amazon Web Services Verified Access instances. /// /// Container for the necessary parameters to execute the DescribeVerifiedAccessInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVerifiedAccessInstances service method, as returned by EC2. /// REST API Reference for DescribeVerifiedAccessInstances Operation public virtual Task DescribeVerifiedAccessInstancesAsync(DescribeVerifiedAccessInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVerifiedAccessInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVerifiedAccessInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVerifiedAccessTrustProviders /// /// Describes the specified Amazon Web Services Verified Access trust providers. /// /// Container for the necessary parameters to execute the DescribeVerifiedAccessTrustProviders service method. /// /// The response from the DescribeVerifiedAccessTrustProviders service method, as returned by EC2. /// REST API Reference for DescribeVerifiedAccessTrustProviders Operation public virtual DescribeVerifiedAccessTrustProvidersResponse DescribeVerifiedAccessTrustProviders(DescribeVerifiedAccessTrustProvidersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVerifiedAccessTrustProvidersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVerifiedAccessTrustProvidersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified Amazon Web Services Verified Access trust providers. /// /// Container for the necessary parameters to execute the DescribeVerifiedAccessTrustProviders service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVerifiedAccessTrustProviders service method, as returned by EC2. /// REST API Reference for DescribeVerifiedAccessTrustProviders Operation public virtual Task DescribeVerifiedAccessTrustProvidersAsync(DescribeVerifiedAccessTrustProvidersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVerifiedAccessTrustProvidersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVerifiedAccessTrustProvidersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVolumeAttribute /// /// Describes the specified attribute of the specified volume. You can specify only one /// attribute at a time. /// /// /// /// For more information about EBS volumes, see Amazon /// EBS volumes in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DescribeVolumeAttribute service method. /// /// The response from the DescribeVolumeAttribute service method, as returned by EC2. /// REST API Reference for DescribeVolumeAttribute Operation public virtual DescribeVolumeAttributeResponse DescribeVolumeAttribute(DescribeVolumeAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVolumeAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVolumeAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified attribute of the specified volume. You can specify only one /// attribute at a time. /// /// /// /// For more information about EBS volumes, see Amazon /// EBS volumes in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DescribeVolumeAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVolumeAttribute service method, as returned by EC2. /// REST API Reference for DescribeVolumeAttribute Operation public virtual Task DescribeVolumeAttributeAsync(DescribeVolumeAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVolumeAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVolumeAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVolumes /// /// Describes the specified EBS volumes or all of your EBS volumes. /// /// /// /// If you are describing a long list of volumes, we recommend that you paginate the output /// to make the list more manageable. For more information, see Pagination. /// /// /// /// For more information about EBS volumes, see Amazon /// EBS volumes in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// The response from the DescribeVolumes service method, as returned by EC2. /// REST API Reference for DescribeVolumes Operation public virtual DescribeVolumesResponse DescribeVolumes() { return DescribeVolumes(new DescribeVolumesRequest()); } /// /// Describes the specified EBS volumes or all of your EBS volumes. /// /// /// /// If you are describing a long list of volumes, we recommend that you paginate the output /// to make the list more manageable. For more information, see Pagination. /// /// /// /// For more information about EBS volumes, see Amazon /// EBS volumes in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DescribeVolumes service method. /// /// The response from the DescribeVolumes service method, as returned by EC2. /// 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 the specified EBS volumes or all of your EBS volumes. /// /// /// /// If you are describing a long list of volumes, we recommend that you paginate the output /// to make the list more manageable. For more information, see Pagination. /// /// /// /// For more information about EBS volumes, see Amazon /// EBS volumes in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// 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 EC2. /// REST API Reference for DescribeVolumes Operation public virtual Task DescribeVolumesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeVolumesAsync(new DescribeVolumesRequest(), cancellationToken); } /// /// Describes the specified EBS volumes or all of your EBS volumes. /// /// /// /// If you are describing a long list of volumes, we recommend that you paginate the output /// to make the list more manageable. For more information, see Pagination. /// /// /// /// For more information about EBS volumes, see Amazon /// EBS volumes in the Amazon Elastic Compute Cloud User Guide. /// /// /// 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 EC2. /// 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 DescribeVolumesModifications /// /// Describes the most recent volume modification request for the specified EBS volumes. /// /// /// /// If a volume has never been modified, some information in the output will be null. /// If a volume has been modified more than once, the output includes only the most recent /// modification request. /// /// /// /// You can also use CloudWatch Events to check the status of a modification to an EBS /// volume. For information about CloudWatch Events, see the Amazon /// CloudWatch Events User Guide. For more information, see Monitor /// the progress of volume modifications in the Amazon Elastic Compute Cloud User /// Guide. /// /// /// Container for the necessary parameters to execute the DescribeVolumesModifications service method. /// /// The response from the DescribeVolumesModifications service method, as returned by EC2. /// REST API Reference for DescribeVolumesModifications Operation public virtual DescribeVolumesModificationsResponse DescribeVolumesModifications(DescribeVolumesModificationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVolumesModificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVolumesModificationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the most recent volume modification request for the specified EBS volumes. /// /// /// /// If a volume has never been modified, some information in the output will be null. /// If a volume has been modified more than once, the output includes only the most recent /// modification request. /// /// /// /// You can also use CloudWatch Events to check the status of a modification to an EBS /// volume. For information about CloudWatch Events, see the Amazon /// CloudWatch Events User Guide. For more information, see Monitor /// the progress of volume modifications in the Amazon Elastic Compute Cloud User /// Guide. /// /// /// Container for the necessary parameters to execute the DescribeVolumesModifications service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVolumesModifications service method, as returned by EC2. /// REST API Reference for DescribeVolumesModifications Operation public virtual Task DescribeVolumesModificationsAsync(DescribeVolumesModificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVolumesModificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVolumesModificationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVolumeStatus /// /// Describes the status of the specified volumes. Volume status provides the result of /// the checks performed on your volumes to determine events that can impair the performance /// of your volumes. The performance of a volume can be affected if an issue occurs on /// the volume's underlying host. If the volume's underlying host experiences a power /// outage or system issue, after the system is restored, there could be data inconsistencies /// on the volume. Volume events notify you if this occurs. Volume actions notify you /// if any action needs to be taken in response to the event. /// /// /// /// The DescribeVolumeStatus operation provides the following information /// about the specified volumes: /// /// /// /// Status: Reflects the current status of the volume. The possible values are /// ok, impaired , warning, or insufficient-data. /// If all checks pass, the overall status of the volume is ok. If the check /// fails, the overall status is impaired. If the status is insufficient-data, /// then the checks might still be taking place on your volume at the time. We recommend /// that you retry the request. For more information about volume status, see Monitor /// the status of your volumes in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// Events: Reflect the cause of a volume status and might require you to take /// action. For example, if your volume returns an impaired status, then /// the volume event might be potential-data-inconsistency. This means that /// your volume has been affected by an issue with the underlying host, has all I/O operations /// disabled, and might have inconsistent data. /// /// /// /// Actions: Reflect the actions you might have to take in response to an event. /// For example, if the status of the volume is impaired and the volume event /// shows potential-data-inconsistency, then the action shows enable-volume-io. /// This means that you may want to enable the I/O operations for the volume by calling /// the EnableVolumeIO action and then check the volume for data consistency. /// /// /// /// Volume status is based on the volume status checks, and does not reflect the volume /// state. Therefore, volume status does not indicate volumes in the error /// state (for example, when a volume is incapable of accepting I/O.) /// /// /// /// The response from the DescribeVolumeStatus service method, as returned by EC2. /// REST API Reference for DescribeVolumeStatus Operation public virtual DescribeVolumeStatusResponse DescribeVolumeStatus() { return DescribeVolumeStatus(new DescribeVolumeStatusRequest()); } /// /// Describes the status of the specified volumes. Volume status provides the result of /// the checks performed on your volumes to determine events that can impair the performance /// of your volumes. The performance of a volume can be affected if an issue occurs on /// the volume's underlying host. If the volume's underlying host experiences a power /// outage or system issue, after the system is restored, there could be data inconsistencies /// on the volume. Volume events notify you if this occurs. Volume actions notify you /// if any action needs to be taken in response to the event. /// /// /// /// The DescribeVolumeStatus operation provides the following information /// about the specified volumes: /// /// /// /// Status: Reflects the current status of the volume. The possible values are /// ok, impaired , warning, or insufficient-data. /// If all checks pass, the overall status of the volume is ok. If the check /// fails, the overall status is impaired. If the status is insufficient-data, /// then the checks might still be taking place on your volume at the time. We recommend /// that you retry the request. For more information about volume status, see Monitor /// the status of your volumes in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// Events: Reflect the cause of a volume status and might require you to take /// action. For example, if your volume returns an impaired status, then /// the volume event might be potential-data-inconsistency. This means that /// your volume has been affected by an issue with the underlying host, has all I/O operations /// disabled, and might have inconsistent data. /// /// /// /// Actions: Reflect the actions you might have to take in response to an event. /// For example, if the status of the volume is impaired and the volume event /// shows potential-data-inconsistency, then the action shows enable-volume-io. /// This means that you may want to enable the I/O operations for the volume by calling /// the EnableVolumeIO action and then check the volume for data consistency. /// /// /// /// Volume status is based on the volume status checks, and does not reflect the volume /// state. Therefore, volume status does not indicate volumes in the error /// state (for example, when a volume is incapable of accepting I/O.) /// /// /// Container for the necessary parameters to execute the DescribeVolumeStatus service method. /// /// The response from the DescribeVolumeStatus service method, as returned by EC2. /// REST API Reference for DescribeVolumeStatus Operation public virtual DescribeVolumeStatusResponse DescribeVolumeStatus(DescribeVolumeStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVolumeStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVolumeStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the status of the specified volumes. Volume status provides the result of /// the checks performed on your volumes to determine events that can impair the performance /// of your volumes. The performance of a volume can be affected if an issue occurs on /// the volume's underlying host. If the volume's underlying host experiences a power /// outage or system issue, after the system is restored, there could be data inconsistencies /// on the volume. Volume events notify you if this occurs. Volume actions notify you /// if any action needs to be taken in response to the event. /// /// /// /// The DescribeVolumeStatus operation provides the following information /// about the specified volumes: /// /// /// /// Status: Reflects the current status of the volume. The possible values are /// ok, impaired , warning, or insufficient-data. /// If all checks pass, the overall status of the volume is ok. If the check /// fails, the overall status is impaired. If the status is insufficient-data, /// then the checks might still be taking place on your volume at the time. We recommend /// that you retry the request. For more information about volume status, see Monitor /// the status of your volumes in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// Events: Reflect the cause of a volume status and might require you to take /// action. For example, if your volume returns an impaired status, then /// the volume event might be potential-data-inconsistency. This means that /// your volume has been affected by an issue with the underlying host, has all I/O operations /// disabled, and might have inconsistent data. /// /// /// /// Actions: Reflect the actions you might have to take in response to an event. /// For example, if the status of the volume is impaired and the volume event /// shows potential-data-inconsistency, then the action shows enable-volume-io. /// This means that you may want to enable the I/O operations for the volume by calling /// the EnableVolumeIO action and then check the volume for data consistency. /// /// /// /// Volume status is based on the volume status checks, and does not reflect the volume /// state. Therefore, volume status does not indicate volumes in the error /// state (for example, when a volume is incapable of accepting I/O.) /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVolumeStatus service method, as returned by EC2. /// REST API Reference for DescribeVolumeStatus Operation public virtual Task DescribeVolumeStatusAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeVolumeStatusAsync(new DescribeVolumeStatusRequest(), cancellationToken); } /// /// Describes the status of the specified volumes. Volume status provides the result of /// the checks performed on your volumes to determine events that can impair the performance /// of your volumes. The performance of a volume can be affected if an issue occurs on /// the volume's underlying host. If the volume's underlying host experiences a power /// outage or system issue, after the system is restored, there could be data inconsistencies /// on the volume. Volume events notify you if this occurs. Volume actions notify you /// if any action needs to be taken in response to the event. /// /// /// /// The DescribeVolumeStatus operation provides the following information /// about the specified volumes: /// /// /// /// Status: Reflects the current status of the volume. The possible values are /// ok, impaired , warning, or insufficient-data. /// If all checks pass, the overall status of the volume is ok. If the check /// fails, the overall status is impaired. If the status is insufficient-data, /// then the checks might still be taking place on your volume at the time. We recommend /// that you retry the request. For more information about volume status, see Monitor /// the status of your volumes in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// Events: Reflect the cause of a volume status and might require you to take /// action. For example, if your volume returns an impaired status, then /// the volume event might be potential-data-inconsistency. This means that /// your volume has been affected by an issue with the underlying host, has all I/O operations /// disabled, and might have inconsistent data. /// /// /// /// Actions: Reflect the actions you might have to take in response to an event. /// For example, if the status of the volume is impaired and the volume event /// shows potential-data-inconsistency, then the action shows enable-volume-io. /// This means that you may want to enable the I/O operations for the volume by calling /// the EnableVolumeIO action and then check the volume for data consistency. /// /// /// /// Volume status is based on the volume status checks, and does not reflect the volume /// state. Therefore, volume status does not indicate volumes in the error /// state (for example, when a volume is incapable of accepting I/O.) /// /// /// Container for the necessary parameters to execute the DescribeVolumeStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVolumeStatus service method, as returned by EC2. /// REST API Reference for DescribeVolumeStatus Operation public virtual Task DescribeVolumeStatusAsync(DescribeVolumeStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVolumeStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVolumeStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVpcAttribute /// /// Describes the specified attribute of the specified VPC. You can specify only one attribute /// at a time. /// /// Container for the necessary parameters to execute the DescribeVpcAttribute service method. /// /// The response from the DescribeVpcAttribute service method, as returned by EC2. /// REST API Reference for DescribeVpcAttribute Operation public virtual DescribeVpcAttributeResponse DescribeVpcAttribute(DescribeVpcAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified attribute of the specified VPC. You can specify only one attribute /// at a time. /// /// Container for the necessary parameters to execute the DescribeVpcAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpcAttribute service method, as returned by EC2. /// REST API Reference for DescribeVpcAttribute Operation public virtual Task DescribeVpcAttributeAsync(DescribeVpcAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVpcClassicLink /// /// /// /// This action is deprecated. /// /// /// /// Describes the ClassicLink status of the specified VPCs. /// /// /// Container for the necessary parameters to execute the DescribeVpcClassicLink service method. /// /// The response from the DescribeVpcClassicLink service method, as returned by EC2. /// REST API Reference for DescribeVpcClassicLink Operation public virtual DescribeVpcClassicLinkResponse DescribeVpcClassicLink(DescribeVpcClassicLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcClassicLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcClassicLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// This action is deprecated. /// /// /// /// Describes the ClassicLink status of the specified VPCs. /// /// /// Container for the necessary parameters to execute the DescribeVpcClassicLink service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpcClassicLink service method, as returned by EC2. /// REST API Reference for DescribeVpcClassicLink Operation public virtual Task DescribeVpcClassicLinkAsync(DescribeVpcClassicLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcClassicLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcClassicLinkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVpcClassicLinkDnsSupport /// /// /// /// This action is deprecated. /// /// /// /// Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the /// DNS hostname of a linked EC2-Classic instance resolves to its private IP address when /// addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname /// of an instance in a VPC resolves to its private IP address when addressed from a linked /// EC2-Classic instance. /// /// /// Container for the necessary parameters to execute the DescribeVpcClassicLinkDnsSupport service method. /// /// The response from the DescribeVpcClassicLinkDnsSupport service method, as returned by EC2. /// REST API Reference for DescribeVpcClassicLinkDnsSupport Operation public virtual DescribeVpcClassicLinkDnsSupportResponse DescribeVpcClassicLinkDnsSupport(DescribeVpcClassicLinkDnsSupportRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcClassicLinkDnsSupportRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcClassicLinkDnsSupportResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// This action is deprecated. /// /// /// /// Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the /// DNS hostname of a linked EC2-Classic instance resolves to its private IP address when /// addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname /// of an instance in a VPC resolves to its private IP address when addressed from a linked /// EC2-Classic instance. /// /// /// Container for the necessary parameters to execute the DescribeVpcClassicLinkDnsSupport service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpcClassicLinkDnsSupport service method, as returned by EC2. /// REST API Reference for DescribeVpcClassicLinkDnsSupport Operation public virtual Task DescribeVpcClassicLinkDnsSupportAsync(DescribeVpcClassicLinkDnsSupportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcClassicLinkDnsSupportRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcClassicLinkDnsSupportResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVpcEndpointConnectionNotifications /// /// Describes the connection notifications for VPC endpoints and VPC endpoint services. /// /// Container for the necessary parameters to execute the DescribeVpcEndpointConnectionNotifications service method. /// /// The response from the DescribeVpcEndpointConnectionNotifications service method, as returned by EC2. /// REST API Reference for DescribeVpcEndpointConnectionNotifications Operation public virtual DescribeVpcEndpointConnectionNotificationsResponse DescribeVpcEndpointConnectionNotifications(DescribeVpcEndpointConnectionNotificationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcEndpointConnectionNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcEndpointConnectionNotificationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the connection notifications for VPC endpoints and VPC endpoint services. /// /// Container for the necessary parameters to execute the DescribeVpcEndpointConnectionNotifications service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpcEndpointConnectionNotifications service method, as returned by EC2. /// REST API Reference for DescribeVpcEndpointConnectionNotifications Operation public virtual Task DescribeVpcEndpointConnectionNotificationsAsync(DescribeVpcEndpointConnectionNotificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcEndpointConnectionNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcEndpointConnectionNotificationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVpcEndpointConnections /// /// Describes the VPC endpoint connections to your VPC endpoint services, including any /// endpoints that are pending your acceptance. /// /// Container for the necessary parameters to execute the DescribeVpcEndpointConnections service method. /// /// The response from the DescribeVpcEndpointConnections service method, as returned by EC2. /// REST API Reference for DescribeVpcEndpointConnections Operation public virtual DescribeVpcEndpointConnectionsResponse DescribeVpcEndpointConnections(DescribeVpcEndpointConnectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcEndpointConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcEndpointConnectionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the VPC endpoint connections to your VPC endpoint services, including any /// endpoints that are pending your acceptance. /// /// Container for the necessary parameters to execute the DescribeVpcEndpointConnections service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpcEndpointConnections service method, as returned by EC2. /// REST API Reference for DescribeVpcEndpointConnections Operation public virtual Task DescribeVpcEndpointConnectionsAsync(DescribeVpcEndpointConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcEndpointConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcEndpointConnectionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVpcEndpoints /// /// Describes your VPC endpoints. /// /// Container for the necessary parameters to execute the DescribeVpcEndpoints service method. /// /// The response from the DescribeVpcEndpoints service method, as returned by EC2. /// REST API Reference for DescribeVpcEndpoints Operation public virtual DescribeVpcEndpointsResponse DescribeVpcEndpoints(DescribeVpcEndpointsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcEndpointsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes your VPC endpoints. /// /// Container for the necessary parameters to execute the DescribeVpcEndpoints service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpcEndpoints service method, as returned by EC2. /// REST API Reference for DescribeVpcEndpoints Operation public virtual Task DescribeVpcEndpointsAsync(DescribeVpcEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcEndpointsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVpcEndpointServiceConfigurations /// /// Describes the VPC endpoint service configurations in your account (your services). /// /// Container for the necessary parameters to execute the DescribeVpcEndpointServiceConfigurations service method. /// /// The response from the DescribeVpcEndpointServiceConfigurations service method, as returned by EC2. /// REST API Reference for DescribeVpcEndpointServiceConfigurations Operation public virtual DescribeVpcEndpointServiceConfigurationsResponse DescribeVpcEndpointServiceConfigurations(DescribeVpcEndpointServiceConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcEndpointServiceConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcEndpointServiceConfigurationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the VPC endpoint service configurations in your account (your services). /// /// Container for the necessary parameters to execute the DescribeVpcEndpointServiceConfigurations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpcEndpointServiceConfigurations service method, as returned by EC2. /// REST API Reference for DescribeVpcEndpointServiceConfigurations Operation public virtual Task DescribeVpcEndpointServiceConfigurationsAsync(DescribeVpcEndpointServiceConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcEndpointServiceConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcEndpointServiceConfigurationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVpcEndpointServicePermissions /// /// Describes the principals (service consumers) that are permitted to discover your VPC /// endpoint service. /// /// Container for the necessary parameters to execute the DescribeVpcEndpointServicePermissions service method. /// /// The response from the DescribeVpcEndpointServicePermissions service method, as returned by EC2. /// REST API Reference for DescribeVpcEndpointServicePermissions Operation public virtual DescribeVpcEndpointServicePermissionsResponse DescribeVpcEndpointServicePermissions(DescribeVpcEndpointServicePermissionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcEndpointServicePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcEndpointServicePermissionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the principals (service consumers) that are permitted to discover your VPC /// endpoint service. /// /// Container for the necessary parameters to execute the DescribeVpcEndpointServicePermissions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpcEndpointServicePermissions service method, as returned by EC2. /// REST API Reference for DescribeVpcEndpointServicePermissions Operation public virtual Task DescribeVpcEndpointServicePermissionsAsync(DescribeVpcEndpointServicePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcEndpointServicePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcEndpointServicePermissionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVpcEndpointServices /// /// Describes available services to which you can create a VPC endpoint. /// /// /// /// When the service provider and the consumer have different accounts in multiple Availability /// Zones, and the consumer views the VPC endpoint service information, the response only /// includes the common Availability Zones. For example, when the service provider account /// uses us-east-1a and us-east-1c and the consumer uses us-east-1a /// and us-east-1b, the response includes the VPC endpoint services in the /// common Availability Zone, us-east-1a. /// /// /// Container for the necessary parameters to execute the DescribeVpcEndpointServices service method. /// /// The response from the DescribeVpcEndpointServices service method, as returned by EC2. /// REST API Reference for DescribeVpcEndpointServices Operation public virtual DescribeVpcEndpointServicesResponse DescribeVpcEndpointServices(DescribeVpcEndpointServicesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcEndpointServicesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcEndpointServicesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes available services to which you can create a VPC endpoint. /// /// /// /// When the service provider and the consumer have different accounts in multiple Availability /// Zones, and the consumer views the VPC endpoint service information, the response only /// includes the common Availability Zones. For example, when the service provider account /// uses us-east-1a and us-east-1c and the consumer uses us-east-1a /// and us-east-1b, the response includes the VPC endpoint services in the /// common Availability Zone, us-east-1a. /// /// /// Container for the necessary parameters to execute the DescribeVpcEndpointServices service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpcEndpointServices service method, as returned by EC2. /// REST API Reference for DescribeVpcEndpointServices Operation public virtual Task DescribeVpcEndpointServicesAsync(DescribeVpcEndpointServicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcEndpointServicesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcEndpointServicesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVpcPeeringConnections /// /// Describes one or more of your VPC peering connections. /// /// /// The response from the DescribeVpcPeeringConnections service method, as returned by EC2. /// REST API Reference for DescribeVpcPeeringConnections Operation public virtual DescribeVpcPeeringConnectionsResponse DescribeVpcPeeringConnections() { return DescribeVpcPeeringConnections(new DescribeVpcPeeringConnectionsRequest()); } /// /// Describes one or more of your VPC peering connections. /// /// Container for the necessary parameters to execute the DescribeVpcPeeringConnections service method. /// /// The response from the DescribeVpcPeeringConnections service method, as returned by EC2. /// REST API Reference for DescribeVpcPeeringConnections Operation public virtual DescribeVpcPeeringConnectionsResponse DescribeVpcPeeringConnections(DescribeVpcPeeringConnectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcPeeringConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcPeeringConnectionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your VPC peering connections. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpcPeeringConnections service method, as returned by EC2. /// REST API Reference for DescribeVpcPeeringConnections Operation public virtual Task DescribeVpcPeeringConnectionsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeVpcPeeringConnectionsAsync(new DescribeVpcPeeringConnectionsRequest(), cancellationToken); } /// /// Describes one or more of your VPC peering connections. /// /// Container for the necessary parameters to execute the DescribeVpcPeeringConnections service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpcPeeringConnections service method, as returned by EC2. /// REST API Reference for DescribeVpcPeeringConnections Operation public virtual Task DescribeVpcPeeringConnectionsAsync(DescribeVpcPeeringConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcPeeringConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcPeeringConnectionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVpcs /// /// Describes one or more of your VPCs. /// /// /// The response from the DescribeVpcs service method, as returned by EC2. /// REST API Reference for DescribeVpcs Operation public virtual DescribeVpcsResponse DescribeVpcs() { return DescribeVpcs(new DescribeVpcsRequest()); } /// /// Describes one or more of your VPCs. /// /// Container for the necessary parameters to execute the DescribeVpcs service method. /// /// The response from the DescribeVpcs service method, as returned by EC2. /// REST API Reference for DescribeVpcs Operation public virtual DescribeVpcsResponse DescribeVpcs(DescribeVpcsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your VPCs. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpcs service method, as returned by EC2. /// REST API Reference for DescribeVpcs Operation public virtual Task DescribeVpcsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeVpcsAsync(new DescribeVpcsRequest(), cancellationToken); } /// /// Describes one or more of your VPCs. /// /// Container for the necessary parameters to execute the DescribeVpcs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpcs service method, as returned by EC2. /// REST API Reference for DescribeVpcs Operation public virtual Task DescribeVpcsAsync(DescribeVpcsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVpnConnections /// /// Describes one or more of your VPN connections. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// /// The response from the DescribeVpnConnections service method, as returned by EC2. /// REST API Reference for DescribeVpnConnections Operation public virtual DescribeVpnConnectionsResponse DescribeVpnConnections() { return DescribeVpnConnections(new DescribeVpnConnectionsRequest()); } /// /// Describes one or more of your VPN connections. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// Container for the necessary parameters to execute the DescribeVpnConnections service method. /// /// The response from the DescribeVpnConnections service method, as returned by EC2. /// REST API Reference for DescribeVpnConnections Operation public virtual DescribeVpnConnectionsResponse DescribeVpnConnections(DescribeVpnConnectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpnConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpnConnectionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your VPN connections. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpnConnections service method, as returned by EC2. /// REST API Reference for DescribeVpnConnections Operation public virtual Task DescribeVpnConnectionsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeVpnConnectionsAsync(new DescribeVpnConnectionsRequest(), cancellationToken); } /// /// Describes one or more of your VPN connections. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// Container for the necessary parameters to execute the DescribeVpnConnections service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpnConnections service method, as returned by EC2. /// REST API Reference for DescribeVpnConnections Operation public virtual Task DescribeVpnConnectionsAsync(DescribeVpnConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpnConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpnConnectionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVpnGateways /// /// Describes one or more of your virtual private gateways. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// /// The response from the DescribeVpnGateways service method, as returned by EC2. /// REST API Reference for DescribeVpnGateways Operation public virtual DescribeVpnGatewaysResponse DescribeVpnGateways() { return DescribeVpnGateways(new DescribeVpnGatewaysRequest()); } /// /// Describes one or more of your virtual private gateways. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// Container for the necessary parameters to execute the DescribeVpnGateways service method. /// /// The response from the DescribeVpnGateways service method, as returned by EC2. /// REST API Reference for DescribeVpnGateways Operation public virtual DescribeVpnGatewaysResponse DescribeVpnGateways(DescribeVpnGatewaysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpnGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpnGatewaysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes one or more of your virtual private gateways. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpnGateways service method, as returned by EC2. /// REST API Reference for DescribeVpnGateways Operation public virtual Task DescribeVpnGatewaysAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeVpnGatewaysAsync(new DescribeVpnGatewaysRequest(), cancellationToken); } /// /// Describes one or more of your virtual private gateways. /// /// /// /// For more information, see Amazon /// Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User /// Guide. /// /// /// Container for the necessary parameters to execute the DescribeVpnGateways service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVpnGateways service method, as returned by EC2. /// REST API Reference for DescribeVpnGateways Operation public virtual Task DescribeVpnGatewaysAsync(DescribeVpnGatewaysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpnGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpnGatewaysResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DetachClassicLinkVpc /// /// /// /// This action is deprecated. /// /// /// /// Unlinks (detaches) a linked EC2-Classic instance from a VPC. After the instance has /// been unlinked, the VPC security groups are no longer associated with it. An instance /// is automatically unlinked from a VPC when it's stopped. /// /// /// Container for the necessary parameters to execute the DetachClassicLinkVpc service method. /// /// The response from the DetachClassicLinkVpc service method, as returned by EC2. /// REST API Reference for DetachClassicLinkVpc Operation public virtual DetachClassicLinkVpcResponse DetachClassicLinkVpc(DetachClassicLinkVpcRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachClassicLinkVpcRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachClassicLinkVpcResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// This action is deprecated. /// /// /// /// Unlinks (detaches) a linked EC2-Classic instance from a VPC. After the instance has /// been unlinked, the VPC security groups are no longer associated with it. An instance /// is automatically unlinked from a VPC when it's stopped. /// /// /// Container for the necessary parameters to execute the DetachClassicLinkVpc service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DetachClassicLinkVpc service method, as returned by EC2. /// REST API Reference for DetachClassicLinkVpc Operation public virtual Task DetachClassicLinkVpcAsync(DetachClassicLinkVpcRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DetachClassicLinkVpcRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachClassicLinkVpcResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DetachInternetGateway /// /// Detaches an internet gateway from a VPC, disabling connectivity between the internet /// and the VPC. The VPC must not contain any running instances with Elastic IP addresses /// or public IPv4 addresses. /// /// Container for the necessary parameters to execute the DetachInternetGateway service method. /// /// The response from the DetachInternetGateway service method, as returned by EC2. /// REST API Reference for DetachInternetGateway Operation public virtual DetachInternetGatewayResponse DetachInternetGateway(DetachInternetGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachInternetGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachInternetGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Detaches an internet gateway from a VPC, disabling connectivity between the internet /// and the VPC. The VPC must not contain any running instances with Elastic IP addresses /// or public IPv4 addresses. /// /// Container for the necessary parameters to execute the DetachInternetGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DetachInternetGateway service method, as returned by EC2. /// REST API Reference for DetachInternetGateway Operation public virtual Task DetachInternetGatewayAsync(DetachInternetGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DetachInternetGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachInternetGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DetachNetworkInterface /// /// Detaches a network interface from an instance. /// /// Container for the necessary parameters to execute the DetachNetworkInterface service method. /// /// The response from the DetachNetworkInterface service method, as returned by EC2. /// REST API Reference for DetachNetworkInterface Operation public virtual DetachNetworkInterfaceResponse DetachNetworkInterface(DetachNetworkInterfaceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachNetworkInterfaceRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachNetworkInterfaceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Detaches a network interface from an instance. /// /// Container for the necessary parameters to execute the DetachNetworkInterface service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DetachNetworkInterface service method, as returned by EC2. /// REST API Reference for DetachNetworkInterface Operation public virtual Task DetachNetworkInterfaceAsync(DetachNetworkInterfaceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DetachNetworkInterfaceRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachNetworkInterfaceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DetachVerifiedAccessTrustProvider /// /// Detaches the specified Amazon Web Services Verified Access trust provider from the /// specified Amazon Web Services Verified Access instance. /// /// Container for the necessary parameters to execute the DetachVerifiedAccessTrustProvider service method. /// /// The response from the DetachVerifiedAccessTrustProvider service method, as returned by EC2. /// REST API Reference for DetachVerifiedAccessTrustProvider Operation public virtual DetachVerifiedAccessTrustProviderResponse DetachVerifiedAccessTrustProvider(DetachVerifiedAccessTrustProviderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachVerifiedAccessTrustProviderRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachVerifiedAccessTrustProviderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Detaches the specified Amazon Web Services Verified Access trust provider from the /// specified Amazon Web Services Verified Access instance. /// /// Container for the necessary parameters to execute the DetachVerifiedAccessTrustProvider service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DetachVerifiedAccessTrustProvider service method, as returned by EC2. /// REST API Reference for DetachVerifiedAccessTrustProvider Operation public virtual Task DetachVerifiedAccessTrustProviderAsync(DetachVerifiedAccessTrustProviderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DetachVerifiedAccessTrustProviderRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachVerifiedAccessTrustProviderResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DetachVolume /// /// Detaches an EBS volume from an instance. Make sure to unmount any file systems on /// the device within your operating system before detaching the volume. Failure to do /// so can result in the volume becoming stuck in the busy state while detaching. /// If this happens, detachment can be delayed indefinitely until you unmount the volume, /// force detachment, reboot the instance, or all three. If an EBS volume is the root /// device of an instance, it can't be detached while the instance is running. To detach /// the root volume, stop the instance first. /// /// /// /// When a volume with an Amazon Web Services Marketplace product code is detached from /// an instance, the product code is no longer associated with the instance. /// /// /// /// For more information, see Detach /// an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DetachVolume service method. /// /// The response from the DetachVolume service method, as returned by EC2. /// REST API Reference for DetachVolume Operation public virtual DetachVolumeResponse DetachVolume(DetachVolumeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachVolumeRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachVolumeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Detaches an EBS volume from an instance. Make sure to unmount any file systems on /// the device within your operating system before detaching the volume. Failure to do /// so can result in the volume becoming stuck in the busy state while detaching. /// If this happens, detachment can be delayed indefinitely until you unmount the volume, /// force detachment, reboot the instance, or all three. If an EBS volume is the root /// device of an instance, it can't be detached while the instance is running. To detach /// the root volume, stop the instance first. /// /// /// /// When a volume with an Amazon Web Services Marketplace product code is detached from /// an instance, the product code is no longer associated with the instance. /// /// /// /// For more information, see Detach /// an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DetachVolume service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DetachVolume service method, as returned by EC2. /// REST API Reference for DetachVolume Operation public virtual Task DetachVolumeAsync(DetachVolumeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DetachVolumeRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachVolumeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DetachVpnGateway /// /// Detaches a virtual private gateway from a VPC. You do this if you're planning to turn /// off the VPC and not use it anymore. You can confirm a virtual private gateway has /// been completely detached from a VPC by describing the virtual private gateway (any /// attachments to the virtual private gateway are also described). /// /// /// /// You must wait for the attachment's state to switch to detached before /// you can delete the VPC or attach a different VPC to the virtual private gateway. /// /// /// Container for the necessary parameters to execute the DetachVpnGateway service method. /// /// The response from the DetachVpnGateway service method, as returned by EC2. /// REST API Reference for DetachVpnGateway Operation public virtual DetachVpnGatewayResponse DetachVpnGateway(DetachVpnGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachVpnGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachVpnGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Detaches a virtual private gateway from a VPC. You do this if you're planning to turn /// off the VPC and not use it anymore. You can confirm a virtual private gateway has /// been completely detached from a VPC by describing the virtual private gateway (any /// attachments to the virtual private gateway are also described). /// /// /// /// You must wait for the attachment's state to switch to detached before /// you can delete the VPC or attach a different VPC to the virtual private gateway. /// /// /// Container for the necessary parameters to execute the DetachVpnGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DetachVpnGateway service method, as returned by EC2. /// REST API Reference for DetachVpnGateway Operation public virtual Task DetachVpnGatewayAsync(DetachVpnGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DetachVpnGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachVpnGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableAddressTransfer /// /// Disables Elastic IP address transfer. For more information, see Transfer /// Elastic IP addresses in the Amazon Virtual Private Cloud User Guide. /// /// Container for the necessary parameters to execute the DisableAddressTransfer service method. /// /// The response from the DisableAddressTransfer service method, as returned by EC2. /// REST API Reference for DisableAddressTransfer Operation public virtual DisableAddressTransferResponse DisableAddressTransfer(DisableAddressTransferRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableAddressTransferRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableAddressTransferResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disables Elastic IP address transfer. For more information, see Transfer /// Elastic IP addresses in the Amazon Virtual Private Cloud User Guide. /// /// Container for the necessary parameters to execute the DisableAddressTransfer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableAddressTransfer service method, as returned by EC2. /// REST API Reference for DisableAddressTransfer Operation public virtual Task DisableAddressTransferAsync(DisableAddressTransferRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableAddressTransferRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableAddressTransferResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableAwsNetworkPerformanceMetricSubscription /// /// Disables Infrastructure Performance metric subscriptions. /// /// Container for the necessary parameters to execute the DisableAwsNetworkPerformanceMetricSubscription service method. /// /// The response from the DisableAwsNetworkPerformanceMetricSubscription service method, as returned by EC2. /// REST API Reference for DisableAwsNetworkPerformanceMetricSubscription Operation public virtual DisableAwsNetworkPerformanceMetricSubscriptionResponse DisableAwsNetworkPerformanceMetricSubscription(DisableAwsNetworkPerformanceMetricSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableAwsNetworkPerformanceMetricSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableAwsNetworkPerformanceMetricSubscriptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disables Infrastructure Performance metric subscriptions. /// /// Container for the necessary parameters to execute the DisableAwsNetworkPerformanceMetricSubscription service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableAwsNetworkPerformanceMetricSubscription service method, as returned by EC2. /// REST API Reference for DisableAwsNetworkPerformanceMetricSubscription Operation public virtual Task DisableAwsNetworkPerformanceMetricSubscriptionAsync(DisableAwsNetworkPerformanceMetricSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableAwsNetworkPerformanceMetricSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableAwsNetworkPerformanceMetricSubscriptionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableEbsEncryptionByDefault /// /// Disables EBS encryption by default for your account in the current Region. /// /// /// /// After you disable encryption by default, you can still create encrypted volumes by /// enabling encryption when you create each volume. /// /// /// /// Disabling encryption by default does not change the encryption status of your existing /// volumes. /// /// /// /// For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DisableEbsEncryptionByDefault service method. /// /// The response from the DisableEbsEncryptionByDefault service method, as returned by EC2. /// REST API Reference for DisableEbsEncryptionByDefault Operation public virtual DisableEbsEncryptionByDefaultResponse DisableEbsEncryptionByDefault(DisableEbsEncryptionByDefaultRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableEbsEncryptionByDefaultRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableEbsEncryptionByDefaultResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disables EBS encryption by default for your account in the current Region. /// /// /// /// After you disable encryption by default, you can still create encrypted volumes by /// enabling encryption when you create each volume. /// /// /// /// Disabling encryption by default does not change the encryption status of your existing /// volumes. /// /// /// /// For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the DisableEbsEncryptionByDefault service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableEbsEncryptionByDefault service method, as returned by EC2. /// REST API Reference for DisableEbsEncryptionByDefault Operation public virtual Task DisableEbsEncryptionByDefaultAsync(DisableEbsEncryptionByDefaultRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableEbsEncryptionByDefaultRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableEbsEncryptionByDefaultResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableFastLaunch /// /// Discontinue faster launching for a Windows AMI, and clean up existing pre-provisioned /// snapshots. When you disable faster launching, the AMI uses the standard launch process /// for each instance. All pre-provisioned snapshots must be removed before you can enable /// faster launching again. /// /// /// /// To change these settings, you must own the AMI. /// /// /// /// Container for the necessary parameters to execute the DisableFastLaunch service method. /// /// The response from the DisableFastLaunch service method, as returned by EC2. /// REST API Reference for DisableFastLaunch Operation public virtual DisableFastLaunchResponse DisableFastLaunch(DisableFastLaunchRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableFastLaunchRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableFastLaunchResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Discontinue faster launching for a Windows AMI, and clean up existing pre-provisioned /// snapshots. When you disable faster launching, the AMI uses the standard launch process /// for each instance. All pre-provisioned snapshots must be removed before you can enable /// faster launching again. /// /// /// /// To change these settings, you must own the AMI. /// /// /// /// Container for the necessary parameters to execute the DisableFastLaunch service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableFastLaunch service method, as returned by EC2. /// REST API Reference for DisableFastLaunch Operation public virtual Task DisableFastLaunchAsync(DisableFastLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableFastLaunchRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableFastLaunchResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableFastSnapshotRestores /// /// Disables fast snapshot restores for the specified snapshots in the specified Availability /// Zones. /// /// Container for the necessary parameters to execute the DisableFastSnapshotRestores service method. /// /// The response from the DisableFastSnapshotRestores service method, as returned by EC2. /// REST API Reference for DisableFastSnapshotRestores Operation public virtual DisableFastSnapshotRestoresResponse DisableFastSnapshotRestores(DisableFastSnapshotRestoresRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableFastSnapshotRestoresRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableFastSnapshotRestoresResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disables fast snapshot restores for the specified snapshots in the specified Availability /// Zones. /// /// Container for the necessary parameters to execute the DisableFastSnapshotRestores service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableFastSnapshotRestores service method, as returned by EC2. /// REST API Reference for DisableFastSnapshotRestores Operation public virtual Task DisableFastSnapshotRestoresAsync(DisableFastSnapshotRestoresRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableFastSnapshotRestoresRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableFastSnapshotRestoresResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableImageDeprecation /// /// Cancels the deprecation of the specified AMI. /// /// /// /// For more information, see Deprecate /// an AMI in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DisableImageDeprecation service method. /// /// The response from the DisableImageDeprecation service method, as returned by EC2. /// REST API Reference for DisableImageDeprecation Operation public virtual DisableImageDeprecationResponse DisableImageDeprecation(DisableImageDeprecationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableImageDeprecationRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableImageDeprecationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Cancels the deprecation of the specified AMI. /// /// /// /// For more information, see Deprecate /// an AMI in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DisableImageDeprecation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableImageDeprecation service method, as returned by EC2. /// REST API Reference for DisableImageDeprecation Operation public virtual Task DisableImageDeprecationAsync(DisableImageDeprecationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableImageDeprecationRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableImageDeprecationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableIpamOrganizationAdminAccount /// /// Disable the IPAM account. For more information, see Enable /// integration with Organizations in the Amazon VPC IPAM User Guide. /// /// Container for the necessary parameters to execute the DisableIpamOrganizationAdminAccount service method. /// /// The response from the DisableIpamOrganizationAdminAccount service method, as returned by EC2. /// REST API Reference for DisableIpamOrganizationAdminAccount Operation public virtual DisableIpamOrganizationAdminAccountResponse DisableIpamOrganizationAdminAccount(DisableIpamOrganizationAdminAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableIpamOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableIpamOrganizationAdminAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disable the IPAM account. For more information, see Enable /// integration with Organizations in the Amazon VPC IPAM User Guide. /// /// Container for the necessary parameters to execute the DisableIpamOrganizationAdminAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableIpamOrganizationAdminAccount service method, as returned by EC2. /// REST API Reference for DisableIpamOrganizationAdminAccount Operation public virtual Task DisableIpamOrganizationAdminAccountAsync(DisableIpamOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableIpamOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableIpamOrganizationAdminAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableSerialConsoleAccess /// /// Disables access to the EC2 serial console of all instances for your account. By default, /// access to the EC2 serial console is disabled for your account. For more information, /// see Manage /// account access to the EC2 serial console in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the DisableSerialConsoleAccess service method. /// /// The response from the DisableSerialConsoleAccess service method, as returned by EC2. /// REST API Reference for DisableSerialConsoleAccess Operation public virtual DisableSerialConsoleAccessResponse DisableSerialConsoleAccess(DisableSerialConsoleAccessRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableSerialConsoleAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableSerialConsoleAccessResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disables access to the EC2 serial console of all instances for your account. By default, /// access to the EC2 serial console is disabled for your account. For more information, /// see Manage /// account access to the EC2 serial console in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the DisableSerialConsoleAccess service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableSerialConsoleAccess service method, as returned by EC2. /// REST API Reference for DisableSerialConsoleAccess Operation public virtual Task DisableSerialConsoleAccessAsync(DisableSerialConsoleAccessRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableSerialConsoleAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableSerialConsoleAccessResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableTransitGatewayRouteTablePropagation /// /// Disables the specified resource attachment from propagating routes to the specified /// propagation route table. /// /// Container for the necessary parameters to execute the DisableTransitGatewayRouteTablePropagation service method. /// /// The response from the DisableTransitGatewayRouteTablePropagation service method, as returned by EC2. /// REST API Reference for DisableTransitGatewayRouteTablePropagation Operation public virtual DisableTransitGatewayRouteTablePropagationResponse DisableTransitGatewayRouteTablePropagation(DisableTransitGatewayRouteTablePropagationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableTransitGatewayRouteTablePropagationRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableTransitGatewayRouteTablePropagationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disables the specified resource attachment from propagating routes to the specified /// propagation route table. /// /// Container for the necessary parameters to execute the DisableTransitGatewayRouteTablePropagation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableTransitGatewayRouteTablePropagation service method, as returned by EC2. /// REST API Reference for DisableTransitGatewayRouteTablePropagation Operation public virtual Task DisableTransitGatewayRouteTablePropagationAsync(DisableTransitGatewayRouteTablePropagationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableTransitGatewayRouteTablePropagationRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableTransitGatewayRouteTablePropagationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableVgwRoutePropagation /// /// Disables a virtual private gateway (VGW) from propagating routes to a specified route /// table of a VPC. /// /// Container for the necessary parameters to execute the DisableVgwRoutePropagation service method. /// /// The response from the DisableVgwRoutePropagation service method, as returned by EC2. /// REST API Reference for DisableVgwRoutePropagation Operation public virtual DisableVgwRoutePropagationResponse DisableVgwRoutePropagation(DisableVgwRoutePropagationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableVgwRoutePropagationRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableVgwRoutePropagationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disables a virtual private gateway (VGW) from propagating routes to a specified route /// table of a VPC. /// /// Container for the necessary parameters to execute the DisableVgwRoutePropagation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableVgwRoutePropagation service method, as returned by EC2. /// REST API Reference for DisableVgwRoutePropagation Operation public virtual Task DisableVgwRoutePropagationAsync(DisableVgwRoutePropagationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableVgwRoutePropagationRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableVgwRoutePropagationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableVpcClassicLink /// /// /// /// This action is deprecated. /// /// /// /// Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has /// EC2-Classic instances linked to it. /// /// /// Container for the necessary parameters to execute the DisableVpcClassicLink service method. /// /// The response from the DisableVpcClassicLink service method, as returned by EC2. /// REST API Reference for DisableVpcClassicLink Operation public virtual DisableVpcClassicLinkResponse DisableVpcClassicLink(DisableVpcClassicLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableVpcClassicLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableVpcClassicLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// This action is deprecated. /// /// /// /// Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has /// EC2-Classic instances linked to it. /// /// /// Container for the necessary parameters to execute the DisableVpcClassicLink service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableVpcClassicLink service method, as returned by EC2. /// REST API Reference for DisableVpcClassicLink Operation public virtual Task DisableVpcClassicLinkAsync(DisableVpcClassicLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableVpcClassicLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableVpcClassicLinkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableVpcClassicLinkDnsSupport /// /// /// /// This action is deprecated. /// /// /// /// Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames resolve to /// public IP addresses when addressed between a linked EC2-Classic instance and instances /// in the VPC to which it's linked. /// /// /// /// You must specify a VPC ID in the request. /// /// /// Container for the necessary parameters to execute the DisableVpcClassicLinkDnsSupport service method. /// /// The response from the DisableVpcClassicLinkDnsSupport service method, as returned by EC2. /// REST API Reference for DisableVpcClassicLinkDnsSupport Operation public virtual DisableVpcClassicLinkDnsSupportResponse DisableVpcClassicLinkDnsSupport(DisableVpcClassicLinkDnsSupportRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableVpcClassicLinkDnsSupportRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableVpcClassicLinkDnsSupportResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// This action is deprecated. /// /// /// /// Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames resolve to /// public IP addresses when addressed between a linked EC2-Classic instance and instances /// in the VPC to which it's linked. /// /// /// /// You must specify a VPC ID in the request. /// /// /// Container for the necessary parameters to execute the DisableVpcClassicLinkDnsSupport service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableVpcClassicLinkDnsSupport service method, as returned by EC2. /// REST API Reference for DisableVpcClassicLinkDnsSupport Operation public virtual Task DisableVpcClassicLinkDnsSupportAsync(DisableVpcClassicLinkDnsSupportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableVpcClassicLinkDnsSupportRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableVpcClassicLinkDnsSupportResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateAddress /// /// Disassociates an Elastic IP address from the instance or network interface it's associated /// with. /// /// /// /// This is an idempotent operation. If you perform the operation more than once, Amazon /// EC2 doesn't return an error. /// /// /// Container for the necessary parameters to execute the DisassociateAddress service method. /// /// The response from the DisassociateAddress service method, as returned by EC2. /// REST API Reference for DisassociateAddress Operation public virtual DisassociateAddressResponse DisassociateAddress(DisassociateAddressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateAddressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates an Elastic IP address from the instance or network interface it's associated /// with. /// /// /// /// This is an idempotent operation. If you perform the operation more than once, Amazon /// EC2 doesn't return an error. /// /// /// Container for the necessary parameters to execute the DisassociateAddress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateAddress service method, as returned by EC2. /// REST API Reference for DisassociateAddress Operation public virtual Task DisassociateAddressAsync(DisassociateAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateAddressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateClientVpnTargetNetwork /// /// Disassociates a target network from the specified Client VPN endpoint. When you disassociate /// the last target network from a Client VPN, the following happens: /// ///
  • /// /// The route that was automatically added for the VPC is deleted /// ///
  • /// /// All active client connections are terminated /// ///
  • /// /// New client connections are disallowed /// ///
  • /// /// The Client VPN endpoint's status changes to pending-associate /// ///
///
/// Container for the necessary parameters to execute the DisassociateClientVpnTargetNetwork service method. /// /// The response from the DisassociateClientVpnTargetNetwork service method, as returned by EC2. /// REST API Reference for DisassociateClientVpnTargetNetwork Operation public virtual DisassociateClientVpnTargetNetworkResponse DisassociateClientVpnTargetNetwork(DisassociateClientVpnTargetNetworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateClientVpnTargetNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateClientVpnTargetNetworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates a target network from the specified Client VPN endpoint. When you disassociate /// the last target network from a Client VPN, the following happens: /// ///
  • /// /// The route that was automatically added for the VPC is deleted /// ///
  • /// /// All active client connections are terminated /// ///
  • /// /// New client connections are disallowed /// ///
  • /// /// The Client VPN endpoint's status changes to pending-associate /// ///
///
/// Container for the necessary parameters to execute the DisassociateClientVpnTargetNetwork service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateClientVpnTargetNetwork service method, as returned by EC2. /// REST API Reference for DisassociateClientVpnTargetNetwork Operation public virtual Task DisassociateClientVpnTargetNetworkAsync(DisassociateClientVpnTargetNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateClientVpnTargetNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateClientVpnTargetNetworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateEnclaveCertificateIamRole /// /// Disassociates an IAM role from an Certificate Manager (ACM) certificate. Disassociating /// an IAM role from an ACM certificate removes the Amazon S3 object that contains the /// certificate, certificate chain, and encrypted private key from the Amazon S3 bucket. /// It also revokes the IAM role's permission to use the KMS key used to encrypt the private /// key. This effectively revokes the role's permission to use the certificate. /// /// Container for the necessary parameters to execute the DisassociateEnclaveCertificateIamRole service method. /// /// The response from the DisassociateEnclaveCertificateIamRole service method, as returned by EC2. /// REST API Reference for DisassociateEnclaveCertificateIamRole Operation public virtual DisassociateEnclaveCertificateIamRoleResponse DisassociateEnclaveCertificateIamRole(DisassociateEnclaveCertificateIamRoleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateEnclaveCertificateIamRoleRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateEnclaveCertificateIamRoleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates an IAM role from an Certificate Manager (ACM) certificate. Disassociating /// an IAM role from an ACM certificate removes the Amazon S3 object that contains the /// certificate, certificate chain, and encrypted private key from the Amazon S3 bucket. /// It also revokes the IAM role's permission to use the KMS key used to encrypt the private /// key. This effectively revokes the role's permission to use the certificate. /// /// Container for the necessary parameters to execute the DisassociateEnclaveCertificateIamRole service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateEnclaveCertificateIamRole service method, as returned by EC2. /// REST API Reference for DisassociateEnclaveCertificateIamRole Operation public virtual Task DisassociateEnclaveCertificateIamRoleAsync(DisassociateEnclaveCertificateIamRoleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateEnclaveCertificateIamRoleRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateEnclaveCertificateIamRoleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateIamInstanceProfile /// /// Disassociates an IAM instance profile from a running or stopped instance. /// /// /// /// Use DescribeIamInstanceProfileAssociations to get the association ID. /// /// /// Container for the necessary parameters to execute the DisassociateIamInstanceProfile service method. /// /// The response from the DisassociateIamInstanceProfile service method, as returned by EC2. /// REST API Reference for DisassociateIamInstanceProfile Operation public virtual DisassociateIamInstanceProfileResponse DisassociateIamInstanceProfile(DisassociateIamInstanceProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateIamInstanceProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateIamInstanceProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates an IAM instance profile from a running or stopped instance. /// /// /// /// Use DescribeIamInstanceProfileAssociations to get the association ID. /// /// /// Container for the necessary parameters to execute the DisassociateIamInstanceProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateIamInstanceProfile service method, as returned by EC2. /// REST API Reference for DisassociateIamInstanceProfile Operation public virtual Task DisassociateIamInstanceProfileAsync(DisassociateIamInstanceProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateIamInstanceProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateIamInstanceProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateInstanceEventWindow /// /// Disassociates one or more targets from an event window. /// /// /// /// For more information, see Define /// event windows for scheduled events in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DisassociateInstanceEventWindow service method. /// /// The response from the DisassociateInstanceEventWindow service method, as returned by EC2. /// REST API Reference for DisassociateInstanceEventWindow Operation public virtual DisassociateInstanceEventWindowResponse DisassociateInstanceEventWindow(DisassociateInstanceEventWindowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateInstanceEventWindowRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateInstanceEventWindowResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates one or more targets from an event window. /// /// /// /// For more information, see Define /// event windows for scheduled events in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the DisassociateInstanceEventWindow service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateInstanceEventWindow service method, as returned by EC2. /// REST API Reference for DisassociateInstanceEventWindow Operation public virtual Task DisassociateInstanceEventWindowAsync(DisassociateInstanceEventWindowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateInstanceEventWindowRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateInstanceEventWindowResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateIpamResourceDiscovery /// /// Disassociates a resource discovery from an Amazon VPC IPAM. A resource discovery is /// an IPAM component that enables IPAM to manage and monitor resources that belong to /// the owning account. /// /// Container for the necessary parameters to execute the DisassociateIpamResourceDiscovery service method. /// /// The response from the DisassociateIpamResourceDiscovery service method, as returned by EC2. /// REST API Reference for DisassociateIpamResourceDiscovery Operation public virtual DisassociateIpamResourceDiscoveryResponse DisassociateIpamResourceDiscovery(DisassociateIpamResourceDiscoveryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateIpamResourceDiscoveryRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateIpamResourceDiscoveryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates a resource discovery from an Amazon VPC IPAM. A resource discovery is /// an IPAM component that enables IPAM to manage and monitor resources that belong to /// the owning account. /// /// Container for the necessary parameters to execute the DisassociateIpamResourceDiscovery service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateIpamResourceDiscovery service method, as returned by EC2. /// REST API Reference for DisassociateIpamResourceDiscovery Operation public virtual Task DisassociateIpamResourceDiscoveryAsync(DisassociateIpamResourceDiscoveryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateIpamResourceDiscoveryRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateIpamResourceDiscoveryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateNatGatewayAddress /// /// Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway. You /// cannot disassociate your primary EIP. For more information, see Edit /// secondary IP address associations in the Amazon VPC User Guide. /// /// /// /// While disassociating is in progress, you cannot associate/disassociate additional /// EIPs while the connections are being drained. You are, however, allowed to delete /// the NAT gateway. /// /// /// /// An EIP is released only at the end of MaxDrainDurationSeconds. It stays associated /// and supports the existing connections but does not support any new connections (new /// connections are distributed across the remaining associated EIPs). As the existing /// connections drain out, the EIPs (and the corresponding private IP addresses mapped /// to them) are released. /// /// /// Container for the necessary parameters to execute the DisassociateNatGatewayAddress service method. /// /// The response from the DisassociateNatGatewayAddress service method, as returned by EC2. /// REST API Reference for DisassociateNatGatewayAddress Operation public virtual DisassociateNatGatewayAddressResponse DisassociateNatGatewayAddress(DisassociateNatGatewayAddressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateNatGatewayAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateNatGatewayAddressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway. You /// cannot disassociate your primary EIP. For more information, see Edit /// secondary IP address associations in the Amazon VPC User Guide. /// /// /// /// While disassociating is in progress, you cannot associate/disassociate additional /// EIPs while the connections are being drained. You are, however, allowed to delete /// the NAT gateway. /// /// /// /// An EIP is released only at the end of MaxDrainDurationSeconds. It stays associated /// and supports the existing connections but does not support any new connections (new /// connections are distributed across the remaining associated EIPs). As the existing /// connections drain out, the EIPs (and the corresponding private IP addresses mapped /// to them) are released. /// /// /// Container for the necessary parameters to execute the DisassociateNatGatewayAddress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateNatGatewayAddress service method, as returned by EC2. /// REST API Reference for DisassociateNatGatewayAddress Operation public virtual Task DisassociateNatGatewayAddressAsync(DisassociateNatGatewayAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateNatGatewayAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateNatGatewayAddressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateRouteTable /// /// Disassociates a subnet or gateway from a route table. /// /// /// /// After you perform this action, the subnet no longer uses the routes in the route table. /// Instead, it uses the routes in the VPC's main route table. For more information about /// route tables, see Route /// tables in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the DisassociateRouteTable service method. /// /// The response from the DisassociateRouteTable service method, as returned by EC2. /// REST API Reference for DisassociateRouteTable Operation public virtual DisassociateRouteTableResponse DisassociateRouteTable(DisassociateRouteTableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateRouteTableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates a subnet or gateway from a route table. /// /// /// /// After you perform this action, the subnet no longer uses the routes in the route table. /// Instead, it uses the routes in the VPC's main route table. For more information about /// route tables, see Route /// tables in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the DisassociateRouteTable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateRouteTable service method, as returned by EC2. /// REST API Reference for DisassociateRouteTable Operation public virtual Task DisassociateRouteTableAsync(DisassociateRouteTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateRouteTableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateSubnetCidrBlock /// /// Disassociates a CIDR block from a subnet. Currently, you can disassociate an IPv6 /// CIDR block only. You must detach or delete all gateways and resources that are associated /// with the CIDR block before you can disassociate it. /// /// Container for the necessary parameters to execute the DisassociateSubnetCidrBlock service method. /// /// The response from the DisassociateSubnetCidrBlock service method, as returned by EC2. /// REST API Reference for DisassociateSubnetCidrBlock Operation public virtual DisassociateSubnetCidrBlockResponse DisassociateSubnetCidrBlock(DisassociateSubnetCidrBlockRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateSubnetCidrBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateSubnetCidrBlockResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates a CIDR block from a subnet. Currently, you can disassociate an IPv6 /// CIDR block only. You must detach or delete all gateways and resources that are associated /// with the CIDR block before you can disassociate it. /// /// Container for the necessary parameters to execute the DisassociateSubnetCidrBlock service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateSubnetCidrBlock service method, as returned by EC2. /// REST API Reference for DisassociateSubnetCidrBlock Operation public virtual Task DisassociateSubnetCidrBlockAsync(DisassociateSubnetCidrBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateSubnetCidrBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateSubnetCidrBlockResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateTransitGatewayMulticastDomain /// /// Disassociates the specified subnets from the transit gateway multicast domain. /// /// Container for the necessary parameters to execute the DisassociateTransitGatewayMulticastDomain service method. /// /// The response from the DisassociateTransitGatewayMulticastDomain service method, as returned by EC2. /// REST API Reference for DisassociateTransitGatewayMulticastDomain Operation public virtual DisassociateTransitGatewayMulticastDomainResponse DisassociateTransitGatewayMulticastDomain(DisassociateTransitGatewayMulticastDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateTransitGatewayMulticastDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateTransitGatewayMulticastDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates the specified subnets from the transit gateway multicast domain. /// /// Container for the necessary parameters to execute the DisassociateTransitGatewayMulticastDomain service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateTransitGatewayMulticastDomain service method, as returned by EC2. /// REST API Reference for DisassociateTransitGatewayMulticastDomain Operation public virtual Task DisassociateTransitGatewayMulticastDomainAsync(DisassociateTransitGatewayMulticastDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateTransitGatewayMulticastDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateTransitGatewayMulticastDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateTransitGatewayPolicyTable /// /// Removes the association between an an attachment and a policy table. /// /// Container for the necessary parameters to execute the DisassociateTransitGatewayPolicyTable service method. /// /// The response from the DisassociateTransitGatewayPolicyTable service method, as returned by EC2. /// REST API Reference for DisassociateTransitGatewayPolicyTable Operation public virtual DisassociateTransitGatewayPolicyTableResponse DisassociateTransitGatewayPolicyTable(DisassociateTransitGatewayPolicyTableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateTransitGatewayPolicyTableRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateTransitGatewayPolicyTableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes the association between an an attachment and a policy table. /// /// Container for the necessary parameters to execute the DisassociateTransitGatewayPolicyTable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateTransitGatewayPolicyTable service method, as returned by EC2. /// REST API Reference for DisassociateTransitGatewayPolicyTable Operation public virtual Task DisassociateTransitGatewayPolicyTableAsync(DisassociateTransitGatewayPolicyTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateTransitGatewayPolicyTableRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateTransitGatewayPolicyTableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateTransitGatewayRouteTable /// /// Disassociates a resource attachment from a transit gateway route table. /// /// Container for the necessary parameters to execute the DisassociateTransitGatewayRouteTable service method. /// /// The response from the DisassociateTransitGatewayRouteTable service method, as returned by EC2. /// REST API Reference for DisassociateTransitGatewayRouteTable Operation public virtual DisassociateTransitGatewayRouteTableResponse DisassociateTransitGatewayRouteTable(DisassociateTransitGatewayRouteTableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateTransitGatewayRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateTransitGatewayRouteTableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates a resource attachment from a transit gateway route table. /// /// Container for the necessary parameters to execute the DisassociateTransitGatewayRouteTable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateTransitGatewayRouteTable service method, as returned by EC2. /// REST API Reference for DisassociateTransitGatewayRouteTable Operation public virtual Task DisassociateTransitGatewayRouteTableAsync(DisassociateTransitGatewayRouteTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateTransitGatewayRouteTableRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateTransitGatewayRouteTableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateTrunkInterface /// /// /// /// This API action is currently in limited preview only. If you are interested /// in using this feature, contact your account manager. /// /// /// /// Removes an association between a branch network interface with a trunk network interface. /// /// /// Container for the necessary parameters to execute the DisassociateTrunkInterface service method. /// /// The response from the DisassociateTrunkInterface service method, as returned by EC2. /// REST API Reference for DisassociateTrunkInterface Operation public virtual DisassociateTrunkInterfaceResponse DisassociateTrunkInterface(DisassociateTrunkInterfaceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateTrunkInterfaceRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateTrunkInterfaceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// This API action is currently in limited preview only. If you are interested /// in using this feature, contact your account manager. /// /// /// /// Removes an association between a branch network interface with a trunk network interface. /// /// /// Container for the necessary parameters to execute the DisassociateTrunkInterface service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateTrunkInterface service method, as returned by EC2. /// REST API Reference for DisassociateTrunkInterface Operation public virtual Task DisassociateTrunkInterfaceAsync(DisassociateTrunkInterfaceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateTrunkInterfaceRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateTrunkInterfaceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateVpcCidrBlock /// /// Disassociates a CIDR block from a VPC. To disassociate the CIDR block, you must specify /// its association ID. You can get the association ID by using DescribeVpcs. You /// must detach or delete all gateways and resources that are associated with the CIDR /// block before you can disassociate it. /// /// /// /// You cannot disassociate the CIDR block with which you originally created the VPC (the /// primary CIDR block). /// /// /// Container for the necessary parameters to execute the DisassociateVpcCidrBlock service method. /// /// The response from the DisassociateVpcCidrBlock service method, as returned by EC2. /// REST API Reference for DisassociateVpcCidrBlock Operation public virtual DisassociateVpcCidrBlockResponse DisassociateVpcCidrBlock(DisassociateVpcCidrBlockRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateVpcCidrBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateVpcCidrBlockResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates a CIDR block from a VPC. To disassociate the CIDR block, you must specify /// its association ID. You can get the association ID by using DescribeVpcs. You /// must detach or delete all gateways and resources that are associated with the CIDR /// block before you can disassociate it. /// /// /// /// You cannot disassociate the CIDR block with which you originally created the VPC (the /// primary CIDR block). /// /// /// Container for the necessary parameters to execute the DisassociateVpcCidrBlock service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateVpcCidrBlock service method, as returned by EC2. /// REST API Reference for DisassociateVpcCidrBlock Operation public virtual Task DisassociateVpcCidrBlockAsync(DisassociateVpcCidrBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateVpcCidrBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateVpcCidrBlockResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableAddressTransfer /// /// Enables Elastic IP address transfer. For more information, see Transfer /// Elastic IP addresses in the Amazon Virtual Private Cloud User Guide. /// /// Container for the necessary parameters to execute the EnableAddressTransfer service method. /// /// The response from the EnableAddressTransfer service method, as returned by EC2. /// REST API Reference for EnableAddressTransfer Operation public virtual EnableAddressTransferResponse EnableAddressTransfer(EnableAddressTransferRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableAddressTransferRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableAddressTransferResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables Elastic IP address transfer. For more information, see Transfer /// Elastic IP addresses in the Amazon Virtual Private Cloud User Guide. /// /// Container for the necessary parameters to execute the EnableAddressTransfer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableAddressTransfer service method, as returned by EC2. /// REST API Reference for EnableAddressTransfer Operation public virtual Task EnableAddressTransferAsync(EnableAddressTransferRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableAddressTransferRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableAddressTransferResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableAwsNetworkPerformanceMetricSubscription /// /// Enables Infrastructure Performance subscriptions. /// /// Container for the necessary parameters to execute the EnableAwsNetworkPerformanceMetricSubscription service method. /// /// The response from the EnableAwsNetworkPerformanceMetricSubscription service method, as returned by EC2. /// REST API Reference for EnableAwsNetworkPerformanceMetricSubscription Operation public virtual EnableAwsNetworkPerformanceMetricSubscriptionResponse EnableAwsNetworkPerformanceMetricSubscription(EnableAwsNetworkPerformanceMetricSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableAwsNetworkPerformanceMetricSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableAwsNetworkPerformanceMetricSubscriptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables Infrastructure Performance subscriptions. /// /// Container for the necessary parameters to execute the EnableAwsNetworkPerformanceMetricSubscription service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableAwsNetworkPerformanceMetricSubscription service method, as returned by EC2. /// REST API Reference for EnableAwsNetworkPerformanceMetricSubscription Operation public virtual Task EnableAwsNetworkPerformanceMetricSubscriptionAsync(EnableAwsNetworkPerformanceMetricSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableAwsNetworkPerformanceMetricSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableAwsNetworkPerformanceMetricSubscriptionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableEbsEncryptionByDefault /// /// Enables EBS encryption by default for your account in the current Region. /// /// /// /// After you enable encryption by default, the EBS volumes that you create are always /// encrypted, either using the default KMS key or the KMS key that you specified when /// you created each volume. For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// You can specify the default KMS key for encryption by default using ModifyEbsDefaultKmsKeyId /// or ResetEbsDefaultKmsKeyId. /// /// /// /// Enabling encryption by default has no effect on the encryption status of your existing /// volumes. /// /// /// /// After you enable encryption by default, you can no longer launch instances using instance /// types that do not support encryption. For more information, see Supported /// instance types. /// /// /// Container for the necessary parameters to execute the EnableEbsEncryptionByDefault service method. /// /// The response from the EnableEbsEncryptionByDefault service method, as returned by EC2. /// REST API Reference for EnableEbsEncryptionByDefault Operation public virtual EnableEbsEncryptionByDefaultResponse EnableEbsEncryptionByDefault(EnableEbsEncryptionByDefaultRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableEbsEncryptionByDefaultRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableEbsEncryptionByDefaultResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables EBS encryption by default for your account in the current Region. /// /// /// /// After you enable encryption by default, the EBS volumes that you create are always /// encrypted, either using the default KMS key or the KMS key that you specified when /// you created each volume. For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// You can specify the default KMS key for encryption by default using ModifyEbsDefaultKmsKeyId /// or ResetEbsDefaultKmsKeyId. /// /// /// /// Enabling encryption by default has no effect on the encryption status of your existing /// volumes. /// /// /// /// After you enable encryption by default, you can no longer launch instances using instance /// types that do not support encryption. For more information, see Supported /// instance types. /// /// /// Container for the necessary parameters to execute the EnableEbsEncryptionByDefault service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableEbsEncryptionByDefault service method, as returned by EC2. /// REST API Reference for EnableEbsEncryptionByDefault Operation public virtual Task EnableEbsEncryptionByDefaultAsync(EnableEbsEncryptionByDefaultRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableEbsEncryptionByDefaultRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableEbsEncryptionByDefaultResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableFastLaunch /// /// When you enable faster launching for a Windows AMI, images are pre-provisioned, using /// snapshots to launch instances up to 65% faster. To create the optimized Windows image, /// Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required. /// Then it creates a set of reserved snapshots that are used for subsequent launches. /// The reserved snapshots are automatically replenished as they are used, depending on /// your settings for launch frequency. /// /// /// /// To change these settings, you must own the AMI. /// /// /// /// Container for the necessary parameters to execute the EnableFastLaunch service method. /// /// The response from the EnableFastLaunch service method, as returned by EC2. /// REST API Reference for EnableFastLaunch Operation public virtual EnableFastLaunchResponse EnableFastLaunch(EnableFastLaunchRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableFastLaunchRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableFastLaunchResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// When you enable faster launching for a Windows AMI, images are pre-provisioned, using /// snapshots to launch instances up to 65% faster. To create the optimized Windows image, /// Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required. /// Then it creates a set of reserved snapshots that are used for subsequent launches. /// The reserved snapshots are automatically replenished as they are used, depending on /// your settings for launch frequency. /// /// /// /// To change these settings, you must own the AMI. /// /// /// /// Container for the necessary parameters to execute the EnableFastLaunch service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableFastLaunch service method, as returned by EC2. /// REST API Reference for EnableFastLaunch Operation public virtual Task EnableFastLaunchAsync(EnableFastLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableFastLaunchRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableFastLaunchResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableFastSnapshotRestores /// /// Enables fast snapshot restores for the specified snapshots in the specified Availability /// Zones. /// /// /// /// You get the full benefit of fast snapshot restores after they enter the enabled /// state. To get the current state of fast snapshot restores, use DescribeFastSnapshotRestores. /// To disable fast snapshot restores, use DisableFastSnapshotRestores. /// /// /// /// For more information, see Amazon /// EBS fast snapshot restore in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the EnableFastSnapshotRestores service method. /// /// The response from the EnableFastSnapshotRestores service method, as returned by EC2. /// REST API Reference for EnableFastSnapshotRestores Operation public virtual EnableFastSnapshotRestoresResponse EnableFastSnapshotRestores(EnableFastSnapshotRestoresRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableFastSnapshotRestoresRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableFastSnapshotRestoresResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables fast snapshot restores for the specified snapshots in the specified Availability /// Zones. /// /// /// /// You get the full benefit of fast snapshot restores after they enter the enabled /// state. To get the current state of fast snapshot restores, use DescribeFastSnapshotRestores. /// To disable fast snapshot restores, use DisableFastSnapshotRestores. /// /// /// /// For more information, see Amazon /// EBS fast snapshot restore in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the EnableFastSnapshotRestores service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableFastSnapshotRestores service method, as returned by EC2. /// REST API Reference for EnableFastSnapshotRestores Operation public virtual Task EnableFastSnapshotRestoresAsync(EnableFastSnapshotRestoresRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableFastSnapshotRestoresRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableFastSnapshotRestoresResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableImageDeprecation /// /// Enables deprecation of the specified AMI at the specified date and time. /// /// /// /// For more information, see Deprecate /// an AMI in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the EnableImageDeprecation service method. /// /// The response from the EnableImageDeprecation service method, as returned by EC2. /// REST API Reference for EnableImageDeprecation Operation public virtual EnableImageDeprecationResponse EnableImageDeprecation(EnableImageDeprecationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableImageDeprecationRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableImageDeprecationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables deprecation of the specified AMI at the specified date and time. /// /// /// /// For more information, see Deprecate /// an AMI in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the EnableImageDeprecation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableImageDeprecation service method, as returned by EC2. /// REST API Reference for EnableImageDeprecation Operation public virtual Task EnableImageDeprecationAsync(EnableImageDeprecationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableImageDeprecationRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableImageDeprecationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableIpamOrganizationAdminAccount /// /// Enable an Organizations member account as the IPAM admin account. You cannot select /// the Organizations management account as the IPAM admin account. For more information, /// see Enable /// integration with Organizations in the Amazon VPC IPAM User Guide. /// /// Container for the necessary parameters to execute the EnableIpamOrganizationAdminAccount service method. /// /// The response from the EnableIpamOrganizationAdminAccount service method, as returned by EC2. /// REST API Reference for EnableIpamOrganizationAdminAccount Operation public virtual EnableIpamOrganizationAdminAccountResponse EnableIpamOrganizationAdminAccount(EnableIpamOrganizationAdminAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableIpamOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableIpamOrganizationAdminAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enable an Organizations member account as the IPAM admin account. You cannot select /// the Organizations management account as the IPAM admin account. For more information, /// see Enable /// integration with Organizations in the Amazon VPC IPAM User Guide. /// /// Container for the necessary parameters to execute the EnableIpamOrganizationAdminAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableIpamOrganizationAdminAccount service method, as returned by EC2. /// REST API Reference for EnableIpamOrganizationAdminAccount Operation public virtual Task EnableIpamOrganizationAdminAccountAsync(EnableIpamOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableIpamOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableIpamOrganizationAdminAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableReachabilityAnalyzerOrganizationSharing /// /// Establishes a trust relationship between Reachability Analyzer and Organizations. /// This operation must be performed by the management account for the organization. /// /// /// /// After you establish a trust relationship, a user in the management account or a delegated /// administrator account can run a cross-account analysis using resources from the member /// accounts. /// /// /// Container for the necessary parameters to execute the EnableReachabilityAnalyzerOrganizationSharing service method. /// /// The response from the EnableReachabilityAnalyzerOrganizationSharing service method, as returned by EC2. /// REST API Reference for EnableReachabilityAnalyzerOrganizationSharing Operation public virtual EnableReachabilityAnalyzerOrganizationSharingResponse EnableReachabilityAnalyzerOrganizationSharing(EnableReachabilityAnalyzerOrganizationSharingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableReachabilityAnalyzerOrganizationSharingRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableReachabilityAnalyzerOrganizationSharingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Establishes a trust relationship between Reachability Analyzer and Organizations. /// This operation must be performed by the management account for the organization. /// /// /// /// After you establish a trust relationship, a user in the management account or a delegated /// administrator account can run a cross-account analysis using resources from the member /// accounts. /// /// /// Container for the necessary parameters to execute the EnableReachabilityAnalyzerOrganizationSharing service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableReachabilityAnalyzerOrganizationSharing service method, as returned by EC2. /// REST API Reference for EnableReachabilityAnalyzerOrganizationSharing Operation public virtual Task EnableReachabilityAnalyzerOrganizationSharingAsync(EnableReachabilityAnalyzerOrganizationSharingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableReachabilityAnalyzerOrganizationSharingRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableReachabilityAnalyzerOrganizationSharingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableSerialConsoleAccess /// /// Enables access to the EC2 serial console of all instances for your account. By default, /// access to the EC2 serial console is disabled for your account. For more information, /// see Manage /// account access to the EC2 serial console in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the EnableSerialConsoleAccess service method. /// /// The response from the EnableSerialConsoleAccess service method, as returned by EC2. /// REST API Reference for EnableSerialConsoleAccess Operation public virtual EnableSerialConsoleAccessResponse EnableSerialConsoleAccess(EnableSerialConsoleAccessRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableSerialConsoleAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableSerialConsoleAccessResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables access to the EC2 serial console of all instances for your account. By default, /// access to the EC2 serial console is disabled for your account. For more information, /// see Manage /// account access to the EC2 serial console in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the EnableSerialConsoleAccess service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableSerialConsoleAccess service method, as returned by EC2. /// REST API Reference for EnableSerialConsoleAccess Operation public virtual Task EnableSerialConsoleAccessAsync(EnableSerialConsoleAccessRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableSerialConsoleAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableSerialConsoleAccessResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableTransitGatewayRouteTablePropagation /// /// Enables the specified attachment to propagate routes to the specified propagation /// route table. /// /// Container for the necessary parameters to execute the EnableTransitGatewayRouteTablePropagation service method. /// /// The response from the EnableTransitGatewayRouteTablePropagation service method, as returned by EC2. /// REST API Reference for EnableTransitGatewayRouteTablePropagation Operation public virtual EnableTransitGatewayRouteTablePropagationResponse EnableTransitGatewayRouteTablePropagation(EnableTransitGatewayRouteTablePropagationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableTransitGatewayRouteTablePropagationRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableTransitGatewayRouteTablePropagationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables the specified attachment to propagate routes to the specified propagation /// route table. /// /// Container for the necessary parameters to execute the EnableTransitGatewayRouteTablePropagation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableTransitGatewayRouteTablePropagation service method, as returned by EC2. /// REST API Reference for EnableTransitGatewayRouteTablePropagation Operation public virtual Task EnableTransitGatewayRouteTablePropagationAsync(EnableTransitGatewayRouteTablePropagationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableTransitGatewayRouteTablePropagationRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableTransitGatewayRouteTablePropagationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableVgwRoutePropagation /// /// Enables a virtual private gateway (VGW) to propagate routes to the specified route /// table of a VPC. /// /// Container for the necessary parameters to execute the EnableVgwRoutePropagation service method. /// /// The response from the EnableVgwRoutePropagation service method, as returned by EC2. /// REST API Reference for EnableVgwRoutePropagation Operation public virtual EnableVgwRoutePropagationResponse EnableVgwRoutePropagation(EnableVgwRoutePropagationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableVgwRoutePropagationRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableVgwRoutePropagationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables a virtual private gateway (VGW) to propagate routes to the specified route /// table of a VPC. /// /// Container for the necessary parameters to execute the EnableVgwRoutePropagation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableVgwRoutePropagation service method, as returned by EC2. /// REST API Reference for EnableVgwRoutePropagation Operation public virtual Task EnableVgwRoutePropagationAsync(EnableVgwRoutePropagationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableVgwRoutePropagationRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableVgwRoutePropagationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableVolumeIO /// /// Enables I/O operations for a volume that had I/O operations disabled because the data /// on the volume was potentially inconsistent. /// /// Container for the necessary parameters to execute the EnableVolumeIO service method. /// /// The response from the EnableVolumeIO service method, as returned by EC2. /// REST API Reference for EnableVolumeIO Operation public virtual EnableVolumeIOResponse EnableVolumeIO(EnableVolumeIORequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableVolumeIORequestMarshaller.Instance; options.ResponseUnmarshaller = EnableVolumeIOResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables I/O operations for a volume that had I/O operations disabled because the data /// on the volume was potentially inconsistent. /// /// Container for the necessary parameters to execute the EnableVolumeIO service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableVolumeIO service method, as returned by EC2. /// REST API Reference for EnableVolumeIO Operation public virtual Task EnableVolumeIOAsync(EnableVolumeIORequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableVolumeIORequestMarshaller.Instance; options.ResponseUnmarshaller = EnableVolumeIOResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableVpcClassicLink /// /// /// /// This action is deprecated. /// /// /// /// Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your ClassicLink-enabled /// VPC to allow communication over private IP addresses. You cannot enable your VPC for /// ClassicLink if any of your VPC route tables have existing routes for address ranges /// within the 10.0.0.0/8 IP address range, excluding local routes for VPCs /// in the 10.0.0.0/16 and 10.1.0.0/16 IP address ranges. /// /// /// Container for the necessary parameters to execute the EnableVpcClassicLink service method. /// /// The response from the EnableVpcClassicLink service method, as returned by EC2. /// REST API Reference for EnableVpcClassicLink Operation public virtual EnableVpcClassicLinkResponse EnableVpcClassicLink(EnableVpcClassicLinkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableVpcClassicLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableVpcClassicLinkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// This action is deprecated. /// /// /// /// Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your ClassicLink-enabled /// VPC to allow communication over private IP addresses. You cannot enable your VPC for /// ClassicLink if any of your VPC route tables have existing routes for address ranges /// within the 10.0.0.0/8 IP address range, excluding local routes for VPCs /// in the 10.0.0.0/16 and 10.1.0.0/16 IP address ranges. /// /// /// Container for the necessary parameters to execute the EnableVpcClassicLink service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableVpcClassicLink service method, as returned by EC2. /// REST API Reference for EnableVpcClassicLink Operation public virtual Task EnableVpcClassicLinkAsync(EnableVpcClassicLinkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableVpcClassicLinkRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableVpcClassicLinkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableVpcClassicLinkDnsSupport /// /// /// /// This action is deprecated. /// /// /// /// Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the /// DNS hostname of a linked EC2-Classic instance resolves to its private IP address when /// addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname /// of an instance in a VPC resolves to its private IP address when addressed from a linked /// EC2-Classic instance. /// /// /// /// You must specify a VPC ID in the request. /// /// /// Container for the necessary parameters to execute the EnableVpcClassicLinkDnsSupport service method. /// /// The response from the EnableVpcClassicLinkDnsSupport service method, as returned by EC2. /// REST API Reference for EnableVpcClassicLinkDnsSupport Operation public virtual EnableVpcClassicLinkDnsSupportResponse EnableVpcClassicLinkDnsSupport(EnableVpcClassicLinkDnsSupportRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableVpcClassicLinkDnsSupportRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableVpcClassicLinkDnsSupportResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// This action is deprecated. /// /// /// /// Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the /// DNS hostname of a linked EC2-Classic instance resolves to its private IP address when /// addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname /// of an instance in a VPC resolves to its private IP address when addressed from a linked /// EC2-Classic instance. /// /// /// /// You must specify a VPC ID in the request. /// /// /// Container for the necessary parameters to execute the EnableVpcClassicLinkDnsSupport service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableVpcClassicLinkDnsSupport service method, as returned by EC2. /// REST API Reference for EnableVpcClassicLinkDnsSupport Operation public virtual Task EnableVpcClassicLinkDnsSupportAsync(EnableVpcClassicLinkDnsSupportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableVpcClassicLinkDnsSupportRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableVpcClassicLinkDnsSupportResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ExportClientVpnClientCertificateRevocationList /// /// Downloads the client certificate revocation list for the specified Client VPN endpoint. /// /// Container for the necessary parameters to execute the ExportClientVpnClientCertificateRevocationList service method. /// /// The response from the ExportClientVpnClientCertificateRevocationList service method, as returned by EC2. /// REST API Reference for ExportClientVpnClientCertificateRevocationList Operation public virtual ExportClientVpnClientCertificateRevocationListResponse ExportClientVpnClientCertificateRevocationList(ExportClientVpnClientCertificateRevocationListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExportClientVpnClientCertificateRevocationListRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportClientVpnClientCertificateRevocationListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Downloads the client certificate revocation list for the specified Client VPN endpoint. /// /// Container for the necessary parameters to execute the ExportClientVpnClientCertificateRevocationList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ExportClientVpnClientCertificateRevocationList service method, as returned by EC2. /// REST API Reference for ExportClientVpnClientCertificateRevocationList Operation public virtual Task ExportClientVpnClientCertificateRevocationListAsync(ExportClientVpnClientCertificateRevocationListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ExportClientVpnClientCertificateRevocationListRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportClientVpnClientCertificateRevocationListResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ExportClientVpnClientConfiguration /// /// Downloads the contents of the Client VPN endpoint configuration file for the specified /// Client VPN endpoint. The Client VPN endpoint configuration file includes the Client /// VPN endpoint and certificate information clients need to establish a connection with /// the Client VPN endpoint. /// /// Container for the necessary parameters to execute the ExportClientVpnClientConfiguration service method. /// /// The response from the ExportClientVpnClientConfiguration service method, as returned by EC2. /// REST API Reference for ExportClientVpnClientConfiguration Operation public virtual ExportClientVpnClientConfigurationResponse ExportClientVpnClientConfiguration(ExportClientVpnClientConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExportClientVpnClientConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportClientVpnClientConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Downloads the contents of the Client VPN endpoint configuration file for the specified /// Client VPN endpoint. The Client VPN endpoint configuration file includes the Client /// VPN endpoint and certificate information clients need to establish a connection with /// the Client VPN endpoint. /// /// Container for the necessary parameters to execute the ExportClientVpnClientConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ExportClientVpnClientConfiguration service method, as returned by EC2. /// REST API Reference for ExportClientVpnClientConfiguration Operation public virtual Task ExportClientVpnClientConfigurationAsync(ExportClientVpnClientConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ExportClientVpnClientConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportClientVpnClientConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ExportImage /// /// Exports an Amazon Machine Image (AMI) to a VM file. For more information, see Exporting /// a VM directly from an Amazon Machine Image (AMI) in the VM Import/Export User /// Guide. /// /// Container for the necessary parameters to execute the ExportImage service method. /// /// The response from the ExportImage service method, as returned by EC2. /// REST API Reference for ExportImage Operation public virtual ExportImageResponse ExportImage(ExportImageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExportImageRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportImageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Exports an Amazon Machine Image (AMI) to a VM file. For more information, see Exporting /// a VM directly from an Amazon Machine Image (AMI) in the VM Import/Export User /// Guide. /// /// Container for the necessary parameters to execute the ExportImage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ExportImage service method, as returned by EC2. /// REST API Reference for ExportImage Operation public virtual Task ExportImageAsync(ExportImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ExportImageRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportImageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ExportTransitGatewayRoutes /// /// Exports routes from the specified transit gateway route table to the specified S3 /// bucket. By default, all routes are exported. Alternatively, you can filter by CIDR /// range. /// /// /// /// The routes are saved to the specified bucket in a JSON file. For more information, /// see Export /// Route Tables to Amazon S3 in Transit Gateways. /// /// /// Container for the necessary parameters to execute the ExportTransitGatewayRoutes service method. /// /// The response from the ExportTransitGatewayRoutes service method, as returned by EC2. /// REST API Reference for ExportTransitGatewayRoutes Operation public virtual ExportTransitGatewayRoutesResponse ExportTransitGatewayRoutes(ExportTransitGatewayRoutesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExportTransitGatewayRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportTransitGatewayRoutesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Exports routes from the specified transit gateway route table to the specified S3 /// bucket. By default, all routes are exported. Alternatively, you can filter by CIDR /// range. /// /// /// /// The routes are saved to the specified bucket in a JSON file. For more information, /// see Export /// Route Tables to Amazon S3 in Transit Gateways. /// /// /// Container for the necessary parameters to execute the ExportTransitGatewayRoutes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ExportTransitGatewayRoutes service method, as returned by EC2. /// REST API Reference for ExportTransitGatewayRoutes Operation public virtual Task ExportTransitGatewayRoutesAsync(ExportTransitGatewayRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ExportTransitGatewayRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportTransitGatewayRoutesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAssociatedEnclaveCertificateIamRoles /// /// Returns the IAM roles that are associated with the specified ACM (ACM) certificate. /// It also returns the name of the Amazon S3 bucket and the Amazon S3 object key where /// the certificate, certificate chain, and encrypted private key bundle are stored, and /// the ARN of the KMS key that's used to encrypt the private key. /// /// Container for the necessary parameters to execute the GetAssociatedEnclaveCertificateIamRoles service method. /// /// The response from the GetAssociatedEnclaveCertificateIamRoles service method, as returned by EC2. /// REST API Reference for GetAssociatedEnclaveCertificateIamRoles Operation public virtual GetAssociatedEnclaveCertificateIamRolesResponse GetAssociatedEnclaveCertificateIamRoles(GetAssociatedEnclaveCertificateIamRolesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssociatedEnclaveCertificateIamRolesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssociatedEnclaveCertificateIamRolesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the IAM roles that are associated with the specified ACM (ACM) certificate. /// It also returns the name of the Amazon S3 bucket and the Amazon S3 object key where /// the certificate, certificate chain, and encrypted private key bundle are stored, and /// the ARN of the KMS key that's used to encrypt the private key. /// /// Container for the necessary parameters to execute the GetAssociatedEnclaveCertificateIamRoles service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAssociatedEnclaveCertificateIamRoles service method, as returned by EC2. /// REST API Reference for GetAssociatedEnclaveCertificateIamRoles Operation public virtual Task GetAssociatedEnclaveCertificateIamRolesAsync(GetAssociatedEnclaveCertificateIamRolesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssociatedEnclaveCertificateIamRolesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssociatedEnclaveCertificateIamRolesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAssociatedIpv6PoolCidrs /// /// Gets information about the IPv6 CIDR block associations for a specified IPv6 address /// pool. /// /// Container for the necessary parameters to execute the GetAssociatedIpv6PoolCidrs service method. /// /// The response from the GetAssociatedIpv6PoolCidrs service method, as returned by EC2. /// REST API Reference for GetAssociatedIpv6PoolCidrs Operation public virtual GetAssociatedIpv6PoolCidrsResponse GetAssociatedIpv6PoolCidrs(GetAssociatedIpv6PoolCidrsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssociatedIpv6PoolCidrsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssociatedIpv6PoolCidrsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about the IPv6 CIDR block associations for a specified IPv6 address /// pool. /// /// Container for the necessary parameters to execute the GetAssociatedIpv6PoolCidrs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAssociatedIpv6PoolCidrs service method, as returned by EC2. /// REST API Reference for GetAssociatedIpv6PoolCidrs Operation public virtual Task GetAssociatedIpv6PoolCidrsAsync(GetAssociatedIpv6PoolCidrsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssociatedIpv6PoolCidrsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssociatedIpv6PoolCidrsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAwsNetworkPerformanceData /// /// Gets network performance data. /// /// Container for the necessary parameters to execute the GetAwsNetworkPerformanceData service method. /// /// The response from the GetAwsNetworkPerformanceData service method, as returned by EC2. /// REST API Reference for GetAwsNetworkPerformanceData Operation public virtual GetAwsNetworkPerformanceDataResponse GetAwsNetworkPerformanceData(GetAwsNetworkPerformanceDataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAwsNetworkPerformanceDataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAwsNetworkPerformanceDataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets network performance data. /// /// Container for the necessary parameters to execute the GetAwsNetworkPerformanceData service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAwsNetworkPerformanceData service method, as returned by EC2. /// REST API Reference for GetAwsNetworkPerformanceData Operation public virtual Task GetAwsNetworkPerformanceDataAsync(GetAwsNetworkPerformanceDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAwsNetworkPerformanceDataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAwsNetworkPerformanceDataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCapacityReservationUsage /// /// Gets usage information about a Capacity Reservation. If the Capacity Reservation is /// shared, it shows usage information for the Capacity Reservation owner and each Amazon /// Web Services account that is currently using the shared capacity. If the Capacity /// Reservation is not shared, it shows only the Capacity Reservation owner's usage. /// /// Container for the necessary parameters to execute the GetCapacityReservationUsage service method. /// /// The response from the GetCapacityReservationUsage service method, as returned by EC2. /// REST API Reference for GetCapacityReservationUsage Operation public virtual GetCapacityReservationUsageResponse GetCapacityReservationUsage(GetCapacityReservationUsageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCapacityReservationUsageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCapacityReservationUsageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets usage information about a Capacity Reservation. If the Capacity Reservation is /// shared, it shows usage information for the Capacity Reservation owner and each Amazon /// Web Services account that is currently using the shared capacity. If the Capacity /// Reservation is not shared, it shows only the Capacity Reservation owner's usage. /// /// Container for the necessary parameters to execute the GetCapacityReservationUsage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCapacityReservationUsage service method, as returned by EC2. /// REST API Reference for GetCapacityReservationUsage Operation public virtual Task GetCapacityReservationUsageAsync(GetCapacityReservationUsageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCapacityReservationUsageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCapacityReservationUsageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCoipPoolUsage /// /// Describes the allocations from the specified customer-owned address pool. /// /// Container for the necessary parameters to execute the GetCoipPoolUsage service method. /// /// The response from the GetCoipPoolUsage service method, as returned by EC2. /// REST API Reference for GetCoipPoolUsage Operation public virtual GetCoipPoolUsageResponse GetCoipPoolUsage(GetCoipPoolUsageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoipPoolUsageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoipPoolUsageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the allocations from the specified customer-owned address pool. /// /// Container for the necessary parameters to execute the GetCoipPoolUsage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCoipPoolUsage service method, as returned by EC2. /// REST API Reference for GetCoipPoolUsage Operation public virtual Task GetCoipPoolUsageAsync(GetCoipPoolUsageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoipPoolUsageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoipPoolUsageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetConsoleOutput /// /// Gets the console output for the specified instance. For Linux instances, the instance /// console output displays the exact console output that would normally be displayed /// on a physical monitor attached to a computer. For Windows instances, the instance /// console output includes the last three system event log errors. /// /// /// /// By default, the console output returns buffered information that was posted shortly /// after an instance transition state (start, stop, reboot, or terminate). This information /// is available for at least one hour after the most recent post. Only the most recent /// 64 KB of console output is available. /// /// /// /// You can optionally retrieve the latest serial console output at any time during the /// instance lifecycle. This option is supported on instance types that use the Nitro /// hypervisor. /// /// /// /// For more information, see Instance /// console output in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the GetConsoleOutput service method. /// /// The response from the GetConsoleOutput service method, as returned by EC2. /// REST API Reference for GetConsoleOutput Operation public virtual GetConsoleOutputResponse GetConsoleOutput(GetConsoleOutputRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConsoleOutputRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConsoleOutputResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the console output for the specified instance. For Linux instances, the instance /// console output displays the exact console output that would normally be displayed /// on a physical monitor attached to a computer. For Windows instances, the instance /// console output includes the last three system event log errors. /// /// /// /// By default, the console output returns buffered information that was posted shortly /// after an instance transition state (start, stop, reboot, or terminate). This information /// is available for at least one hour after the most recent post. Only the most recent /// 64 KB of console output is available. /// /// /// /// You can optionally retrieve the latest serial console output at any time during the /// instance lifecycle. This option is supported on instance types that use the Nitro /// hypervisor. /// /// /// /// For more information, see Instance /// console output in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the GetConsoleOutput service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetConsoleOutput service method, as returned by EC2. /// REST API Reference for GetConsoleOutput Operation public virtual Task GetConsoleOutputAsync(GetConsoleOutputRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetConsoleOutputRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConsoleOutputResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetConsoleScreenshot /// /// Retrieve a JPG-format screenshot of a running instance to help with troubleshooting. /// /// /// /// The returned content is Base64-encoded. /// /// /// Container for the necessary parameters to execute the GetConsoleScreenshot service method. /// /// The response from the GetConsoleScreenshot service method, as returned by EC2. /// REST API Reference for GetConsoleScreenshot Operation public virtual GetConsoleScreenshotResponse GetConsoleScreenshot(GetConsoleScreenshotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConsoleScreenshotRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConsoleScreenshotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieve a JPG-format screenshot of a running instance to help with troubleshooting. /// /// /// /// The returned content is Base64-encoded. /// /// /// Container for the necessary parameters to execute the GetConsoleScreenshot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetConsoleScreenshot service method, as returned by EC2. /// REST API Reference for GetConsoleScreenshot Operation public virtual Task GetConsoleScreenshotAsync(GetConsoleScreenshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetConsoleScreenshotRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConsoleScreenshotResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDefaultCreditSpecification /// /// Describes the default credit option for CPU usage of a burstable performance instance /// family. /// /// /// /// For more information, see Burstable /// performance instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the GetDefaultCreditSpecification service method. /// /// The response from the GetDefaultCreditSpecification service method, as returned by EC2. /// REST API Reference for GetDefaultCreditSpecification Operation public virtual GetDefaultCreditSpecificationResponse GetDefaultCreditSpecification(GetDefaultCreditSpecificationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDefaultCreditSpecificationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDefaultCreditSpecificationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the default credit option for CPU usage of a burstable performance instance /// family. /// /// /// /// For more information, see Burstable /// performance instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the GetDefaultCreditSpecification service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDefaultCreditSpecification service method, as returned by EC2. /// REST API Reference for GetDefaultCreditSpecification Operation public virtual Task GetDefaultCreditSpecificationAsync(GetDefaultCreditSpecificationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDefaultCreditSpecificationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDefaultCreditSpecificationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetEbsDefaultKmsKeyId /// /// Describes the default KMS key for EBS encryption by default for your account in this /// Region. You can change the default KMS key for encryption by default using ModifyEbsDefaultKmsKeyId /// or ResetEbsDefaultKmsKeyId. /// /// /// /// For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the GetEbsDefaultKmsKeyId service method. /// /// The response from the GetEbsDefaultKmsKeyId service method, as returned by EC2. /// REST API Reference for GetEbsDefaultKmsKeyId Operation public virtual GetEbsDefaultKmsKeyIdResponse GetEbsDefaultKmsKeyId(GetEbsDefaultKmsKeyIdRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEbsDefaultKmsKeyIdRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEbsDefaultKmsKeyIdResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the default KMS key for EBS encryption by default for your account in this /// Region. You can change the default KMS key for encryption by default using ModifyEbsDefaultKmsKeyId /// or ResetEbsDefaultKmsKeyId. /// /// /// /// For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the GetEbsDefaultKmsKeyId service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEbsDefaultKmsKeyId service method, as returned by EC2. /// REST API Reference for GetEbsDefaultKmsKeyId Operation public virtual Task GetEbsDefaultKmsKeyIdAsync(GetEbsDefaultKmsKeyIdRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEbsDefaultKmsKeyIdRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEbsDefaultKmsKeyIdResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetEbsEncryptionByDefault /// /// Describes whether EBS encryption by default is enabled for your account in the current /// Region. /// /// /// /// For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the GetEbsEncryptionByDefault service method. /// /// The response from the GetEbsEncryptionByDefault service method, as returned by EC2. /// REST API Reference for GetEbsEncryptionByDefault Operation public virtual GetEbsEncryptionByDefaultResponse GetEbsEncryptionByDefault(GetEbsEncryptionByDefaultRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEbsEncryptionByDefaultRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEbsEncryptionByDefaultResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes whether EBS encryption by default is enabled for your account in the current /// Region. /// /// /// /// For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the GetEbsEncryptionByDefault service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEbsEncryptionByDefault service method, as returned by EC2. /// REST API Reference for GetEbsEncryptionByDefault Operation public virtual Task GetEbsEncryptionByDefaultAsync(GetEbsEncryptionByDefaultRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEbsEncryptionByDefaultRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEbsEncryptionByDefaultResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetFlowLogsIntegrationTemplate /// /// Generates a CloudFormation template that streamlines and automates the integration /// of VPC flow logs with Amazon Athena. This make it easier for you to query and gain /// insights from VPC flow logs data. Based on the information that you provide, we configure /// resources in the template to do the following: /// ///
  • /// /// Create a table in Athena that maps fields to a custom log format /// ///
  • /// /// Create a Lambda function that updates the table with new partitions on a daily, weekly, /// or monthly basis /// ///
  • /// /// Create a table partitioned between two timestamps in the past /// ///
  • /// /// Create a set of named queries in Athena that you can use to get started quickly /// ///
/// /// GetFlowLogsIntegrationTemplate does not support integration between /// Amazon Web Services Transit Gateway Flow Logs and Amazon Athena. /// /// ///
/// Container for the necessary parameters to execute the GetFlowLogsIntegrationTemplate service method. /// /// The response from the GetFlowLogsIntegrationTemplate service method, as returned by EC2. /// REST API Reference for GetFlowLogsIntegrationTemplate Operation public virtual GetFlowLogsIntegrationTemplateResponse GetFlowLogsIntegrationTemplate(GetFlowLogsIntegrationTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFlowLogsIntegrationTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFlowLogsIntegrationTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Generates a CloudFormation template that streamlines and automates the integration /// of VPC flow logs with Amazon Athena. This make it easier for you to query and gain /// insights from VPC flow logs data. Based on the information that you provide, we configure /// resources in the template to do the following: /// ///
  • /// /// Create a table in Athena that maps fields to a custom log format /// ///
  • /// /// Create a Lambda function that updates the table with new partitions on a daily, weekly, /// or monthly basis /// ///
  • /// /// Create a table partitioned between two timestamps in the past /// ///
  • /// /// Create a set of named queries in Athena that you can use to get started quickly /// ///
/// /// GetFlowLogsIntegrationTemplate does not support integration between /// Amazon Web Services Transit Gateway Flow Logs and Amazon Athena. /// /// ///
/// Container for the necessary parameters to execute the GetFlowLogsIntegrationTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetFlowLogsIntegrationTemplate service method, as returned by EC2. /// REST API Reference for GetFlowLogsIntegrationTemplate Operation public virtual Task GetFlowLogsIntegrationTemplateAsync(GetFlowLogsIntegrationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetFlowLogsIntegrationTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFlowLogsIntegrationTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetGroupsForCapacityReservation /// /// Lists the resource groups to which a Capacity Reservation has been added. /// /// Container for the necessary parameters to execute the GetGroupsForCapacityReservation service method. /// /// The response from the GetGroupsForCapacityReservation service method, as returned by EC2. /// REST API Reference for GetGroupsForCapacityReservation Operation public virtual GetGroupsForCapacityReservationResponse GetGroupsForCapacityReservation(GetGroupsForCapacityReservationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetGroupsForCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGroupsForCapacityReservationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the resource groups to which a Capacity Reservation has been added. /// /// Container for the necessary parameters to execute the GetGroupsForCapacityReservation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetGroupsForCapacityReservation service method, as returned by EC2. /// REST API Reference for GetGroupsForCapacityReservation Operation public virtual Task GetGroupsForCapacityReservationAsync(GetGroupsForCapacityReservationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetGroupsForCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGroupsForCapacityReservationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetHostReservationPurchasePreview /// /// Preview a reservation purchase with configurations that match those of your Dedicated /// Host. You must have active Dedicated Hosts in your account before you purchase a reservation. /// /// /// /// This is a preview of the PurchaseHostReservation action and does not result /// in the offering being purchased. /// /// /// Container for the necessary parameters to execute the GetHostReservationPurchasePreview service method. /// /// The response from the GetHostReservationPurchasePreview service method, as returned by EC2. /// REST API Reference for GetHostReservationPurchasePreview Operation public virtual GetHostReservationPurchasePreviewResponse GetHostReservationPurchasePreview(GetHostReservationPurchasePreviewRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetHostReservationPurchasePreviewRequestMarshaller.Instance; options.ResponseUnmarshaller = GetHostReservationPurchasePreviewResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Preview a reservation purchase with configurations that match those of your Dedicated /// Host. You must have active Dedicated Hosts in your account before you purchase a reservation. /// /// /// /// This is a preview of the PurchaseHostReservation action and does not result /// in the offering being purchased. /// /// /// Container for the necessary parameters to execute the GetHostReservationPurchasePreview service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetHostReservationPurchasePreview service method, as returned by EC2. /// REST API Reference for GetHostReservationPurchasePreview Operation public virtual Task GetHostReservationPurchasePreviewAsync(GetHostReservationPurchasePreviewRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetHostReservationPurchasePreviewRequestMarshaller.Instance; options.ResponseUnmarshaller = GetHostReservationPurchasePreviewResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetInstanceTypesFromInstanceRequirements /// /// Returns a list of instance types with the specified instance attributes. You can use /// the response to preview the instance types without launching instances. Note that /// the response does not consider capacity. /// /// /// /// When you specify multiple parameters, you get instance types that satisfy all of the /// specified parameters. If you specify multiple values for a parameter, you get instance /// types that satisfy any of the specified values. /// /// /// /// For more information, see Preview /// instance types with specified attributes, Attribute-based /// instance type selection for EC2 Fleet, Attribute-based /// instance type selection for Spot Fleet, and Spot /// placement score in the Amazon EC2 User Guide, and Creating /// an Auto Scaling group using attribute-based instance type selection in the Amazon /// EC2 Auto Scaling User Guide. /// /// /// Container for the necessary parameters to execute the GetInstanceTypesFromInstanceRequirements service method. /// /// The response from the GetInstanceTypesFromInstanceRequirements service method, as returned by EC2. /// REST API Reference for GetInstanceTypesFromInstanceRequirements Operation public virtual GetInstanceTypesFromInstanceRequirementsResponse GetInstanceTypesFromInstanceRequirements(GetInstanceTypesFromInstanceRequirementsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetInstanceTypesFromInstanceRequirementsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInstanceTypesFromInstanceRequirementsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of instance types with the specified instance attributes. You can use /// the response to preview the instance types without launching instances. Note that /// the response does not consider capacity. /// /// /// /// When you specify multiple parameters, you get instance types that satisfy all of the /// specified parameters. If you specify multiple values for a parameter, you get instance /// types that satisfy any of the specified values. /// /// /// /// For more information, see Preview /// instance types with specified attributes, Attribute-based /// instance type selection for EC2 Fleet, Attribute-based /// instance type selection for Spot Fleet, and Spot /// placement score in the Amazon EC2 User Guide, and Creating /// an Auto Scaling group using attribute-based instance type selection in the Amazon /// EC2 Auto Scaling User Guide. /// /// /// Container for the necessary parameters to execute the GetInstanceTypesFromInstanceRequirements service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetInstanceTypesFromInstanceRequirements service method, as returned by EC2. /// REST API Reference for GetInstanceTypesFromInstanceRequirements Operation public virtual Task GetInstanceTypesFromInstanceRequirementsAsync(GetInstanceTypesFromInstanceRequirementsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetInstanceTypesFromInstanceRequirementsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInstanceTypesFromInstanceRequirementsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetInstanceUefiData /// /// A binary representation of the UEFI variable store. Only non-volatile variables are /// stored. This is a base64 encoded and zlib compressed binary value that must be properly /// encoded. /// /// /// /// When you use register-image /// to create an AMI, you can create an exact copy of your variable store by passing the /// UEFI data in the UefiData parameter. You can modify the UEFI data by /// using the python-uefivars tool /// on GitHub. You can use the tool to convert the UEFI data into a human-readable format /// (JSON), which you can inspect and modify, and then convert back into the binary format /// to use with register-image. /// /// /// /// For more information, see UEFI /// Secure Boot in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the GetInstanceUefiData service method. /// /// The response from the GetInstanceUefiData service method, as returned by EC2. /// REST API Reference for GetInstanceUefiData Operation public virtual GetInstanceUefiDataResponse GetInstanceUefiData(GetInstanceUefiDataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetInstanceUefiDataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInstanceUefiDataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// A binary representation of the UEFI variable store. Only non-volatile variables are /// stored. This is a base64 encoded and zlib compressed binary value that must be properly /// encoded. /// /// /// /// When you use register-image /// to create an AMI, you can create an exact copy of your variable store by passing the /// UEFI data in the UefiData parameter. You can modify the UEFI data by /// using the python-uefivars tool /// on GitHub. You can use the tool to convert the UEFI data into a human-readable format /// (JSON), which you can inspect and modify, and then convert back into the binary format /// to use with register-image. /// /// /// /// For more information, see UEFI /// Secure Boot in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the GetInstanceUefiData service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetInstanceUefiData service method, as returned by EC2. /// REST API Reference for GetInstanceUefiData Operation public virtual Task GetInstanceUefiDataAsync(GetInstanceUefiDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetInstanceUefiDataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInstanceUefiDataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIpamAddressHistory /// /// Retrieve historical information about a CIDR within an IPAM scope. For more information, /// see View /// the history of IP addresses in the Amazon VPC IPAM User Guide. /// /// Container for the necessary parameters to execute the GetIpamAddressHistory service method. /// /// The response from the GetIpamAddressHistory service method, as returned by EC2. /// REST API Reference for GetIpamAddressHistory Operation public virtual GetIpamAddressHistoryResponse GetIpamAddressHistory(GetIpamAddressHistoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIpamAddressHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIpamAddressHistoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieve historical information about a CIDR within an IPAM scope. For more information, /// see View /// the history of IP addresses in the Amazon VPC IPAM User Guide. /// /// Container for the necessary parameters to execute the GetIpamAddressHistory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIpamAddressHistory service method, as returned by EC2. /// REST API Reference for GetIpamAddressHistory Operation public virtual Task GetIpamAddressHistoryAsync(GetIpamAddressHistoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetIpamAddressHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIpamAddressHistoryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIpamDiscoveredAccounts /// /// Gets IPAM discovered accounts. A discovered account is an Amazon Web Services account /// that is monitored under a resource discovery. If you have integrated IPAM with Amazon /// Web Services Organizations, all accounts in the organization are discovered accounts. /// Only the IPAM account can get all discovered accounts in the organization. /// /// Container for the necessary parameters to execute the GetIpamDiscoveredAccounts service method. /// /// The response from the GetIpamDiscoveredAccounts service method, as returned by EC2. /// REST API Reference for GetIpamDiscoveredAccounts Operation public virtual GetIpamDiscoveredAccountsResponse GetIpamDiscoveredAccounts(GetIpamDiscoveredAccountsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIpamDiscoveredAccountsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIpamDiscoveredAccountsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets IPAM discovered accounts. A discovered account is an Amazon Web Services account /// that is monitored under a resource discovery. If you have integrated IPAM with Amazon /// Web Services Organizations, all accounts in the organization are discovered accounts. /// Only the IPAM account can get all discovered accounts in the organization. /// /// Container for the necessary parameters to execute the GetIpamDiscoveredAccounts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIpamDiscoveredAccounts service method, as returned by EC2. /// REST API Reference for GetIpamDiscoveredAccounts Operation public virtual Task GetIpamDiscoveredAccountsAsync(GetIpamDiscoveredAccountsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetIpamDiscoveredAccountsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIpamDiscoveredAccountsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIpamDiscoveredResourceCidrs /// /// Returns the resource CIDRs that are monitored as part of a resource discovery. A discovered /// resource is a resource CIDR monitored under a resource discovery. The following resources /// can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses. /// /// Container for the necessary parameters to execute the GetIpamDiscoveredResourceCidrs service method. /// /// The response from the GetIpamDiscoveredResourceCidrs service method, as returned by EC2. /// REST API Reference for GetIpamDiscoveredResourceCidrs Operation public virtual GetIpamDiscoveredResourceCidrsResponse GetIpamDiscoveredResourceCidrs(GetIpamDiscoveredResourceCidrsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIpamDiscoveredResourceCidrsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIpamDiscoveredResourceCidrsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the resource CIDRs that are monitored as part of a resource discovery. A discovered /// resource is a resource CIDR monitored under a resource discovery. The following resources /// can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses. /// /// Container for the necessary parameters to execute the GetIpamDiscoveredResourceCidrs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIpamDiscoveredResourceCidrs service method, as returned by EC2. /// REST API Reference for GetIpamDiscoveredResourceCidrs Operation public virtual Task GetIpamDiscoveredResourceCidrsAsync(GetIpamDiscoveredResourceCidrsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetIpamDiscoveredResourceCidrsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIpamDiscoveredResourceCidrsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIpamPoolAllocations /// /// Get a list of all the CIDR allocations in an IPAM pool. The Region you use should /// be the IPAM pool locale. The locale is the Amazon Web Services Region where this IPAM /// pool is available for allocations. /// /// /// /// If you use this action after AllocateIpamPoolCidr /// or ReleaseIpamPoolAllocation, /// note that all EC2 API actions follow an eventual /// consistency model. /// /// /// /// Container for the necessary parameters to execute the GetIpamPoolAllocations service method. /// /// The response from the GetIpamPoolAllocations service method, as returned by EC2. /// REST API Reference for GetIpamPoolAllocations Operation public virtual GetIpamPoolAllocationsResponse GetIpamPoolAllocations(GetIpamPoolAllocationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIpamPoolAllocationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIpamPoolAllocationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get a list of all the CIDR allocations in an IPAM pool. The Region you use should /// be the IPAM pool locale. The locale is the Amazon Web Services Region where this IPAM /// pool is available for allocations. /// /// /// /// If you use this action after AllocateIpamPoolCidr /// or ReleaseIpamPoolAllocation, /// note that all EC2 API actions follow an eventual /// consistency model. /// /// /// /// Container for the necessary parameters to execute the GetIpamPoolAllocations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIpamPoolAllocations service method, as returned by EC2. /// REST API Reference for GetIpamPoolAllocations Operation public virtual Task GetIpamPoolAllocationsAsync(GetIpamPoolAllocationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetIpamPoolAllocationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIpamPoolAllocationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIpamPoolCidrs /// /// Get the CIDRs provisioned to an IPAM pool. /// /// Container for the necessary parameters to execute the GetIpamPoolCidrs service method. /// /// The response from the GetIpamPoolCidrs service method, as returned by EC2. /// REST API Reference for GetIpamPoolCidrs Operation public virtual GetIpamPoolCidrsResponse GetIpamPoolCidrs(GetIpamPoolCidrsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIpamPoolCidrsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIpamPoolCidrsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get the CIDRs provisioned to an IPAM pool. /// /// Container for the necessary parameters to execute the GetIpamPoolCidrs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIpamPoolCidrs service method, as returned by EC2. /// REST API Reference for GetIpamPoolCidrs Operation public virtual Task GetIpamPoolCidrsAsync(GetIpamPoolCidrsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetIpamPoolCidrsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIpamPoolCidrsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetIpamResourceCidrs /// /// Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated /// with more than one resource discovery, the resource CIDRs across all of the resource /// discoveries is returned. A resource discovery is an IPAM component that enables IPAM /// to manage and monitor resources that belong to the owning account. /// /// Container for the necessary parameters to execute the GetIpamResourceCidrs service method. /// /// The response from the GetIpamResourceCidrs service method, as returned by EC2. /// REST API Reference for GetIpamResourceCidrs Operation public virtual GetIpamResourceCidrsResponse GetIpamResourceCidrs(GetIpamResourceCidrsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIpamResourceCidrsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIpamResourceCidrsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated /// with more than one resource discovery, the resource CIDRs across all of the resource /// discoveries is returned. A resource discovery is an IPAM component that enables IPAM /// to manage and monitor resources that belong to the owning account. /// /// Container for the necessary parameters to execute the GetIpamResourceCidrs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetIpamResourceCidrs service method, as returned by EC2. /// REST API Reference for GetIpamResourceCidrs Operation public virtual Task GetIpamResourceCidrsAsync(GetIpamResourceCidrsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetIpamResourceCidrsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIpamResourceCidrsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetLaunchTemplateData /// /// Retrieves the configuration data of the specified instance. You can use this data /// to create a launch template. /// /// /// /// This action calls on other describe actions to get instance information. Depending /// on your instance configuration, you may need to allow the following actions in your /// IAM policy: DescribeSpotInstanceRequests, DescribeInstanceCreditSpecifications, /// DescribeVolumes, DescribeInstanceAttribute, and DescribeElasticGpus. /// Or, you can allow describe* depending on your instance requirements. /// /// /// Container for the necessary parameters to execute the GetLaunchTemplateData service method. /// /// The response from the GetLaunchTemplateData service method, as returned by EC2. /// REST API Reference for GetLaunchTemplateData Operation public virtual GetLaunchTemplateDataResponse GetLaunchTemplateData(GetLaunchTemplateDataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLaunchTemplateDataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLaunchTemplateDataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the configuration data of the specified instance. You can use this data /// to create a launch template. /// /// /// /// This action calls on other describe actions to get instance information. Depending /// on your instance configuration, you may need to allow the following actions in your /// IAM policy: DescribeSpotInstanceRequests, DescribeInstanceCreditSpecifications, /// DescribeVolumes, DescribeInstanceAttribute, and DescribeElasticGpus. /// Or, you can allow describe* depending on your instance requirements. /// /// /// Container for the necessary parameters to execute the GetLaunchTemplateData service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetLaunchTemplateData service method, as returned by EC2. /// REST API Reference for GetLaunchTemplateData Operation public virtual Task GetLaunchTemplateDataAsync(GetLaunchTemplateDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetLaunchTemplateDataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLaunchTemplateDataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetManagedPrefixListAssociations /// /// Gets information about the resources that are associated with the specified managed /// prefix list. /// /// Container for the necessary parameters to execute the GetManagedPrefixListAssociations service method. /// /// The response from the GetManagedPrefixListAssociations service method, as returned by EC2. /// REST API Reference for GetManagedPrefixListAssociations Operation public virtual GetManagedPrefixListAssociationsResponse GetManagedPrefixListAssociations(GetManagedPrefixListAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetManagedPrefixListAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetManagedPrefixListAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about the resources that are associated with the specified managed /// prefix list. /// /// Container for the necessary parameters to execute the GetManagedPrefixListAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetManagedPrefixListAssociations service method, as returned by EC2. /// REST API Reference for GetManagedPrefixListAssociations Operation public virtual Task GetManagedPrefixListAssociationsAsync(GetManagedPrefixListAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetManagedPrefixListAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetManagedPrefixListAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetManagedPrefixListEntries /// /// Gets information about the entries for a specified managed prefix list. /// /// Container for the necessary parameters to execute the GetManagedPrefixListEntries service method. /// /// The response from the GetManagedPrefixListEntries service method, as returned by EC2. /// REST API Reference for GetManagedPrefixListEntries Operation public virtual GetManagedPrefixListEntriesResponse GetManagedPrefixListEntries(GetManagedPrefixListEntriesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetManagedPrefixListEntriesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetManagedPrefixListEntriesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about the entries for a specified managed prefix list. /// /// Container for the necessary parameters to execute the GetManagedPrefixListEntries service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetManagedPrefixListEntries service method, as returned by EC2. /// REST API Reference for GetManagedPrefixListEntries Operation public virtual Task GetManagedPrefixListEntriesAsync(GetManagedPrefixListEntriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetManagedPrefixListEntriesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetManagedPrefixListEntriesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetNetworkInsightsAccessScopeAnalysisFindings /// /// Gets the findings for the specified Network Access Scope analysis. /// /// Container for the necessary parameters to execute the GetNetworkInsightsAccessScopeAnalysisFindings service method. /// /// The response from the GetNetworkInsightsAccessScopeAnalysisFindings service method, as returned by EC2. /// REST API Reference for GetNetworkInsightsAccessScopeAnalysisFindings Operation public virtual GetNetworkInsightsAccessScopeAnalysisFindingsResponse GetNetworkInsightsAccessScopeAnalysisFindings(GetNetworkInsightsAccessScopeAnalysisFindingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkInsightsAccessScopeAnalysisFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkInsightsAccessScopeAnalysisFindingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the findings for the specified Network Access Scope analysis. /// /// Container for the necessary parameters to execute the GetNetworkInsightsAccessScopeAnalysisFindings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetNetworkInsightsAccessScopeAnalysisFindings service method, as returned by EC2. /// REST API Reference for GetNetworkInsightsAccessScopeAnalysisFindings Operation public virtual Task GetNetworkInsightsAccessScopeAnalysisFindingsAsync(GetNetworkInsightsAccessScopeAnalysisFindingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkInsightsAccessScopeAnalysisFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkInsightsAccessScopeAnalysisFindingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetNetworkInsightsAccessScopeContent /// /// Gets the content for the specified Network Access Scope. /// /// Container for the necessary parameters to execute the GetNetworkInsightsAccessScopeContent service method. /// /// The response from the GetNetworkInsightsAccessScopeContent service method, as returned by EC2. /// REST API Reference for GetNetworkInsightsAccessScopeContent Operation public virtual GetNetworkInsightsAccessScopeContentResponse GetNetworkInsightsAccessScopeContent(GetNetworkInsightsAccessScopeContentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkInsightsAccessScopeContentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkInsightsAccessScopeContentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the content for the specified Network Access Scope. /// /// Container for the necessary parameters to execute the GetNetworkInsightsAccessScopeContent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetNetworkInsightsAccessScopeContent service method, as returned by EC2. /// REST API Reference for GetNetworkInsightsAccessScopeContent Operation public virtual Task GetNetworkInsightsAccessScopeContentAsync(GetNetworkInsightsAccessScopeContentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetNetworkInsightsAccessScopeContentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNetworkInsightsAccessScopeContentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetPasswordData /// /// Retrieves the encrypted administrator password for a running Windows instance. /// /// /// /// The Windows password is generated at boot by the EC2Config service or /// EC2Launch scripts (Windows Server 2016 and later). This usually only /// happens the first time an instance is launched. For more information, see EC2Config /// and EC2Launch /// in the Amazon EC2 User Guide. /// /// /// /// For the EC2Config service, the password is not generated for rebundled /// AMIs unless Ec2SetPassword is enabled before bundling. /// /// /// /// The password is encrypted using the key pair that you specified when you launched /// the instance. You must provide the corresponding key pair file. /// /// /// /// When you launch an instance, password generation and encryption may take a few minutes. /// If you try to retrieve the password before it's available, the output returns an empty /// string. We recommend that you wait up to 15 minutes after launching an instance before /// trying to retrieve the generated password. /// /// /// Container for the necessary parameters to execute the GetPasswordData service method. /// /// The response from the GetPasswordData service method, as returned by EC2. /// REST API Reference for GetPasswordData Operation public virtual GetPasswordDataResponse GetPasswordData(GetPasswordDataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPasswordDataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPasswordDataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the encrypted administrator password for a running Windows instance. /// /// /// /// The Windows password is generated at boot by the EC2Config service or /// EC2Launch scripts (Windows Server 2016 and later). This usually only /// happens the first time an instance is launched. For more information, see EC2Config /// and EC2Launch /// in the Amazon EC2 User Guide. /// /// /// /// For the EC2Config service, the password is not generated for rebundled /// AMIs unless Ec2SetPassword is enabled before bundling. /// /// /// /// The password is encrypted using the key pair that you specified when you launched /// the instance. You must provide the corresponding key pair file. /// /// /// /// When you launch an instance, password generation and encryption may take a few minutes. /// If you try to retrieve the password before it's available, the output returns an empty /// string. We recommend that you wait up to 15 minutes after launching an instance before /// trying to retrieve the generated password. /// /// /// Container for the necessary parameters to execute the GetPasswordData service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetPasswordData service method, as returned by EC2. /// REST API Reference for GetPasswordData Operation public virtual Task GetPasswordDataAsync(GetPasswordDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetPasswordDataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPasswordDataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetReservedInstancesExchangeQuote /// /// Returns a quote and exchange information for exchanging one or more specified Convertible /// Reserved Instances for a new Convertible Reserved Instance. If the exchange cannot /// be performed, the reason is returned in the response. Use AcceptReservedInstancesExchangeQuote /// to perform the exchange. /// /// Container for the necessary parameters to execute the GetReservedInstancesExchangeQuote service method. /// /// The response from the GetReservedInstancesExchangeQuote service method, as returned by EC2. /// REST API Reference for GetReservedInstancesExchangeQuote Operation public virtual GetReservedInstancesExchangeQuoteResponse GetReservedInstancesExchangeQuote(GetReservedInstancesExchangeQuoteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetReservedInstancesExchangeQuoteRequestMarshaller.Instance; options.ResponseUnmarshaller = GetReservedInstancesExchangeQuoteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a quote and exchange information for exchanging one or more specified Convertible /// Reserved Instances for a new Convertible Reserved Instance. If the exchange cannot /// be performed, the reason is returned in the response. Use AcceptReservedInstancesExchangeQuote /// to perform the exchange. /// /// Container for the necessary parameters to execute the GetReservedInstancesExchangeQuote service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetReservedInstancesExchangeQuote service method, as returned by EC2. /// REST API Reference for GetReservedInstancesExchangeQuote Operation public virtual Task GetReservedInstancesExchangeQuoteAsync(GetReservedInstancesExchangeQuoteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetReservedInstancesExchangeQuoteRequestMarshaller.Instance; options.ResponseUnmarshaller = GetReservedInstancesExchangeQuoteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSerialConsoleAccessStatus /// /// Retrieves the access status of your account to the EC2 serial console of all instances. /// By default, access to the EC2 serial console is disabled for your account. For more /// information, see Manage /// account access to the EC2 serial console in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the GetSerialConsoleAccessStatus service method. /// /// The response from the GetSerialConsoleAccessStatus service method, as returned by EC2. /// REST API Reference for GetSerialConsoleAccessStatus Operation public virtual GetSerialConsoleAccessStatusResponse GetSerialConsoleAccessStatus(GetSerialConsoleAccessStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSerialConsoleAccessStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSerialConsoleAccessStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the access status of your account to the EC2 serial console of all instances. /// By default, access to the EC2 serial console is disabled for your account. For more /// information, see Manage /// account access to the EC2 serial console in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the GetSerialConsoleAccessStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSerialConsoleAccessStatus service method, as returned by EC2. /// REST API Reference for GetSerialConsoleAccessStatus Operation public virtual Task GetSerialConsoleAccessStatusAsync(GetSerialConsoleAccessStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSerialConsoleAccessStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSerialConsoleAccessStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSpotPlacementScores /// /// Calculates the Spot placement score for a Region or Availability Zone based on the /// specified target capacity and compute requirements. /// /// /// /// You can specify your compute requirements either by using InstanceRequirementsWithMetadata /// and letting Amazon EC2 choose the optimal instance types to fulfill your Spot request, /// or you can specify the instance types by using InstanceTypes. /// /// /// /// For more information, see Spot /// placement score in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the GetSpotPlacementScores service method. /// /// The response from the GetSpotPlacementScores service method, as returned by EC2. /// REST API Reference for GetSpotPlacementScores Operation public virtual GetSpotPlacementScoresResponse GetSpotPlacementScores(GetSpotPlacementScoresRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSpotPlacementScoresRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSpotPlacementScoresResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Calculates the Spot placement score for a Region or Availability Zone based on the /// specified target capacity and compute requirements. /// /// /// /// You can specify your compute requirements either by using InstanceRequirementsWithMetadata /// and letting Amazon EC2 choose the optimal instance types to fulfill your Spot request, /// or you can specify the instance types by using InstanceTypes. /// /// /// /// For more information, see Spot /// placement score in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the GetSpotPlacementScores service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSpotPlacementScores service method, as returned by EC2. /// REST API Reference for GetSpotPlacementScores Operation public virtual Task GetSpotPlacementScoresAsync(GetSpotPlacementScoresRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSpotPlacementScoresRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSpotPlacementScoresResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSubnetCidrReservations /// /// Gets information about the subnet CIDR reservations. /// /// Container for the necessary parameters to execute the GetSubnetCidrReservations service method. /// /// The response from the GetSubnetCidrReservations service method, as returned by EC2. /// REST API Reference for GetSubnetCidrReservations Operation public virtual GetSubnetCidrReservationsResponse GetSubnetCidrReservations(GetSubnetCidrReservationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSubnetCidrReservationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSubnetCidrReservationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about the subnet CIDR reservations. /// /// Container for the necessary parameters to execute the GetSubnetCidrReservations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSubnetCidrReservations service method, as returned by EC2. /// REST API Reference for GetSubnetCidrReservations Operation public virtual Task GetSubnetCidrReservationsAsync(GetSubnetCidrReservationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSubnetCidrReservationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSubnetCidrReservationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTransitGatewayAttachmentPropagations /// /// Lists the route tables to which the specified resource attachment propagates routes. /// /// Container for the necessary parameters to execute the GetTransitGatewayAttachmentPropagations service method. /// /// The response from the GetTransitGatewayAttachmentPropagations service method, as returned by EC2. /// REST API Reference for GetTransitGatewayAttachmentPropagations Operation public virtual GetTransitGatewayAttachmentPropagationsResponse GetTransitGatewayAttachmentPropagations(GetTransitGatewayAttachmentPropagationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayAttachmentPropagationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayAttachmentPropagationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the route tables to which the specified resource attachment propagates routes. /// /// Container for the necessary parameters to execute the GetTransitGatewayAttachmentPropagations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTransitGatewayAttachmentPropagations service method, as returned by EC2. /// REST API Reference for GetTransitGatewayAttachmentPropagations Operation public virtual Task GetTransitGatewayAttachmentPropagationsAsync(GetTransitGatewayAttachmentPropagationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayAttachmentPropagationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayAttachmentPropagationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTransitGatewayMulticastDomainAssociations /// /// Gets information about the associations for the transit gateway multicast domain. /// /// Container for the necessary parameters to execute the GetTransitGatewayMulticastDomainAssociations service method. /// /// The response from the GetTransitGatewayMulticastDomainAssociations service method, as returned by EC2. /// REST API Reference for GetTransitGatewayMulticastDomainAssociations Operation public virtual GetTransitGatewayMulticastDomainAssociationsResponse GetTransitGatewayMulticastDomainAssociations(GetTransitGatewayMulticastDomainAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayMulticastDomainAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayMulticastDomainAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about the associations for the transit gateway multicast domain. /// /// Container for the necessary parameters to execute the GetTransitGatewayMulticastDomainAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTransitGatewayMulticastDomainAssociations service method, as returned by EC2. /// REST API Reference for GetTransitGatewayMulticastDomainAssociations Operation public virtual Task GetTransitGatewayMulticastDomainAssociationsAsync(GetTransitGatewayMulticastDomainAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayMulticastDomainAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayMulticastDomainAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTransitGatewayPolicyTableAssociations /// /// Gets a list of the transit gateway policy table associations. /// /// Container for the necessary parameters to execute the GetTransitGatewayPolicyTableAssociations service method. /// /// The response from the GetTransitGatewayPolicyTableAssociations service method, as returned by EC2. /// REST API Reference for GetTransitGatewayPolicyTableAssociations Operation public virtual GetTransitGatewayPolicyTableAssociationsResponse GetTransitGatewayPolicyTableAssociations(GetTransitGatewayPolicyTableAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayPolicyTableAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayPolicyTableAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a list of the transit gateway policy table associations. /// /// Container for the necessary parameters to execute the GetTransitGatewayPolicyTableAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTransitGatewayPolicyTableAssociations service method, as returned by EC2. /// REST API Reference for GetTransitGatewayPolicyTableAssociations Operation public virtual Task GetTransitGatewayPolicyTableAssociationsAsync(GetTransitGatewayPolicyTableAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayPolicyTableAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayPolicyTableAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTransitGatewayPolicyTableEntries /// /// Returns a list of transit gateway policy table entries. /// /// Container for the necessary parameters to execute the GetTransitGatewayPolicyTableEntries service method. /// /// The response from the GetTransitGatewayPolicyTableEntries service method, as returned by EC2. /// REST API Reference for GetTransitGatewayPolicyTableEntries Operation public virtual GetTransitGatewayPolicyTableEntriesResponse GetTransitGatewayPolicyTableEntries(GetTransitGatewayPolicyTableEntriesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayPolicyTableEntriesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayPolicyTableEntriesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of transit gateway policy table entries. /// /// Container for the necessary parameters to execute the GetTransitGatewayPolicyTableEntries service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTransitGatewayPolicyTableEntries service method, as returned by EC2. /// REST API Reference for GetTransitGatewayPolicyTableEntries Operation public virtual Task GetTransitGatewayPolicyTableEntriesAsync(GetTransitGatewayPolicyTableEntriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayPolicyTableEntriesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayPolicyTableEntriesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTransitGatewayPrefixListReferences /// /// Gets information about the prefix list references in a specified transit gateway route /// table. /// /// Container for the necessary parameters to execute the GetTransitGatewayPrefixListReferences service method. /// /// The response from the GetTransitGatewayPrefixListReferences service method, as returned by EC2. /// REST API Reference for GetTransitGatewayPrefixListReferences Operation public virtual GetTransitGatewayPrefixListReferencesResponse GetTransitGatewayPrefixListReferences(GetTransitGatewayPrefixListReferencesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayPrefixListReferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayPrefixListReferencesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about the prefix list references in a specified transit gateway route /// table. /// /// Container for the necessary parameters to execute the GetTransitGatewayPrefixListReferences service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTransitGatewayPrefixListReferences service method, as returned by EC2. /// REST API Reference for GetTransitGatewayPrefixListReferences Operation public virtual Task GetTransitGatewayPrefixListReferencesAsync(GetTransitGatewayPrefixListReferencesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayPrefixListReferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayPrefixListReferencesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTransitGatewayRouteTableAssociations /// /// Gets information about the associations for the specified transit gateway route table. /// /// Container for the necessary parameters to execute the GetTransitGatewayRouteTableAssociations service method. /// /// The response from the GetTransitGatewayRouteTableAssociations service method, as returned by EC2. /// REST API Reference for GetTransitGatewayRouteTableAssociations Operation public virtual GetTransitGatewayRouteTableAssociationsResponse GetTransitGatewayRouteTableAssociations(GetTransitGatewayRouteTableAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayRouteTableAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayRouteTableAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about the associations for the specified transit gateway route table. /// /// Container for the necessary parameters to execute the GetTransitGatewayRouteTableAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTransitGatewayRouteTableAssociations service method, as returned by EC2. /// REST API Reference for GetTransitGatewayRouteTableAssociations Operation public virtual Task GetTransitGatewayRouteTableAssociationsAsync(GetTransitGatewayRouteTableAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayRouteTableAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayRouteTableAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTransitGatewayRouteTablePropagations /// /// Gets information about the route table propagations for the specified transit gateway /// route table. /// /// Container for the necessary parameters to execute the GetTransitGatewayRouteTablePropagations service method. /// /// The response from the GetTransitGatewayRouteTablePropagations service method, as returned by EC2. /// REST API Reference for GetTransitGatewayRouteTablePropagations Operation public virtual GetTransitGatewayRouteTablePropagationsResponse GetTransitGatewayRouteTablePropagations(GetTransitGatewayRouteTablePropagationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayRouteTablePropagationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayRouteTablePropagationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets information about the route table propagations for the specified transit gateway /// route table. /// /// Container for the necessary parameters to execute the GetTransitGatewayRouteTablePropagations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTransitGatewayRouteTablePropagations service method, as returned by EC2. /// REST API Reference for GetTransitGatewayRouteTablePropagations Operation public virtual Task GetTransitGatewayRouteTablePropagationsAsync(GetTransitGatewayRouteTablePropagationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTransitGatewayRouteTablePropagationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTransitGatewayRouteTablePropagationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetVerifiedAccessEndpointPolicy /// /// Get the Verified Access policy associated with the endpoint. /// /// Container for the necessary parameters to execute the GetVerifiedAccessEndpointPolicy service method. /// /// The response from the GetVerifiedAccessEndpointPolicy service method, as returned by EC2. /// REST API Reference for GetVerifiedAccessEndpointPolicy Operation public virtual GetVerifiedAccessEndpointPolicyResponse GetVerifiedAccessEndpointPolicy(GetVerifiedAccessEndpointPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetVerifiedAccessEndpointPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVerifiedAccessEndpointPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get the Verified Access policy associated with the endpoint. /// /// Container for the necessary parameters to execute the GetVerifiedAccessEndpointPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetVerifiedAccessEndpointPolicy service method, as returned by EC2. /// REST API Reference for GetVerifiedAccessEndpointPolicy Operation public virtual Task GetVerifiedAccessEndpointPolicyAsync(GetVerifiedAccessEndpointPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetVerifiedAccessEndpointPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVerifiedAccessEndpointPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetVerifiedAccessGroupPolicy /// /// Shows the contents of the Verified Access policy associated with the group. /// /// Container for the necessary parameters to execute the GetVerifiedAccessGroupPolicy service method. /// /// The response from the GetVerifiedAccessGroupPolicy service method, as returned by EC2. /// REST API Reference for GetVerifiedAccessGroupPolicy Operation public virtual GetVerifiedAccessGroupPolicyResponse GetVerifiedAccessGroupPolicy(GetVerifiedAccessGroupPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetVerifiedAccessGroupPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVerifiedAccessGroupPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Shows the contents of the Verified Access policy associated with the group. /// /// Container for the necessary parameters to execute the GetVerifiedAccessGroupPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetVerifiedAccessGroupPolicy service method, as returned by EC2. /// REST API Reference for GetVerifiedAccessGroupPolicy Operation public virtual Task GetVerifiedAccessGroupPolicyAsync(GetVerifiedAccessGroupPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetVerifiedAccessGroupPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVerifiedAccessGroupPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetVpnConnectionDeviceSampleConfiguration /// /// Download an Amazon Web Services-provided sample configuration file to be used with /// the customer gateway device specified for your Site-to-Site VPN connection. /// /// Container for the necessary parameters to execute the GetVpnConnectionDeviceSampleConfiguration service method. /// /// The response from the GetVpnConnectionDeviceSampleConfiguration service method, as returned by EC2. /// REST API Reference for GetVpnConnectionDeviceSampleConfiguration Operation public virtual GetVpnConnectionDeviceSampleConfigurationResponse GetVpnConnectionDeviceSampleConfiguration(GetVpnConnectionDeviceSampleConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetVpnConnectionDeviceSampleConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVpnConnectionDeviceSampleConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Download an Amazon Web Services-provided sample configuration file to be used with /// the customer gateway device specified for your Site-to-Site VPN connection. /// /// Container for the necessary parameters to execute the GetVpnConnectionDeviceSampleConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetVpnConnectionDeviceSampleConfiguration service method, as returned by EC2. /// REST API Reference for GetVpnConnectionDeviceSampleConfiguration Operation public virtual Task GetVpnConnectionDeviceSampleConfigurationAsync(GetVpnConnectionDeviceSampleConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetVpnConnectionDeviceSampleConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVpnConnectionDeviceSampleConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetVpnConnectionDeviceTypes /// /// Obtain a list of customer gateway devices for which sample configuration files can /// be provided. The request has no additional parameters. You can also see the list of /// device types with sample configuration files available under Your /// customer gateway device in the Amazon Web Services Site-to-Site VPN User Guide. /// /// Container for the necessary parameters to execute the GetVpnConnectionDeviceTypes service method. /// /// The response from the GetVpnConnectionDeviceTypes service method, as returned by EC2. /// REST API Reference for GetVpnConnectionDeviceTypes Operation public virtual GetVpnConnectionDeviceTypesResponse GetVpnConnectionDeviceTypes(GetVpnConnectionDeviceTypesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetVpnConnectionDeviceTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVpnConnectionDeviceTypesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Obtain a list of customer gateway devices for which sample configuration files can /// be provided. The request has no additional parameters. You can also see the list of /// device types with sample configuration files available under Your /// customer gateway device in the Amazon Web Services Site-to-Site VPN User Guide. /// /// Container for the necessary parameters to execute the GetVpnConnectionDeviceTypes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetVpnConnectionDeviceTypes service method, as returned by EC2. /// REST API Reference for GetVpnConnectionDeviceTypes Operation public virtual Task GetVpnConnectionDeviceTypesAsync(GetVpnConnectionDeviceTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetVpnConnectionDeviceTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVpnConnectionDeviceTypesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetVpnTunnelReplacementStatus /// /// Get details of available tunnel endpoint maintenance. /// /// Container for the necessary parameters to execute the GetVpnTunnelReplacementStatus service method. /// /// The response from the GetVpnTunnelReplacementStatus service method, as returned by EC2. /// REST API Reference for GetVpnTunnelReplacementStatus Operation public virtual GetVpnTunnelReplacementStatusResponse GetVpnTunnelReplacementStatus(GetVpnTunnelReplacementStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetVpnTunnelReplacementStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVpnTunnelReplacementStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get details of available tunnel endpoint maintenance. /// /// Container for the necessary parameters to execute the GetVpnTunnelReplacementStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetVpnTunnelReplacementStatus service method, as returned by EC2. /// REST API Reference for GetVpnTunnelReplacementStatus Operation public virtual Task GetVpnTunnelReplacementStatusAsync(GetVpnTunnelReplacementStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetVpnTunnelReplacementStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVpnTunnelReplacementStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ImportClientVpnClientCertificateRevocationList /// /// Uploads a client certificate revocation list to the specified Client VPN endpoint. /// Uploading a client certificate revocation list overwrites the existing client certificate /// revocation list. /// /// /// /// Uploading a client certificate revocation list resets existing client connections. /// /// /// Container for the necessary parameters to execute the ImportClientVpnClientCertificateRevocationList service method. /// /// The response from the ImportClientVpnClientCertificateRevocationList service method, as returned by EC2. /// REST API Reference for ImportClientVpnClientCertificateRevocationList Operation public virtual ImportClientVpnClientCertificateRevocationListResponse ImportClientVpnClientCertificateRevocationList(ImportClientVpnClientCertificateRevocationListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportClientVpnClientCertificateRevocationListRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportClientVpnClientCertificateRevocationListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Uploads a client certificate revocation list to the specified Client VPN endpoint. /// Uploading a client certificate revocation list overwrites the existing client certificate /// revocation list. /// /// /// /// Uploading a client certificate revocation list resets existing client connections. /// /// /// Container for the necessary parameters to execute the ImportClientVpnClientCertificateRevocationList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportClientVpnClientCertificateRevocationList service method, as returned by EC2. /// REST API Reference for ImportClientVpnClientCertificateRevocationList Operation public virtual Task ImportClientVpnClientCertificateRevocationListAsync(ImportClientVpnClientCertificateRevocationListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportClientVpnClientCertificateRevocationListRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportClientVpnClientCertificateRevocationListResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ImportImage /// /// /// /// To import your virtual machines (VMs) with a console-based experience, you can use /// the Import virtual machine images to Amazon Web Services template in the Migration Hub Orchestrator /// console. For more information, see the /// Migration Hub Orchestrator User Guide . /// /// /// /// Import single or multi-volume disk images or EBS snapshots into an Amazon Machine /// Image (AMI). /// /// /// /// Amazon Web Services VM Import/Export strongly recommends specifying a value for either /// the --license-type or --usage-operation parameter when you /// create a new VM Import task. This ensures your operating system is licensed appropriately /// and your billing is optimized. /// /// /// /// For more information, see Importing /// a VM as an image using VM Import/Export in the VM Import/Export User Guide. /// /// /// Container for the necessary parameters to execute the ImportImage service method. /// /// The response from the ImportImage service method, as returned by EC2. /// REST API Reference for ImportImage Operation public virtual ImportImageResponse ImportImage(ImportImageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportImageRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportImageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// To import your virtual machines (VMs) with a console-based experience, you can use /// the Import virtual machine images to Amazon Web Services template in the Migration Hub Orchestrator /// console. For more information, see the /// Migration Hub Orchestrator User Guide . /// /// /// /// Import single or multi-volume disk images or EBS snapshots into an Amazon Machine /// Image (AMI). /// /// /// /// Amazon Web Services VM Import/Export strongly recommends specifying a value for either /// the --license-type or --usage-operation parameter when you /// create a new VM Import task. This ensures your operating system is licensed appropriately /// and your billing is optimized. /// /// /// /// For more information, see Importing /// a VM as an image using VM Import/Export in the VM Import/Export User Guide. /// /// /// Container for the necessary parameters to execute the ImportImage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportImage service method, as returned by EC2. /// REST API Reference for ImportImage Operation public virtual Task ImportImageAsync(ImportImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportImageRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportImageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ImportInstance /// /// /// /// We recommend that you use the /// ImportImage API. For more information, see Importing /// a VM as an image using VM Import/Export in the VM Import/Export User Guide. /// /// /// /// Creates an import instance task using metadata from the specified disk image. /// /// /// /// This API action is not supported by the Command Line Interface (CLI). For information /// about using the Amazon EC2 CLI, which is deprecated, see Importing /// a VM to Amazon EC2 in the Amazon EC2 CLI Reference PDF file. /// /// /// /// This API action supports only single-volume VMs. To import multi-volume VMs, use ImportImage /// instead. /// /// /// /// For information about the import manifest referenced by this API action, see VM /// Import Manifest. /// /// /// Container for the necessary parameters to execute the ImportInstance service method. /// /// The response from the ImportInstance service method, as returned by EC2. /// REST API Reference for ImportInstance Operation public virtual ImportInstanceResponse ImportInstance(ImportInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// We recommend that you use the /// ImportImage API. For more information, see Importing /// a VM as an image using VM Import/Export in the VM Import/Export User Guide. /// /// /// /// Creates an import instance task using metadata from the specified disk image. /// /// /// /// This API action is not supported by the Command Line Interface (CLI). For information /// about using the Amazon EC2 CLI, which is deprecated, see Importing /// a VM to Amazon EC2 in the Amazon EC2 CLI Reference PDF file. /// /// /// /// This API action supports only single-volume VMs. To import multi-volume VMs, use ImportImage /// instead. /// /// /// /// For information about the import manifest referenced by this API action, see VM /// Import Manifest. /// /// /// Container for the necessary parameters to execute the ImportInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportInstance service method, as returned by EC2. /// REST API Reference for ImportInstance Operation public virtual Task ImportInstanceAsync(ImportInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ImportKeyPair /// /// Imports the public key from an RSA or ED25519 key pair that you created with a third-party /// tool. Compare this with CreateKeyPair, in which Amazon Web Services creates /// the key pair and gives the keys to you (Amazon Web Services keeps a copy of the public /// key). With ImportKeyPair, you create the key pair and give Amazon Web Services just /// the public key. The private key is never transferred between you and Amazon Web Services. /// /// /// /// For more information about key pairs, see Amazon /// EC2 key pairs in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the ImportKeyPair service method. /// /// The response from the ImportKeyPair service method, as returned by EC2. /// REST API Reference for ImportKeyPair Operation public virtual ImportKeyPairResponse ImportKeyPair(ImportKeyPairRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportKeyPairRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportKeyPairResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Imports the public key from an RSA or ED25519 key pair that you created with a third-party /// tool. Compare this with CreateKeyPair, in which Amazon Web Services creates /// the key pair and gives the keys to you (Amazon Web Services keeps a copy of the public /// key). With ImportKeyPair, you create the key pair and give Amazon Web Services just /// the public key. The private key is never transferred between you and Amazon Web Services. /// /// /// /// For more information about key pairs, see Amazon /// EC2 key pairs in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the ImportKeyPair service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportKeyPair service method, as returned by EC2. /// REST API Reference for ImportKeyPair Operation public virtual Task ImportKeyPairAsync(ImportKeyPairRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportKeyPairRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportKeyPairResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ImportSnapshot /// /// Imports a disk into an EBS snapshot. /// /// /// /// For more information, see Importing /// a disk as a snapshot using VM Import/Export in the VM Import/Export User Guide. /// /// /// Container for the necessary parameters to execute the ImportSnapshot service method. /// /// The response from the ImportSnapshot service method, as returned by EC2. /// REST API Reference for ImportSnapshot Operation public virtual ImportSnapshotResponse ImportSnapshot(ImportSnapshotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportSnapshotRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportSnapshotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Imports a disk into an EBS snapshot. /// /// /// /// For more information, see Importing /// a disk as a snapshot using VM Import/Export in the VM Import/Export User Guide. /// /// /// Container for the necessary parameters to execute the ImportSnapshot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportSnapshot service method, as returned by EC2. /// REST API Reference for ImportSnapshot Operation public virtual Task ImportSnapshotAsync(ImportSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportSnapshotRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportSnapshotResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ImportVolume /// /// Creates an import volume task using metadata from the specified disk image. /// /// /// /// This API action supports only single-volume VMs. To import multi-volume VMs, use ImportImage /// instead. To import a disk to a snapshot, use ImportSnapshot instead. /// /// /// /// This API action is not supported by the Command Line Interface (CLI). For information /// about using the Amazon EC2 CLI, which is deprecated, see Importing /// Disks to Amazon EBS in the Amazon EC2 CLI Reference PDF file. /// /// /// /// For information about the import manifest referenced by this API action, see VM /// Import Manifest. /// /// /// Container for the necessary parameters to execute the ImportVolume service method. /// /// The response from the ImportVolume service method, as returned by EC2. /// REST API Reference for ImportVolume Operation public virtual ImportVolumeResponse ImportVolume(ImportVolumeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportVolumeRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportVolumeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an import volume task using metadata from the specified disk image. /// /// /// /// This API action supports only single-volume VMs. To import multi-volume VMs, use ImportImage /// instead. To import a disk to a snapshot, use ImportSnapshot instead. /// /// /// /// This API action is not supported by the Command Line Interface (CLI). For information /// about using the Amazon EC2 CLI, which is deprecated, see Importing /// Disks to Amazon EBS in the Amazon EC2 CLI Reference PDF file. /// /// /// /// For information about the import manifest referenced by this API action, see VM /// Import Manifest. /// /// /// Container for the necessary parameters to execute the ImportVolume service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportVolume service method, as returned by EC2. /// REST API Reference for ImportVolume Operation public virtual Task ImportVolumeAsync(ImportVolumeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportVolumeRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportVolumeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListImagesInRecycleBin /// /// Lists one or more AMIs that are currently in the Recycle Bin. For more information, /// see Recycle /// Bin in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the ListImagesInRecycleBin service method. /// /// The response from the ListImagesInRecycleBin service method, as returned by EC2. /// REST API Reference for ListImagesInRecycleBin Operation public virtual ListImagesInRecycleBinResponse ListImagesInRecycleBin(ListImagesInRecycleBinRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListImagesInRecycleBinRequestMarshaller.Instance; options.ResponseUnmarshaller = ListImagesInRecycleBinResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists one or more AMIs that are currently in the Recycle Bin. For more information, /// see Recycle /// Bin in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the ListImagesInRecycleBin service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListImagesInRecycleBin service method, as returned by EC2. /// REST API Reference for ListImagesInRecycleBin Operation public virtual Task ListImagesInRecycleBinAsync(ListImagesInRecycleBinRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListImagesInRecycleBinRequestMarshaller.Instance; options.ResponseUnmarshaller = ListImagesInRecycleBinResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListSnapshotsInRecycleBin /// /// Lists one or more snapshots that are currently in the Recycle Bin. /// /// Container for the necessary parameters to execute the ListSnapshotsInRecycleBin service method. /// /// The response from the ListSnapshotsInRecycleBin service method, as returned by EC2. /// REST API Reference for ListSnapshotsInRecycleBin Operation public virtual ListSnapshotsInRecycleBinResponse ListSnapshotsInRecycleBin(ListSnapshotsInRecycleBinRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSnapshotsInRecycleBinRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSnapshotsInRecycleBinResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists one or more snapshots that are currently in the Recycle Bin. /// /// Container for the necessary parameters to execute the ListSnapshotsInRecycleBin service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSnapshotsInRecycleBin service method, as returned by EC2. /// REST API Reference for ListSnapshotsInRecycleBin Operation public virtual Task ListSnapshotsInRecycleBinAsync(ListSnapshotsInRecycleBinRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListSnapshotsInRecycleBinRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSnapshotsInRecycleBinResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyAddressAttribute /// /// Modifies an attribute of the specified Elastic IP address. For requirements, see Using /// reverse DNS for email applications. /// /// Container for the necessary parameters to execute the ModifyAddressAttribute service method. /// /// The response from the ModifyAddressAttribute service method, as returned by EC2. /// REST API Reference for ModifyAddressAttribute Operation public virtual ModifyAddressAttributeResponse ModifyAddressAttribute(ModifyAddressAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyAddressAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyAddressAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies an attribute of the specified Elastic IP address. For requirements, see Using /// reverse DNS for email applications. /// /// Container for the necessary parameters to execute the ModifyAddressAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyAddressAttribute service method, as returned by EC2. /// REST API Reference for ModifyAddressAttribute Operation public virtual Task ModifyAddressAttributeAsync(ModifyAddressAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyAddressAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyAddressAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyAvailabilityZoneGroup /// /// Changes the opt-in status of the Local Zone and Wavelength Zone group for your account. /// /// /// /// Use /// DescribeAvailabilityZones to view the value for GroupName. /// /// /// Container for the necessary parameters to execute the ModifyAvailabilityZoneGroup service method. /// /// The response from the ModifyAvailabilityZoneGroup service method, as returned by EC2. /// REST API Reference for ModifyAvailabilityZoneGroup Operation public virtual ModifyAvailabilityZoneGroupResponse ModifyAvailabilityZoneGroup(ModifyAvailabilityZoneGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyAvailabilityZoneGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyAvailabilityZoneGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes the opt-in status of the Local Zone and Wavelength Zone group for your account. /// /// /// /// Use /// DescribeAvailabilityZones to view the value for GroupName. /// /// /// Container for the necessary parameters to execute the ModifyAvailabilityZoneGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyAvailabilityZoneGroup service method, as returned by EC2. /// REST API Reference for ModifyAvailabilityZoneGroup Operation public virtual Task ModifyAvailabilityZoneGroupAsync(ModifyAvailabilityZoneGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyAvailabilityZoneGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyAvailabilityZoneGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyCapacityReservation /// /// Modifies a Capacity Reservation's capacity and the conditions under which it is to /// be released. You cannot change a Capacity Reservation's instance type, EBS optimization, /// instance store settings, platform, Availability Zone, or instance eligibility. If /// you need to modify any of these attributes, we recommend that you cancel the Capacity /// Reservation, and then create a new one with the required attributes. /// /// Container for the necessary parameters to execute the ModifyCapacityReservation service method. /// /// The response from the ModifyCapacityReservation service method, as returned by EC2. /// REST API Reference for ModifyCapacityReservation Operation public virtual ModifyCapacityReservationResponse ModifyCapacityReservation(ModifyCapacityReservationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyCapacityReservationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies a Capacity Reservation's capacity and the conditions under which it is to /// be released. You cannot change a Capacity Reservation's instance type, EBS optimization, /// instance store settings, platform, Availability Zone, or instance eligibility. If /// you need to modify any of these attributes, we recommend that you cancel the Capacity /// Reservation, and then create a new one with the required attributes. /// /// Container for the necessary parameters to execute the ModifyCapacityReservation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyCapacityReservation service method, as returned by EC2. /// REST API Reference for ModifyCapacityReservation Operation public virtual Task ModifyCapacityReservationAsync(ModifyCapacityReservationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyCapacityReservationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyCapacityReservationFleet /// /// Modifies a Capacity Reservation Fleet. /// /// /// /// When you modify the total target capacity of a Capacity Reservation Fleet, the Fleet /// automatically creates new Capacity Reservations, or modifies or cancels existing Capacity /// Reservations in the Fleet to meet the new total target capacity. When you modify the /// end date for the Fleet, the end dates for all of the individual Capacity Reservations /// in the Fleet are updated accordingly. /// /// /// Container for the necessary parameters to execute the ModifyCapacityReservationFleet service method. /// /// The response from the ModifyCapacityReservationFleet service method, as returned by EC2. /// REST API Reference for ModifyCapacityReservationFleet Operation public virtual ModifyCapacityReservationFleetResponse ModifyCapacityReservationFleet(ModifyCapacityReservationFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyCapacityReservationFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyCapacityReservationFleetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies a Capacity Reservation Fleet. /// /// /// /// When you modify the total target capacity of a Capacity Reservation Fleet, the Fleet /// automatically creates new Capacity Reservations, or modifies or cancels existing Capacity /// Reservations in the Fleet to meet the new total target capacity. When you modify the /// end date for the Fleet, the end dates for all of the individual Capacity Reservations /// in the Fleet are updated accordingly. /// /// /// Container for the necessary parameters to execute the ModifyCapacityReservationFleet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyCapacityReservationFleet service method, as returned by EC2. /// REST API Reference for ModifyCapacityReservationFleet Operation public virtual Task ModifyCapacityReservationFleetAsync(ModifyCapacityReservationFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyCapacityReservationFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyCapacityReservationFleetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyClientVpnEndpoint /// /// Modifies the specified Client VPN endpoint. Modifying the DNS server resets existing /// client connections. /// /// Container for the necessary parameters to execute the ModifyClientVpnEndpoint service method. /// /// The response from the ModifyClientVpnEndpoint service method, as returned by EC2. /// REST API Reference for ModifyClientVpnEndpoint Operation public virtual ModifyClientVpnEndpointResponse ModifyClientVpnEndpoint(ModifyClientVpnEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyClientVpnEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyClientVpnEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified Client VPN endpoint. Modifying the DNS server resets existing /// client connections. /// /// Container for the necessary parameters to execute the ModifyClientVpnEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyClientVpnEndpoint service method, as returned by EC2. /// REST API Reference for ModifyClientVpnEndpoint Operation public virtual Task ModifyClientVpnEndpointAsync(ModifyClientVpnEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyClientVpnEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyClientVpnEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyDefaultCreditSpecification /// /// Modifies the default credit option for CPU usage of burstable performance instances. /// The default credit option is set at the account level per Amazon Web Services Region, /// and is specified per instance family. All new burstable performance instances in the /// account launch using the default credit option. /// /// /// /// ModifyDefaultCreditSpecification is an asynchronous operation, which /// works at an Amazon Web Services Region level and modifies the credit option for each /// Availability Zone. All zones in a Region are updated within five minutes. But if instances /// are launched during this operation, they might not get the new credit option until /// the zone is updated. To verify whether the update has occurred, you can call GetDefaultCreditSpecification /// and check DefaultCreditSpecification for updates. /// /// /// /// For more information, see Burstable /// performance instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the ModifyDefaultCreditSpecification service method. /// /// The response from the ModifyDefaultCreditSpecification service method, as returned by EC2. /// REST API Reference for ModifyDefaultCreditSpecification Operation public virtual ModifyDefaultCreditSpecificationResponse ModifyDefaultCreditSpecification(ModifyDefaultCreditSpecificationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyDefaultCreditSpecificationRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyDefaultCreditSpecificationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the default credit option for CPU usage of burstable performance instances. /// The default credit option is set at the account level per Amazon Web Services Region, /// and is specified per instance family. All new burstable performance instances in the /// account launch using the default credit option. /// /// /// /// ModifyDefaultCreditSpecification is an asynchronous operation, which /// works at an Amazon Web Services Region level and modifies the credit option for each /// Availability Zone. All zones in a Region are updated within five minutes. But if instances /// are launched during this operation, they might not get the new credit option until /// the zone is updated. To verify whether the update has occurred, you can call GetDefaultCreditSpecification /// and check DefaultCreditSpecification for updates. /// /// /// /// For more information, see Burstable /// performance instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the ModifyDefaultCreditSpecification service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyDefaultCreditSpecification service method, as returned by EC2. /// REST API Reference for ModifyDefaultCreditSpecification Operation public virtual Task ModifyDefaultCreditSpecificationAsync(ModifyDefaultCreditSpecificationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyDefaultCreditSpecificationRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyDefaultCreditSpecificationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyEbsDefaultKmsKeyId /// /// Changes the default KMS key for EBS encryption by default for your account in this /// Region. /// /// /// /// Amazon Web Services creates a unique Amazon Web Services managed KMS key in each Region /// for use with encryption by default. If you change the default KMS key to a symmetric /// customer managed KMS key, it is used instead of the Amazon Web Services managed KMS /// key. To reset the default KMS key to the Amazon Web Services managed KMS key for EBS, /// use ResetEbsDefaultKmsKeyId. Amazon EBS does not support asymmetric KMS keys. /// /// /// /// If you delete or disable the customer managed KMS key that you specified for use with /// encryption by default, your instances will fail to launch. /// /// /// /// For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the ModifyEbsDefaultKmsKeyId service method. /// /// The response from the ModifyEbsDefaultKmsKeyId service method, as returned by EC2. /// REST API Reference for ModifyEbsDefaultKmsKeyId Operation public virtual ModifyEbsDefaultKmsKeyIdResponse ModifyEbsDefaultKmsKeyId(ModifyEbsDefaultKmsKeyIdRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyEbsDefaultKmsKeyIdRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyEbsDefaultKmsKeyIdResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes the default KMS key for EBS encryption by default for your account in this /// Region. /// /// /// /// Amazon Web Services creates a unique Amazon Web Services managed KMS key in each Region /// for use with encryption by default. If you change the default KMS key to a symmetric /// customer managed KMS key, it is used instead of the Amazon Web Services managed KMS /// key. To reset the default KMS key to the Amazon Web Services managed KMS key for EBS, /// use ResetEbsDefaultKmsKeyId. Amazon EBS does not support asymmetric KMS keys. /// /// /// /// If you delete or disable the customer managed KMS key that you specified for use with /// encryption by default, your instances will fail to launch. /// /// /// /// For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the ModifyEbsDefaultKmsKeyId service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyEbsDefaultKmsKeyId service method, as returned by EC2. /// REST API Reference for ModifyEbsDefaultKmsKeyId Operation public virtual Task ModifyEbsDefaultKmsKeyIdAsync(ModifyEbsDefaultKmsKeyIdRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyEbsDefaultKmsKeyIdRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyEbsDefaultKmsKeyIdResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyFleet /// /// Modifies the specified EC2 Fleet. /// /// /// /// You can only modify an EC2 Fleet request of type maintain. /// /// /// /// While the EC2 Fleet is being modified, it is in the modifying state. /// /// /// /// To scale up your EC2 Fleet, increase its target capacity. The EC2 Fleet launches the /// additional Spot Instances according to the allocation strategy for the EC2 Fleet request. /// If the allocation strategy is lowest-price, the EC2 Fleet launches instances /// using the Spot Instance pool with the lowest price. If the allocation strategy is /// diversified, the EC2 Fleet distributes the instances across the Spot /// Instance pools. If the allocation strategy is capacity-optimized, EC2 /// Fleet launches instances from Spot Instance pools with optimal capacity for the number /// of instances that are launching. /// /// /// /// To scale down your EC2 Fleet, decrease its target capacity. First, the EC2 Fleet cancels /// any open requests that exceed the new target capacity. You can request that the EC2 /// Fleet terminate Spot Instances until the size of the fleet no longer exceeds the new /// target capacity. If the allocation strategy is lowest-price, the EC2 /// Fleet terminates the instances with the highest price per unit. If the allocation /// strategy is capacity-optimized, the EC2 Fleet terminates the instances /// in the Spot Instance pools that have the least available Spot Instance capacity. If /// the allocation strategy is diversified, the EC2 Fleet terminates instances /// across the Spot Instance pools. Alternatively, you can request that the EC2 Fleet /// keep the fleet at its current size, but not replace any Spot Instances that are interrupted /// or that you terminate manually. /// /// /// /// If you are finished with your EC2 Fleet for now, but will use it again later, you /// can set the target capacity to 0. /// /// /// Container for the necessary parameters to execute the ModifyFleet service method. /// /// The response from the ModifyFleet service method, as returned by EC2. /// REST API Reference for ModifyFleet Operation public virtual ModifyFleetResponse ModifyFleet(ModifyFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyFleetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified EC2 Fleet. /// /// /// /// You can only modify an EC2 Fleet request of type maintain. /// /// /// /// While the EC2 Fleet is being modified, it is in the modifying state. /// /// /// /// To scale up your EC2 Fleet, increase its target capacity. The EC2 Fleet launches the /// additional Spot Instances according to the allocation strategy for the EC2 Fleet request. /// If the allocation strategy is lowest-price, the EC2 Fleet launches instances /// using the Spot Instance pool with the lowest price. If the allocation strategy is /// diversified, the EC2 Fleet distributes the instances across the Spot /// Instance pools. If the allocation strategy is capacity-optimized, EC2 /// Fleet launches instances from Spot Instance pools with optimal capacity for the number /// of instances that are launching. /// /// /// /// To scale down your EC2 Fleet, decrease its target capacity. First, the EC2 Fleet cancels /// any open requests that exceed the new target capacity. You can request that the EC2 /// Fleet terminate Spot Instances until the size of the fleet no longer exceeds the new /// target capacity. If the allocation strategy is lowest-price, the EC2 /// Fleet terminates the instances with the highest price per unit. If the allocation /// strategy is capacity-optimized, the EC2 Fleet terminates the instances /// in the Spot Instance pools that have the least available Spot Instance capacity. If /// the allocation strategy is diversified, the EC2 Fleet terminates instances /// across the Spot Instance pools. Alternatively, you can request that the EC2 Fleet /// keep the fleet at its current size, but not replace any Spot Instances that are interrupted /// or that you terminate manually. /// /// /// /// If you are finished with your EC2 Fleet for now, but will use it again later, you /// can set the target capacity to 0. /// /// /// Container for the necessary parameters to execute the ModifyFleet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyFleet service method, as returned by EC2. /// REST API Reference for ModifyFleet Operation public virtual Task ModifyFleetAsync(ModifyFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyFleetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyFpgaImageAttribute /// /// Modifies the specified attribute of the specified Amazon FPGA Image (AFI). /// /// Container for the necessary parameters to execute the ModifyFpgaImageAttribute service method. /// /// The response from the ModifyFpgaImageAttribute service method, as returned by EC2. /// REST API Reference for ModifyFpgaImageAttribute Operation public virtual ModifyFpgaImageAttributeResponse ModifyFpgaImageAttribute(ModifyFpgaImageAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyFpgaImageAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyFpgaImageAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified attribute of the specified Amazon FPGA Image (AFI). /// /// Container for the necessary parameters to execute the ModifyFpgaImageAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyFpgaImageAttribute service method, as returned by EC2. /// REST API Reference for ModifyFpgaImageAttribute Operation public virtual Task ModifyFpgaImageAttributeAsync(ModifyFpgaImageAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyFpgaImageAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyFpgaImageAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyHosts /// /// Modify the auto-placement setting of a Dedicated Host. When auto-placement is enabled, /// any instances that you launch with a tenancy of host but without a specific /// host ID are placed onto any available Dedicated Host in your account that has auto-placement /// enabled. When auto-placement is disabled, you need to provide a host ID to have the /// instance launch onto a specific host. If no host ID is provided, the instance is launched /// onto a suitable host with auto-placement enabled. /// /// /// /// You can also use this API action to modify a Dedicated Host to support either multiple /// instance types in an instance family, or to support a specific instance type only. /// /// /// Container for the necessary parameters to execute the ModifyHosts service method. /// /// The response from the ModifyHosts service method, as returned by EC2. /// REST API Reference for ModifyHosts Operation public virtual ModifyHostsResponse ModifyHosts(ModifyHostsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyHostsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyHostsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modify the auto-placement setting of a Dedicated Host. When auto-placement is enabled, /// any instances that you launch with a tenancy of host but without a specific /// host ID are placed onto any available Dedicated Host in your account that has auto-placement /// enabled. When auto-placement is disabled, you need to provide a host ID to have the /// instance launch onto a specific host. If no host ID is provided, the instance is launched /// onto a suitable host with auto-placement enabled. /// /// /// /// You can also use this API action to modify a Dedicated Host to support either multiple /// instance types in an instance family, or to support a specific instance type only. /// /// /// Container for the necessary parameters to execute the ModifyHosts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyHosts service method, as returned by EC2. /// REST API Reference for ModifyHosts Operation public virtual Task ModifyHostsAsync(ModifyHostsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyHostsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyHostsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyIdentityIdFormat /// /// Modifies the ID format of a resource for a specified IAM user, IAM role, or the root /// user for an account; or all IAM users, IAM roles, and the root user for an account. /// You can specify that resources should receive longer IDs (17-character IDs) when they /// are created. /// /// /// /// This request can only be used to modify longer ID settings for resource types that /// are within the opt-in period. Resources currently in their opt-in period include: /// bundle | conversion-task | customer-gateway /// | dhcp-options | elastic-ip-allocation | elastic-ip-association /// | export-task | flow-log | image | import-task /// | internet-gateway | network-acl | network-acl-association /// | network-interface | network-interface-attachment | prefix-list /// | route-table | route-table-association | security-group /// | subnet | subnet-cidr-block-association | vpc /// | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection /// | vpn-connection | vpn-gateway. /// /// /// /// For more information, see Resource /// IDs in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// This setting applies to the principal specified in the request; it does not apply /// to the principal that makes the request. /// /// /// /// Resources created with longer IDs are visible to all IAM roles and users, regardless /// of these settings and provided that they have permission to use the relevant Describe /// command for the resource type. /// /// /// Container for the necessary parameters to execute the ModifyIdentityIdFormat service method. /// /// The response from the ModifyIdentityIdFormat service method, as returned by EC2. /// REST API Reference for ModifyIdentityIdFormat Operation public virtual ModifyIdentityIdFormatResponse ModifyIdentityIdFormat(ModifyIdentityIdFormatRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyIdentityIdFormatRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyIdentityIdFormatResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the ID format of a resource for a specified IAM user, IAM role, or the root /// user for an account; or all IAM users, IAM roles, and the root user for an account. /// You can specify that resources should receive longer IDs (17-character IDs) when they /// are created. /// /// /// /// This request can only be used to modify longer ID settings for resource types that /// are within the opt-in period. Resources currently in their opt-in period include: /// bundle | conversion-task | customer-gateway /// | dhcp-options | elastic-ip-allocation | elastic-ip-association /// | export-task | flow-log | image | import-task /// | internet-gateway | network-acl | network-acl-association /// | network-interface | network-interface-attachment | prefix-list /// | route-table | route-table-association | security-group /// | subnet | subnet-cidr-block-association | vpc /// | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection /// | vpn-connection | vpn-gateway. /// /// /// /// For more information, see Resource /// IDs in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// This setting applies to the principal specified in the request; it does not apply /// to the principal that makes the request. /// /// /// /// Resources created with longer IDs are visible to all IAM roles and users, regardless /// of these settings and provided that they have permission to use the relevant Describe /// command for the resource type. /// /// /// Container for the necessary parameters to execute the ModifyIdentityIdFormat service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyIdentityIdFormat service method, as returned by EC2. /// REST API Reference for ModifyIdentityIdFormat Operation public virtual Task ModifyIdentityIdFormatAsync(ModifyIdentityIdFormatRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyIdentityIdFormatRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyIdentityIdFormatResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyIdFormat /// /// Modifies the ID format for the specified resource on a per-Region basis. You can specify /// that resources should receive longer IDs (17-character IDs) when they are created. /// /// /// /// This request can only be used to modify longer ID settings for resource types that /// are within the opt-in period. Resources currently in their opt-in period include: /// bundle | conversion-task | customer-gateway /// | dhcp-options | elastic-ip-allocation | elastic-ip-association /// | export-task | flow-log | image | import-task /// | internet-gateway | network-acl | network-acl-association /// | network-interface | network-interface-attachment | prefix-list /// | route-table | route-table-association | security-group /// | subnet | subnet-cidr-block-association | vpc /// | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection /// | vpn-connection | vpn-gateway. /// /// /// /// This setting applies to the IAM user who makes the request; it does not apply to the /// entire Amazon Web Services account. By default, an IAM user defaults to the same settings /// as the root user. If you're using this action as the root user, then these settings /// apply to the entire account, unless an IAM user explicitly overrides these settings /// for themselves. For more information, see Resource /// IDs in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// Resources created with longer IDs are visible to all IAM roles and users, regardless /// of these settings and provided that they have permission to use the relevant Describe /// command for the resource type. /// /// /// Container for the necessary parameters to execute the ModifyIdFormat service method. /// /// The response from the ModifyIdFormat service method, as returned by EC2. /// REST API Reference for ModifyIdFormat Operation public virtual ModifyIdFormatResponse ModifyIdFormat(ModifyIdFormatRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyIdFormatRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyIdFormatResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the ID format for the specified resource on a per-Region basis. You can specify /// that resources should receive longer IDs (17-character IDs) when they are created. /// /// /// /// This request can only be used to modify longer ID settings for resource types that /// are within the opt-in period. Resources currently in their opt-in period include: /// bundle | conversion-task | customer-gateway /// | dhcp-options | elastic-ip-allocation | elastic-ip-association /// | export-task | flow-log | image | import-task /// | internet-gateway | network-acl | network-acl-association /// | network-interface | network-interface-attachment | prefix-list /// | route-table | route-table-association | security-group /// | subnet | subnet-cidr-block-association | vpc /// | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection /// | vpn-connection | vpn-gateway. /// /// /// /// This setting applies to the IAM user who makes the request; it does not apply to the /// entire Amazon Web Services account. By default, an IAM user defaults to the same settings /// as the root user. If you're using this action as the root user, then these settings /// apply to the entire account, unless an IAM user explicitly overrides these settings /// for themselves. For more information, see Resource /// IDs in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// Resources created with longer IDs are visible to all IAM roles and users, regardless /// of these settings and provided that they have permission to use the relevant Describe /// command for the resource type. /// /// /// Container for the necessary parameters to execute the ModifyIdFormat service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyIdFormat service method, as returned by EC2. /// REST API Reference for ModifyIdFormat Operation public virtual Task ModifyIdFormatAsync(ModifyIdFormatRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyIdFormatRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyIdFormatResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyImageAttribute /// /// Modifies the specified attribute of the specified AMI. You can specify only one attribute /// at a time. /// /// /// /// To specify the attribute, you can use the Attribute parameter, or one /// of the following parameters: Description, ImdsSupport, or /// LaunchPermission. /// /// /// /// Images with an Amazon Web Services Marketplace product code cannot be made public. /// /// /// /// To enable the SriovNetSupport enhanced networking attribute of an image, enable SriovNetSupport /// on an instance and create an AMI from the instance. /// /// /// Container for the necessary parameters to execute the ModifyImageAttribute service method. /// /// The response from the ModifyImageAttribute service method, as returned by EC2. /// REST API Reference for ModifyImageAttribute Operation public virtual ModifyImageAttributeResponse ModifyImageAttribute(ModifyImageAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyImageAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyImageAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified attribute of the specified AMI. You can specify only one attribute /// at a time. /// /// /// /// To specify the attribute, you can use the Attribute parameter, or one /// of the following parameters: Description, ImdsSupport, or /// LaunchPermission. /// /// /// /// Images with an Amazon Web Services Marketplace product code cannot be made public. /// /// /// /// To enable the SriovNetSupport enhanced networking attribute of an image, enable SriovNetSupport /// on an instance and create an AMI from the instance. /// /// /// Container for the necessary parameters to execute the ModifyImageAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyImageAttribute service method, as returned by EC2. /// REST API Reference for ModifyImageAttribute Operation public virtual Task ModifyImageAttributeAsync(ModifyImageAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyImageAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyImageAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyInstanceAttribute /// /// Modifies the specified attribute of the specified instance. You can specify only one /// attribute at a time. /// /// /// /// Note: Using this action to change the security groups associated with an elastic /// network interface (ENI) attached to an instance can result in an error if the instance /// has more than one ENI. To change the security groups associated with an ENI attached /// to an instance that has multiple ENIs, we recommend that you use the ModifyNetworkInterfaceAttribute /// action. /// /// /// /// To modify some attributes, the instance must be stopped. For more information, see /// Modify /// a stopped instance in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the ModifyInstanceAttribute service method. /// /// The response from the ModifyInstanceAttribute service method, as returned by EC2. /// REST API Reference for ModifyInstanceAttribute Operation public virtual ModifyInstanceAttributeResponse ModifyInstanceAttribute(ModifyInstanceAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstanceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstanceAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified attribute of the specified instance. You can specify only one /// attribute at a time. /// /// /// /// Note: Using this action to change the security groups associated with an elastic /// network interface (ENI) attached to an instance can result in an error if the instance /// has more than one ENI. To change the security groups associated with an ENI attached /// to an instance that has multiple ENIs, we recommend that you use the ModifyNetworkInterfaceAttribute /// action. /// /// /// /// To modify some attributes, the instance must be stopped. For more information, see /// Modify /// a stopped instance in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the ModifyInstanceAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyInstanceAttribute service method, as returned by EC2. /// REST API Reference for ModifyInstanceAttribute Operation public virtual Task ModifyInstanceAttributeAsync(ModifyInstanceAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstanceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstanceAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyInstanceCapacityReservationAttributes /// /// Modifies the Capacity Reservation settings for a stopped instance. Use this action /// to configure an instance to target a specific Capacity Reservation, run in any open /// Capacity Reservation with matching attributes, or run On-Demand Instance capacity. /// /// Container for the necessary parameters to execute the ModifyInstanceCapacityReservationAttributes service method. /// /// The response from the ModifyInstanceCapacityReservationAttributes service method, as returned by EC2. /// REST API Reference for ModifyInstanceCapacityReservationAttributes Operation public virtual ModifyInstanceCapacityReservationAttributesResponse ModifyInstanceCapacityReservationAttributes(ModifyInstanceCapacityReservationAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstanceCapacityReservationAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstanceCapacityReservationAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the Capacity Reservation settings for a stopped instance. Use this action /// to configure an instance to target a specific Capacity Reservation, run in any open /// Capacity Reservation with matching attributes, or run On-Demand Instance capacity. /// /// Container for the necessary parameters to execute the ModifyInstanceCapacityReservationAttributes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyInstanceCapacityReservationAttributes service method, as returned by EC2. /// REST API Reference for ModifyInstanceCapacityReservationAttributes Operation public virtual Task ModifyInstanceCapacityReservationAttributesAsync(ModifyInstanceCapacityReservationAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstanceCapacityReservationAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstanceCapacityReservationAttributesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyInstanceCreditSpecification /// /// Modifies the credit option for CPU usage on a running or stopped burstable performance /// instance. The credit options are standard and unlimited. /// /// /// /// For more information, see Burstable /// performance instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the ModifyInstanceCreditSpecification service method. /// /// The response from the ModifyInstanceCreditSpecification service method, as returned by EC2. /// REST API Reference for ModifyInstanceCreditSpecification Operation public virtual ModifyInstanceCreditSpecificationResponse ModifyInstanceCreditSpecification(ModifyInstanceCreditSpecificationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstanceCreditSpecificationRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstanceCreditSpecificationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the credit option for CPU usage on a running or stopped burstable performance /// instance. The credit options are standard and unlimited. /// /// /// /// For more information, see Burstable /// performance instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the ModifyInstanceCreditSpecification service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyInstanceCreditSpecification service method, as returned by EC2. /// REST API Reference for ModifyInstanceCreditSpecification Operation public virtual Task ModifyInstanceCreditSpecificationAsync(ModifyInstanceCreditSpecificationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstanceCreditSpecificationRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstanceCreditSpecificationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyInstanceEventStartTime /// /// Modifies the start time for a scheduled Amazon EC2 instance event. /// /// Container for the necessary parameters to execute the ModifyInstanceEventStartTime service method. /// /// The response from the ModifyInstanceEventStartTime service method, as returned by EC2. /// REST API Reference for ModifyInstanceEventStartTime Operation public virtual ModifyInstanceEventStartTimeResponse ModifyInstanceEventStartTime(ModifyInstanceEventStartTimeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstanceEventStartTimeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstanceEventStartTimeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the start time for a scheduled Amazon EC2 instance event. /// /// Container for the necessary parameters to execute the ModifyInstanceEventStartTime service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyInstanceEventStartTime service method, as returned by EC2. /// REST API Reference for ModifyInstanceEventStartTime Operation public virtual Task ModifyInstanceEventStartTimeAsync(ModifyInstanceEventStartTimeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstanceEventStartTimeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstanceEventStartTimeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyInstanceEventWindow /// /// Modifies the specified event window. /// /// /// /// You can define either a set of time ranges or a cron expression when modifying the /// event window, but not both. /// /// /// /// To modify the targets associated with the event window, use the AssociateInstanceEventWindow /// and DisassociateInstanceEventWindow API. /// /// /// /// If Amazon Web Services has already scheduled an event, modifying an event window won't /// change the time of the scheduled event. /// /// /// /// For more information, see Define /// event windows for scheduled events in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the ModifyInstanceEventWindow service method. /// /// The response from the ModifyInstanceEventWindow service method, as returned by EC2. /// REST API Reference for ModifyInstanceEventWindow Operation public virtual ModifyInstanceEventWindowResponse ModifyInstanceEventWindow(ModifyInstanceEventWindowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstanceEventWindowRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstanceEventWindowResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified event window. /// /// /// /// You can define either a set of time ranges or a cron expression when modifying the /// event window, but not both. /// /// /// /// To modify the targets associated with the event window, use the AssociateInstanceEventWindow /// and DisassociateInstanceEventWindow API. /// /// /// /// If Amazon Web Services has already scheduled an event, modifying an event window won't /// change the time of the scheduled event. /// /// /// /// For more information, see Define /// event windows for scheduled events in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the ModifyInstanceEventWindow service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyInstanceEventWindow service method, as returned by EC2. /// REST API Reference for ModifyInstanceEventWindow Operation public virtual Task ModifyInstanceEventWindowAsync(ModifyInstanceEventWindowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstanceEventWindowRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstanceEventWindowResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyInstanceMaintenanceOptions /// /// Modifies the recovery behavior of your instance to disable simplified automatic recovery /// or set the recovery behavior to default. The default configuration will not enable /// simplified automatic recovery for an unsupported instance type. For more information, /// see Simplified /// automatic recovery. /// /// Container for the necessary parameters to execute the ModifyInstanceMaintenanceOptions service method. /// /// The response from the ModifyInstanceMaintenanceOptions service method, as returned by EC2. /// REST API Reference for ModifyInstanceMaintenanceOptions Operation public virtual ModifyInstanceMaintenanceOptionsResponse ModifyInstanceMaintenanceOptions(ModifyInstanceMaintenanceOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstanceMaintenanceOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstanceMaintenanceOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the recovery behavior of your instance to disable simplified automatic recovery /// or set the recovery behavior to default. The default configuration will not enable /// simplified automatic recovery for an unsupported instance type. For more information, /// see Simplified /// automatic recovery. /// /// Container for the necessary parameters to execute the ModifyInstanceMaintenanceOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyInstanceMaintenanceOptions service method, as returned by EC2. /// REST API Reference for ModifyInstanceMaintenanceOptions Operation public virtual Task ModifyInstanceMaintenanceOptionsAsync(ModifyInstanceMaintenanceOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstanceMaintenanceOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstanceMaintenanceOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyInstanceMetadataOptions /// /// Modify the instance metadata parameters on a running or stopped instance. When you /// modify the parameters on a stopped instance, they are applied when the instance is /// started. When you modify the parameters on a running instance, the API responds with /// a state of “pending”. After the parameter modifications are successfully applied to /// the instance, the state of the modifications changes from “pending” to “applied” in /// subsequent describe-instances API calls. For more information, see Instance /// metadata and user data in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the ModifyInstanceMetadataOptions service method. /// /// The response from the ModifyInstanceMetadataOptions service method, as returned by EC2. /// REST API Reference for ModifyInstanceMetadataOptions Operation public virtual ModifyInstanceMetadataOptionsResponse ModifyInstanceMetadataOptions(ModifyInstanceMetadataOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstanceMetadataOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstanceMetadataOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modify the instance metadata parameters on a running or stopped instance. When you /// modify the parameters on a stopped instance, they are applied when the instance is /// started. When you modify the parameters on a running instance, the API responds with /// a state of “pending”. After the parameter modifications are successfully applied to /// the instance, the state of the modifications changes from “pending” to “applied” in /// subsequent describe-instances API calls. For more information, see Instance /// metadata and user data in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the ModifyInstanceMetadataOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyInstanceMetadataOptions service method, as returned by EC2. /// REST API Reference for ModifyInstanceMetadataOptions Operation public virtual Task ModifyInstanceMetadataOptionsAsync(ModifyInstanceMetadataOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstanceMetadataOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstanceMetadataOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyInstancePlacement /// /// Modifies the placement attributes for a specified instance. You can do the following: /// ///
  • /// /// Modify the affinity between an instance and a Dedicated /// Host. When affinity is set to host and the instance is not associated /// with a specific Dedicated Host, the next time the instance is launched, it is automatically /// associated with the host on which it lands. If the instance is restarted or rebooted, /// this relationship persists. /// ///
  • /// /// Change the Dedicated Host with which an instance is associated. /// ///
  • /// /// Change the instance tenancy of an instance. /// ///
  • /// /// Move an instance to or from a placement /// group. /// ///
/// /// At least one attribute for affinity, host ID, tenancy, or placement group name must /// be specified in the request. Affinity and tenancy can be modified in the same request. /// /// /// /// To modify the host ID, tenancy, placement group, or partition for an instance, the /// instance must be in the stopped state. /// ///
/// Container for the necessary parameters to execute the ModifyInstancePlacement service method. /// /// The response from the ModifyInstancePlacement service method, as returned by EC2. /// REST API Reference for ModifyInstancePlacement Operation public virtual ModifyInstancePlacementResponse ModifyInstancePlacement(ModifyInstancePlacementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstancePlacementRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstancePlacementResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the placement attributes for a specified instance. You can do the following: /// ///
  • /// /// Modify the affinity between an instance and a Dedicated /// Host. When affinity is set to host and the instance is not associated /// with a specific Dedicated Host, the next time the instance is launched, it is automatically /// associated with the host on which it lands. If the instance is restarted or rebooted, /// this relationship persists. /// ///
  • /// /// Change the Dedicated Host with which an instance is associated. /// ///
  • /// /// Change the instance tenancy of an instance. /// ///
  • /// /// Move an instance to or from a placement /// group. /// ///
/// /// At least one attribute for affinity, host ID, tenancy, or placement group name must /// be specified in the request. Affinity and tenancy can be modified in the same request. /// /// /// /// To modify the host ID, tenancy, placement group, or partition for an instance, the /// instance must be in the stopped state. /// ///
/// Container for the necessary parameters to execute the ModifyInstancePlacement service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyInstancePlacement service method, as returned by EC2. /// REST API Reference for ModifyInstancePlacement Operation public virtual Task ModifyInstancePlacementAsync(ModifyInstancePlacementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyInstancePlacementRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyInstancePlacementResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyIpam /// /// Modify the configurations of an IPAM. /// /// Container for the necessary parameters to execute the ModifyIpam service method. /// /// The response from the ModifyIpam service method, as returned by EC2. /// REST API Reference for ModifyIpam Operation public virtual ModifyIpamResponse ModifyIpam(ModifyIpamRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyIpamRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyIpamResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modify the configurations of an IPAM. /// /// Container for the necessary parameters to execute the ModifyIpam service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyIpam service method, as returned by EC2. /// REST API Reference for ModifyIpam Operation public virtual Task ModifyIpamAsync(ModifyIpamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyIpamRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyIpamResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyIpamPool /// /// Modify the configurations of an IPAM pool. /// /// /// /// For more information, see Modify /// a pool in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the ModifyIpamPool service method. /// /// The response from the ModifyIpamPool service method, as returned by EC2. /// REST API Reference for ModifyIpamPool Operation public virtual ModifyIpamPoolResponse ModifyIpamPool(ModifyIpamPoolRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyIpamPoolRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyIpamPoolResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modify the configurations of an IPAM pool. /// /// /// /// For more information, see Modify /// a pool in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the ModifyIpamPool service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyIpamPool service method, as returned by EC2. /// REST API Reference for ModifyIpamPool Operation public virtual Task ModifyIpamPoolAsync(ModifyIpamPoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyIpamPoolRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyIpamPoolResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyIpamResourceCidr /// /// Modify a resource CIDR. You can use this action to transfer resource CIDRs between /// scopes and ignore resource CIDRs that you do not want to manage. If set to false, /// the resource will not be tracked for overlap, it cannot be auto-imported into a pool, /// and it will be removed from any pool it has an allocation in. /// /// /// /// For more information, see Move /// resource CIDRs between scopes and Change /// the monitoring state of resource CIDRs in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the ModifyIpamResourceCidr service method. /// /// The response from the ModifyIpamResourceCidr service method, as returned by EC2. /// REST API Reference for ModifyIpamResourceCidr Operation public virtual ModifyIpamResourceCidrResponse ModifyIpamResourceCidr(ModifyIpamResourceCidrRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyIpamResourceCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyIpamResourceCidrResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modify a resource CIDR. You can use this action to transfer resource CIDRs between /// scopes and ignore resource CIDRs that you do not want to manage. If set to false, /// the resource will not be tracked for overlap, it cannot be auto-imported into a pool, /// and it will be removed from any pool it has an allocation in. /// /// /// /// For more information, see Move /// resource CIDRs between scopes and Change /// the monitoring state of resource CIDRs in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the ModifyIpamResourceCidr service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyIpamResourceCidr service method, as returned by EC2. /// REST API Reference for ModifyIpamResourceCidr Operation public virtual Task ModifyIpamResourceCidrAsync(ModifyIpamResourceCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyIpamResourceCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyIpamResourceCidrResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyIpamResourceDiscovery /// /// Modifies a resource discovery. A resource discovery is an IPAM component that enables /// IPAM to manage and monitor resources that belong to the owning account. /// /// Container for the necessary parameters to execute the ModifyIpamResourceDiscovery service method. /// /// The response from the ModifyIpamResourceDiscovery service method, as returned by EC2. /// REST API Reference for ModifyIpamResourceDiscovery Operation public virtual ModifyIpamResourceDiscoveryResponse ModifyIpamResourceDiscovery(ModifyIpamResourceDiscoveryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyIpamResourceDiscoveryRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyIpamResourceDiscoveryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies a resource discovery. A resource discovery is an IPAM component that enables /// IPAM to manage and monitor resources that belong to the owning account. /// /// Container for the necessary parameters to execute the ModifyIpamResourceDiscovery service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyIpamResourceDiscovery service method, as returned by EC2. /// REST API Reference for ModifyIpamResourceDiscovery Operation public virtual Task ModifyIpamResourceDiscoveryAsync(ModifyIpamResourceDiscoveryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyIpamResourceDiscoveryRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyIpamResourceDiscoveryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyIpamScope /// /// Modify an IPAM scope. /// /// Container for the necessary parameters to execute the ModifyIpamScope service method. /// /// The response from the ModifyIpamScope service method, as returned by EC2. /// REST API Reference for ModifyIpamScope Operation public virtual ModifyIpamScopeResponse ModifyIpamScope(ModifyIpamScopeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyIpamScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyIpamScopeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modify an IPAM scope. /// /// Container for the necessary parameters to execute the ModifyIpamScope service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyIpamScope service method, as returned by EC2. /// REST API Reference for ModifyIpamScope Operation public virtual Task ModifyIpamScopeAsync(ModifyIpamScopeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyIpamScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyIpamScopeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyLaunchTemplate /// /// Modifies a launch template. You can specify which version of the launch template to /// set as the default version. When launching an instance, the default version applies /// when a launch template version is not specified. /// /// Container for the necessary parameters to execute the ModifyLaunchTemplate service method. /// /// The response from the ModifyLaunchTemplate service method, as returned by EC2. /// REST API Reference for ModifyLaunchTemplate Operation public virtual ModifyLaunchTemplateResponse ModifyLaunchTemplate(ModifyLaunchTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyLaunchTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyLaunchTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies a launch template. You can specify which version of the launch template to /// set as the default version. When launching an instance, the default version applies /// when a launch template version is not specified. /// /// Container for the necessary parameters to execute the ModifyLaunchTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyLaunchTemplate service method, as returned by EC2. /// REST API Reference for ModifyLaunchTemplate Operation public virtual Task ModifyLaunchTemplateAsync(ModifyLaunchTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyLaunchTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyLaunchTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyLocalGatewayRoute /// /// Modifies the specified local gateway route. /// /// Container for the necessary parameters to execute the ModifyLocalGatewayRoute service method. /// /// The response from the ModifyLocalGatewayRoute service method, as returned by EC2. /// REST API Reference for ModifyLocalGatewayRoute Operation public virtual ModifyLocalGatewayRouteResponse ModifyLocalGatewayRoute(ModifyLocalGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyLocalGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyLocalGatewayRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified local gateway route. /// /// Container for the necessary parameters to execute the ModifyLocalGatewayRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyLocalGatewayRoute service method, as returned by EC2. /// REST API Reference for ModifyLocalGatewayRoute Operation public virtual Task ModifyLocalGatewayRouteAsync(ModifyLocalGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyLocalGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyLocalGatewayRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyManagedPrefixList /// /// Modifies the specified managed prefix list. /// /// /// /// Adding or removing entries in a prefix list creates a new version of the prefix list. /// Changing the name of the prefix list does not affect the version. /// /// /// /// If you specify a current version number that does not match the true current version /// number, the request fails. /// /// /// Container for the necessary parameters to execute the ModifyManagedPrefixList service method. /// /// The response from the ModifyManagedPrefixList service method, as returned by EC2. /// REST API Reference for ModifyManagedPrefixList Operation public virtual ModifyManagedPrefixListResponse ModifyManagedPrefixList(ModifyManagedPrefixListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyManagedPrefixListRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyManagedPrefixListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified managed prefix list. /// /// /// /// Adding or removing entries in a prefix list creates a new version of the prefix list. /// Changing the name of the prefix list does not affect the version. /// /// /// /// If you specify a current version number that does not match the true current version /// number, the request fails. /// /// /// Container for the necessary parameters to execute the ModifyManagedPrefixList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyManagedPrefixList service method, as returned by EC2. /// REST API Reference for ModifyManagedPrefixList Operation public virtual Task ModifyManagedPrefixListAsync(ModifyManagedPrefixListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyManagedPrefixListRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyManagedPrefixListResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyNetworkInterfaceAttribute /// /// Modifies the specified network interface attribute. You can specify only one attribute /// at a time. You can use this action to attach and detach security groups from an existing /// EC2 instance. /// /// Container for the necessary parameters to execute the ModifyNetworkInterfaceAttribute service method. /// /// The response from the ModifyNetworkInterfaceAttribute service method, as returned by EC2. /// REST API Reference for ModifyNetworkInterfaceAttribute Operation public virtual ModifyNetworkInterfaceAttributeResponse ModifyNetworkInterfaceAttribute(ModifyNetworkInterfaceAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyNetworkInterfaceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyNetworkInterfaceAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified network interface attribute. You can specify only one attribute /// at a time. You can use this action to attach and detach security groups from an existing /// EC2 instance. /// /// Container for the necessary parameters to execute the ModifyNetworkInterfaceAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyNetworkInterfaceAttribute service method, as returned by EC2. /// REST API Reference for ModifyNetworkInterfaceAttribute Operation public virtual Task ModifyNetworkInterfaceAttributeAsync(ModifyNetworkInterfaceAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyNetworkInterfaceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyNetworkInterfaceAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyPrivateDnsNameOptions /// /// Modifies the options for instance hostnames for the specified instance. /// /// Container for the necessary parameters to execute the ModifyPrivateDnsNameOptions service method. /// /// The response from the ModifyPrivateDnsNameOptions service method, as returned by EC2. /// REST API Reference for ModifyPrivateDnsNameOptions Operation public virtual ModifyPrivateDnsNameOptionsResponse ModifyPrivateDnsNameOptions(ModifyPrivateDnsNameOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyPrivateDnsNameOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyPrivateDnsNameOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the options for instance hostnames for the specified instance. /// /// Container for the necessary parameters to execute the ModifyPrivateDnsNameOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyPrivateDnsNameOptions service method, as returned by EC2. /// REST API Reference for ModifyPrivateDnsNameOptions Operation public virtual Task ModifyPrivateDnsNameOptionsAsync(ModifyPrivateDnsNameOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyPrivateDnsNameOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyPrivateDnsNameOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyReservedInstances /// /// Modifies the configuration of your Reserved Instances, such as the Availability Zone, /// instance count, or instance type. The Reserved Instances to be modified must be identical, /// except for Availability Zone, network platform, and instance type. /// /// /// /// For more information, see Modifying /// Reserved Instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the ModifyReservedInstances service method. /// /// The response from the ModifyReservedInstances service method, as returned by EC2. /// REST API Reference for ModifyReservedInstances Operation public virtual ModifyReservedInstancesResponse ModifyReservedInstances(ModifyReservedInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyReservedInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyReservedInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the configuration of your Reserved Instances, such as the Availability Zone, /// instance count, or instance type. The Reserved Instances to be modified must be identical, /// except for Availability Zone, network platform, and instance type. /// /// /// /// For more information, see Modifying /// Reserved Instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the ModifyReservedInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyReservedInstances service method, as returned by EC2. /// REST API Reference for ModifyReservedInstances Operation public virtual Task ModifyReservedInstancesAsync(ModifyReservedInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyReservedInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyReservedInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifySecurityGroupRules /// /// Modifies the rules of a security group. /// /// Container for the necessary parameters to execute the ModifySecurityGroupRules service method. /// /// The response from the ModifySecurityGroupRules service method, as returned by EC2. /// REST API Reference for ModifySecurityGroupRules Operation public virtual ModifySecurityGroupRulesResponse ModifySecurityGroupRules(ModifySecurityGroupRulesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifySecurityGroupRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifySecurityGroupRulesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the rules of a security group. /// /// Container for the necessary parameters to execute the ModifySecurityGroupRules service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifySecurityGroupRules service method, as returned by EC2. /// REST API Reference for ModifySecurityGroupRules Operation public virtual Task ModifySecurityGroupRulesAsync(ModifySecurityGroupRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifySecurityGroupRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifySecurityGroupRulesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifySnapshotAttribute /// /// Adds or removes permission settings for the specified snapshot. You may add or remove /// specified Amazon Web Services account IDs from a snapshot's list of create volume /// permissions, but you cannot do both in a single operation. If you need to both add /// and remove account IDs for a snapshot, you must use multiple operations. You can make /// up to 500 modifications to a snapshot in a single operation. /// /// /// /// Encrypted snapshots and snapshots with Amazon Web Services Marketplace product codes /// cannot be made public. Snapshots encrypted with your default KMS key cannot be shared /// with other accounts. /// /// /// /// For more information about modifying snapshot permissions, see Share /// a snapshot in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the ModifySnapshotAttribute service method. /// /// The response from the ModifySnapshotAttribute service method, as returned by EC2. /// REST API Reference for ModifySnapshotAttribute Operation public virtual ModifySnapshotAttributeResponse ModifySnapshotAttribute(ModifySnapshotAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifySnapshotAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifySnapshotAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds or removes permission settings for the specified snapshot. You may add or remove /// specified Amazon Web Services account IDs from a snapshot's list of create volume /// permissions, but you cannot do both in a single operation. If you need to both add /// and remove account IDs for a snapshot, you must use multiple operations. You can make /// up to 500 modifications to a snapshot in a single operation. /// /// /// /// Encrypted snapshots and snapshots with Amazon Web Services Marketplace product codes /// cannot be made public. Snapshots encrypted with your default KMS key cannot be shared /// with other accounts. /// /// /// /// For more information about modifying snapshot permissions, see Share /// a snapshot in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the ModifySnapshotAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifySnapshotAttribute service method, as returned by EC2. /// REST API Reference for ModifySnapshotAttribute Operation public virtual Task ModifySnapshotAttributeAsync(ModifySnapshotAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifySnapshotAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifySnapshotAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifySnapshotTier /// /// Archives an Amazon EBS snapshot. When you archive a snapshot, it is converted to a /// full snapshot that includes all of the blocks of data that were written to the volume /// at the time the snapshot was created, and moved from the standard tier to the archive /// tier. For more information, see Archive /// Amazon EBS snapshots in the Amazon Elastic Compute Cloud User Guide. /// /// Container for the necessary parameters to execute the ModifySnapshotTier service method. /// /// The response from the ModifySnapshotTier service method, as returned by EC2. /// REST API Reference for ModifySnapshotTier Operation public virtual ModifySnapshotTierResponse ModifySnapshotTier(ModifySnapshotTierRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifySnapshotTierRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifySnapshotTierResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Archives an Amazon EBS snapshot. When you archive a snapshot, it is converted to a /// full snapshot that includes all of the blocks of data that were written to the volume /// at the time the snapshot was created, and moved from the standard tier to the archive /// tier. For more information, see Archive /// Amazon EBS snapshots in the Amazon Elastic Compute Cloud User Guide. /// /// Container for the necessary parameters to execute the ModifySnapshotTier service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifySnapshotTier service method, as returned by EC2. /// REST API Reference for ModifySnapshotTier Operation public virtual Task ModifySnapshotTierAsync(ModifySnapshotTierRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifySnapshotTierRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifySnapshotTierResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifySpotFleetRequest /// /// Modifies the specified Spot Fleet request. /// /// /// /// You can only modify a Spot Fleet request of type maintain. /// /// /// /// While the Spot Fleet request is being modified, it is in the modifying /// state. /// /// /// /// To scale up your Spot Fleet, increase its target capacity. The Spot Fleet launches /// the additional Spot Instances according to the allocation strategy for the Spot Fleet /// request. If the allocation strategy is lowestPrice, the Spot Fleet launches /// instances using the Spot Instance pool with the lowest price. If the allocation strategy /// is diversified, the Spot Fleet distributes the instances across the Spot /// Instance pools. If the allocation strategy is capacityOptimized, Spot /// Fleet launches instances from Spot Instance pools with optimal capacity for the number /// of instances that are launching. /// /// /// /// To scale down your Spot Fleet, decrease its target capacity. First, the Spot Fleet /// cancels any open requests that exceed the new target capacity. You can request that /// the Spot Fleet terminate Spot Instances until the size of the fleet no longer exceeds /// the new target capacity. If the allocation strategy is lowestPrice, the /// Spot Fleet terminates the instances with the highest price per unit. If the allocation /// strategy is capacityOptimized, the Spot Fleet terminates the instances /// in the Spot Instance pools that have the least available Spot Instance capacity. If /// the allocation strategy is diversified, the Spot Fleet terminates instances /// across the Spot Instance pools. Alternatively, you can request that the Spot Fleet /// keep the fleet at its current size, but not replace any Spot Instances that are interrupted /// or that you terminate manually. /// /// /// /// If you are finished with your Spot Fleet for now, but will use it again later, you /// can set the target capacity to 0. /// /// /// Container for the necessary parameters to execute the ModifySpotFleetRequest service method. /// /// The response from the ModifySpotFleetRequest service method, as returned by EC2. /// REST API Reference for ModifySpotFleetRequest Operation public virtual ModifySpotFleetRequestResponse ModifySpotFleetRequest(ModifySpotFleetRequestRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifySpotFleetRequestRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifySpotFleetRequestResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified Spot Fleet request. /// /// /// /// You can only modify a Spot Fleet request of type maintain. /// /// /// /// While the Spot Fleet request is being modified, it is in the modifying /// state. /// /// /// /// To scale up your Spot Fleet, increase its target capacity. The Spot Fleet launches /// the additional Spot Instances according to the allocation strategy for the Spot Fleet /// request. If the allocation strategy is lowestPrice, the Spot Fleet launches /// instances using the Spot Instance pool with the lowest price. If the allocation strategy /// is diversified, the Spot Fleet distributes the instances across the Spot /// Instance pools. If the allocation strategy is capacityOptimized, Spot /// Fleet launches instances from Spot Instance pools with optimal capacity for the number /// of instances that are launching. /// /// /// /// To scale down your Spot Fleet, decrease its target capacity. First, the Spot Fleet /// cancels any open requests that exceed the new target capacity. You can request that /// the Spot Fleet terminate Spot Instances until the size of the fleet no longer exceeds /// the new target capacity. If the allocation strategy is lowestPrice, the /// Spot Fleet terminates the instances with the highest price per unit. If the allocation /// strategy is capacityOptimized, the Spot Fleet terminates the instances /// in the Spot Instance pools that have the least available Spot Instance capacity. If /// the allocation strategy is diversified, the Spot Fleet terminates instances /// across the Spot Instance pools. Alternatively, you can request that the Spot Fleet /// keep the fleet at its current size, but not replace any Spot Instances that are interrupted /// or that you terminate manually. /// /// /// /// If you are finished with your Spot Fleet for now, but will use it again later, you /// can set the target capacity to 0. /// /// /// Container for the necessary parameters to execute the ModifySpotFleetRequest service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifySpotFleetRequest service method, as returned by EC2. /// REST API Reference for ModifySpotFleetRequest Operation public virtual Task ModifySpotFleetRequestAsync(ModifySpotFleetRequestRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifySpotFleetRequestRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifySpotFleetRequestResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifySubnetAttribute /// /// Modifies a subnet attribute. You can only modify one attribute at a time. /// /// /// /// Use this action to modify subnets on Amazon Web Services Outposts. /// ///
  • /// /// To modify a subnet on an Outpost rack, set both MapCustomerOwnedIpOnLaunch /// and CustomerOwnedIpv4Pool. These two parameters act as a single attribute. /// ///
  • /// /// To modify a subnet on an Outpost server, set either EnableLniAtDeviceIndex /// or DisableLniAtDeviceIndex. /// ///
/// /// For more information about Amazon Web Services Outposts, see the following: /// /// ///
/// Container for the necessary parameters to execute the ModifySubnetAttribute service method. /// /// The response from the ModifySubnetAttribute service method, as returned by EC2. /// REST API Reference for ModifySubnetAttribute Operation public virtual ModifySubnetAttributeResponse ModifySubnetAttribute(ModifySubnetAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifySubnetAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifySubnetAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies a subnet attribute. You can only modify one attribute at a time. /// /// /// /// Use this action to modify subnets on Amazon Web Services Outposts. /// ///
  • /// /// To modify a subnet on an Outpost rack, set both MapCustomerOwnedIpOnLaunch /// and CustomerOwnedIpv4Pool. These two parameters act as a single attribute. /// ///
  • /// /// To modify a subnet on an Outpost server, set either EnableLniAtDeviceIndex /// or DisableLniAtDeviceIndex. /// ///
/// /// For more information about Amazon Web Services Outposts, see the following: /// /// ///
/// Container for the necessary parameters to execute the ModifySubnetAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifySubnetAttribute service method, as returned by EC2. /// REST API Reference for ModifySubnetAttribute Operation public virtual Task ModifySubnetAttributeAsync(ModifySubnetAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifySubnetAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifySubnetAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyTrafficMirrorFilterNetworkServices /// /// Allows or restricts mirroring network services. /// /// /// /// By default, Amazon DNS network services are not eligible for Traffic Mirror. Use /// AddNetworkServices to add network services to a Traffic Mirror filter. /// When a network service is added to the Traffic Mirror filter, all traffic related /// to that network service will be mirrored. When you no longer want to mirror network /// services, use RemoveNetworkServices to remove the network services from /// the Traffic Mirror filter. /// /// /// Container for the necessary parameters to execute the ModifyTrafficMirrorFilterNetworkServices service method. /// /// The response from the ModifyTrafficMirrorFilterNetworkServices service method, as returned by EC2. /// REST API Reference for ModifyTrafficMirrorFilterNetworkServices Operation public virtual ModifyTrafficMirrorFilterNetworkServicesResponse ModifyTrafficMirrorFilterNetworkServices(ModifyTrafficMirrorFilterNetworkServicesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyTrafficMirrorFilterNetworkServicesRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyTrafficMirrorFilterNetworkServicesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Allows or restricts mirroring network services. /// /// /// /// By default, Amazon DNS network services are not eligible for Traffic Mirror. Use /// AddNetworkServices to add network services to a Traffic Mirror filter. /// When a network service is added to the Traffic Mirror filter, all traffic related /// to that network service will be mirrored. When you no longer want to mirror network /// services, use RemoveNetworkServices to remove the network services from /// the Traffic Mirror filter. /// /// /// Container for the necessary parameters to execute the ModifyTrafficMirrorFilterNetworkServices service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyTrafficMirrorFilterNetworkServices service method, as returned by EC2. /// REST API Reference for ModifyTrafficMirrorFilterNetworkServices Operation public virtual Task ModifyTrafficMirrorFilterNetworkServicesAsync(ModifyTrafficMirrorFilterNetworkServicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyTrafficMirrorFilterNetworkServicesRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyTrafficMirrorFilterNetworkServicesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyTrafficMirrorFilterRule /// /// Modifies the specified Traffic Mirror rule. /// /// /// /// DestinationCidrBlock and SourceCidrBlock must both be an /// IPv4 range or an IPv6 range. /// /// /// Container for the necessary parameters to execute the ModifyTrafficMirrorFilterRule service method. /// /// The response from the ModifyTrafficMirrorFilterRule service method, as returned by EC2. /// REST API Reference for ModifyTrafficMirrorFilterRule Operation public virtual ModifyTrafficMirrorFilterRuleResponse ModifyTrafficMirrorFilterRule(ModifyTrafficMirrorFilterRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyTrafficMirrorFilterRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyTrafficMirrorFilterRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified Traffic Mirror rule. /// /// /// /// DestinationCidrBlock and SourceCidrBlock must both be an /// IPv4 range or an IPv6 range. /// /// /// Container for the necessary parameters to execute the ModifyTrafficMirrorFilterRule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyTrafficMirrorFilterRule service method, as returned by EC2. /// REST API Reference for ModifyTrafficMirrorFilterRule Operation public virtual Task ModifyTrafficMirrorFilterRuleAsync(ModifyTrafficMirrorFilterRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyTrafficMirrorFilterRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyTrafficMirrorFilterRuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyTrafficMirrorSession /// /// Modifies a Traffic Mirror session. /// /// Container for the necessary parameters to execute the ModifyTrafficMirrorSession service method. /// /// The response from the ModifyTrafficMirrorSession service method, as returned by EC2. /// REST API Reference for ModifyTrafficMirrorSession Operation public virtual ModifyTrafficMirrorSessionResponse ModifyTrafficMirrorSession(ModifyTrafficMirrorSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyTrafficMirrorSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyTrafficMirrorSessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies a Traffic Mirror session. /// /// Container for the necessary parameters to execute the ModifyTrafficMirrorSession service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyTrafficMirrorSession service method, as returned by EC2. /// REST API Reference for ModifyTrafficMirrorSession Operation public virtual Task ModifyTrafficMirrorSessionAsync(ModifyTrafficMirrorSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyTrafficMirrorSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyTrafficMirrorSessionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyTransitGateway /// /// Modifies the specified transit gateway. When you modify a transit gateway, the modified /// options are applied to new transit gateway attachments only. Your existing transit /// gateway attachments are not modified. /// /// Container for the necessary parameters to execute the ModifyTransitGateway service method. /// /// The response from the ModifyTransitGateway service method, as returned by EC2. /// REST API Reference for ModifyTransitGateway Operation public virtual ModifyTransitGatewayResponse ModifyTransitGateway(ModifyTransitGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyTransitGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyTransitGatewayResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified transit gateway. When you modify a transit gateway, the modified /// options are applied to new transit gateway attachments only. Your existing transit /// gateway attachments are not modified. /// /// Container for the necessary parameters to execute the ModifyTransitGateway service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyTransitGateway service method, as returned by EC2. /// REST API Reference for ModifyTransitGateway Operation public virtual Task ModifyTransitGatewayAsync(ModifyTransitGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyTransitGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyTransitGatewayResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyTransitGatewayPrefixListReference /// /// Modifies a reference (route) to a prefix list in a specified transit gateway route /// table. /// /// Container for the necessary parameters to execute the ModifyTransitGatewayPrefixListReference service method. /// /// The response from the ModifyTransitGatewayPrefixListReference service method, as returned by EC2. /// REST API Reference for ModifyTransitGatewayPrefixListReference Operation public virtual ModifyTransitGatewayPrefixListReferenceResponse ModifyTransitGatewayPrefixListReference(ModifyTransitGatewayPrefixListReferenceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyTransitGatewayPrefixListReferenceRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyTransitGatewayPrefixListReferenceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies a reference (route) to a prefix list in a specified transit gateway route /// table. /// /// Container for the necessary parameters to execute the ModifyTransitGatewayPrefixListReference service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyTransitGatewayPrefixListReference service method, as returned by EC2. /// REST API Reference for ModifyTransitGatewayPrefixListReference Operation public virtual Task ModifyTransitGatewayPrefixListReferenceAsync(ModifyTransitGatewayPrefixListReferenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyTransitGatewayPrefixListReferenceRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyTransitGatewayPrefixListReferenceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyTransitGatewayVpcAttachment /// /// Modifies the specified VPC attachment. /// /// Container for the necessary parameters to execute the ModifyTransitGatewayVpcAttachment service method. /// /// The response from the ModifyTransitGatewayVpcAttachment service method, as returned by EC2. /// REST API Reference for ModifyTransitGatewayVpcAttachment Operation public virtual ModifyTransitGatewayVpcAttachmentResponse ModifyTransitGatewayVpcAttachment(ModifyTransitGatewayVpcAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyTransitGatewayVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyTransitGatewayVpcAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified VPC attachment. /// /// Container for the necessary parameters to execute the ModifyTransitGatewayVpcAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyTransitGatewayVpcAttachment service method, as returned by EC2. /// REST API Reference for ModifyTransitGatewayVpcAttachment Operation public virtual Task ModifyTransitGatewayVpcAttachmentAsync(ModifyTransitGatewayVpcAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyTransitGatewayVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyTransitGatewayVpcAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVerifiedAccessEndpoint /// /// Modifies the configuration of the specified Amazon Web Services Verified Access endpoint. /// /// Container for the necessary parameters to execute the ModifyVerifiedAccessEndpoint service method. /// /// The response from the ModifyVerifiedAccessEndpoint service method, as returned by EC2. /// REST API Reference for ModifyVerifiedAccessEndpoint Operation public virtual ModifyVerifiedAccessEndpointResponse ModifyVerifiedAccessEndpoint(ModifyVerifiedAccessEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVerifiedAccessEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVerifiedAccessEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the configuration of the specified Amazon Web Services Verified Access endpoint. /// /// Container for the necessary parameters to execute the ModifyVerifiedAccessEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVerifiedAccessEndpoint service method, as returned by EC2. /// REST API Reference for ModifyVerifiedAccessEndpoint Operation public virtual Task ModifyVerifiedAccessEndpointAsync(ModifyVerifiedAccessEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVerifiedAccessEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVerifiedAccessEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVerifiedAccessEndpointPolicy /// /// Modifies the specified Amazon Web Services Verified Access endpoint policy. /// /// Container for the necessary parameters to execute the ModifyVerifiedAccessEndpointPolicy service method. /// /// The response from the ModifyVerifiedAccessEndpointPolicy service method, as returned by EC2. /// REST API Reference for ModifyVerifiedAccessEndpointPolicy Operation public virtual ModifyVerifiedAccessEndpointPolicyResponse ModifyVerifiedAccessEndpointPolicy(ModifyVerifiedAccessEndpointPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVerifiedAccessEndpointPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVerifiedAccessEndpointPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified Amazon Web Services Verified Access endpoint policy. /// /// Container for the necessary parameters to execute the ModifyVerifiedAccessEndpointPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVerifiedAccessEndpointPolicy service method, as returned by EC2. /// REST API Reference for ModifyVerifiedAccessEndpointPolicy Operation public virtual Task ModifyVerifiedAccessEndpointPolicyAsync(ModifyVerifiedAccessEndpointPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVerifiedAccessEndpointPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVerifiedAccessEndpointPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVerifiedAccessGroup /// /// Modifies the specified Amazon Web Services Verified Access group configuration. /// /// Container for the necessary parameters to execute the ModifyVerifiedAccessGroup service method. /// /// The response from the ModifyVerifiedAccessGroup service method, as returned by EC2. /// REST API Reference for ModifyVerifiedAccessGroup Operation public virtual ModifyVerifiedAccessGroupResponse ModifyVerifiedAccessGroup(ModifyVerifiedAccessGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVerifiedAccessGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVerifiedAccessGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified Amazon Web Services Verified Access group configuration. /// /// Container for the necessary parameters to execute the ModifyVerifiedAccessGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVerifiedAccessGroup service method, as returned by EC2. /// REST API Reference for ModifyVerifiedAccessGroup Operation public virtual Task ModifyVerifiedAccessGroupAsync(ModifyVerifiedAccessGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVerifiedAccessGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVerifiedAccessGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVerifiedAccessGroupPolicy /// /// Modifies the specified Amazon Web Services Verified Access group policy. /// /// Container for the necessary parameters to execute the ModifyVerifiedAccessGroupPolicy service method. /// /// The response from the ModifyVerifiedAccessGroupPolicy service method, as returned by EC2. /// REST API Reference for ModifyVerifiedAccessGroupPolicy Operation public virtual ModifyVerifiedAccessGroupPolicyResponse ModifyVerifiedAccessGroupPolicy(ModifyVerifiedAccessGroupPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVerifiedAccessGroupPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVerifiedAccessGroupPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified Amazon Web Services Verified Access group policy. /// /// Container for the necessary parameters to execute the ModifyVerifiedAccessGroupPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVerifiedAccessGroupPolicy service method, as returned by EC2. /// REST API Reference for ModifyVerifiedAccessGroupPolicy Operation public virtual Task ModifyVerifiedAccessGroupPolicyAsync(ModifyVerifiedAccessGroupPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVerifiedAccessGroupPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVerifiedAccessGroupPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVerifiedAccessInstance /// /// Modifies the configuration of the specified Amazon Web Services Verified Access instance. /// /// Container for the necessary parameters to execute the ModifyVerifiedAccessInstance service method. /// /// The response from the ModifyVerifiedAccessInstance service method, as returned by EC2. /// REST API Reference for ModifyVerifiedAccessInstance Operation public virtual ModifyVerifiedAccessInstanceResponse ModifyVerifiedAccessInstance(ModifyVerifiedAccessInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVerifiedAccessInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVerifiedAccessInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the configuration of the specified Amazon Web Services Verified Access instance. /// /// Container for the necessary parameters to execute the ModifyVerifiedAccessInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVerifiedAccessInstance service method, as returned by EC2. /// REST API Reference for ModifyVerifiedAccessInstance Operation public virtual Task ModifyVerifiedAccessInstanceAsync(ModifyVerifiedAccessInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVerifiedAccessInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVerifiedAccessInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVerifiedAccessInstanceLoggingConfiguration /// /// Modifies the logging configuration for the specified Amazon Web Services Verified /// Access instance. /// /// Container for the necessary parameters to execute the ModifyVerifiedAccessInstanceLoggingConfiguration service method. /// /// The response from the ModifyVerifiedAccessInstanceLoggingConfiguration service method, as returned by EC2. /// REST API Reference for ModifyVerifiedAccessInstanceLoggingConfiguration Operation public virtual ModifyVerifiedAccessInstanceLoggingConfigurationResponse ModifyVerifiedAccessInstanceLoggingConfiguration(ModifyVerifiedAccessInstanceLoggingConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVerifiedAccessInstanceLoggingConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVerifiedAccessInstanceLoggingConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the logging configuration for the specified Amazon Web Services Verified /// Access instance. /// /// Container for the necessary parameters to execute the ModifyVerifiedAccessInstanceLoggingConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVerifiedAccessInstanceLoggingConfiguration service method, as returned by EC2. /// REST API Reference for ModifyVerifiedAccessInstanceLoggingConfiguration Operation public virtual Task ModifyVerifiedAccessInstanceLoggingConfigurationAsync(ModifyVerifiedAccessInstanceLoggingConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVerifiedAccessInstanceLoggingConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVerifiedAccessInstanceLoggingConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVerifiedAccessTrustProvider /// /// Modifies the configuration of the specified Amazon Web Services Verified Access trust /// provider. /// /// Container for the necessary parameters to execute the ModifyVerifiedAccessTrustProvider service method. /// /// The response from the ModifyVerifiedAccessTrustProvider service method, as returned by EC2. /// REST API Reference for ModifyVerifiedAccessTrustProvider Operation public virtual ModifyVerifiedAccessTrustProviderResponse ModifyVerifiedAccessTrustProvider(ModifyVerifiedAccessTrustProviderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVerifiedAccessTrustProviderRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVerifiedAccessTrustProviderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the configuration of the specified Amazon Web Services Verified Access trust /// provider. /// /// Container for the necessary parameters to execute the ModifyVerifiedAccessTrustProvider service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVerifiedAccessTrustProvider service method, as returned by EC2. /// REST API Reference for ModifyVerifiedAccessTrustProvider Operation public virtual Task ModifyVerifiedAccessTrustProviderAsync(ModifyVerifiedAccessTrustProviderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVerifiedAccessTrustProviderRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVerifiedAccessTrustProviderResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVolume /// /// You can modify several parameters of an existing EBS volume, including volume size, /// volume type, and IOPS capacity. If your EBS volume is attached to a current-generation /// EC2 instance type, you might be able to apply these changes without stopping the instance /// or detaching the volume from it. For more information about modifying EBS volumes, /// see Amazon /// EBS Elastic Volumes (Linux instances) or Amazon /// EBS Elastic Volumes (Windows instances). /// /// /// /// When you complete a resize operation on your volume, you need to extend the volume's /// file-system size to take advantage of the new storage capacity. For more information, /// see Extend /// a Linux file system or Extend /// a Windows file system. /// /// /// /// You can use CloudWatch Events to check the status of a modification to an EBS volume. /// For information about CloudWatch Events, see the Amazon /// CloudWatch Events User Guide. You can also track the status of a modification /// using DescribeVolumesModifications. For information about tracking status changes /// using either method, see Monitor /// the progress of volume modifications. /// /// /// /// With previous-generation instance types, resizing an EBS volume might require detaching /// and reattaching the volume or stopping and restarting the instance. /// /// /// /// After modifying a volume, you must wait at least six hours and ensure that the volume /// is in the in-use or available state before you can modify /// the same volume. This is sometimes referred to as a cooldown period. /// /// /// Container for the necessary parameters to execute the ModifyVolume service method. /// /// The response from the ModifyVolume service method, as returned by EC2. /// REST API Reference for ModifyVolume Operation public virtual ModifyVolumeResponse ModifyVolume(ModifyVolumeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVolumeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVolumeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// You can modify several parameters of an existing EBS volume, including volume size, /// volume type, and IOPS capacity. If your EBS volume is attached to a current-generation /// EC2 instance type, you might be able to apply these changes without stopping the instance /// or detaching the volume from it. For more information about modifying EBS volumes, /// see Amazon /// EBS Elastic Volumes (Linux instances) or Amazon /// EBS Elastic Volumes (Windows instances). /// /// /// /// When you complete a resize operation on your volume, you need to extend the volume's /// file-system size to take advantage of the new storage capacity. For more information, /// see Extend /// a Linux file system or Extend /// a Windows file system. /// /// /// /// You can use CloudWatch Events to check the status of a modification to an EBS volume. /// For information about CloudWatch Events, see the Amazon /// CloudWatch Events User Guide. You can also track the status of a modification /// using DescribeVolumesModifications. For information about tracking status changes /// using either method, see Monitor /// the progress of volume modifications. /// /// /// /// With previous-generation instance types, resizing an EBS volume might require detaching /// and reattaching the volume or stopping and restarting the instance. /// /// /// /// After modifying a volume, you must wait at least six hours and ensure that the volume /// is in the in-use or available state before you can modify /// the same volume. This is sometimes referred to as a cooldown period. /// /// /// Container for the necessary parameters to execute the ModifyVolume service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVolume service method, as returned by EC2. /// REST API Reference for ModifyVolume Operation public virtual Task ModifyVolumeAsync(ModifyVolumeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVolumeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVolumeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVolumeAttribute /// /// Modifies a volume attribute. /// /// /// /// By default, all I/O operations for the volume are suspended when the data on the volume /// is determined to be potentially inconsistent, to prevent undetectable, latent data /// corruption. The I/O access to the volume can be resumed by first enabling I/O access /// and then checking the data consistency on your volume. /// /// /// /// You can change the default behavior to resume I/O operations. We recommend that you /// change this only for boot volumes or for volumes that are stateless or disposable. /// /// /// Container for the necessary parameters to execute the ModifyVolumeAttribute service method. /// /// The response from the ModifyVolumeAttribute service method, as returned by EC2. /// REST API Reference for ModifyVolumeAttribute Operation public virtual ModifyVolumeAttributeResponse ModifyVolumeAttribute(ModifyVolumeAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVolumeAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVolumeAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies a volume attribute. /// /// /// /// By default, all I/O operations for the volume are suspended when the data on the volume /// is determined to be potentially inconsistent, to prevent undetectable, latent data /// corruption. The I/O access to the volume can be resumed by first enabling I/O access /// and then checking the data consistency on your volume. /// /// /// /// You can change the default behavior to resume I/O operations. We recommend that you /// change this only for boot volumes or for volumes that are stateless or disposable. /// /// /// Container for the necessary parameters to execute the ModifyVolumeAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVolumeAttribute service method, as returned by EC2. /// REST API Reference for ModifyVolumeAttribute Operation public virtual Task ModifyVolumeAttributeAsync(ModifyVolumeAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVolumeAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVolumeAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVpcAttribute /// /// Modifies the specified attribute of the specified VPC. /// /// Container for the necessary parameters to execute the ModifyVpcAttribute service method. /// /// The response from the ModifyVpcAttribute service method, as returned by EC2. /// REST API Reference for ModifyVpcAttribute Operation public virtual ModifyVpcAttributeResponse ModifyVpcAttribute(ModifyVpcAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified attribute of the specified VPC. /// /// Container for the necessary parameters to execute the ModifyVpcAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVpcAttribute service method, as returned by EC2. /// REST API Reference for ModifyVpcAttribute Operation public virtual Task ModifyVpcAttributeAsync(ModifyVpcAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVpcEndpoint /// /// Modifies attributes of a specified VPC endpoint. The attributes that you can modify /// depend on the type of VPC endpoint (interface, gateway, or Gateway Load Balancer). /// For more information, see the Amazon /// Web Services PrivateLink Guide. /// /// Container for the necessary parameters to execute the ModifyVpcEndpoint service method. /// /// The response from the ModifyVpcEndpoint service method, as returned by EC2. /// REST API Reference for ModifyVpcEndpoint Operation public virtual ModifyVpcEndpointResponse ModifyVpcEndpoint(ModifyVpcEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies attributes of a specified VPC endpoint. The attributes that you can modify /// depend on the type of VPC endpoint (interface, gateway, or Gateway Load Balancer). /// For more information, see the Amazon /// Web Services PrivateLink Guide. /// /// Container for the necessary parameters to execute the ModifyVpcEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVpcEndpoint service method, as returned by EC2. /// REST API Reference for ModifyVpcEndpoint Operation public virtual Task ModifyVpcEndpointAsync(ModifyVpcEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVpcEndpointConnectionNotification /// /// Modifies a connection notification for VPC endpoint or VPC endpoint service. You can /// change the SNS topic for the notification, or the events for which to be notified. /// /// Container for the necessary parameters to execute the ModifyVpcEndpointConnectionNotification service method. /// /// The response from the ModifyVpcEndpointConnectionNotification service method, as returned by EC2. /// REST API Reference for ModifyVpcEndpointConnectionNotification Operation public virtual ModifyVpcEndpointConnectionNotificationResponse ModifyVpcEndpointConnectionNotification(ModifyVpcEndpointConnectionNotificationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcEndpointConnectionNotificationRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcEndpointConnectionNotificationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies a connection notification for VPC endpoint or VPC endpoint service. You can /// change the SNS topic for the notification, or the events for which to be notified. /// /// Container for the necessary parameters to execute the ModifyVpcEndpointConnectionNotification service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVpcEndpointConnectionNotification service method, as returned by EC2. /// REST API Reference for ModifyVpcEndpointConnectionNotification Operation public virtual Task ModifyVpcEndpointConnectionNotificationAsync(ModifyVpcEndpointConnectionNotificationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcEndpointConnectionNotificationRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcEndpointConnectionNotificationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVpcEndpointServiceConfiguration /// /// Modifies the attributes of your VPC endpoint service configuration. You can change /// the Network Load Balancers or Gateway Load Balancers for your service, and you can /// specify whether acceptance is required for requests to connect to your endpoint service /// through an interface VPC endpoint. /// /// /// /// If you set or modify the private DNS name, you must prove that you own the private /// DNS domain name. /// /// /// Container for the necessary parameters to execute the ModifyVpcEndpointServiceConfiguration service method. /// /// The response from the ModifyVpcEndpointServiceConfiguration service method, as returned by EC2. /// REST API Reference for ModifyVpcEndpointServiceConfiguration Operation public virtual ModifyVpcEndpointServiceConfigurationResponse ModifyVpcEndpointServiceConfiguration(ModifyVpcEndpointServiceConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcEndpointServiceConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcEndpointServiceConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the attributes of your VPC endpoint service configuration. You can change /// the Network Load Balancers or Gateway Load Balancers for your service, and you can /// specify whether acceptance is required for requests to connect to your endpoint service /// through an interface VPC endpoint. /// /// /// /// If you set or modify the private DNS name, you must prove that you own the private /// DNS domain name. /// /// /// Container for the necessary parameters to execute the ModifyVpcEndpointServiceConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVpcEndpointServiceConfiguration service method, as returned by EC2. /// REST API Reference for ModifyVpcEndpointServiceConfiguration Operation public virtual Task ModifyVpcEndpointServiceConfigurationAsync(ModifyVpcEndpointServiceConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcEndpointServiceConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcEndpointServiceConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVpcEndpointServicePayerResponsibility /// /// Modifies the payer responsibility for your VPC endpoint service. /// /// Container for the necessary parameters to execute the ModifyVpcEndpointServicePayerResponsibility service method. /// /// The response from the ModifyVpcEndpointServicePayerResponsibility service method, as returned by EC2. /// REST API Reference for ModifyVpcEndpointServicePayerResponsibility Operation public virtual ModifyVpcEndpointServicePayerResponsibilityResponse ModifyVpcEndpointServicePayerResponsibility(ModifyVpcEndpointServicePayerResponsibilityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcEndpointServicePayerResponsibilityRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcEndpointServicePayerResponsibilityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the payer responsibility for your VPC endpoint service. /// /// Container for the necessary parameters to execute the ModifyVpcEndpointServicePayerResponsibility service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVpcEndpointServicePayerResponsibility service method, as returned by EC2. /// REST API Reference for ModifyVpcEndpointServicePayerResponsibility Operation public virtual Task ModifyVpcEndpointServicePayerResponsibilityAsync(ModifyVpcEndpointServicePayerResponsibilityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcEndpointServicePayerResponsibilityRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcEndpointServicePayerResponsibilityResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVpcEndpointServicePermissions /// /// Modifies the permissions for your VPC endpoint service. You can add or remove permissions /// for service consumers (Amazon Web Services accounts, users, and IAM roles) to connect /// to your endpoint service. /// /// /// /// If you grant permissions to all principals, the service is public. Any users who know /// the name of a public service can send a request to attach an endpoint. If the service /// does not require manual approval, attachments are automatically approved. /// /// /// Container for the necessary parameters to execute the ModifyVpcEndpointServicePermissions service method. /// /// The response from the ModifyVpcEndpointServicePermissions service method, as returned by EC2. /// REST API Reference for ModifyVpcEndpointServicePermissions Operation public virtual ModifyVpcEndpointServicePermissionsResponse ModifyVpcEndpointServicePermissions(ModifyVpcEndpointServicePermissionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcEndpointServicePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcEndpointServicePermissionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the permissions for your VPC endpoint service. You can add or remove permissions /// for service consumers (Amazon Web Services accounts, users, and IAM roles) to connect /// to your endpoint service. /// /// /// /// If you grant permissions to all principals, the service is public. Any users who know /// the name of a public service can send a request to attach an endpoint. If the service /// does not require manual approval, attachments are automatically approved. /// /// /// Container for the necessary parameters to execute the ModifyVpcEndpointServicePermissions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVpcEndpointServicePermissions service method, as returned by EC2. /// REST API Reference for ModifyVpcEndpointServicePermissions Operation public virtual Task ModifyVpcEndpointServicePermissionsAsync(ModifyVpcEndpointServicePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcEndpointServicePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcEndpointServicePermissionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVpcPeeringConnectionOptions /// /// Modifies the VPC peering connection options on one side of a VPC peering connection. /// /// /// /// If the peered VPCs are in the same Amazon Web Services account, you can enable DNS /// resolution for queries from the local VPC. This ensures that queries from the local /// VPC resolve to private IP addresses in the peer VPC. This option is not available /// if the peered VPCs are in different Amazon Web Services accounts or different Regions. /// For peered VPCs in different Amazon Web Services accounts, each Amazon Web Services /// account owner must initiate a separate request to modify the peering connection options. /// For inter-region peering connections, you must use the Region for the requester VPC /// to modify the requester VPC peering options and the Region for the accepter VPC to /// modify the accepter VPC peering options. To verify which VPCs are the accepter and /// the requester for a VPC peering connection, use the DescribeVpcPeeringConnections /// command. /// /// /// Container for the necessary parameters to execute the ModifyVpcPeeringConnectionOptions service method. /// /// The response from the ModifyVpcPeeringConnectionOptions service method, as returned by EC2. /// REST API Reference for ModifyVpcPeeringConnectionOptions Operation public virtual ModifyVpcPeeringConnectionOptionsResponse ModifyVpcPeeringConnectionOptions(ModifyVpcPeeringConnectionOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcPeeringConnectionOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcPeeringConnectionOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the VPC peering connection options on one side of a VPC peering connection. /// /// /// /// If the peered VPCs are in the same Amazon Web Services account, you can enable DNS /// resolution for queries from the local VPC. This ensures that queries from the local /// VPC resolve to private IP addresses in the peer VPC. This option is not available /// if the peered VPCs are in different Amazon Web Services accounts or different Regions. /// For peered VPCs in different Amazon Web Services accounts, each Amazon Web Services /// account owner must initiate a separate request to modify the peering connection options. /// For inter-region peering connections, you must use the Region for the requester VPC /// to modify the requester VPC peering options and the Region for the accepter VPC to /// modify the accepter VPC peering options. To verify which VPCs are the accepter and /// the requester for a VPC peering connection, use the DescribeVpcPeeringConnections /// command. /// /// /// Container for the necessary parameters to execute the ModifyVpcPeeringConnectionOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVpcPeeringConnectionOptions service method, as returned by EC2. /// REST API Reference for ModifyVpcPeeringConnectionOptions Operation public virtual Task ModifyVpcPeeringConnectionOptionsAsync(ModifyVpcPeeringConnectionOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcPeeringConnectionOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcPeeringConnectionOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVpcTenancy /// /// Modifies the instance tenancy attribute of the specified VPC. You can change the instance /// tenancy attribute of a VPC to default only. You cannot change the instance /// tenancy attribute to dedicated. /// /// /// /// After you modify the tenancy of the VPC, any new instances that you launch into the /// VPC have a tenancy of default, unless you specify otherwise during launch. /// The tenancy of any existing instances in the VPC is not affected. /// /// /// /// For more information, see Dedicated /// Instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the ModifyVpcTenancy service method. /// /// The response from the ModifyVpcTenancy service method, as returned by EC2. /// REST API Reference for ModifyVpcTenancy Operation public virtual ModifyVpcTenancyResponse ModifyVpcTenancy(ModifyVpcTenancyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcTenancyRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcTenancyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the instance tenancy attribute of the specified VPC. You can change the instance /// tenancy attribute of a VPC to default only. You cannot change the instance /// tenancy attribute to dedicated. /// /// /// /// After you modify the tenancy of the VPC, any new instances that you launch into the /// VPC have a tenancy of default, unless you specify otherwise during launch. /// The tenancy of any existing instances in the VPC is not affected. /// /// /// /// For more information, see Dedicated /// Instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the ModifyVpcTenancy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVpcTenancy service method, as returned by EC2. /// REST API Reference for ModifyVpcTenancy Operation public virtual Task ModifyVpcTenancyAsync(ModifyVpcTenancyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpcTenancyRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpcTenancyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVpnConnection /// /// Modifies the customer gateway or the target gateway of an Amazon Web Services Site-to-Site /// VPN connection. To modify the target gateway, the following migration options are /// available: /// ///
  • /// /// An existing virtual private gateway to a new virtual private gateway /// ///
  • /// /// An existing virtual private gateway to a transit gateway /// ///
  • /// /// An existing transit gateway to a new transit gateway /// ///
  • /// /// An existing transit gateway to a virtual private gateway /// ///
/// /// Before you perform the migration to the new gateway, you must configure the new gateway. /// Use CreateVpnGateway to create a virtual private gateway, or CreateTransitGateway /// to create a transit gateway. /// /// /// /// This step is required when you migrate from a virtual private gateway with static /// routes to a transit gateway. /// /// /// /// You must delete the static routes before you migrate to the new gateway. /// /// /// /// Keep a copy of the static route before you delete it. You will need to add back these /// routes to the transit gateway after the VPN connection migration is complete. /// /// /// /// After you migrate to the new gateway, you might need to modify your VPC route table. /// Use CreateRoute and DeleteRoute to make the changes described in Update /// VPC route tables in the Amazon Web Services Site-to-Site VPN User Guide. /// /// /// /// When the new gateway is a transit gateway, modify the transit gateway route table /// to allow traffic between the VPC and the Amazon Web Services Site-to-Site VPN connection. /// Use CreateTransitGatewayRoute to add the routes. /// /// /// /// If you deleted VPN static routes, you must add the static routes to the transit gateway /// route table. /// /// /// /// After you perform this operation, the VPN endpoint's IP addresses on the Amazon Web /// Services side and the tunnel options remain intact. Your Amazon Web Services Site-to-Site /// VPN connection will be temporarily unavailable for a brief period while we provision /// the new endpoints. /// ///
/// Container for the necessary parameters to execute the ModifyVpnConnection service method. /// /// The response from the ModifyVpnConnection service method, as returned by EC2. /// REST API Reference for ModifyVpnConnection Operation public virtual ModifyVpnConnectionResponse ModifyVpnConnection(ModifyVpnConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpnConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpnConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the customer gateway or the target gateway of an Amazon Web Services Site-to-Site /// VPN connection. To modify the target gateway, the following migration options are /// available: /// ///
  • /// /// An existing virtual private gateway to a new virtual private gateway /// ///
  • /// /// An existing virtual private gateway to a transit gateway /// ///
  • /// /// An existing transit gateway to a new transit gateway /// ///
  • /// /// An existing transit gateway to a virtual private gateway /// ///
/// /// Before you perform the migration to the new gateway, you must configure the new gateway. /// Use CreateVpnGateway to create a virtual private gateway, or CreateTransitGateway /// to create a transit gateway. /// /// /// /// This step is required when you migrate from a virtual private gateway with static /// routes to a transit gateway. /// /// /// /// You must delete the static routes before you migrate to the new gateway. /// /// /// /// Keep a copy of the static route before you delete it. You will need to add back these /// routes to the transit gateway after the VPN connection migration is complete. /// /// /// /// After you migrate to the new gateway, you might need to modify your VPC route table. /// Use CreateRoute and DeleteRoute to make the changes described in Update /// VPC route tables in the Amazon Web Services Site-to-Site VPN User Guide. /// /// /// /// When the new gateway is a transit gateway, modify the transit gateway route table /// to allow traffic between the VPC and the Amazon Web Services Site-to-Site VPN connection. /// Use CreateTransitGatewayRoute to add the routes. /// /// /// /// If you deleted VPN static routes, you must add the static routes to the transit gateway /// route table. /// /// /// /// After you perform this operation, the VPN endpoint's IP addresses on the Amazon Web /// Services side and the tunnel options remain intact. Your Amazon Web Services Site-to-Site /// VPN connection will be temporarily unavailable for a brief period while we provision /// the new endpoints. /// ///
/// Container for the necessary parameters to execute the ModifyVpnConnection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVpnConnection service method, as returned by EC2. /// REST API Reference for ModifyVpnConnection Operation public virtual Task ModifyVpnConnectionAsync(ModifyVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpnConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpnConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVpnConnectionOptions /// /// Modifies the connection options for your Site-to-Site VPN connection. /// /// /// /// When you modify the VPN connection options, the VPN endpoint IP addresses on the Amazon /// Web Services side do not change, and the tunnel options do not change. Your VPN connection /// will be temporarily unavailable for a brief period while the VPN connection is updated. /// /// /// Container for the necessary parameters to execute the ModifyVpnConnectionOptions service method. /// /// The response from the ModifyVpnConnectionOptions service method, as returned by EC2. /// REST API Reference for ModifyVpnConnectionOptions Operation public virtual ModifyVpnConnectionOptionsResponse ModifyVpnConnectionOptions(ModifyVpnConnectionOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpnConnectionOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpnConnectionOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the connection options for your Site-to-Site VPN connection. /// /// /// /// When you modify the VPN connection options, the VPN endpoint IP addresses on the Amazon /// Web Services side do not change, and the tunnel options do not change. Your VPN connection /// will be temporarily unavailable for a brief period while the VPN connection is updated. /// /// /// Container for the necessary parameters to execute the ModifyVpnConnectionOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVpnConnectionOptions service method, as returned by EC2. /// REST API Reference for ModifyVpnConnectionOptions Operation public virtual Task ModifyVpnConnectionOptionsAsync(ModifyVpnConnectionOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpnConnectionOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpnConnectionOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVpnTunnelCertificate /// /// Modifies the VPN tunnel endpoint certificate. /// /// Container for the necessary parameters to execute the ModifyVpnTunnelCertificate service method. /// /// The response from the ModifyVpnTunnelCertificate service method, as returned by EC2. /// REST API Reference for ModifyVpnTunnelCertificate Operation public virtual ModifyVpnTunnelCertificateResponse ModifyVpnTunnelCertificate(ModifyVpnTunnelCertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpnTunnelCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpnTunnelCertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the VPN tunnel endpoint certificate. /// /// Container for the necessary parameters to execute the ModifyVpnTunnelCertificate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVpnTunnelCertificate service method, as returned by EC2. /// REST API Reference for ModifyVpnTunnelCertificate Operation public virtual Task ModifyVpnTunnelCertificateAsync(ModifyVpnTunnelCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpnTunnelCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpnTunnelCertificateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyVpnTunnelOptions /// /// Modifies the options for a VPN tunnel in an Amazon Web Services Site-to-Site VPN connection. /// You can modify multiple options for a tunnel in a single request, but you can only /// modify one tunnel at a time. For more information, see Site-to-Site /// VPN tunnel options for your Site-to-Site VPN connection in the Amazon Web Services /// Site-to-Site VPN User Guide. /// /// Container for the necessary parameters to execute the ModifyVpnTunnelOptions service method. /// /// The response from the ModifyVpnTunnelOptions service method, as returned by EC2. /// REST API Reference for ModifyVpnTunnelOptions Operation public virtual ModifyVpnTunnelOptionsResponse ModifyVpnTunnelOptions(ModifyVpnTunnelOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpnTunnelOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpnTunnelOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the options for a VPN tunnel in an Amazon Web Services Site-to-Site VPN connection. /// You can modify multiple options for a tunnel in a single request, but you can only /// modify one tunnel at a time. For more information, see Site-to-Site /// VPN tunnel options for your Site-to-Site VPN connection in the Amazon Web Services /// Site-to-Site VPN User Guide. /// /// Container for the necessary parameters to execute the ModifyVpnTunnelOptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyVpnTunnelOptions service method, as returned by EC2. /// REST API Reference for ModifyVpnTunnelOptions Operation public virtual Task ModifyVpnTunnelOptionsAsync(ModifyVpnTunnelOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyVpnTunnelOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyVpnTunnelOptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region MonitorInstances /// /// Enables detailed monitoring for a running instance. Otherwise, basic monitoring is /// enabled. For more information, see Monitor /// your instances using CloudWatch in the Amazon EC2 User Guide. /// /// /// /// To disable detailed monitoring, see UnmonitorInstances. /// /// /// Container for the necessary parameters to execute the MonitorInstances service method. /// /// The response from the MonitorInstances service method, as returned by EC2. /// REST API Reference for MonitorInstances Operation public virtual MonitorInstancesResponse MonitorInstances(MonitorInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = MonitorInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = MonitorInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables detailed monitoring for a running instance. Otherwise, basic monitoring is /// enabled. For more information, see Monitor /// your instances using CloudWatch in the Amazon EC2 User Guide. /// /// /// /// To disable detailed monitoring, see UnmonitorInstances. /// /// /// Container for the necessary parameters to execute the MonitorInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the MonitorInstances service method, as returned by EC2. /// REST API Reference for MonitorInstances Operation public virtual Task MonitorInstancesAsync(MonitorInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = MonitorInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = MonitorInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region MoveAddressToVpc /// /// /// /// This action is deprecated. /// /// /// /// Moves an Elastic IP address from the EC2-Classic platform to the EC2-VPC platform. /// The Elastic IP address must be allocated to your account for more than 24 hours, and /// it must not be associated with an instance. After the Elastic IP address is moved, /// it is no longer available for use in the EC2-Classic platform, unless you move it /// back using the RestoreAddressToClassic request. You cannot move an Elastic /// IP address that was originally allocated for use in the EC2-VPC platform to the EC2-Classic /// platform. /// /// /// Container for the necessary parameters to execute the MoveAddressToVpc service method. /// /// The response from the MoveAddressToVpc service method, as returned by EC2. /// REST API Reference for MoveAddressToVpc Operation public virtual MoveAddressToVpcResponse MoveAddressToVpc(MoveAddressToVpcRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = MoveAddressToVpcRequestMarshaller.Instance; options.ResponseUnmarshaller = MoveAddressToVpcResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// This action is deprecated. /// /// /// /// Moves an Elastic IP address from the EC2-Classic platform to the EC2-VPC platform. /// The Elastic IP address must be allocated to your account for more than 24 hours, and /// it must not be associated with an instance. After the Elastic IP address is moved, /// it is no longer available for use in the EC2-Classic platform, unless you move it /// back using the RestoreAddressToClassic request. You cannot move an Elastic /// IP address that was originally allocated for use in the EC2-VPC platform to the EC2-Classic /// platform. /// /// /// Container for the necessary parameters to execute the MoveAddressToVpc service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the MoveAddressToVpc service method, as returned by EC2. /// REST API Reference for MoveAddressToVpc Operation public virtual Task MoveAddressToVpcAsync(MoveAddressToVpcRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = MoveAddressToVpcRequestMarshaller.Instance; options.ResponseUnmarshaller = MoveAddressToVpcResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region MoveByoipCidrToIpam /// /// Move a BYOIPv4 CIDR to IPAM from a public IPv4 pool. /// /// /// /// If you already have a BYOIPv4 CIDR with Amazon Web Services, you can move the CIDR /// to IPAM from a public IPv4 pool. You cannot move an IPv6 CIDR to IPAM. If you are /// bringing a new IP address to Amazon Web Services for the first time, complete the /// steps in Tutorial: /// BYOIP address CIDRs to IPAM. /// /// /// Container for the necessary parameters to execute the MoveByoipCidrToIpam service method. /// /// The response from the MoveByoipCidrToIpam service method, as returned by EC2. /// REST API Reference for MoveByoipCidrToIpam Operation public virtual MoveByoipCidrToIpamResponse MoveByoipCidrToIpam(MoveByoipCidrToIpamRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = MoveByoipCidrToIpamRequestMarshaller.Instance; options.ResponseUnmarshaller = MoveByoipCidrToIpamResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Move a BYOIPv4 CIDR to IPAM from a public IPv4 pool. /// /// /// /// If you already have a BYOIPv4 CIDR with Amazon Web Services, you can move the CIDR /// to IPAM from a public IPv4 pool. You cannot move an IPv6 CIDR to IPAM. If you are /// bringing a new IP address to Amazon Web Services for the first time, complete the /// steps in Tutorial: /// BYOIP address CIDRs to IPAM. /// /// /// Container for the necessary parameters to execute the MoveByoipCidrToIpam service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the MoveByoipCidrToIpam service method, as returned by EC2. /// REST API Reference for MoveByoipCidrToIpam Operation public virtual Task MoveByoipCidrToIpamAsync(MoveByoipCidrToIpamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = MoveByoipCidrToIpamRequestMarshaller.Instance; options.ResponseUnmarshaller = MoveByoipCidrToIpamResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ProvisionByoipCidr /// /// Provisions an IPv4 or IPv6 address range for use with your Amazon Web Services resources /// through bring your own IP addresses (BYOIP) and creates a corresponding address pool. /// After the address range is provisioned, it is ready to be advertised using AdvertiseByoipCidr. /// /// /// /// Amazon Web Services verifies that you own the address range and are authorized to /// advertise it. You must ensure that the address range is registered to you and that /// you created an RPKI ROA to authorize Amazon ASNs 16509 and 14618 to advertise the /// address range. For more information, see Bring /// your own IP addresses (BYOIP) in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// Provisioning an address range is an asynchronous operation, so the call returns immediately, /// but the address range is not ready to use until its status changes from pending-provision /// to provisioned. To monitor the status of an address range, use DescribeByoipCidrs. /// To allocate an Elastic IP address from your IPv4 address pool, use AllocateAddress /// with either the specific address from the address pool or the ID of the address pool. /// /// /// Container for the necessary parameters to execute the ProvisionByoipCidr service method. /// /// The response from the ProvisionByoipCidr service method, as returned by EC2. /// REST API Reference for ProvisionByoipCidr Operation public virtual ProvisionByoipCidrResponse ProvisionByoipCidr(ProvisionByoipCidrRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ProvisionByoipCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = ProvisionByoipCidrResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provisions an IPv4 or IPv6 address range for use with your Amazon Web Services resources /// through bring your own IP addresses (BYOIP) and creates a corresponding address pool. /// After the address range is provisioned, it is ready to be advertised using AdvertiseByoipCidr. /// /// /// /// Amazon Web Services verifies that you own the address range and are authorized to /// advertise it. You must ensure that the address range is registered to you and that /// you created an RPKI ROA to authorize Amazon ASNs 16509 and 14618 to advertise the /// address range. For more information, see Bring /// your own IP addresses (BYOIP) in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// Provisioning an address range is an asynchronous operation, so the call returns immediately, /// but the address range is not ready to use until its status changes from pending-provision /// to provisioned. To monitor the status of an address range, use DescribeByoipCidrs. /// To allocate an Elastic IP address from your IPv4 address pool, use AllocateAddress /// with either the specific address from the address pool or the ID of the address pool. /// /// /// Container for the necessary parameters to execute the ProvisionByoipCidr service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ProvisionByoipCidr service method, as returned by EC2. /// REST API Reference for ProvisionByoipCidr Operation public virtual Task ProvisionByoipCidrAsync(ProvisionByoipCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ProvisionByoipCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = ProvisionByoipCidrResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ProvisionIpamPoolCidr /// /// Provision a CIDR to an IPAM pool. You can use this action to provision new CIDRs to /// a top-level pool or to transfer a CIDR from a top-level pool to a pool within it. /// /// /// /// For more information, see Provision /// CIDRs to pools in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the ProvisionIpamPoolCidr service method. /// /// The response from the ProvisionIpamPoolCidr service method, as returned by EC2. /// REST API Reference for ProvisionIpamPoolCidr Operation public virtual ProvisionIpamPoolCidrResponse ProvisionIpamPoolCidr(ProvisionIpamPoolCidrRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ProvisionIpamPoolCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = ProvisionIpamPoolCidrResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provision a CIDR to an IPAM pool. You can use this action to provision new CIDRs to /// a top-level pool or to transfer a CIDR from a top-level pool to a pool within it. /// /// /// /// For more information, see Provision /// CIDRs to pools in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the ProvisionIpamPoolCidr service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ProvisionIpamPoolCidr service method, as returned by EC2. /// REST API Reference for ProvisionIpamPoolCidr Operation public virtual Task ProvisionIpamPoolCidrAsync(ProvisionIpamPoolCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ProvisionIpamPoolCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = ProvisionIpamPoolCidrResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ProvisionPublicIpv4PoolCidr /// /// Provision a CIDR to a public IPv4 pool. /// /// /// /// For more information about IPAM, see What /// is IPAM? in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the ProvisionPublicIpv4PoolCidr service method. /// /// The response from the ProvisionPublicIpv4PoolCidr service method, as returned by EC2. /// REST API Reference for ProvisionPublicIpv4PoolCidr Operation public virtual ProvisionPublicIpv4PoolCidrResponse ProvisionPublicIpv4PoolCidr(ProvisionPublicIpv4PoolCidrRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ProvisionPublicIpv4PoolCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = ProvisionPublicIpv4PoolCidrResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provision a CIDR to a public IPv4 pool. /// /// /// /// For more information about IPAM, see What /// is IPAM? in the Amazon VPC IPAM User Guide. /// /// /// Container for the necessary parameters to execute the ProvisionPublicIpv4PoolCidr service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ProvisionPublicIpv4PoolCidr service method, as returned by EC2. /// REST API Reference for ProvisionPublicIpv4PoolCidr Operation public virtual Task ProvisionPublicIpv4PoolCidrAsync(ProvisionPublicIpv4PoolCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ProvisionPublicIpv4PoolCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = ProvisionPublicIpv4PoolCidrResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PurchaseHostReservation /// /// Purchase a reservation with configurations that match those of your Dedicated Host. /// You must have active Dedicated Hosts in your account before you purchase a reservation. /// This action results in the specified reservation being purchased and charged to your /// account. /// /// Container for the necessary parameters to execute the PurchaseHostReservation service method. /// /// The response from the PurchaseHostReservation service method, as returned by EC2. /// REST API Reference for PurchaseHostReservation Operation public virtual PurchaseHostReservationResponse PurchaseHostReservation(PurchaseHostReservationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PurchaseHostReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = PurchaseHostReservationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Purchase a reservation with configurations that match those of your Dedicated Host. /// You must have active Dedicated Hosts in your account before you purchase a reservation. /// This action results in the specified reservation being purchased and charged to your /// account. /// /// Container for the necessary parameters to execute the PurchaseHostReservation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PurchaseHostReservation service method, as returned by EC2. /// REST API Reference for PurchaseHostReservation Operation public virtual Task PurchaseHostReservationAsync(PurchaseHostReservationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PurchaseHostReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = PurchaseHostReservationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PurchaseReservedInstancesOffering /// /// Purchases a Reserved Instance for use with your account. With Reserved Instances, /// you pay a lower hourly rate compared to On-Demand instance pricing. /// /// /// /// Use DescribeReservedInstancesOfferings to get a list of Reserved Instance offerings /// that match your specifications. After you've purchased a Reserved Instance, you can /// check for your new Reserved Instance with DescribeReservedInstances. /// /// /// /// To queue a purchase for a future date and time, specify a purchase time. If you do /// not specify a purchase time, the default is the current time. /// /// /// /// For more information, see Reserved /// Instances and Reserved /// Instance Marketplace in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the PurchaseReservedInstancesOffering service method. /// /// The response from the PurchaseReservedInstancesOffering service method, as returned by EC2. /// REST API Reference for PurchaseReservedInstancesOffering Operation public virtual PurchaseReservedInstancesOfferingResponse PurchaseReservedInstancesOffering(PurchaseReservedInstancesOfferingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PurchaseReservedInstancesOfferingRequestMarshaller.Instance; options.ResponseUnmarshaller = PurchaseReservedInstancesOfferingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Purchases a Reserved Instance for use with your account. With Reserved Instances, /// you pay a lower hourly rate compared to On-Demand instance pricing. /// /// /// /// Use DescribeReservedInstancesOfferings to get a list of Reserved Instance offerings /// that match your specifications. After you've purchased a Reserved Instance, you can /// check for your new Reserved Instance with DescribeReservedInstances. /// /// /// /// To queue a purchase for a future date and time, specify a purchase time. If you do /// not specify a purchase time, the default is the current time. /// /// /// /// For more information, see Reserved /// Instances and Reserved /// Instance Marketplace in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the PurchaseReservedInstancesOffering service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PurchaseReservedInstancesOffering service method, as returned by EC2. /// REST API Reference for PurchaseReservedInstancesOffering Operation public virtual Task PurchaseReservedInstancesOfferingAsync(PurchaseReservedInstancesOfferingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PurchaseReservedInstancesOfferingRequestMarshaller.Instance; options.ResponseUnmarshaller = PurchaseReservedInstancesOfferingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PurchaseScheduledInstances /// /// /// /// You can no longer purchase Scheduled Instances. /// /// /// /// Purchases the Scheduled Instances with the specified schedule. /// /// /// /// Scheduled Instances enable you to purchase Amazon EC2 compute capacity by the hour /// for a one-year term. Before you can purchase a Scheduled Instance, you must call DescribeScheduledInstanceAvailability /// to check for available schedules and obtain a purchase token. After you purchase a /// Scheduled Instance, you must call RunScheduledInstances during each scheduled /// time period. /// /// /// /// After you purchase a Scheduled Instance, you can't cancel, modify, or resell your /// purchase. /// /// /// Container for the necessary parameters to execute the PurchaseScheduledInstances service method. /// /// The response from the PurchaseScheduledInstances service method, as returned by EC2. /// REST API Reference for PurchaseScheduledInstances Operation public virtual PurchaseScheduledInstancesResponse PurchaseScheduledInstances(PurchaseScheduledInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PurchaseScheduledInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = PurchaseScheduledInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// You can no longer purchase Scheduled Instances. /// /// /// /// Purchases the Scheduled Instances with the specified schedule. /// /// /// /// Scheduled Instances enable you to purchase Amazon EC2 compute capacity by the hour /// for a one-year term. Before you can purchase a Scheduled Instance, you must call DescribeScheduledInstanceAvailability /// to check for available schedules and obtain a purchase token. After you purchase a /// Scheduled Instance, you must call RunScheduledInstances during each scheduled /// time period. /// /// /// /// After you purchase a Scheduled Instance, you can't cancel, modify, or resell your /// purchase. /// /// /// Container for the necessary parameters to execute the PurchaseScheduledInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PurchaseScheduledInstances service method, as returned by EC2. /// REST API Reference for PurchaseScheduledInstances Operation public virtual Task PurchaseScheduledInstancesAsync(PurchaseScheduledInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PurchaseScheduledInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = PurchaseScheduledInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RebootInstances /// /// Requests a reboot of the specified instances. This operation is asynchronous; it only /// queues a request to reboot the specified instances. The operation succeeds if the /// instances are valid and belong to you. Requests to reboot terminated instances are /// ignored. /// /// /// /// If an instance does not cleanly shut down within a few minutes, Amazon EC2 performs /// a hard reboot. /// /// /// /// For more information about troubleshooting, see Troubleshoot /// an unreachable instance in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the RebootInstances service method. /// /// The response from the RebootInstances service method, as returned by EC2. /// REST API Reference for RebootInstances Operation public virtual RebootInstancesResponse RebootInstances(RebootInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RebootInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = RebootInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Requests a reboot of the specified instances. This operation is asynchronous; it only /// queues a request to reboot the specified instances. The operation succeeds if the /// instances are valid and belong to you. Requests to reboot terminated instances are /// ignored. /// /// /// /// If an instance does not cleanly shut down within a few minutes, Amazon EC2 performs /// a hard reboot. /// /// /// /// For more information about troubleshooting, see Troubleshoot /// an unreachable instance in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the RebootInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RebootInstances service method, as returned by EC2. /// REST API Reference for RebootInstances Operation public virtual Task RebootInstancesAsync(RebootInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RebootInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = RebootInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RegisterImage /// /// Registers an AMI. When you're creating an AMI, this is the final step you must complete /// before you can launch an instance from the AMI. For more information about creating /// AMIs, see Create /// your own AMI in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// For Amazon EBS-backed instances, CreateImage creates and registers the AMI /// in a single request, so you don't have to register the AMI yourself. We recommend /// that you always use CreateImage unless you have a specific reason to use RegisterImage. /// /// /// /// If needed, you can deregister an AMI at any time. Any modifications you make to an /// AMI backed by an instance store volume invalidates its registration. If you make changes /// to an image, deregister the previous image and register the new image. /// /// /// /// Register a snapshot of a root device volume /// /// /// /// You can use RegisterImage to create an Amazon EBS-backed Linux AMI from /// a snapshot of a root device volume. You specify the snapshot using a block device /// mapping. You can't set the encryption state of the volume using the block device mapping. /// If the snapshot is encrypted, or encryption by default is enabled, the root volume /// of an instance launched from the AMI is encrypted. /// /// /// /// For more information, see Create /// a Linux AMI from a snapshot and Use /// encryption with Amazon EBS-backed AMIs in the Amazon Elastic Compute Cloud /// User Guide. /// /// /// /// Amazon Web Services Marketplace product codes /// /// /// /// If any snapshots have Amazon Web Services Marketplace product codes, they are copied /// to the new AMI. /// /// /// /// Windows and some Linux distributions, such as Red Hat Enterprise Linux (RHEL) and /// SUSE Linux Enterprise Server (SLES), use the Amazon EC2 billing product code associated /// with an AMI to verify the subscription status for package updates. To create a new /// AMI for operating systems that require a billing product code, instead of registering /// the AMI, do the following to preserve the billing product code association: /// ///
  1. /// /// Launch an instance from an existing AMI with that billing product code. /// ///
  2. /// /// Customize the instance. /// ///
  3. /// /// Create an AMI from the instance using CreateImage. /// ///
/// /// If you purchase a Reserved Instance to apply to an On-Demand Instance that was launched /// from an AMI with a billing product code, make sure that the Reserved Instance has /// the matching billing product code. If you purchase a Reserved Instance without the /// matching billing product code, the Reserved Instance will not be applied to the On-Demand /// Instance. For information about how to obtain the platform details and billing information /// of an AMI, see Understand /// AMI billing information in the Amazon EC2 User Guide. /// ///
/// Container for the necessary parameters to execute the RegisterImage service method. /// /// The response from the RegisterImage service method, as returned by EC2. /// REST API Reference for RegisterImage Operation public virtual RegisterImageResponse RegisterImage(RegisterImageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterImageRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterImageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Registers an AMI. When you're creating an AMI, this is the final step you must complete /// before you can launch an instance from the AMI. For more information about creating /// AMIs, see Create /// your own AMI in the Amazon Elastic Compute Cloud User Guide. /// /// /// /// For Amazon EBS-backed instances, CreateImage creates and registers the AMI /// in a single request, so you don't have to register the AMI yourself. We recommend /// that you always use CreateImage unless you have a specific reason to use RegisterImage. /// /// /// /// If needed, you can deregister an AMI at any time. Any modifications you make to an /// AMI backed by an instance store volume invalidates its registration. If you make changes /// to an image, deregister the previous image and register the new image. /// /// /// /// Register a snapshot of a root device volume /// /// /// /// You can use RegisterImage to create an Amazon EBS-backed Linux AMI from /// a snapshot of a root device volume. You specify the snapshot using a block device /// mapping. You can't set the encryption state of the volume using the block device mapping. /// If the snapshot is encrypted, or encryption by default is enabled, the root volume /// of an instance launched from the AMI is encrypted. /// /// /// /// For more information, see Create /// a Linux AMI from a snapshot and Use /// encryption with Amazon EBS-backed AMIs in the Amazon Elastic Compute Cloud /// User Guide. /// /// /// /// Amazon Web Services Marketplace product codes /// /// /// /// If any snapshots have Amazon Web Services Marketplace product codes, they are copied /// to the new AMI. /// /// /// /// Windows and some Linux distributions, such as Red Hat Enterprise Linux (RHEL) and /// SUSE Linux Enterprise Server (SLES), use the Amazon EC2 billing product code associated /// with an AMI to verify the subscription status for package updates. To create a new /// AMI for operating systems that require a billing product code, instead of registering /// the AMI, do the following to preserve the billing product code association: /// ///
  1. /// /// Launch an instance from an existing AMI with that billing product code. /// ///
  2. /// /// Customize the instance. /// ///
  3. /// /// Create an AMI from the instance using CreateImage. /// ///
/// /// If you purchase a Reserved Instance to apply to an On-Demand Instance that was launched /// from an AMI with a billing product code, make sure that the Reserved Instance has /// the matching billing product code. If you purchase a Reserved Instance without the /// matching billing product code, the Reserved Instance will not be applied to the On-Demand /// Instance. For information about how to obtain the platform details and billing information /// of an AMI, see Understand /// AMI billing information in the Amazon EC2 User Guide. /// ///
/// Container for the necessary parameters to execute the RegisterImage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterImage service method, as returned by EC2. /// REST API Reference for RegisterImage Operation public virtual Task RegisterImageAsync(RegisterImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterImageRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterImageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RegisterInstanceEventNotificationAttributes /// /// Registers a set of tag keys to include in scheduled event notifications for your resources. /// /// /// /// /// To remove tags, use DeregisterInstanceEventNotificationAttributes. /// /// /// Container for the necessary parameters to execute the RegisterInstanceEventNotificationAttributes service method. /// /// The response from the RegisterInstanceEventNotificationAttributes service method, as returned by EC2. /// REST API Reference for RegisterInstanceEventNotificationAttributes Operation public virtual RegisterInstanceEventNotificationAttributesResponse RegisterInstanceEventNotificationAttributes(RegisterInstanceEventNotificationAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterInstanceEventNotificationAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterInstanceEventNotificationAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Registers a set of tag keys to include in scheduled event notifications for your resources. /// /// /// /// /// To remove tags, use DeregisterInstanceEventNotificationAttributes. /// /// /// Container for the necessary parameters to execute the RegisterInstanceEventNotificationAttributes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterInstanceEventNotificationAttributes service method, as returned by EC2. /// REST API Reference for RegisterInstanceEventNotificationAttributes Operation public virtual Task RegisterInstanceEventNotificationAttributesAsync(RegisterInstanceEventNotificationAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterInstanceEventNotificationAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterInstanceEventNotificationAttributesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RegisterTransitGatewayMulticastGroupMembers /// /// Registers members (network interfaces) with the transit gateway multicast group. A /// member is a network interface associated with a supported EC2 instance that receives /// multicast traffic. For information about supported instances, see Multicast /// Consideration in Amazon VPC Transit Gateways. /// /// /// /// After you add the members, use SearchTransitGatewayMulticastGroups /// to verify that the members were added to the transit gateway multicast group. /// /// /// Container for the necessary parameters to execute the RegisterTransitGatewayMulticastGroupMembers service method. /// /// The response from the RegisterTransitGatewayMulticastGroupMembers service method, as returned by EC2. /// REST API Reference for RegisterTransitGatewayMulticastGroupMembers Operation public virtual RegisterTransitGatewayMulticastGroupMembersResponse RegisterTransitGatewayMulticastGroupMembers(RegisterTransitGatewayMulticastGroupMembersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterTransitGatewayMulticastGroupMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterTransitGatewayMulticastGroupMembersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Registers members (network interfaces) with the transit gateway multicast group. A /// member is a network interface associated with a supported EC2 instance that receives /// multicast traffic. For information about supported instances, see Multicast /// Consideration in Amazon VPC Transit Gateways. /// /// /// /// After you add the members, use SearchTransitGatewayMulticastGroups /// to verify that the members were added to the transit gateway multicast group. /// /// /// Container for the necessary parameters to execute the RegisterTransitGatewayMulticastGroupMembers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterTransitGatewayMulticastGroupMembers service method, as returned by EC2. /// REST API Reference for RegisterTransitGatewayMulticastGroupMembers Operation public virtual Task RegisterTransitGatewayMulticastGroupMembersAsync(RegisterTransitGatewayMulticastGroupMembersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterTransitGatewayMulticastGroupMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterTransitGatewayMulticastGroupMembersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RegisterTransitGatewayMulticastGroupSources /// /// Registers sources (network interfaces) with the specified transit gateway multicast /// group. /// /// /// /// A multicast source is a network interface attached to a supported instance that sends /// multicast traffic. For information about supported instances, see Multicast /// Considerations in Amazon VPC Transit Gateways. /// /// /// /// After you add the source, use SearchTransitGatewayMulticastGroups /// to verify that the source was added to the multicast group. /// /// /// Container for the necessary parameters to execute the RegisterTransitGatewayMulticastGroupSources service method. /// /// The response from the RegisterTransitGatewayMulticastGroupSources service method, as returned by EC2. /// REST API Reference for RegisterTransitGatewayMulticastGroupSources Operation public virtual RegisterTransitGatewayMulticastGroupSourcesResponse RegisterTransitGatewayMulticastGroupSources(RegisterTransitGatewayMulticastGroupSourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterTransitGatewayMulticastGroupSourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterTransitGatewayMulticastGroupSourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Registers sources (network interfaces) with the specified transit gateway multicast /// group. /// /// /// /// A multicast source is a network interface attached to a supported instance that sends /// multicast traffic. For information about supported instances, see Multicast /// Considerations in Amazon VPC Transit Gateways. /// /// /// /// After you add the source, use SearchTransitGatewayMulticastGroups /// to verify that the source was added to the multicast group. /// /// /// Container for the necessary parameters to execute the RegisterTransitGatewayMulticastGroupSources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterTransitGatewayMulticastGroupSources service method, as returned by EC2. /// REST API Reference for RegisterTransitGatewayMulticastGroupSources Operation public virtual Task RegisterTransitGatewayMulticastGroupSourcesAsync(RegisterTransitGatewayMulticastGroupSourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterTransitGatewayMulticastGroupSourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterTransitGatewayMulticastGroupSourcesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RejectTransitGatewayMulticastDomainAssociations /// /// Rejects a request to associate cross-account subnets with a transit gateway multicast /// domain. /// /// Container for the necessary parameters to execute the RejectTransitGatewayMulticastDomainAssociations service method. /// /// The response from the RejectTransitGatewayMulticastDomainAssociations service method, as returned by EC2. /// REST API Reference for RejectTransitGatewayMulticastDomainAssociations Operation public virtual RejectTransitGatewayMulticastDomainAssociationsResponse RejectTransitGatewayMulticastDomainAssociations(RejectTransitGatewayMulticastDomainAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RejectTransitGatewayMulticastDomainAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectTransitGatewayMulticastDomainAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Rejects a request to associate cross-account subnets with a transit gateway multicast /// domain. /// /// Container for the necessary parameters to execute the RejectTransitGatewayMulticastDomainAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RejectTransitGatewayMulticastDomainAssociations service method, as returned by EC2. /// REST API Reference for RejectTransitGatewayMulticastDomainAssociations Operation public virtual Task RejectTransitGatewayMulticastDomainAssociationsAsync(RejectTransitGatewayMulticastDomainAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RejectTransitGatewayMulticastDomainAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectTransitGatewayMulticastDomainAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RejectTransitGatewayPeeringAttachment /// /// Rejects a transit gateway peering attachment request. /// /// Container for the necessary parameters to execute the RejectTransitGatewayPeeringAttachment service method. /// /// The response from the RejectTransitGatewayPeeringAttachment service method, as returned by EC2. /// REST API Reference for RejectTransitGatewayPeeringAttachment Operation public virtual RejectTransitGatewayPeeringAttachmentResponse RejectTransitGatewayPeeringAttachment(RejectTransitGatewayPeeringAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RejectTransitGatewayPeeringAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectTransitGatewayPeeringAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Rejects a transit gateway peering attachment request. /// /// Container for the necessary parameters to execute the RejectTransitGatewayPeeringAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RejectTransitGatewayPeeringAttachment service method, as returned by EC2. /// REST API Reference for RejectTransitGatewayPeeringAttachment Operation public virtual Task RejectTransitGatewayPeeringAttachmentAsync(RejectTransitGatewayPeeringAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RejectTransitGatewayPeeringAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectTransitGatewayPeeringAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RejectTransitGatewayVpcAttachment /// /// Rejects a request to attach a VPC to a transit gateway. /// /// /// /// The VPC attachment must be in the pendingAcceptance state. Use DescribeTransitGatewayVpcAttachments /// to view your pending VPC attachment requests. Use AcceptTransitGatewayVpcAttachment /// to accept a VPC attachment request. /// /// /// Container for the necessary parameters to execute the RejectTransitGatewayVpcAttachment service method. /// /// The response from the RejectTransitGatewayVpcAttachment service method, as returned by EC2. /// REST API Reference for RejectTransitGatewayVpcAttachment Operation public virtual RejectTransitGatewayVpcAttachmentResponse RejectTransitGatewayVpcAttachment(RejectTransitGatewayVpcAttachmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RejectTransitGatewayVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectTransitGatewayVpcAttachmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Rejects a request to attach a VPC to a transit gateway. /// /// /// /// The VPC attachment must be in the pendingAcceptance state. Use DescribeTransitGatewayVpcAttachments /// to view your pending VPC attachment requests. Use AcceptTransitGatewayVpcAttachment /// to accept a VPC attachment request. /// /// /// Container for the necessary parameters to execute the RejectTransitGatewayVpcAttachment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RejectTransitGatewayVpcAttachment service method, as returned by EC2. /// REST API Reference for RejectTransitGatewayVpcAttachment Operation public virtual Task RejectTransitGatewayVpcAttachmentAsync(RejectTransitGatewayVpcAttachmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RejectTransitGatewayVpcAttachmentRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectTransitGatewayVpcAttachmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RejectVpcEndpointConnections /// /// Rejects VPC endpoint connection requests to your VPC endpoint service. /// /// Container for the necessary parameters to execute the RejectVpcEndpointConnections service method. /// /// The response from the RejectVpcEndpointConnections service method, as returned by EC2. /// REST API Reference for RejectVpcEndpointConnections Operation public virtual RejectVpcEndpointConnectionsResponse RejectVpcEndpointConnections(RejectVpcEndpointConnectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RejectVpcEndpointConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectVpcEndpointConnectionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Rejects VPC endpoint connection requests to your VPC endpoint service. /// /// Container for the necessary parameters to execute the RejectVpcEndpointConnections service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RejectVpcEndpointConnections service method, as returned by EC2. /// REST API Reference for RejectVpcEndpointConnections Operation public virtual Task RejectVpcEndpointConnectionsAsync(RejectVpcEndpointConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RejectVpcEndpointConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectVpcEndpointConnectionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RejectVpcPeeringConnection /// /// Rejects a VPC peering connection request. The VPC peering connection must be in the /// pending-acceptance state. Use the DescribeVpcPeeringConnections /// request to view your outstanding VPC peering connection requests. To delete an active /// VPC peering connection, or to delete a VPC peering connection request that you initiated, /// use DeleteVpcPeeringConnection. /// /// Container for the necessary parameters to execute the RejectVpcPeeringConnection service method. /// /// The response from the RejectVpcPeeringConnection service method, as returned by EC2. /// REST API Reference for RejectVpcPeeringConnection Operation public virtual RejectVpcPeeringConnectionResponse RejectVpcPeeringConnection(RejectVpcPeeringConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RejectVpcPeeringConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectVpcPeeringConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Rejects a VPC peering connection request. The VPC peering connection must be in the /// pending-acceptance state. Use the DescribeVpcPeeringConnections /// request to view your outstanding VPC peering connection requests. To delete an active /// VPC peering connection, or to delete a VPC peering connection request that you initiated, /// use DeleteVpcPeeringConnection. /// /// Container for the necessary parameters to execute the RejectVpcPeeringConnection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RejectVpcPeeringConnection service method, as returned by EC2. /// REST API Reference for RejectVpcPeeringConnection Operation public virtual Task RejectVpcPeeringConnectionAsync(RejectVpcPeeringConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RejectVpcPeeringConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectVpcPeeringConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReleaseAddress /// /// Releases the specified Elastic IP address. /// /// /// /// [Default VPC] Releasing an Elastic IP address automatically disassociates it from /// any instance that it's associated with. To disassociate an Elastic IP address without /// releasing it, use DisassociateAddress. /// /// /// /// [Nondefault VPC] You must use DisassociateAddress to disassociate the Elastic /// IP address before you can release it. Otherwise, Amazon EC2 returns an error (InvalidIPAddress.InUse). /// /// /// /// After releasing an Elastic IP address, it is released to the IP address pool. Be sure /// to update your DNS records and any servers or devices that communicate with the address. /// If you attempt to release an Elastic IP address that you already released, you'll /// get an AuthFailure error if the address is already allocated to another /// Amazon Web Services account. /// /// /// /// After you release an Elastic IP address, you might be able to recover it. For more /// information, see AllocateAddress. /// /// /// Container for the necessary parameters to execute the ReleaseAddress service method. /// /// The response from the ReleaseAddress service method, as returned by EC2. /// REST API Reference for ReleaseAddress Operation public virtual ReleaseAddressResponse ReleaseAddress(ReleaseAddressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReleaseAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = ReleaseAddressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Releases the specified Elastic IP address. /// /// /// /// [Default VPC] Releasing an Elastic IP address automatically disassociates it from /// any instance that it's associated with. To disassociate an Elastic IP address without /// releasing it, use DisassociateAddress. /// /// /// /// [Nondefault VPC] You must use DisassociateAddress to disassociate the Elastic /// IP address before you can release it. Otherwise, Amazon EC2 returns an error (InvalidIPAddress.InUse). /// /// /// /// After releasing an Elastic IP address, it is released to the IP address pool. Be sure /// to update your DNS records and any servers or devices that communicate with the address. /// If you attempt to release an Elastic IP address that you already released, you'll /// get an AuthFailure error if the address is already allocated to another /// Amazon Web Services account. /// /// /// /// After you release an Elastic IP address, you might be able to recover it. For more /// information, see AllocateAddress. /// /// /// Container for the necessary parameters to execute the ReleaseAddress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReleaseAddress service method, as returned by EC2. /// REST API Reference for ReleaseAddress Operation public virtual Task ReleaseAddressAsync(ReleaseAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReleaseAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = ReleaseAddressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReleaseHosts /// /// When you no longer want to use an On-Demand Dedicated Host it can be released. On-Demand /// billing is stopped and the host goes into released state. The host ID /// of Dedicated Hosts that have been released can no longer be specified in another request, /// for example, to modify the host. You must stop or terminate all instances on a host /// before it can be released. /// /// /// /// When Dedicated Hosts are released, it may take some time for them to stop counting /// toward your limit and you may receive capacity errors when trying to allocate new /// Dedicated Hosts. Wait a few minutes and then try again. /// /// /// /// Released hosts still appear in a DescribeHosts response. /// /// /// Container for the necessary parameters to execute the ReleaseHosts service method. /// /// The response from the ReleaseHosts service method, as returned by EC2. /// REST API Reference for ReleaseHosts Operation public virtual ReleaseHostsResponse ReleaseHosts(ReleaseHostsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReleaseHostsRequestMarshaller.Instance; options.ResponseUnmarshaller = ReleaseHostsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// When you no longer want to use an On-Demand Dedicated Host it can be released. On-Demand /// billing is stopped and the host goes into released state. The host ID /// of Dedicated Hosts that have been released can no longer be specified in another request, /// for example, to modify the host. You must stop or terminate all instances on a host /// before it can be released. /// /// /// /// When Dedicated Hosts are released, it may take some time for them to stop counting /// toward your limit and you may receive capacity errors when trying to allocate new /// Dedicated Hosts. Wait a few minutes and then try again. /// /// /// /// Released hosts still appear in a DescribeHosts response. /// /// /// Container for the necessary parameters to execute the ReleaseHosts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReleaseHosts service method, as returned by EC2. /// REST API Reference for ReleaseHosts Operation public virtual Task ReleaseHostsAsync(ReleaseHostsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReleaseHostsRequestMarshaller.Instance; options.ResponseUnmarshaller = ReleaseHostsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReleaseIpamPoolAllocation /// /// Release an allocation within an IPAM pool. The Region you use should be the IPAM pool /// locale. The locale is the Amazon Web Services Region where this IPAM pool is available /// for allocations. You can only use this action to release manual allocations. To remove /// an allocation for a resource without deleting the resource, set its monitored state /// to false using ModifyIpamResourceCidr. /// For more information, see Release /// an allocation in the Amazon VPC IPAM User Guide. /// /// /// /// All EC2 API actions follow an eventual /// consistency model. /// /// /// /// Container for the necessary parameters to execute the ReleaseIpamPoolAllocation service method. /// /// The response from the ReleaseIpamPoolAllocation service method, as returned by EC2. /// REST API Reference for ReleaseIpamPoolAllocation Operation public virtual ReleaseIpamPoolAllocationResponse ReleaseIpamPoolAllocation(ReleaseIpamPoolAllocationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReleaseIpamPoolAllocationRequestMarshaller.Instance; options.ResponseUnmarshaller = ReleaseIpamPoolAllocationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Release an allocation within an IPAM pool. The Region you use should be the IPAM pool /// locale. The locale is the Amazon Web Services Region where this IPAM pool is available /// for allocations. You can only use this action to release manual allocations. To remove /// an allocation for a resource without deleting the resource, set its monitored state /// to false using ModifyIpamResourceCidr. /// For more information, see Release /// an allocation in the Amazon VPC IPAM User Guide. /// /// /// /// All EC2 API actions follow an eventual /// consistency model. /// /// /// /// Container for the necessary parameters to execute the ReleaseIpamPoolAllocation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReleaseIpamPoolAllocation service method, as returned by EC2. /// REST API Reference for ReleaseIpamPoolAllocation Operation public virtual Task ReleaseIpamPoolAllocationAsync(ReleaseIpamPoolAllocationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReleaseIpamPoolAllocationRequestMarshaller.Instance; options.ResponseUnmarshaller = ReleaseIpamPoolAllocationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReplaceIamInstanceProfileAssociation /// /// Replaces an IAM instance profile for the specified running instance. You can use this /// action to change the IAM instance profile that's associated with an instance without /// having to disassociate the existing IAM instance profile first. /// /// /// /// Use DescribeIamInstanceProfileAssociations to get the association ID. /// /// /// Container for the necessary parameters to execute the ReplaceIamInstanceProfileAssociation service method. /// /// The response from the ReplaceIamInstanceProfileAssociation service method, as returned by EC2. /// REST API Reference for ReplaceIamInstanceProfileAssociation Operation public virtual ReplaceIamInstanceProfileAssociationResponse ReplaceIamInstanceProfileAssociation(ReplaceIamInstanceProfileAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceIamInstanceProfileAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceIamInstanceProfileAssociationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Replaces an IAM instance profile for the specified running instance. You can use this /// action to change the IAM instance profile that's associated with an instance without /// having to disassociate the existing IAM instance profile first. /// /// /// /// Use DescribeIamInstanceProfileAssociations to get the association ID. /// /// /// Container for the necessary parameters to execute the ReplaceIamInstanceProfileAssociation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReplaceIamInstanceProfileAssociation service method, as returned by EC2. /// REST API Reference for ReplaceIamInstanceProfileAssociation Operation public virtual Task ReplaceIamInstanceProfileAssociationAsync(ReplaceIamInstanceProfileAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceIamInstanceProfileAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceIamInstanceProfileAssociationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReplaceNetworkAclAssociation /// /// Changes which network ACL a subnet is associated with. By default when you create /// a subnet, it's automatically associated with the default network ACL. For more information, /// see Network /// ACLs in the Amazon VPC User Guide. /// /// /// /// This is an idempotent operation. /// /// /// Container for the necessary parameters to execute the ReplaceNetworkAclAssociation service method. /// /// The response from the ReplaceNetworkAclAssociation service method, as returned by EC2. /// REST API Reference for ReplaceNetworkAclAssociation Operation public virtual ReplaceNetworkAclAssociationResponse ReplaceNetworkAclAssociation(ReplaceNetworkAclAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceNetworkAclAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceNetworkAclAssociationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes which network ACL a subnet is associated with. By default when you create /// a subnet, it's automatically associated with the default network ACL. For more information, /// see Network /// ACLs in the Amazon VPC User Guide. /// /// /// /// This is an idempotent operation. /// /// /// Container for the necessary parameters to execute the ReplaceNetworkAclAssociation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReplaceNetworkAclAssociation service method, as returned by EC2. /// REST API Reference for ReplaceNetworkAclAssociation Operation public virtual Task ReplaceNetworkAclAssociationAsync(ReplaceNetworkAclAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceNetworkAclAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceNetworkAclAssociationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReplaceNetworkAclEntry /// /// Replaces an entry (rule) in a network ACL. For more information, see Network /// ACLs in the Amazon VPC User Guide. /// /// Container for the necessary parameters to execute the ReplaceNetworkAclEntry service method. /// /// The response from the ReplaceNetworkAclEntry service method, as returned by EC2. /// REST API Reference for ReplaceNetworkAclEntry Operation public virtual ReplaceNetworkAclEntryResponse ReplaceNetworkAclEntry(ReplaceNetworkAclEntryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceNetworkAclEntryRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceNetworkAclEntryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Replaces an entry (rule) in a network ACL. For more information, see Network /// ACLs in the Amazon VPC User Guide. /// /// Container for the necessary parameters to execute the ReplaceNetworkAclEntry service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReplaceNetworkAclEntry service method, as returned by EC2. /// REST API Reference for ReplaceNetworkAclEntry Operation public virtual Task ReplaceNetworkAclEntryAsync(ReplaceNetworkAclEntryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceNetworkAclEntryRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceNetworkAclEntryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReplaceRoute /// /// Replaces an existing route within a route table in a VPC. /// /// /// /// You must specify either a destination CIDR block or a prefix list ID. You must also /// specify exactly one of the resources from the parameter list, or reset the local route /// to its default target. /// /// /// /// For more information, see Route /// tables in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the ReplaceRoute service method. /// /// The response from the ReplaceRoute service method, as returned by EC2. /// REST API Reference for ReplaceRoute Operation public virtual ReplaceRouteResponse ReplaceRoute(ReplaceRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Replaces an existing route within a route table in a VPC. /// /// /// /// You must specify either a destination CIDR block or a prefix list ID. You must also /// specify exactly one of the resources from the parameter list, or reset the local route /// to its default target. /// /// /// /// For more information, see Route /// tables in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the ReplaceRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReplaceRoute service method, as returned by EC2. /// REST API Reference for ReplaceRoute Operation public virtual Task ReplaceRouteAsync(ReplaceRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReplaceRouteTableAssociation /// /// Changes the route table associated with a given subnet, internet gateway, or virtual /// private gateway in a VPC. After the operation completes, the subnet or gateway uses /// the routes in the new route table. For more information about route tables, see Route /// tables in the Amazon VPC User Guide. /// /// /// /// You can also use this operation to change which table is the main route table in the /// VPC. Specify the main route table's association ID and the route table ID of the new /// main route table. /// /// /// Container for the necessary parameters to execute the ReplaceRouteTableAssociation service method. /// /// The response from the ReplaceRouteTableAssociation service method, as returned by EC2. /// REST API Reference for ReplaceRouteTableAssociation Operation public virtual ReplaceRouteTableAssociationResponse ReplaceRouteTableAssociation(ReplaceRouteTableAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceRouteTableAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceRouteTableAssociationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes the route table associated with a given subnet, internet gateway, or virtual /// private gateway in a VPC. After the operation completes, the subnet or gateway uses /// the routes in the new route table. For more information about route tables, see Route /// tables in the Amazon VPC User Guide. /// /// /// /// You can also use this operation to change which table is the main route table in the /// VPC. Specify the main route table's association ID and the route table ID of the new /// main route table. /// /// /// Container for the necessary parameters to execute the ReplaceRouteTableAssociation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReplaceRouteTableAssociation service method, as returned by EC2. /// REST API Reference for ReplaceRouteTableAssociation Operation public virtual Task ReplaceRouteTableAssociationAsync(ReplaceRouteTableAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceRouteTableAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceRouteTableAssociationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReplaceTransitGatewayRoute /// /// Replaces the specified route in the specified transit gateway route table. /// /// Container for the necessary parameters to execute the ReplaceTransitGatewayRoute service method. /// /// The response from the ReplaceTransitGatewayRoute service method, as returned by EC2. /// REST API Reference for ReplaceTransitGatewayRoute Operation public virtual ReplaceTransitGatewayRouteResponse ReplaceTransitGatewayRoute(ReplaceTransitGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceTransitGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceTransitGatewayRouteResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Replaces the specified route in the specified transit gateway route table. /// /// Container for the necessary parameters to execute the ReplaceTransitGatewayRoute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReplaceTransitGatewayRoute service method, as returned by EC2. /// REST API Reference for ReplaceTransitGatewayRoute Operation public virtual Task ReplaceTransitGatewayRouteAsync(ReplaceTransitGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceTransitGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceTransitGatewayRouteResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReplaceVpnTunnel /// /// Trigger replacement of specified VPN tunnel. /// /// Container for the necessary parameters to execute the ReplaceVpnTunnel service method. /// /// The response from the ReplaceVpnTunnel service method, as returned by EC2. /// REST API Reference for ReplaceVpnTunnel Operation public virtual ReplaceVpnTunnelResponse ReplaceVpnTunnel(ReplaceVpnTunnelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceVpnTunnelRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceVpnTunnelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Trigger replacement of specified VPN tunnel. /// /// Container for the necessary parameters to execute the ReplaceVpnTunnel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReplaceVpnTunnel service method, as returned by EC2. /// REST API Reference for ReplaceVpnTunnel Operation public virtual Task ReplaceVpnTunnelAsync(ReplaceVpnTunnelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceVpnTunnelRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceVpnTunnelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReportInstanceStatus /// /// Submits feedback about the status of an instance. The instance must be in the running /// state. If your experience with the instance differs from the instance status returned /// by DescribeInstanceStatus, use ReportInstanceStatus to report your experience /// with the instance. Amazon EC2 collects this information to improve the accuracy of /// status checks. /// /// /// /// Use of this action does not change the value returned by DescribeInstanceStatus. /// /// /// Container for the necessary parameters to execute the ReportInstanceStatus service method. /// /// The response from the ReportInstanceStatus service method, as returned by EC2. /// REST API Reference for ReportInstanceStatus Operation public virtual ReportInstanceStatusResponse ReportInstanceStatus(ReportInstanceStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReportInstanceStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = ReportInstanceStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Submits feedback about the status of an instance. The instance must be in the running /// state. If your experience with the instance differs from the instance status returned /// by DescribeInstanceStatus, use ReportInstanceStatus to report your experience /// with the instance. Amazon EC2 collects this information to improve the accuracy of /// status checks. /// /// /// /// Use of this action does not change the value returned by DescribeInstanceStatus. /// /// /// Container for the necessary parameters to execute the ReportInstanceStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReportInstanceStatus service method, as returned by EC2. /// REST API Reference for ReportInstanceStatus Operation public virtual Task ReportInstanceStatusAsync(ReportInstanceStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReportInstanceStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = ReportInstanceStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RequestSpotFleet /// /// Creates a Spot Fleet request. /// /// /// /// The Spot Fleet request specifies the total target capacity and the On-Demand target /// capacity. Amazon EC2 calculates the difference between the total capacity and On-Demand /// capacity, and launches the difference as Spot capacity. /// /// /// /// You can submit a single request that includes multiple launch specifications that /// vary by instance type, AMI, Availability Zone, or subnet. /// /// /// /// By default, the Spot Fleet requests Spot Instances in the Spot Instance pool where /// the price per unit is the lowest. Each launch specification can include its own instance /// weighting that reflects the value of the instance type to your application workload. /// /// /// /// Alternatively, you can specify that the Spot Fleet distribute the target capacity /// across the Spot pools included in its launch specifications. By ensuring that the /// Spot Instances in your Spot Fleet are in different Spot pools, you can improve the /// availability of your fleet. /// /// /// /// You can specify tags for the Spot Fleet request and instances launched by the fleet. /// You cannot tag other resource types in a Spot Fleet request because only the spot-fleet-request /// and instance resource types are supported. /// /// /// /// For more information, see Spot /// Fleet requests in the Amazon EC2 User Guide. /// /// /// /// We strongly discourage using the RequestSpotFleet API because it is a legacy API with /// no planned investment. For options for requesting Spot Instances, see Which /// is the best Spot request method to use? in the Amazon EC2 User Guide. /// /// /// /// Container for the necessary parameters to execute the RequestSpotFleet service method. /// /// The response from the RequestSpotFleet service method, as returned by EC2. /// REST API Reference for RequestSpotFleet Operation public virtual RequestSpotFleetResponse RequestSpotFleet(RequestSpotFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RequestSpotFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = RequestSpotFleetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Spot Fleet request. /// /// /// /// The Spot Fleet request specifies the total target capacity and the On-Demand target /// capacity. Amazon EC2 calculates the difference between the total capacity and On-Demand /// capacity, and launches the difference as Spot capacity. /// /// /// /// You can submit a single request that includes multiple launch specifications that /// vary by instance type, AMI, Availability Zone, or subnet. /// /// /// /// By default, the Spot Fleet requests Spot Instances in the Spot Instance pool where /// the price per unit is the lowest. Each launch specification can include its own instance /// weighting that reflects the value of the instance type to your application workload. /// /// /// /// Alternatively, you can specify that the Spot Fleet distribute the target capacity /// across the Spot pools included in its launch specifications. By ensuring that the /// Spot Instances in your Spot Fleet are in different Spot pools, you can improve the /// availability of your fleet. /// /// /// /// You can specify tags for the Spot Fleet request and instances launched by the fleet. /// You cannot tag other resource types in a Spot Fleet request because only the spot-fleet-request /// and instance resource types are supported. /// /// /// /// For more information, see Spot /// Fleet requests in the Amazon EC2 User Guide. /// /// /// /// We strongly discourage using the RequestSpotFleet API because it is a legacy API with /// no planned investment. For options for requesting Spot Instances, see Which /// is the best Spot request method to use? in the Amazon EC2 User Guide. /// /// /// /// Container for the necessary parameters to execute the RequestSpotFleet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RequestSpotFleet service method, as returned by EC2. /// REST API Reference for RequestSpotFleet Operation public virtual Task RequestSpotFleetAsync(RequestSpotFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RequestSpotFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = RequestSpotFleetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RequestSpotInstances /// /// Creates a Spot Instance request. /// /// /// /// For more information, see Spot /// Instance requests in the Amazon EC2 User Guide for Linux Instances. /// /// /// /// We strongly discourage using the RequestSpotInstances API because it is a legacy API /// with no planned investment. For options for requesting Spot Instances, see Which /// is the best Spot request method to use? in the Amazon EC2 User Guide for Linux /// Instances. /// /// /// /// Container for the necessary parameters to execute the RequestSpotInstances service method. /// /// The response from the RequestSpotInstances service method, as returned by EC2. /// REST API Reference for RequestSpotInstances Operation public virtual RequestSpotInstancesResponse RequestSpotInstances(RequestSpotInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RequestSpotInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = RequestSpotInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Spot Instance request. /// /// /// /// For more information, see Spot /// Instance requests in the Amazon EC2 User Guide for Linux Instances. /// /// /// /// We strongly discourage using the RequestSpotInstances API because it is a legacy API /// with no planned investment. For options for requesting Spot Instances, see Which /// is the best Spot request method to use? in the Amazon EC2 User Guide for Linux /// Instances. /// /// /// /// Container for the necessary parameters to execute the RequestSpotInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RequestSpotInstances service method, as returned by EC2. /// REST API Reference for RequestSpotInstances Operation public virtual Task RequestSpotInstancesAsync(RequestSpotInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RequestSpotInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = RequestSpotInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ResetAddressAttribute /// /// Resets the attribute of the specified IP address. For requirements, see Using /// reverse DNS for email applications. /// /// Container for the necessary parameters to execute the ResetAddressAttribute service method. /// /// The response from the ResetAddressAttribute service method, as returned by EC2. /// REST API Reference for ResetAddressAttribute Operation public virtual ResetAddressAttributeResponse ResetAddressAttribute(ResetAddressAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ResetAddressAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetAddressAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Resets the attribute of the specified IP address. For requirements, see Using /// reverse DNS for email applications. /// /// Container for the necessary parameters to execute the ResetAddressAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ResetAddressAttribute service method, as returned by EC2. /// REST API Reference for ResetAddressAttribute Operation public virtual Task ResetAddressAttributeAsync(ResetAddressAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ResetAddressAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetAddressAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ResetEbsDefaultKmsKeyId /// /// Resets the default KMS key for EBS encryption for your account in this Region to the /// Amazon Web Services managed KMS key for EBS. /// /// /// /// After resetting the default KMS key to the Amazon Web Services managed KMS key, you /// can continue to encrypt by a customer managed KMS key by specifying it when you create /// the volume. For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the ResetEbsDefaultKmsKeyId service method. /// /// The response from the ResetEbsDefaultKmsKeyId service method, as returned by EC2. /// REST API Reference for ResetEbsDefaultKmsKeyId Operation public virtual ResetEbsDefaultKmsKeyIdResponse ResetEbsDefaultKmsKeyId(ResetEbsDefaultKmsKeyIdRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ResetEbsDefaultKmsKeyIdRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetEbsDefaultKmsKeyIdResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Resets the default KMS key for EBS encryption for your account in this Region to the /// Amazon Web Services managed KMS key for EBS. /// /// /// /// After resetting the default KMS key to the Amazon Web Services managed KMS key, you /// can continue to encrypt by a customer managed KMS key by specifying it when you create /// the volume. For more information, see Amazon /// EBS encryption in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the ResetEbsDefaultKmsKeyId service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ResetEbsDefaultKmsKeyId service method, as returned by EC2. /// REST API Reference for ResetEbsDefaultKmsKeyId Operation public virtual Task ResetEbsDefaultKmsKeyIdAsync(ResetEbsDefaultKmsKeyIdRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ResetEbsDefaultKmsKeyIdRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetEbsDefaultKmsKeyIdResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ResetFpgaImageAttribute /// /// Resets the specified attribute of the specified Amazon FPGA Image (AFI) to its default /// value. You can only reset the load permission attribute. /// /// Container for the necessary parameters to execute the ResetFpgaImageAttribute service method. /// /// The response from the ResetFpgaImageAttribute service method, as returned by EC2. /// REST API Reference for ResetFpgaImageAttribute Operation public virtual ResetFpgaImageAttributeResponse ResetFpgaImageAttribute(ResetFpgaImageAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ResetFpgaImageAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetFpgaImageAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Resets the specified attribute of the specified Amazon FPGA Image (AFI) to its default /// value. You can only reset the load permission attribute. /// /// Container for the necessary parameters to execute the ResetFpgaImageAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ResetFpgaImageAttribute service method, as returned by EC2. /// REST API Reference for ResetFpgaImageAttribute Operation public virtual Task ResetFpgaImageAttributeAsync(ResetFpgaImageAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ResetFpgaImageAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetFpgaImageAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ResetImageAttribute /// /// Resets an attribute of an AMI to its default value. /// /// Container for the necessary parameters to execute the ResetImageAttribute service method. /// /// The response from the ResetImageAttribute service method, as returned by EC2. /// REST API Reference for ResetImageAttribute Operation public virtual ResetImageAttributeResponse ResetImageAttribute(ResetImageAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ResetImageAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetImageAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Resets an attribute of an AMI to its default value. /// /// Container for the necessary parameters to execute the ResetImageAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ResetImageAttribute service method, as returned by EC2. /// REST API Reference for ResetImageAttribute Operation public virtual Task ResetImageAttributeAsync(ResetImageAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ResetImageAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetImageAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ResetInstanceAttribute /// /// Resets an attribute of an instance to its default value. To reset the kernel /// or ramdisk, the instance must be in a stopped state. To reset the sourceDestCheck, /// the instance can be either running or stopped. /// /// /// /// The sourceDestCheck attribute controls whether source/destination checking /// is enabled. The default value is true, which means checking is enabled. /// This value must be false for a NAT instance to perform NAT. For more /// information, see NAT /// Instances in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the ResetInstanceAttribute service method. /// /// The response from the ResetInstanceAttribute service method, as returned by EC2. /// REST API Reference for ResetInstanceAttribute Operation public virtual ResetInstanceAttributeResponse ResetInstanceAttribute(ResetInstanceAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ResetInstanceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetInstanceAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Resets an attribute of an instance to its default value. To reset the kernel /// or ramdisk, the instance must be in a stopped state. To reset the sourceDestCheck, /// the instance can be either running or stopped. /// /// /// /// The sourceDestCheck attribute controls whether source/destination checking /// is enabled. The default value is true, which means checking is enabled. /// This value must be false for a NAT instance to perform NAT. For more /// information, see NAT /// Instances in the Amazon VPC User Guide. /// /// /// Container for the necessary parameters to execute the ResetInstanceAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ResetInstanceAttribute service method, as returned by EC2. /// REST API Reference for ResetInstanceAttribute Operation public virtual Task ResetInstanceAttributeAsync(ResetInstanceAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ResetInstanceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetInstanceAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ResetNetworkInterfaceAttribute /// /// Resets a network interface attribute. You can specify only one attribute at a time. /// /// Container for the necessary parameters to execute the ResetNetworkInterfaceAttribute service method. /// /// The response from the ResetNetworkInterfaceAttribute service method, as returned by EC2. /// REST API Reference for ResetNetworkInterfaceAttribute Operation public virtual ResetNetworkInterfaceAttributeResponse ResetNetworkInterfaceAttribute(ResetNetworkInterfaceAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ResetNetworkInterfaceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetNetworkInterfaceAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Resets a network interface attribute. You can specify only one attribute at a time. /// /// Container for the necessary parameters to execute the ResetNetworkInterfaceAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ResetNetworkInterfaceAttribute service method, as returned by EC2. /// REST API Reference for ResetNetworkInterfaceAttribute Operation public virtual Task ResetNetworkInterfaceAttributeAsync(ResetNetworkInterfaceAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ResetNetworkInterfaceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetNetworkInterfaceAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ResetSnapshotAttribute /// /// Resets permission settings for the specified snapshot. /// /// /// /// For more information about modifying snapshot permissions, see Share /// a snapshot in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the ResetSnapshotAttribute service method. /// /// The response from the ResetSnapshotAttribute service method, as returned by EC2. /// REST API Reference for ResetSnapshotAttribute Operation public virtual ResetSnapshotAttributeResponse ResetSnapshotAttribute(ResetSnapshotAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ResetSnapshotAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetSnapshotAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Resets permission settings for the specified snapshot. /// /// /// /// For more information about modifying snapshot permissions, see Share /// a snapshot in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the ResetSnapshotAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ResetSnapshotAttribute service method, as returned by EC2. /// REST API Reference for ResetSnapshotAttribute Operation public virtual Task ResetSnapshotAttributeAsync(ResetSnapshotAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ResetSnapshotAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetSnapshotAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RestoreAddressToClassic /// /// /// /// This action is deprecated. /// /// /// /// Restores an Elastic IP address that was previously moved to the EC2-VPC platform back /// to the EC2-Classic platform. You cannot move an Elastic IP address that was originally /// allocated for use in EC2-VPC. The Elastic IP address must not be associated with an /// instance or network interface. /// /// /// Container for the necessary parameters to execute the RestoreAddressToClassic service method. /// /// The response from the RestoreAddressToClassic service method, as returned by EC2. /// REST API Reference for RestoreAddressToClassic Operation public virtual RestoreAddressToClassicResponse RestoreAddressToClassic(RestoreAddressToClassicRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RestoreAddressToClassicRequestMarshaller.Instance; options.ResponseUnmarshaller = RestoreAddressToClassicResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// /// /// This action is deprecated. /// /// /// /// Restores an Elastic IP address that was previously moved to the EC2-VPC platform back /// to the EC2-Classic platform. You cannot move an Elastic IP address that was originally /// allocated for use in EC2-VPC. The Elastic IP address must not be associated with an /// instance or network interface. /// /// /// Container for the necessary parameters to execute the RestoreAddressToClassic service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RestoreAddressToClassic service method, as returned by EC2. /// REST API Reference for RestoreAddressToClassic Operation public virtual Task RestoreAddressToClassicAsync(RestoreAddressToClassicRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RestoreAddressToClassicRequestMarshaller.Instance; options.ResponseUnmarshaller = RestoreAddressToClassicResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RestoreImageFromRecycleBin /// /// Restores an AMI from the Recycle Bin. For more information, see Recycle /// Bin in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the RestoreImageFromRecycleBin service method. /// /// The response from the RestoreImageFromRecycleBin service method, as returned by EC2. /// REST API Reference for RestoreImageFromRecycleBin Operation public virtual RestoreImageFromRecycleBinResponse RestoreImageFromRecycleBin(RestoreImageFromRecycleBinRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RestoreImageFromRecycleBinRequestMarshaller.Instance; options.ResponseUnmarshaller = RestoreImageFromRecycleBinResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Restores an AMI from the Recycle Bin. For more information, see Recycle /// Bin in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the RestoreImageFromRecycleBin service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RestoreImageFromRecycleBin service method, as returned by EC2. /// REST API Reference for RestoreImageFromRecycleBin Operation public virtual Task RestoreImageFromRecycleBinAsync(RestoreImageFromRecycleBinRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RestoreImageFromRecycleBinRequestMarshaller.Instance; options.ResponseUnmarshaller = RestoreImageFromRecycleBinResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RestoreManagedPrefixListVersion /// /// Restores the entries from a previous version of a managed prefix list to a new version /// of the prefix list. /// /// Container for the necessary parameters to execute the RestoreManagedPrefixListVersion service method. /// /// The response from the RestoreManagedPrefixListVersion service method, as returned by EC2. /// REST API Reference for RestoreManagedPrefixListVersion Operation public virtual RestoreManagedPrefixListVersionResponse RestoreManagedPrefixListVersion(RestoreManagedPrefixListVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RestoreManagedPrefixListVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = RestoreManagedPrefixListVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Restores the entries from a previous version of a managed prefix list to a new version /// of the prefix list. /// /// Container for the necessary parameters to execute the RestoreManagedPrefixListVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RestoreManagedPrefixListVersion service method, as returned by EC2. /// REST API Reference for RestoreManagedPrefixListVersion Operation public virtual Task RestoreManagedPrefixListVersionAsync(RestoreManagedPrefixListVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RestoreManagedPrefixListVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = RestoreManagedPrefixListVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RestoreSnapshotFromRecycleBin /// /// Restores a snapshot from the Recycle Bin. For more information, see Restore /// snapshots from the Recycle Bin in the Amazon Elastic Compute Cloud User Guide. /// /// Container for the necessary parameters to execute the RestoreSnapshotFromRecycleBin service method. /// /// The response from the RestoreSnapshotFromRecycleBin service method, as returned by EC2. /// REST API Reference for RestoreSnapshotFromRecycleBin Operation public virtual RestoreSnapshotFromRecycleBinResponse RestoreSnapshotFromRecycleBin(RestoreSnapshotFromRecycleBinRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RestoreSnapshotFromRecycleBinRequestMarshaller.Instance; options.ResponseUnmarshaller = RestoreSnapshotFromRecycleBinResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Restores a snapshot from the Recycle Bin. For more information, see Restore /// snapshots from the Recycle Bin in the Amazon Elastic Compute Cloud User Guide. /// /// Container for the necessary parameters to execute the RestoreSnapshotFromRecycleBin service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RestoreSnapshotFromRecycleBin service method, as returned by EC2. /// REST API Reference for RestoreSnapshotFromRecycleBin Operation public virtual Task RestoreSnapshotFromRecycleBinAsync(RestoreSnapshotFromRecycleBinRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RestoreSnapshotFromRecycleBinRequestMarshaller.Instance; options.ResponseUnmarshaller = RestoreSnapshotFromRecycleBinResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RestoreSnapshotTier /// /// Restores an archived Amazon EBS snapshot for use temporarily or permanently, or modifies /// the restore period or restore type for a snapshot that was previously temporarily /// restored. /// /// /// /// For more information see /// Restore an archived snapshot and /// modify the restore period or restore type for a temporarily restored snapshot /// in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the RestoreSnapshotTier service method. /// /// The response from the RestoreSnapshotTier service method, as returned by EC2. /// REST API Reference for RestoreSnapshotTier Operation public virtual RestoreSnapshotTierResponse RestoreSnapshotTier(RestoreSnapshotTierRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RestoreSnapshotTierRequestMarshaller.Instance; options.ResponseUnmarshaller = RestoreSnapshotTierResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Restores an archived Amazon EBS snapshot for use temporarily or permanently, or modifies /// the restore period or restore type for a snapshot that was previously temporarily /// restored. /// /// /// /// For more information see /// Restore an archived snapshot and /// modify the restore period or restore type for a temporarily restored snapshot /// in the Amazon Elastic Compute Cloud User Guide. /// /// /// Container for the necessary parameters to execute the RestoreSnapshotTier service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RestoreSnapshotTier service method, as returned by EC2. /// REST API Reference for RestoreSnapshotTier Operation public virtual Task RestoreSnapshotTierAsync(RestoreSnapshotTierRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RestoreSnapshotTierRequestMarshaller.Instance; options.ResponseUnmarshaller = RestoreSnapshotTierResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RevokeClientVpnIngress /// /// Removes an ingress authorization rule from a Client VPN endpoint. /// /// Container for the necessary parameters to execute the RevokeClientVpnIngress service method. /// /// The response from the RevokeClientVpnIngress service method, as returned by EC2. /// REST API Reference for RevokeClientVpnIngress Operation public virtual RevokeClientVpnIngressResponse RevokeClientVpnIngress(RevokeClientVpnIngressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeClientVpnIngressRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeClientVpnIngressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes an ingress authorization rule from a Client VPN endpoint. /// /// Container for the necessary parameters to execute the RevokeClientVpnIngress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RevokeClientVpnIngress service method, as returned by EC2. /// REST API Reference for RevokeClientVpnIngress Operation public virtual Task RevokeClientVpnIngressAsync(RevokeClientVpnIngressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeClientVpnIngressRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeClientVpnIngressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RevokeSecurityGroupEgress /// /// Removes the specified outbound (egress) rules from the specified security group. /// /// /// /// You can specify rules using either rule IDs or security group rule properties. If /// you use rule properties, the values that you specify (for example, ports) must match /// the existing rule's values exactly. Each rule has a protocol, from and to ports, and /// destination (CIDR range, security group, or prefix list). For the TCP and UDP protocols, /// you must also specify the destination port or range of ports. For the ICMP protocol, /// you must also specify the ICMP type and code. If the security group rule has a description, /// you do not need to specify the description to revoke the rule. /// /// /// /// For a default VPC, if the values you specify do not match the existing rule's values, /// no error is returned, and the output describes the security group rules that were /// not revoked. /// /// /// /// Amazon Web Services recommends that you describe the security group to verify that /// the rules were removed. /// /// /// /// Rule changes are propagated to instances within the security group as quickly as possible. /// However, a small delay might occur. /// /// /// Container for the necessary parameters to execute the RevokeSecurityGroupEgress service method. /// /// The response from the RevokeSecurityGroupEgress service method, as returned by EC2. /// REST API Reference for RevokeSecurityGroupEgress Operation public virtual RevokeSecurityGroupEgressResponse RevokeSecurityGroupEgress(RevokeSecurityGroupEgressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeSecurityGroupEgressRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeSecurityGroupEgressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes the specified outbound (egress) rules from the specified security group. /// /// /// /// You can specify rules using either rule IDs or security group rule properties. If /// you use rule properties, the values that you specify (for example, ports) must match /// the existing rule's values exactly. Each rule has a protocol, from and to ports, and /// destination (CIDR range, security group, or prefix list). For the TCP and UDP protocols, /// you must also specify the destination port or range of ports. For the ICMP protocol, /// you must also specify the ICMP type and code. If the security group rule has a description, /// you do not need to specify the description to revoke the rule. /// /// /// /// For a default VPC, if the values you specify do not match the existing rule's values, /// no error is returned, and the output describes the security group rules that were /// not revoked. /// /// /// /// Amazon Web Services recommends that you describe the security group to verify that /// the rules were removed. /// /// /// /// Rule changes are propagated to instances within the security group as quickly as possible. /// However, a small delay might occur. /// /// /// Container for the necessary parameters to execute the RevokeSecurityGroupEgress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RevokeSecurityGroupEgress service method, as returned by EC2. /// REST API Reference for RevokeSecurityGroupEgress Operation public virtual Task RevokeSecurityGroupEgressAsync(RevokeSecurityGroupEgressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeSecurityGroupEgressRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeSecurityGroupEgressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RevokeSecurityGroupIngress /// /// Removes the specified inbound (ingress) rules from a security group. /// /// /// /// You can specify rules using either rule IDs or security group rule properties. If /// you use rule properties, the values that you specify (for example, ports) must match /// the existing rule's values exactly. Each rule has a protocol, from and to ports, and /// source (CIDR range, security group, or prefix list). For the TCP and UDP protocols, /// you must also specify the destination port or range of ports. For the ICMP protocol, /// you must also specify the ICMP type and code. If the security group rule has a description, /// you do not need to specify the description to revoke the rule. /// /// /// /// For a default VPC, if the values you specify do not match the existing rule's values, /// no error is returned, and the output describes the security group rules that were /// not revoked. /// /// /// /// Amazon Web Services recommends that you describe the security group to verify that /// the rules were removed. /// /// /// /// Rule changes are propagated to instances within the security group as quickly as possible. /// However, a small delay might occur. /// /// /// Container for the necessary parameters to execute the RevokeSecurityGroupIngress service method. /// /// The response from the RevokeSecurityGroupIngress service method, as returned by EC2. /// REST API Reference for RevokeSecurityGroupIngress Operation public virtual RevokeSecurityGroupIngressResponse RevokeSecurityGroupIngress(RevokeSecurityGroupIngressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeSecurityGroupIngressRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeSecurityGroupIngressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes the specified inbound (ingress) rules from a security group. /// /// /// /// You can specify rules using either rule IDs or security group rule properties. If /// you use rule properties, the values that you specify (for example, ports) must match /// the existing rule's values exactly. Each rule has a protocol, from and to ports, and /// source (CIDR range, security group, or prefix list). For the TCP and UDP protocols, /// you must also specify the destination port or range of ports. For the ICMP protocol, /// you must also specify the ICMP type and code. If the security group rule has a description, /// you do not need to specify the description to revoke the rule. /// /// /// /// For a default VPC, if the values you specify do not match the existing rule's values, /// no error is returned, and the output describes the security group rules that were /// not revoked. /// /// /// /// Amazon Web Services recommends that you describe the security group to verify that /// the rules were removed. /// /// /// /// Rule changes are propagated to instances within the security group as quickly as possible. /// However, a small delay might occur. /// /// /// Container for the necessary parameters to execute the RevokeSecurityGroupIngress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RevokeSecurityGroupIngress service method, as returned by EC2. /// REST API Reference for RevokeSecurityGroupIngress Operation public virtual Task RevokeSecurityGroupIngressAsync(RevokeSecurityGroupIngressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeSecurityGroupIngressRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeSecurityGroupIngressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RunInstances /// /// Launches the specified number of instances using an AMI for which you have permissions. /// /// /// /// You can specify a number of options, or leave the default options. The following rules /// apply: /// ///
  • /// /// If you don't specify a subnet ID, we choose a default subnet from your default VPC /// for you. If you don't have a default VPC, you must specify a subnet ID in the request. /// ///
  • /// /// All instances have a network interface with a primary private IPv4 address. If you /// don't specify this address, we choose one from the IPv4 range of your subnet. /// ///
  • /// /// Not all instance types support IPv6 addresses. For more information, see Instance /// types. /// ///
  • /// /// If you don't specify a security group ID, we use the default security group. For more /// information, see Security /// groups. /// ///
  • /// /// If any of the AMIs have a product code attached for which the user has not subscribed, /// the request fails. /// ///
/// /// You can create a launch /// template, which is a resource that contains the parameters to launch an instance. /// When you launch an instance using RunInstances, you can specify the launch /// template instead of specifying the launch parameters. /// /// /// /// To ensure faster instance launches, break up large requests into smaller batches. /// For example, create five separate launch requests for 100 instances each instead of /// one launch request for 500 instances. /// /// /// /// An instance is ready for you to use when it's in the running state. You /// can check the state of your instance using DescribeInstances. You can tag instances /// and EBS volumes during launch, after launch, or both. For more information, see CreateTags /// and Tagging /// your Amazon EC2 resources. /// /// /// /// Linux instances have access to the public key of the key pair at boot. You can use /// this key to provide secure access to the instance. Amazon EC2 public images use this /// feature to provide secure access without passwords. For more information, see Key /// pairs. /// /// /// /// For troubleshooting, see What /// to do if an instance immediately terminates, and Troubleshooting /// connecting to your instance. /// ///
/// Container for the necessary parameters to execute the RunInstances service method. /// /// The response from the RunInstances service method, as returned by EC2. /// REST API Reference for RunInstances Operation public virtual RunInstancesResponse RunInstances(RunInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RunInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = RunInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Launches the specified number of instances using an AMI for which you have permissions. /// /// /// /// You can specify a number of options, or leave the default options. The following rules /// apply: /// ///
  • /// /// If you don't specify a subnet ID, we choose a default subnet from your default VPC /// for you. If you don't have a default VPC, you must specify a subnet ID in the request. /// ///
  • /// /// All instances have a network interface with a primary private IPv4 address. If you /// don't specify this address, we choose one from the IPv4 range of your subnet. /// ///
  • /// /// Not all instance types support IPv6 addresses. For more information, see Instance /// types. /// ///
  • /// /// If you don't specify a security group ID, we use the default security group. For more /// information, see Security /// groups. /// ///
  • /// /// If any of the AMIs have a product code attached for which the user has not subscribed, /// the request fails. /// ///
/// /// You can create a launch /// template, which is a resource that contains the parameters to launch an instance. /// When you launch an instance using RunInstances, you can specify the launch /// template instead of specifying the launch parameters. /// /// /// /// To ensure faster instance launches, break up large requests into smaller batches. /// For example, create five separate launch requests for 100 instances each instead of /// one launch request for 500 instances. /// /// /// /// An instance is ready for you to use when it's in the running state. You /// can check the state of your instance using DescribeInstances. You can tag instances /// and EBS volumes during launch, after launch, or both. For more information, see CreateTags /// and Tagging /// your Amazon EC2 resources. /// /// /// /// Linux instances have access to the public key of the key pair at boot. You can use /// this key to provide secure access to the instance. Amazon EC2 public images use this /// feature to provide secure access without passwords. For more information, see Key /// pairs. /// /// /// /// For troubleshooting, see What /// to do if an instance immediately terminates, and Troubleshooting /// connecting to your instance. /// ///
/// Container for the necessary parameters to execute the RunInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RunInstances service method, as returned by EC2. /// REST API Reference for RunInstances Operation public virtual Task RunInstancesAsync(RunInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RunInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = RunInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RunScheduledInstances /// /// Launches the specified Scheduled Instances. /// /// /// /// Before you can launch a Scheduled Instance, you must purchase it and obtain an identifier /// using PurchaseScheduledInstances. /// /// /// /// You must launch a Scheduled Instance during its scheduled time period. You can't stop /// or reboot a Scheduled Instance, but you can terminate it as needed. If you terminate /// a Scheduled Instance before the current scheduled time period ends, you can launch /// it again after a few minutes. For more information, see Scheduled /// Instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the RunScheduledInstances service method. /// /// The response from the RunScheduledInstances service method, as returned by EC2. /// REST API Reference for RunScheduledInstances Operation public virtual RunScheduledInstancesResponse RunScheduledInstances(RunScheduledInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RunScheduledInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = RunScheduledInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Launches the specified Scheduled Instances. /// /// /// /// Before you can launch a Scheduled Instance, you must purchase it and obtain an identifier /// using PurchaseScheduledInstances. /// /// /// /// You must launch a Scheduled Instance during its scheduled time period. You can't stop /// or reboot a Scheduled Instance, but you can terminate it as needed. If you terminate /// a Scheduled Instance before the current scheduled time period ends, you can launch /// it again after a few minutes. For more information, see Scheduled /// Instances in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the RunScheduledInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RunScheduledInstances service method, as returned by EC2. /// REST API Reference for RunScheduledInstances Operation public virtual Task RunScheduledInstancesAsync(RunScheduledInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RunScheduledInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = RunScheduledInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SearchLocalGatewayRoutes /// /// Searches for routes in the specified local gateway route table. /// /// Container for the necessary parameters to execute the SearchLocalGatewayRoutes service method. /// /// The response from the SearchLocalGatewayRoutes service method, as returned by EC2. /// REST API Reference for SearchLocalGatewayRoutes Operation public virtual SearchLocalGatewayRoutesResponse SearchLocalGatewayRoutes(SearchLocalGatewayRoutesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchLocalGatewayRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchLocalGatewayRoutesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Searches for routes in the specified local gateway route table. /// /// Container for the necessary parameters to execute the SearchLocalGatewayRoutes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchLocalGatewayRoutes service method, as returned by EC2. /// REST API Reference for SearchLocalGatewayRoutes Operation public virtual Task SearchLocalGatewayRoutesAsync(SearchLocalGatewayRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchLocalGatewayRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchLocalGatewayRoutesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SearchTransitGatewayMulticastGroups /// /// Searches one or more transit gateway multicast groups and returns the group membership /// information. /// /// Container for the necessary parameters to execute the SearchTransitGatewayMulticastGroups service method. /// /// The response from the SearchTransitGatewayMulticastGroups service method, as returned by EC2. /// REST API Reference for SearchTransitGatewayMulticastGroups Operation public virtual SearchTransitGatewayMulticastGroupsResponse SearchTransitGatewayMulticastGroups(SearchTransitGatewayMulticastGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchTransitGatewayMulticastGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchTransitGatewayMulticastGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Searches one or more transit gateway multicast groups and returns the group membership /// information. /// /// Container for the necessary parameters to execute the SearchTransitGatewayMulticastGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchTransitGatewayMulticastGroups service method, as returned by EC2. /// REST API Reference for SearchTransitGatewayMulticastGroups Operation public virtual Task SearchTransitGatewayMulticastGroupsAsync(SearchTransitGatewayMulticastGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchTransitGatewayMulticastGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchTransitGatewayMulticastGroupsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SearchTransitGatewayRoutes /// /// Searches for routes in the specified transit gateway route table. /// /// Container for the necessary parameters to execute the SearchTransitGatewayRoutes service method. /// /// The response from the SearchTransitGatewayRoutes service method, as returned by EC2. /// REST API Reference for SearchTransitGatewayRoutes Operation public virtual SearchTransitGatewayRoutesResponse SearchTransitGatewayRoutes(SearchTransitGatewayRoutesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchTransitGatewayRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchTransitGatewayRoutesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Searches for routes in the specified transit gateway route table. /// /// Container for the necessary parameters to execute the SearchTransitGatewayRoutes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchTransitGatewayRoutes service method, as returned by EC2. /// REST API Reference for SearchTransitGatewayRoutes Operation public virtual Task SearchTransitGatewayRoutesAsync(SearchTransitGatewayRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchTransitGatewayRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchTransitGatewayRoutesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SendDiagnosticInterrupt /// /// Sends a diagnostic interrupt to the specified Amazon EC2 instance to trigger a kernel /// panic (on Linux instances), or a blue screen/stop error (on Windows /// instances). For instances based on Intel and AMD processors, the interrupt is received /// as a non-maskable interrupt (NMI). /// /// /// /// In general, the operating system crashes and reboots when a kernel panic or stop error /// is triggered. The operating system can also be configured to perform diagnostic tasks, /// such as generating a memory dump file, loading a secondary kernel, or obtaining a /// call trace. /// /// /// /// Before sending a diagnostic interrupt to your instance, ensure that its operating /// system is configured to perform the required diagnostic tasks. /// /// /// /// For more information about configuring your operating system to generate a crash dump /// when a kernel panic or stop error occurs, see Send /// a diagnostic interrupt (for advanced users) (Linux instances) or Send /// a diagnostic interrupt (for advanced users) (Windows instances). /// /// /// Container for the necessary parameters to execute the SendDiagnosticInterrupt service method. /// /// The response from the SendDiagnosticInterrupt service method, as returned by EC2. /// REST API Reference for SendDiagnosticInterrupt Operation public virtual SendDiagnosticInterruptResponse SendDiagnosticInterrupt(SendDiagnosticInterruptRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SendDiagnosticInterruptRequestMarshaller.Instance; options.ResponseUnmarshaller = SendDiagnosticInterruptResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Sends a diagnostic interrupt to the specified Amazon EC2 instance to trigger a kernel /// panic (on Linux instances), or a blue screen/stop error (on Windows /// instances). For instances based on Intel and AMD processors, the interrupt is received /// as a non-maskable interrupt (NMI). /// /// /// /// In general, the operating system crashes and reboots when a kernel panic or stop error /// is triggered. The operating system can also be configured to perform diagnostic tasks, /// such as generating a memory dump file, loading a secondary kernel, or obtaining a /// call trace. /// /// /// /// Before sending a diagnostic interrupt to your instance, ensure that its operating /// system is configured to perform the required diagnostic tasks. /// /// /// /// For more information about configuring your operating system to generate a crash dump /// when a kernel panic or stop error occurs, see Send /// a diagnostic interrupt (for advanced users) (Linux instances) or Send /// a diagnostic interrupt (for advanced users) (Windows instances). /// /// /// Container for the necessary parameters to execute the SendDiagnosticInterrupt service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SendDiagnosticInterrupt service method, as returned by EC2. /// REST API Reference for SendDiagnosticInterrupt Operation public virtual Task SendDiagnosticInterruptAsync(SendDiagnosticInterruptRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SendDiagnosticInterruptRequestMarshaller.Instance; options.ResponseUnmarshaller = SendDiagnosticInterruptResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartInstances /// /// Starts an Amazon EBS-backed instance that you've previously stopped. /// /// /// /// Instances that use Amazon EBS volumes as their root devices can be quickly stopped /// and started. When an instance is stopped, the compute resources are released and you /// are not billed for instance usage. However, your root partition Amazon EBS volume /// remains and continues to persist your data, and you are charged for Amazon EBS volume /// usage. You can restart your instance at any time. Every time you start your instance, /// Amazon EC2 charges a one-minute minimum for instance usage, and thereafter charges /// per second for instance usage. /// /// /// /// Before stopping an instance, make sure it is in a state from which it can be restarted. /// Stopping an instance does not preserve data stored in RAM. /// /// /// /// Performing this operation on an instance that uses an instance store as its root device /// returns an error. /// /// /// /// If you attempt to start a T3 instance with host tenancy and the unlimted /// CPU credit option, the request fails. The unlimited CPU credit option /// is not supported on Dedicated Hosts. Before you start the instance, either change /// its CPU credit option to standard, or change its tenancy to default /// or dedicated. /// /// /// /// For more information, see Stop /// and start your instance in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the StartInstances service method. /// /// The response from the StartInstances service method, as returned by EC2. /// REST API Reference for StartInstances Operation public virtual StartInstancesResponse StartInstances(StartInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = StartInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts an Amazon EBS-backed instance that you've previously stopped. /// /// /// /// Instances that use Amazon EBS volumes as their root devices can be quickly stopped /// and started. When an instance is stopped, the compute resources are released and you /// are not billed for instance usage. However, your root partition Amazon EBS volume /// remains and continues to persist your data, and you are charged for Amazon EBS volume /// usage. You can restart your instance at any time. Every time you start your instance, /// Amazon EC2 charges a one-minute minimum for instance usage, and thereafter charges /// per second for instance usage. /// /// /// /// Before stopping an instance, make sure it is in a state from which it can be restarted. /// Stopping an instance does not preserve data stored in RAM. /// /// /// /// Performing this operation on an instance that uses an instance store as its root device /// returns an error. /// /// /// /// If you attempt to start a T3 instance with host tenancy and the unlimted /// CPU credit option, the request fails. The unlimited CPU credit option /// is not supported on Dedicated Hosts. Before you start the instance, either change /// its CPU credit option to standard, or change its tenancy to default /// or dedicated. /// /// /// /// For more information, see Stop /// and start your instance in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the StartInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartInstances service method, as returned by EC2. /// REST API Reference for StartInstances Operation public virtual Task StartInstancesAsync(StartInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = StartInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartNetworkInsightsAccessScopeAnalysis /// /// Starts analyzing the specified Network Access Scope. /// /// Container for the necessary parameters to execute the StartNetworkInsightsAccessScopeAnalysis service method. /// /// The response from the StartNetworkInsightsAccessScopeAnalysis service method, as returned by EC2. /// REST API Reference for StartNetworkInsightsAccessScopeAnalysis Operation public virtual StartNetworkInsightsAccessScopeAnalysisResponse StartNetworkInsightsAccessScopeAnalysis(StartNetworkInsightsAccessScopeAnalysisRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartNetworkInsightsAccessScopeAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = StartNetworkInsightsAccessScopeAnalysisResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts analyzing the specified Network Access Scope. /// /// Container for the necessary parameters to execute the StartNetworkInsightsAccessScopeAnalysis service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartNetworkInsightsAccessScopeAnalysis service method, as returned by EC2. /// REST API Reference for StartNetworkInsightsAccessScopeAnalysis Operation public virtual Task StartNetworkInsightsAccessScopeAnalysisAsync(StartNetworkInsightsAccessScopeAnalysisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartNetworkInsightsAccessScopeAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = StartNetworkInsightsAccessScopeAnalysisResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartNetworkInsightsAnalysis /// /// Starts analyzing the specified path. If the path is reachable, the operation returns /// the shortest feasible path. /// /// Container for the necessary parameters to execute the StartNetworkInsightsAnalysis service method. /// /// The response from the StartNetworkInsightsAnalysis service method, as returned by EC2. /// REST API Reference for StartNetworkInsightsAnalysis Operation public virtual StartNetworkInsightsAnalysisResponse StartNetworkInsightsAnalysis(StartNetworkInsightsAnalysisRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartNetworkInsightsAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = StartNetworkInsightsAnalysisResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts analyzing the specified path. If the path is reachable, the operation returns /// the shortest feasible path. /// /// Container for the necessary parameters to execute the StartNetworkInsightsAnalysis service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartNetworkInsightsAnalysis service method, as returned by EC2. /// REST API Reference for StartNetworkInsightsAnalysis Operation public virtual Task StartNetworkInsightsAnalysisAsync(StartNetworkInsightsAnalysisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartNetworkInsightsAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = StartNetworkInsightsAnalysisResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartVpcEndpointServicePrivateDnsVerification /// /// Initiates the verification process to prove that the service provider owns the private /// DNS name domain for the endpoint service. /// /// /// /// The service provider must successfully perform the verification before the consumer /// can use the name to access the service. /// /// /// /// Before the service provider runs this command, they must add a record to the DNS server. /// /// /// Container for the necessary parameters to execute the StartVpcEndpointServicePrivateDnsVerification service method. /// /// The response from the StartVpcEndpointServicePrivateDnsVerification service method, as returned by EC2. /// REST API Reference for StartVpcEndpointServicePrivateDnsVerification Operation public virtual StartVpcEndpointServicePrivateDnsVerificationResponse StartVpcEndpointServicePrivateDnsVerification(StartVpcEndpointServicePrivateDnsVerificationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartVpcEndpointServicePrivateDnsVerificationRequestMarshaller.Instance; options.ResponseUnmarshaller = StartVpcEndpointServicePrivateDnsVerificationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the verification process to prove that the service provider owns the private /// DNS name domain for the endpoint service. /// /// /// /// The service provider must successfully perform the verification before the consumer /// can use the name to access the service. /// /// /// /// Before the service provider runs this command, they must add a record to the DNS server. /// /// /// Container for the necessary parameters to execute the StartVpcEndpointServicePrivateDnsVerification service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartVpcEndpointServicePrivateDnsVerification service method, as returned by EC2. /// REST API Reference for StartVpcEndpointServicePrivateDnsVerification Operation public virtual Task StartVpcEndpointServicePrivateDnsVerificationAsync(StartVpcEndpointServicePrivateDnsVerificationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartVpcEndpointServicePrivateDnsVerificationRequestMarshaller.Instance; options.ResponseUnmarshaller = StartVpcEndpointServicePrivateDnsVerificationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StopInstances /// /// Stops an Amazon EBS-backed instance. For more information, see Stop /// and start your instance in the Amazon EC2 User Guide. /// /// /// /// You can use the Stop action to hibernate an instance if the instance is enabled /// for hibernation and it meets the hibernation /// prerequisites. For more information, see Hibernate /// your instance in the Amazon EC2 User Guide. /// /// /// /// We don't charge usage for a stopped instance, or data transfer fees; however, your /// root partition Amazon EBS volume remains and continues to persist your data, and you /// are charged for Amazon EBS volume usage. Every time you start your instance, Amazon /// EC2 charges a one-minute minimum for instance usage, and thereafter charges per second /// for instance usage. /// /// /// /// You can't stop or hibernate instance store-backed instances. You can't use the Stop /// action to hibernate Spot Instances, but you can specify that Amazon EC2 should hibernate /// Spot Instances when they are interrupted. For more information, see Hibernating /// interrupted Spot Instances in the Amazon EC2 User Guide. /// /// /// /// When you stop or hibernate an instance, we shut it down. You can restart your instance /// at any time. Before stopping or hibernating an instance, make sure it is in a state /// from which it can be restarted. Stopping an instance does not preserve data stored /// in RAM, but hibernating an instance does preserve data stored in RAM. If an instance /// cannot hibernate successfully, a normal shutdown occurs. /// /// /// /// Stopping and hibernating an instance is different to rebooting or terminating it. /// For example, when you stop or hibernate an instance, the root device and any other /// devices attached to the instance persist. When you terminate an instance, the root /// device and any other devices attached during the instance launch are automatically /// deleted. For more information about the differences between rebooting, stopping, hibernating, /// and terminating instances, see Instance /// lifecycle in the Amazon EC2 User Guide. /// /// /// /// When you stop an instance, we attempt to shut it down forcibly after a short while. /// If your instance appears stuck in the stopping state after a period of time, there /// may be an issue with the underlying host computer. For more information, see Troubleshoot /// stopping your instance in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the StopInstances service method. /// /// The response from the StopInstances service method, as returned by EC2. /// REST API Reference for StopInstances Operation public virtual StopInstancesResponse StopInstances(StopInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = StopInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Stops an Amazon EBS-backed instance. For more information, see Stop /// and start your instance in the Amazon EC2 User Guide. /// /// /// /// You can use the Stop action to hibernate an instance if the instance is enabled /// for hibernation and it meets the hibernation /// prerequisites. For more information, see Hibernate /// your instance in the Amazon EC2 User Guide. /// /// /// /// We don't charge usage for a stopped instance, or data transfer fees; however, your /// root partition Amazon EBS volume remains and continues to persist your data, and you /// are charged for Amazon EBS volume usage. Every time you start your instance, Amazon /// EC2 charges a one-minute minimum for instance usage, and thereafter charges per second /// for instance usage. /// /// /// /// You can't stop or hibernate instance store-backed instances. You can't use the Stop /// action to hibernate Spot Instances, but you can specify that Amazon EC2 should hibernate /// Spot Instances when they are interrupted. For more information, see Hibernating /// interrupted Spot Instances in the Amazon EC2 User Guide. /// /// /// /// When you stop or hibernate an instance, we shut it down. You can restart your instance /// at any time. Before stopping or hibernating an instance, make sure it is in a state /// from which it can be restarted. Stopping an instance does not preserve data stored /// in RAM, but hibernating an instance does preserve data stored in RAM. If an instance /// cannot hibernate successfully, a normal shutdown occurs. /// /// /// /// Stopping and hibernating an instance is different to rebooting or terminating it. /// For example, when you stop or hibernate an instance, the root device and any other /// devices attached to the instance persist. When you terminate an instance, the root /// device and any other devices attached during the instance launch are automatically /// deleted. For more information about the differences between rebooting, stopping, hibernating, /// and terminating instances, see Instance /// lifecycle in the Amazon EC2 User Guide. /// /// /// /// When you stop an instance, we attempt to shut it down forcibly after a short while. /// If your instance appears stuck in the stopping state after a period of time, there /// may be an issue with the underlying host computer. For more information, see Troubleshoot /// stopping your instance in the Amazon EC2 User Guide. /// /// /// Container for the necessary parameters to execute the StopInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopInstances service method, as returned by EC2. /// REST API Reference for StopInstances Operation public virtual Task StopInstancesAsync(StopInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = StopInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TerminateClientVpnConnections /// /// Terminates active Client VPN endpoint connections. This action can be used to terminate /// a specific client connection, or up to five connections established by a specific /// user. /// /// Container for the necessary parameters to execute the TerminateClientVpnConnections service method. /// /// The response from the TerminateClientVpnConnections service method, as returned by EC2. /// REST API Reference for TerminateClientVpnConnections Operation public virtual TerminateClientVpnConnectionsResponse TerminateClientVpnConnections(TerminateClientVpnConnectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TerminateClientVpnConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = TerminateClientVpnConnectionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Terminates active Client VPN endpoint connections. This action can be used to terminate /// a specific client connection, or up to five connections established by a specific /// user. /// /// Container for the necessary parameters to execute the TerminateClientVpnConnections service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TerminateClientVpnConnections service method, as returned by EC2. /// REST API Reference for TerminateClientVpnConnections Operation public virtual Task TerminateClientVpnConnectionsAsync(TerminateClientVpnConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TerminateClientVpnConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = TerminateClientVpnConnectionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TerminateInstances /// /// Shuts down the specified instances. This operation is idempotent; if you terminate /// an instance more than once, each call succeeds. /// /// /// /// If you specify multiple instances and the request fails (for example, because of a /// single incorrect instance ID), none of the instances are terminated. /// /// /// /// If you terminate multiple instances across multiple Availability Zones, and one or /// more of the specified instances are enabled for termination protection, the request /// fails with the following results: /// ///
  • /// /// The specified instances that are in the same Availability Zone as the protected instance /// are not terminated. /// ///
  • /// /// The specified instances that are in different Availability Zones, where no other specified /// instances are protected, are successfully terminated. /// ///
/// /// For example, say you have the following instances: /// ///
  • /// /// Instance A: us-east-1a; Not protected /// ///
  • /// /// Instance B: us-east-1a; Not protected /// ///
  • /// /// Instance C: us-east-1b; Protected /// ///
  • /// /// Instance D: us-east-1b; not protected /// ///
/// /// If you attempt to terminate all of these instances in the same request, the request /// reports failure with the following results: /// ///
  • /// /// Instance A and Instance B are successfully terminated because none of the specified /// instances in us-east-1a are enabled for termination protection. /// ///
  • /// /// Instance C and Instance D fail to terminate because at least one of the specified /// instances in us-east-1b (Instance C) is enabled for termination protection. /// ///
/// /// Terminated instances remain visible after termination (for approximately one hour). /// /// /// /// By default, Amazon EC2 deletes all EBS volumes that were attached when the instance /// launched. Volumes attached after instance launch continue running. /// /// /// /// You can stop, start, and terminate EBS-backed instances. You can only terminate instance /// store-backed instances. What happens to an instance differs if you stop it or terminate /// it. For example, when you stop an instance, the root device and any other devices /// attached to the instance persist. When you terminate an instance, any attached EBS /// volumes with the DeleteOnTermination block device mapping parameter set /// to true are automatically deleted. For more information about the differences /// between stopping and terminating instances, see Instance /// lifecycle in the Amazon EC2 User Guide. /// /// /// /// For more information about troubleshooting, see Troubleshooting /// terminating your instance in the Amazon EC2 User Guide. /// ///
/// Container for the necessary parameters to execute the TerminateInstances service method. /// /// The response from the TerminateInstances service method, as returned by EC2. /// REST API Reference for TerminateInstances Operation public virtual TerminateInstancesResponse TerminateInstances(TerminateInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TerminateInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = TerminateInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Shuts down the specified instances. This operation is idempotent; if you terminate /// an instance more than once, each call succeeds. /// /// /// /// If you specify multiple instances and the request fails (for example, because of a /// single incorrect instance ID), none of the instances are terminated. /// /// /// /// If you terminate multiple instances across multiple Availability Zones, and one or /// more of the specified instances are enabled for termination protection, the request /// fails with the following results: /// ///
  • /// /// The specified instances that are in the same Availability Zone as the protected instance /// are not terminated. /// ///
  • /// /// The specified instances that are in different Availability Zones, where no other specified /// instances are protected, are successfully terminated. /// ///
/// /// For example, say you have the following instances: /// ///
  • /// /// Instance A: us-east-1a; Not protected /// ///
  • /// /// Instance B: us-east-1a; Not protected /// ///
  • /// /// Instance C: us-east-1b; Protected /// ///
  • /// /// Instance D: us-east-1b; not protected /// ///
/// /// If you attempt to terminate all of these instances in the same request, the request /// reports failure with the following results: /// ///
  • /// /// Instance A and Instance B are successfully terminated because none of the specified /// instances in us-east-1a are enabled for termination protection. /// ///
  • /// /// Instance C and Instance D fail to terminate because at least one of the specified /// instances in us-east-1b (Instance C) is enabled for termination protection. /// ///
/// /// Terminated instances remain visible after termination (for approximately one hour). /// /// /// /// By default, Amazon EC2 deletes all EBS volumes that were attached when the instance /// launched. Volumes attached after instance launch continue running. /// /// /// /// You can stop, start, and terminate EBS-backed instances. You can only terminate instance /// store-backed instances. What happens to an instance differs if you stop it or terminate /// it. For example, when you stop an instance, the root device and any other devices /// attached to the instance persist. When you terminate an instance, any attached EBS /// volumes with the DeleteOnTermination block device mapping parameter set /// to true are automatically deleted. For more information about the differences /// between stopping and terminating instances, see Instance /// lifecycle in the Amazon EC2 User Guide. /// /// /// /// For more information about troubleshooting, see Troubleshooting /// terminating your instance in the Amazon EC2 User Guide. /// ///
/// Container for the necessary parameters to execute the TerminateInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TerminateInstances service method, as returned by EC2. /// REST API Reference for TerminateInstances Operation public virtual Task TerminateInstancesAsync(TerminateInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TerminateInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = TerminateInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UnassignIpv6Addresses /// /// Unassigns one or more IPv6 addresses IPv4 Prefix Delegation prefixes from a network /// interface. /// /// Container for the necessary parameters to execute the UnassignIpv6Addresses service method. /// /// The response from the UnassignIpv6Addresses service method, as returned by EC2. /// REST API Reference for UnassignIpv6Addresses Operation public virtual UnassignIpv6AddressesResponse UnassignIpv6Addresses(UnassignIpv6AddressesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UnassignIpv6AddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = UnassignIpv6AddressesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Unassigns one or more IPv6 addresses IPv4 Prefix Delegation prefixes from a network /// interface. /// /// Container for the necessary parameters to execute the UnassignIpv6Addresses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UnassignIpv6Addresses service method, as returned by EC2. /// REST API Reference for UnassignIpv6Addresses Operation public virtual Task UnassignIpv6AddressesAsync(UnassignIpv6AddressesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UnassignIpv6AddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = UnassignIpv6AddressesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UnassignPrivateIpAddresses /// /// Unassigns one or more secondary private IP addresses, or IPv4 Prefix Delegation prefixes /// from a network interface. /// /// Container for the necessary parameters to execute the UnassignPrivateIpAddresses service method. /// /// The response from the UnassignPrivateIpAddresses service method, as returned by EC2. /// REST API Reference for UnassignPrivateIpAddresses Operation public virtual UnassignPrivateIpAddressesResponse UnassignPrivateIpAddresses(UnassignPrivateIpAddressesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UnassignPrivateIpAddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = UnassignPrivateIpAddressesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Unassigns one or more secondary private IP addresses, or IPv4 Prefix Delegation prefixes /// from a network interface. /// /// Container for the necessary parameters to execute the UnassignPrivateIpAddresses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UnassignPrivateIpAddresses service method, as returned by EC2. /// REST API Reference for UnassignPrivateIpAddresses Operation public virtual Task UnassignPrivateIpAddressesAsync(UnassignPrivateIpAddressesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UnassignPrivateIpAddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = UnassignPrivateIpAddressesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UnassignPrivateNatGatewayAddress /// /// Unassigns secondary private IPv4 addresses from a private NAT gateway. You cannot /// unassign your primary private IP. For more information, see Edit /// secondary IP address associations in the Amazon VPC User Guide. /// /// /// /// While unassigning is in progress, you cannot assign/unassign additional IP addresses /// while the connections are being drained. You are, however, allowed to delete the NAT /// gateway. /// /// /// /// A private IP address will only be released at the end of MaxDrainDurationSeconds. /// The private IP addresses stay associated and support the existing connections, but /// do not support any new connections (new connections are distributed across the remaining /// assigned private IP address). After the existing connections drain out, the private /// IP addresses are released. /// /// /// Container for the necessary parameters to execute the UnassignPrivateNatGatewayAddress service method. /// /// The response from the UnassignPrivateNatGatewayAddress service method, as returned by EC2. /// REST API Reference for UnassignPrivateNatGatewayAddress Operation public virtual UnassignPrivateNatGatewayAddressResponse UnassignPrivateNatGatewayAddress(UnassignPrivateNatGatewayAddressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UnassignPrivateNatGatewayAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = UnassignPrivateNatGatewayAddressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Unassigns secondary private IPv4 addresses from a private NAT gateway. You cannot /// unassign your primary private IP. For more information, see Edit /// secondary IP address associations in the Amazon VPC User Guide. /// /// /// /// While unassigning is in progress, you cannot assign/unassign additional IP addresses /// while the connections are being drained. You are, however, allowed to delete the NAT /// gateway. /// /// /// /// A private IP address will only be released at the end of MaxDrainDurationSeconds. /// The private IP addresses stay associated and support the existing connections, but /// do not support any new connections (new connections are distributed across the remaining /// assigned private IP address). After the existing connections drain out, the private /// IP addresses are released. /// /// /// Container for the necessary parameters to execute the UnassignPrivateNatGatewayAddress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UnassignPrivateNatGatewayAddress service method, as returned by EC2. /// REST API Reference for UnassignPrivateNatGatewayAddress Operation public virtual Task UnassignPrivateNatGatewayAddressAsync(UnassignPrivateNatGatewayAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UnassignPrivateNatGatewayAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = UnassignPrivateNatGatewayAddressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UnmonitorInstances /// /// Disables detailed monitoring for a running instance. For more information, see Monitoring /// your instances and volumes in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the UnmonitorInstances service method. /// /// The response from the UnmonitorInstances service method, as returned by EC2. /// REST API Reference for UnmonitorInstances Operation public virtual UnmonitorInstancesResponse UnmonitorInstances(UnmonitorInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UnmonitorInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = UnmonitorInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disables detailed monitoring for a running instance. For more information, see Monitoring /// your instances and volumes in the Amazon EC2 User Guide. /// /// Container for the necessary parameters to execute the UnmonitorInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UnmonitorInstances service method, as returned by EC2. /// REST API Reference for UnmonitorInstances Operation public virtual Task UnmonitorInstancesAsync(UnmonitorInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UnmonitorInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = UnmonitorInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateSecurityGroupRuleDescriptionsEgress /// /// Updates the description of an egress (outbound) security group rule. You can replace /// an existing description, or add a description to a rule that did not have one previously. /// You can remove a description for a security group rule by omitting the description /// parameter in the request. /// /// Container for the necessary parameters to execute the UpdateSecurityGroupRuleDescriptionsEgress service method. /// /// The response from the UpdateSecurityGroupRuleDescriptionsEgress service method, as returned by EC2. /// REST API Reference for UpdateSecurityGroupRuleDescriptionsEgress Operation public virtual UpdateSecurityGroupRuleDescriptionsEgressResponse UpdateSecurityGroupRuleDescriptionsEgress(UpdateSecurityGroupRuleDescriptionsEgressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSecurityGroupRuleDescriptionsEgressRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSecurityGroupRuleDescriptionsEgressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the description of an egress (outbound) security group rule. You can replace /// an existing description, or add a description to a rule that did not have one previously. /// You can remove a description for a security group rule by omitting the description /// parameter in the request. /// /// Container for the necessary parameters to execute the UpdateSecurityGroupRuleDescriptionsEgress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateSecurityGroupRuleDescriptionsEgress service method, as returned by EC2. /// REST API Reference for UpdateSecurityGroupRuleDescriptionsEgress Operation public virtual Task UpdateSecurityGroupRuleDescriptionsEgressAsync(UpdateSecurityGroupRuleDescriptionsEgressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSecurityGroupRuleDescriptionsEgressRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSecurityGroupRuleDescriptionsEgressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateSecurityGroupRuleDescriptionsIngress /// /// Updates the description of an ingress (inbound) security group rule. You can replace /// an existing description, or add a description to a rule that did not have one previously. /// You can remove a description for a security group rule by omitting the description /// parameter in the request. /// /// Container for the necessary parameters to execute the UpdateSecurityGroupRuleDescriptionsIngress service method. /// /// The response from the UpdateSecurityGroupRuleDescriptionsIngress service method, as returned by EC2. /// REST API Reference for UpdateSecurityGroupRuleDescriptionsIngress Operation public virtual UpdateSecurityGroupRuleDescriptionsIngressResponse UpdateSecurityGroupRuleDescriptionsIngress(UpdateSecurityGroupRuleDescriptionsIngressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSecurityGroupRuleDescriptionsIngressRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSecurityGroupRuleDescriptionsIngressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the description of an ingress (inbound) security group rule. You can replace /// an existing description, or add a description to a rule that did not have one previously. /// You can remove a description for a security group rule by omitting the description /// parameter in the request. /// /// Container for the necessary parameters to execute the UpdateSecurityGroupRuleDescriptionsIngress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateSecurityGroupRuleDescriptionsIngress service method, as returned by EC2. /// REST API Reference for UpdateSecurityGroupRuleDescriptionsIngress Operation public virtual Task UpdateSecurityGroupRuleDescriptionsIngressAsync(UpdateSecurityGroupRuleDescriptionsIngressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSecurityGroupRuleDescriptionsIngressRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSecurityGroupRuleDescriptionsIngressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region WithdrawByoipCidr /// /// Stops advertising an address range that is provisioned as an address pool. /// /// /// /// You can perform this operation at most once every 10 seconds, even if you specify /// different address ranges each time. /// /// /// /// It can take a few minutes before traffic to the specified addresses stops routing /// to Amazon Web Services because of BGP propagation delays. /// /// /// Container for the necessary parameters to execute the WithdrawByoipCidr service method. /// /// The response from the WithdrawByoipCidr service method, as returned by EC2. /// REST API Reference for WithdrawByoipCidr Operation public virtual WithdrawByoipCidrResponse WithdrawByoipCidr(WithdrawByoipCidrRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = WithdrawByoipCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = WithdrawByoipCidrResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Stops advertising an address range that is provisioned as an address pool. /// /// /// /// You can perform this operation at most once every 10 seconds, even if you specify /// different address ranges each time. /// /// /// /// It can take a few minutes before traffic to the specified addresses stops routing /// to Amazon Web Services because of BGP propagation delays. /// /// /// Container for the necessary parameters to execute the WithdrawByoipCidr service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the WithdrawByoipCidr service method, as returned by EC2. /// REST API Reference for WithdrawByoipCidr Operation public virtual Task WithdrawByoipCidrAsync(WithdrawByoipCidrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = WithdrawByoipCidrRequestMarshaller.Instance; options.ResponseUnmarshaller = WithdrawByoipCidrResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }