/*
* 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 outposts-2019-12-03.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.Outposts.Model;
using Amazon.Outposts.Model.Internal.MarshallTransformations;
using Amazon.Outposts.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.Outposts
{
///
/// Implementation for accessing Outposts
///
/// Amazon Web Services Outposts is a fully managed service that extends Amazon Web Services
/// infrastructure, APIs, and tools to customer premises. By providing local access to
/// Amazon Web Services managed infrastructure, Amazon Web Services Outposts enables customers
/// to build and run applications on premises using the same programming interfaces as
/// in Amazon Web Services Regions, while using local compute and storage resources for
/// lower latency and local data processing needs.
///
public partial class AmazonOutpostsClient : AmazonServiceClient, IAmazonOutposts
{
private static IServiceMetadata serviceMetadata = new AmazonOutpostsMetadata();
private IOutpostsPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IOutpostsPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new OutpostsPaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
///
/// Constructs AmazonOutpostsClient 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 AmazonOutpostsClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonOutpostsConfig()) { }
///
/// Constructs AmazonOutpostsClient 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 AmazonOutpostsClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonOutpostsConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonOutpostsClient 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 AmazonOutpostsClient Configuration Object
public AmazonOutpostsClient(AmazonOutpostsConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonOutpostsClient with AWS Credentials
///
/// AWS Credentials
public AmazonOutpostsClient(AWSCredentials credentials)
: this(credentials, new AmazonOutpostsConfig())
{
}
///
/// Constructs AmazonOutpostsClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonOutpostsClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonOutpostsConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonOutpostsClient with AWS Credentials and an
/// AmazonOutpostsClient Configuration object.
///
/// AWS Credentials
/// The AmazonOutpostsClient Configuration Object
public AmazonOutpostsClient(AWSCredentials credentials, AmazonOutpostsConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonOutpostsClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonOutpostsClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonOutpostsConfig())
{
}
///
/// Constructs AmazonOutpostsClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonOutpostsClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonOutpostsConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonOutpostsClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonOutpostsClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonOutpostsClient Configuration Object
public AmazonOutpostsClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonOutpostsConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonOutpostsClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonOutpostsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonOutpostsConfig())
{
}
///
/// Constructs AmazonOutpostsClient 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 AmazonOutpostsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonOutpostsConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonOutpostsClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonOutpostsClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonOutpostsClient Configuration Object
public AmazonOutpostsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonOutpostsConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonOutpostsEndpointResolver());
}
///
/// 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 CancelOrder
///
/// Cancels the specified order for an Outpost.
///
/// Container for the necessary parameters to execute the CancelOrder service method.
///
/// The response from the CancelOrder service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for CancelOrder Operation
public virtual CancelOrderResponse CancelOrder(CancelOrderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelOrderRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelOrderResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Cancels the specified order for an Outpost.
///
/// Container for the necessary parameters to execute the CancelOrder service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CancelOrder service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for CancelOrder Operation
public virtual Task CancelOrderAsync(CancelOrderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelOrderRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelOrderResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateOrder
///
/// Creates an order for an Outpost.
///
/// Container for the necessary parameters to execute the CreateOrder service method.
///
/// The response from the CreateOrder service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// You have exceeded a service quota.
///
///
/// A parameter is not valid.
///
/// REST API Reference for CreateOrder Operation
public virtual CreateOrderResponse CreateOrder(CreateOrderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateOrderRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateOrderResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an order for an Outpost.
///
/// Container for the necessary parameters to execute the CreateOrder service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateOrder service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// You have exceeded a service quota.
///
///
/// A parameter is not valid.
///
/// REST API Reference for CreateOrder Operation
public virtual Task CreateOrderAsync(CreateOrderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateOrderRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateOrderResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateOutpost
///
/// Creates an Outpost.
///
///
///
/// You can specify either an Availability one or an AZ ID.
///
///
/// Container for the necessary parameters to execute the CreateOutpost service method.
///
/// The response from the CreateOutpost service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// You have exceeded a service quota.
///
///
/// A parameter is not valid.
///
/// REST API Reference for CreateOutpost Operation
public virtual CreateOutpostResponse CreateOutpost(CreateOutpostRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateOutpostRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateOutpostResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an Outpost.
///
///
///
/// You can specify either an Availability one or an AZ ID.
///
///
/// Container for the necessary parameters to execute the CreateOutpost service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateOutpost service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// You have exceeded a service quota.
///
///
/// A parameter is not valid.
///
/// REST API Reference for CreateOutpost Operation
public virtual Task CreateOutpostAsync(CreateOutpostRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateOutpostRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateOutpostResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateSite
///
/// Creates a site for an Outpost.
///
/// Container for the necessary parameters to execute the CreateSite service method.
///
/// The response from the CreateSite service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// You have exceeded a service quota.
///
///
/// A parameter is not valid.
///
/// REST API Reference for CreateSite Operation
public virtual CreateSiteResponse CreateSite(CreateSiteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSiteRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSiteResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a site for an Outpost.
///
/// Container for the necessary parameters to execute the CreateSite service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateSite service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// You have exceeded a service quota.
///
///
/// A parameter is not valid.
///
/// REST API Reference for CreateSite Operation
public virtual Task CreateSiteAsync(CreateSiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSiteRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSiteResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteOutpost
///
/// Deletes the specified Outpost.
///
/// Container for the necessary parameters to execute the DeleteOutpost service method.
///
/// The response from the DeleteOutpost service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for DeleteOutpost Operation
public virtual DeleteOutpostResponse DeleteOutpost(DeleteOutpostRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteOutpostRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteOutpostResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified Outpost.
///
/// Container for the necessary parameters to execute the DeleteOutpost service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteOutpost service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for DeleteOutpost Operation
public virtual Task DeleteOutpostAsync(DeleteOutpostRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteOutpostRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteOutpostResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteSite
///
/// Deletes the specified site.
///
/// Container for the necessary parameters to execute the DeleteSite service method.
///
/// The response from the DeleteSite service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for DeleteSite Operation
public virtual DeleteSiteResponse DeleteSite(DeleteSiteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSiteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSiteResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified site.
///
/// Container for the necessary parameters to execute the DeleteSite service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteSite service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for DeleteSite Operation
public virtual Task DeleteSiteAsync(DeleteSiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSiteRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSiteResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetCatalogItem
///
/// Gets information about the specified catalog item.
///
/// Container for the necessary parameters to execute the GetCatalogItem service method.
///
/// The response from the GetCatalogItem service method, as returned by Outposts.
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for GetCatalogItem Operation
public virtual GetCatalogItemResponse GetCatalogItem(GetCatalogItemRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCatalogItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCatalogItemResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about the specified catalog item.
///
/// Container for the necessary parameters to execute the GetCatalogItem service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetCatalogItem service method, as returned by Outposts.
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for GetCatalogItem Operation
public virtual Task GetCatalogItemAsync(GetCatalogItemRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCatalogItemRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCatalogItemResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetConnection
///
///
///
/// Amazon Web Services uses this action to install Outpost servers.
///
///
///
/// Gets information about the specified connection.
///
///
///
/// Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon
/// Web Services Outposts to secure it. For more information, see
/// Amazon Web Services managed policies for Amazon Web Services Outposts and
/// Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail
/// in the Amazon Web Services Outposts User Guide.
///
///
/// Container for the necessary parameters to execute the GetConnection service method.
///
/// The response from the GetConnection service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for GetConnection Operation
public virtual GetConnectionResponse GetConnection(GetConnectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConnectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
///
///
/// Amazon Web Services uses this action to install Outpost servers.
///
///
///
/// Gets information about the specified connection.
///
///
///
/// Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon
/// Web Services Outposts to secure it. For more information, see
/// Amazon Web Services managed policies for Amazon Web Services Outposts and
/// Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail
/// in the Amazon Web Services Outposts User Guide.
///
///
/// Container for the necessary parameters to execute the GetConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetConnection service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for GetConnection Operation
public virtual Task GetConnectionAsync(GetConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConnectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetOrder
///
/// Gets information about the specified order.
///
/// Container for the necessary parameters to execute the GetOrder service method.
///
/// The response from the GetOrder service method, as returned by Outposts.
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for GetOrder Operation
public virtual GetOrderResponse GetOrder(GetOrderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOrderRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOrderResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about the specified order.
///
/// Container for the necessary parameters to execute the GetOrder service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetOrder service method, as returned by Outposts.
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for GetOrder Operation
public virtual Task GetOrderAsync(GetOrderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOrderRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOrderResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetOutpost
///
/// Gets information about the specified Outpost.
///
/// Container for the necessary parameters to execute the GetOutpost service method.
///
/// The response from the GetOutpost service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for GetOutpost Operation
public virtual GetOutpostResponse GetOutpost(GetOutpostRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOutpostRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOutpostResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about the specified Outpost.
///
/// Container for the necessary parameters to execute the GetOutpost service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetOutpost service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for GetOutpost Operation
public virtual Task GetOutpostAsync(GetOutpostRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOutpostRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOutpostResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetOutpostInstanceTypes
///
/// Gets the instance types for the specified Outpost.
///
/// Container for the necessary parameters to execute the GetOutpostInstanceTypes service method.
///
/// The response from the GetOutpostInstanceTypes service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for GetOutpostInstanceTypes Operation
public virtual GetOutpostInstanceTypesResponse GetOutpostInstanceTypes(GetOutpostInstanceTypesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOutpostInstanceTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOutpostInstanceTypesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets the instance types for the specified Outpost.
///
/// Container for the necessary parameters to execute the GetOutpostInstanceTypes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetOutpostInstanceTypes service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for GetOutpostInstanceTypes Operation
public virtual Task GetOutpostInstanceTypesAsync(GetOutpostInstanceTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOutpostInstanceTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOutpostInstanceTypesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetSite
///
/// Gets information about the specified Outpost site.
///
/// Container for the necessary parameters to execute the GetSite service method.
///
/// The response from the GetSite service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for GetSite Operation
public virtual GetSiteResponse GetSite(GetSiteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSiteRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSiteResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about the specified Outpost site.
///
/// Container for the necessary parameters to execute the GetSite service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSite service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for GetSite Operation
public virtual Task GetSiteAsync(GetSiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSiteRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSiteResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetSiteAddress
///
/// Gets the site address of the specified site.
///
/// Container for the necessary parameters to execute the GetSiteAddress service method.
///
/// The response from the GetSiteAddress service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for GetSiteAddress Operation
public virtual GetSiteAddressResponse GetSiteAddress(GetSiteAddressRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSiteAddressRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSiteAddressResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets the site address of the specified site.
///
/// Container for the necessary parameters to execute the GetSiteAddress service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSiteAddress service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for GetSiteAddress Operation
public virtual Task GetSiteAddressAsync(GetSiteAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSiteAddressRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSiteAddressResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListAssets
///
/// Lists the hardware assets for the specified Outpost.
///
///
///
/// Use filters to return specific results. If you specify multiple filters, the results
/// include only the resources that match all of the specified filters. For a filter where
/// you can specify multiple values, the results include items that match any of the values
/// that you specify for the filter.
///
///
/// Container for the necessary parameters to execute the ListAssets service method.
///
/// The response from the ListAssets service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for ListAssets Operation
public virtual ListAssetsResponse ListAssets(ListAssetsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssetsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the hardware assets for the specified Outpost.
///
///
///
/// Use filters to return specific results. If you specify multiple filters, the results
/// include only the resources that match all of the specified filters. For a filter where
/// you can specify multiple values, the results include items that match any of the values
/// that you specify for the filter.
///
///
/// Container for the necessary parameters to execute the ListAssets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAssets service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for ListAssets Operation
public virtual Task ListAssetsAsync(ListAssetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssetsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListCatalogItems
///
/// Lists the items in the catalog.
///
///
///
/// Use filters to return specific results. If you specify multiple filters, the results
/// include only the resources that match all of the specified filters. For a filter where
/// you can specify multiple values, the results include items that match any of the values
/// that you specify for the filter.
///
///
/// Container for the necessary parameters to execute the ListCatalogItems service method.
///
/// The response from the ListCatalogItems service method, as returned by Outposts.
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for ListCatalogItems Operation
public virtual ListCatalogItemsResponse ListCatalogItems(ListCatalogItemsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCatalogItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCatalogItemsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the items in the catalog.
///
///
///
/// Use filters to return specific results. If you specify multiple filters, the results
/// include only the resources that match all of the specified filters. For a filter where
/// you can specify multiple values, the results include items that match any of the values
/// that you specify for the filter.
///
///
/// Container for the necessary parameters to execute the ListCatalogItems service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListCatalogItems service method, as returned by Outposts.
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for ListCatalogItems Operation
public virtual Task ListCatalogItemsAsync(ListCatalogItemsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCatalogItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCatalogItemsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListOrders
///
/// Lists the Outpost orders for your Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListOrders service method.
///
/// The response from the ListOrders service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for ListOrders Operation
public virtual ListOrdersResponse ListOrders(ListOrdersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOrdersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOrdersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the Outpost orders for your Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListOrders service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListOrders service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for ListOrders Operation
public virtual Task ListOrdersAsync(ListOrdersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOrdersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOrdersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListOutposts
///
/// Lists the Outposts for your Amazon Web Services account.
///
///
///
/// Use filters to return specific results. If you specify multiple filters, the results
/// include only the resources that match all of the specified filters. For a filter where
/// you can specify multiple values, the results include items that match any of the values
/// that you specify for the filter.
///
///
/// Container for the necessary parameters to execute the ListOutposts service method.
///
/// The response from the ListOutposts service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// A parameter is not valid.
///
/// REST API Reference for ListOutposts Operation
public virtual ListOutpostsResponse ListOutposts(ListOutpostsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOutpostsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOutpostsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the Outposts for your Amazon Web Services account.
///
///
///
/// Use filters to return specific results. If you specify multiple filters, the results
/// include only the resources that match all of the specified filters. For a filter where
/// you can specify multiple values, the results include items that match any of the values
/// that you specify for the filter.
///
///
/// Container for the necessary parameters to execute the ListOutposts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListOutposts service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// A parameter is not valid.
///
/// REST API Reference for ListOutposts Operation
public virtual Task ListOutpostsAsync(ListOutpostsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOutpostsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOutpostsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListSites
///
/// Lists the Outpost sites for your Amazon Web Services account. Use filters to return
/// specific results.
///
///
///
/// Use filters to return specific results. If you specify multiple filters, the results
/// include only the resources that match all of the specified filters. For a filter where
/// you can specify multiple values, the results include items that match any of the values
/// that you specify for the filter.
///
///
/// Container for the necessary parameters to execute the ListSites service method.
///
/// The response from the ListSites service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// A parameter is not valid.
///
/// REST API Reference for ListSites Operation
public virtual ListSitesResponse ListSites(ListSitesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSitesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSitesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the Outpost sites for your Amazon Web Services account. Use filters to return
/// specific results.
///
///
///
/// Use filters to return specific results. If you specify multiple filters, the results
/// include only the resources that match all of the specified filters. For a filter where
/// you can specify multiple values, the results include items that match any of the values
/// that you specify for the filter.
///
///
/// Container for the necessary parameters to execute the ListSites service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSites service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// A parameter is not valid.
///
/// REST API Reference for ListSites Operation
public virtual Task ListSitesAsync(ListSitesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSitesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSitesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
///
/// Lists the tags for the specified resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by Outposts.
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the tags for the specified resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by Outposts.
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartConnection
///
///
///
/// Amazon Web Services uses this action to install Outpost servers.
///
///
///
/// Starts the connection required for Outpost server installation.
///
///
///
/// Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon
/// Web Services Outposts to secure it. For more information, see
/// Amazon Web Services managed policies for Amazon Web Services Outposts and
/// Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail
/// in the Amazon Web Services Outposts User Guide.
///
///
/// Container for the necessary parameters to execute the StartConnection service method.
///
/// The response from the StartConnection service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for StartConnection Operation
public virtual StartConnectionResponse StartConnection(StartConnectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartConnectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
///
///
/// Amazon Web Services uses this action to install Outpost servers.
///
///
///
/// Starts the connection required for Outpost server installation.
///
///
///
/// Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon
/// Web Services Outposts to secure it. For more information, see
/// Amazon Web Services managed policies for Amazon Web Services Outposts and
/// Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail
/// in the Amazon Web Services Outposts User Guide.
///
///
/// Container for the necessary parameters to execute the StartConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartConnection service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for StartConnection Operation
public virtual Task StartConnectionAsync(StartConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartConnectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
///
/// Adds tags to the specified resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by Outposts.
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds tags to the specified resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by Outposts.
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
///
/// Removes tags from the specified resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by Outposts.
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes tags from the specified resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by Outposts.
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateOutpost
///
/// Updates an Outpost.
///
/// Container for the necessary parameters to execute the UpdateOutpost service method.
///
/// The response from the UpdateOutpost service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for UpdateOutpost Operation
public virtual UpdateOutpostResponse UpdateOutpost(UpdateOutpostRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOutpostRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOutpostResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an Outpost.
///
/// Container for the necessary parameters to execute the UpdateOutpost service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateOutpost service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for UpdateOutpost Operation
public virtual Task UpdateOutpostAsync(UpdateOutpostRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOutpostRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOutpostResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateSite
///
/// Updates the specified site.
///
/// Container for the necessary parameters to execute the UpdateSite service method.
///
/// The response from the UpdateSite service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for UpdateSite Operation
public virtual UpdateSiteResponse UpdateSite(UpdateSiteRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSiteRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSiteResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the specified site.
///
/// Container for the necessary parameters to execute the UpdateSite service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateSite service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for UpdateSite Operation
public virtual Task UpdateSiteAsync(UpdateSiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSiteRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSiteResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateSiteAddress
///
/// Updates the address of the specified site.
///
///
///
/// You can't update a site address if there is an order in progress. You must wait for
/// the order to complete or cancel the order.
///
///
///
/// You can update the operating address before you place an order at the site, or after
/// all Outposts that belong to the site have been deactivated.
///
///
/// Container for the necessary parameters to execute the UpdateSiteAddress service method.
///
/// The response from the UpdateSiteAddress service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for UpdateSiteAddress Operation
public virtual UpdateSiteAddressResponse UpdateSiteAddress(UpdateSiteAddressRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSiteAddressRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSiteAddressResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the address of the specified site.
///
///
///
/// You can't update a site address if there is an order in progress. You must wait for
/// the order to complete or cancel the order.
///
///
///
/// You can update the operating address before you place an order at the site, or after
/// all Outposts that belong to the site have been deactivated.
///
///
/// Container for the necessary parameters to execute the UpdateSiteAddress service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateSiteAddress service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for UpdateSiteAddress Operation
public virtual Task UpdateSiteAddressAsync(UpdateSiteAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSiteAddressRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSiteAddressResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateSiteRackPhysicalProperties
///
/// Update the physical and logistical details for a rack at a site. For more information
/// about hardware requirements for racks, see Network
/// readiness checklist in the Amazon Web Services Outposts User Guide.
///
///
///
/// To update a rack at a site with an order of IN_PROGRESS
, you must wait
/// for the order to complete or cancel the order.
///
///
/// Container for the necessary parameters to execute the UpdateSiteRackPhysicalProperties service method.
///
/// The response from the UpdateSiteRackPhysicalProperties service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for UpdateSiteRackPhysicalProperties Operation
public virtual UpdateSiteRackPhysicalPropertiesResponse UpdateSiteRackPhysicalProperties(UpdateSiteRackPhysicalPropertiesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSiteRackPhysicalPropertiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSiteRackPhysicalPropertiesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Update the physical and logistical details for a rack at a site. For more information
/// about hardware requirements for racks, see Network
/// readiness checklist in the Amazon Web Services Outposts User Guide.
///
///
///
/// To update a rack at a site with an order of IN_PROGRESS
, you must wait
/// for the order to complete or cancel the order.
///
///
/// Container for the necessary parameters to execute the UpdateSiteRackPhysicalProperties service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateSiteRackPhysicalProperties service method, as returned by Outposts.
///
/// You do not have permission to perform this operation.
///
///
/// Updating or deleting this resource can cause an inconsistent state.
///
///
/// An internal error has occurred.
///
///
/// The specified request is not valid.
///
///
/// A parameter is not valid.
///
/// REST API Reference for UpdateSiteRackPhysicalProperties Operation
public virtual Task UpdateSiteRackPhysicalPropertiesAsync(UpdateSiteRackPhysicalPropertiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSiteRackPhysicalPropertiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSiteRackPhysicalPropertiesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}