/* * 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.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(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IOutpostsPaginatorFactory _paginators; /// /// Paginators for the service /// public IOutpostsPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new OutpostsPaginatorFactory(this); } return this._paginators; } } #endif #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); } /// /// Initiates the asynchronous execution of the CancelOrder operation. /// /// /// Container for the necessary parameters to execute the CancelOrder operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelOrder /// operation. /// REST API Reference for CancelOrder Operation public virtual IAsyncResult BeginCancelOrder(CancelOrderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CancelOrderRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelOrderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CancelOrder operation. /// /// /// The IAsyncResult returned by the call to BeginCancelOrder. /// /// Returns a CancelOrderResult from Outposts. /// REST API Reference for CancelOrder Operation public virtual CancelOrderResponse EndCancelOrder(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateOrder operation. /// /// /// Container for the necessary parameters to execute the CreateOrder operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateOrder /// operation. /// REST API Reference for CreateOrder Operation public virtual IAsyncResult BeginCreateOrder(CreateOrderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateOrderRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateOrderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateOrder operation. /// /// /// The IAsyncResult returned by the call to BeginCreateOrder. /// /// Returns a CreateOrderResult from Outposts. /// REST API Reference for CreateOrder Operation public virtual CreateOrderResponse EndCreateOrder(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateOutpost operation. /// /// /// Container for the necessary parameters to execute the CreateOutpost operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateOutpost /// operation. /// REST API Reference for CreateOutpost Operation public virtual IAsyncResult BeginCreateOutpost(CreateOutpostRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateOutpostRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateOutpostResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateOutpost operation. /// /// /// The IAsyncResult returned by the call to BeginCreateOutpost. /// /// Returns a CreateOutpostResult from Outposts. /// REST API Reference for CreateOutpost Operation public virtual CreateOutpostResponse EndCreateOutpost(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateSite operation. /// /// /// Container for the necessary parameters to execute the CreateSite operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSite /// operation. /// REST API Reference for CreateSite Operation public virtual IAsyncResult BeginCreateSite(CreateSiteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSiteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSite operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSite. /// /// Returns a CreateSiteResult from Outposts. /// REST API Reference for CreateSite Operation public virtual CreateSiteResponse EndCreateSite(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteOutpost operation. /// /// /// Container for the necessary parameters to execute the DeleteOutpost operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteOutpost /// operation. /// REST API Reference for DeleteOutpost Operation public virtual IAsyncResult BeginDeleteOutpost(DeleteOutpostRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteOutpostRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteOutpostResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteOutpost operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteOutpost. /// /// Returns a DeleteOutpostResult from Outposts. /// REST API Reference for DeleteOutpost Operation public virtual DeleteOutpostResponse EndDeleteOutpost(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteSite operation. /// /// /// Container for the necessary parameters to execute the DeleteSite operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSite /// operation. /// REST API Reference for DeleteSite Operation public virtual IAsyncResult BeginDeleteSite(DeleteSiteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSiteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSite operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSite. /// /// Returns a DeleteSiteResult from Outposts. /// REST API Reference for DeleteSite Operation public virtual DeleteSiteResponse EndDeleteSite(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetCatalogItem operation. /// /// /// Container for the necessary parameters to execute the GetCatalogItem operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCatalogItem /// operation. /// REST API Reference for GetCatalogItem Operation public virtual IAsyncResult BeginGetCatalogItem(GetCatalogItemRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCatalogItemRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCatalogItemResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCatalogItem operation. /// /// /// The IAsyncResult returned by the call to BeginGetCatalogItem. /// /// Returns a GetCatalogItemResult from Outposts. /// REST API Reference for GetCatalogItem Operation public virtual GetCatalogItemResponse EndGetCatalogItem(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetConnection operation. /// /// /// Container for the necessary parameters to execute the GetConnection operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConnection /// operation. /// REST API Reference for GetConnection Operation public virtual IAsyncResult BeginGetConnection(GetConnectionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetConnection operation. /// /// /// The IAsyncResult returned by the call to BeginGetConnection. /// /// Returns a GetConnectionResult from Outposts. /// REST API Reference for GetConnection Operation public virtual GetConnectionResponse EndGetConnection(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetOrder operation. /// /// /// Container for the necessary parameters to execute the GetOrder operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetOrder /// operation. /// REST API Reference for GetOrder Operation public virtual IAsyncResult BeginGetOrder(GetOrderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetOrderRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOrderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetOrder operation. /// /// /// The IAsyncResult returned by the call to BeginGetOrder. /// /// Returns a GetOrderResult from Outposts. /// REST API Reference for GetOrder Operation public virtual GetOrderResponse EndGetOrder(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetOutpost operation. /// /// /// Container for the necessary parameters to execute the GetOutpost operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetOutpost /// operation. /// REST API Reference for GetOutpost Operation public virtual IAsyncResult BeginGetOutpost(GetOutpostRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetOutpostRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOutpostResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetOutpost operation. /// /// /// The IAsyncResult returned by the call to BeginGetOutpost. /// /// Returns a GetOutpostResult from Outposts. /// REST API Reference for GetOutpost Operation public virtual GetOutpostResponse EndGetOutpost(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetOutpostInstanceTypes operation. /// /// /// Container for the necessary parameters to execute the GetOutpostInstanceTypes operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetOutpostInstanceTypes /// operation. /// REST API Reference for GetOutpostInstanceTypes Operation public virtual IAsyncResult BeginGetOutpostInstanceTypes(GetOutpostInstanceTypesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetOutpostInstanceTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOutpostInstanceTypesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetOutpostInstanceTypes operation. /// /// /// The IAsyncResult returned by the call to BeginGetOutpostInstanceTypes. /// /// Returns a GetOutpostInstanceTypesResult from Outposts. /// REST API Reference for GetOutpostInstanceTypes Operation public virtual GetOutpostInstanceTypesResponse EndGetOutpostInstanceTypes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetSite operation. /// /// /// Container for the necessary parameters to execute the GetSite operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSite /// operation. /// REST API Reference for GetSite Operation public virtual IAsyncResult BeginGetSite(GetSiteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSiteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSite operation. /// /// /// The IAsyncResult returned by the call to BeginGetSite. /// /// Returns a GetSiteResult from Outposts. /// REST API Reference for GetSite Operation public virtual GetSiteResponse EndGetSite(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetSiteAddress operation. /// /// /// Container for the necessary parameters to execute the GetSiteAddress operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSiteAddress /// operation. /// REST API Reference for GetSiteAddress Operation public virtual IAsyncResult BeginGetSiteAddress(GetSiteAddressRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSiteAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSiteAddressResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSiteAddress operation. /// /// /// The IAsyncResult returned by the call to BeginGetSiteAddress. /// /// Returns a GetSiteAddressResult from Outposts. /// REST API Reference for GetSiteAddress Operation public virtual GetSiteAddressResponse EndGetSiteAddress(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListAssets operation. /// /// /// Container for the necessary parameters to execute the ListAssets operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAssets /// operation. /// REST API Reference for ListAssets Operation public virtual IAsyncResult BeginListAssets(ListAssetsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssetsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAssets operation. /// /// /// The IAsyncResult returned by the call to BeginListAssets. /// /// Returns a ListAssetsResult from Outposts. /// REST API Reference for ListAssets Operation public virtual ListAssetsResponse EndListAssets(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListCatalogItems operation. /// /// /// Container for the necessary parameters to execute the ListCatalogItems operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCatalogItems /// operation. /// REST API Reference for ListCatalogItems Operation public virtual IAsyncResult BeginListCatalogItems(ListCatalogItemsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCatalogItemsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCatalogItemsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCatalogItems operation. /// /// /// The IAsyncResult returned by the call to BeginListCatalogItems. /// /// Returns a ListCatalogItemsResult from Outposts. /// REST API Reference for ListCatalogItems Operation public virtual ListCatalogItemsResponse EndListCatalogItems(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListOrders operation. /// /// /// Container for the necessary parameters to execute the ListOrders operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListOrders /// operation. /// REST API Reference for ListOrders Operation public virtual IAsyncResult BeginListOrders(ListOrdersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListOrdersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOrdersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListOrders operation. /// /// /// The IAsyncResult returned by the call to BeginListOrders. /// /// Returns a ListOrdersResult from Outposts. /// REST API Reference for ListOrders Operation public virtual ListOrdersResponse EndListOrders(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListOutposts operation. /// /// /// Container for the necessary parameters to execute the ListOutposts operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListOutposts /// operation. /// REST API Reference for ListOutposts Operation public virtual IAsyncResult BeginListOutposts(ListOutpostsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListOutpostsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOutpostsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListOutposts operation. /// /// /// The IAsyncResult returned by the call to BeginListOutposts. /// /// Returns a ListOutpostsResult from Outposts. /// REST API Reference for ListOutposts Operation public virtual ListOutpostsResponse EndListOutposts(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListSites operation. /// /// /// Container for the necessary parameters to execute the ListSites operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSites /// operation. /// REST API Reference for ListSites Operation public virtual IAsyncResult BeginListSites(ListSitesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSitesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSitesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSites operation. /// /// /// The IAsyncResult returned by the call to BeginListSites. /// /// Returns a ListSitesResult from Outposts. /// REST API Reference for ListSites Operation public virtual ListSitesResponse EndListSites(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from Outposts. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the StartConnection operation. /// /// /// Container for the necessary parameters to execute the StartConnection operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartConnection /// operation. /// REST API Reference for StartConnection Operation public virtual IAsyncResult BeginStartConnection(StartConnectionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartConnectionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartConnection operation. /// /// /// The IAsyncResult returned by the call to BeginStartConnection. /// /// Returns a StartConnectionResult from Outposts. /// REST API Reference for StartConnection Operation public virtual StartConnectionResponse EndStartConnection(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from Outposts. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from Outposts. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdateOutpost operation. /// /// /// Container for the necessary parameters to execute the UpdateOutpost operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateOutpost /// operation. /// REST API Reference for UpdateOutpost Operation public virtual IAsyncResult BeginUpdateOutpost(UpdateOutpostRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateOutpostRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateOutpostResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateOutpost operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateOutpost. /// /// Returns a UpdateOutpostResult from Outposts. /// REST API Reference for UpdateOutpost Operation public virtual UpdateOutpostResponse EndUpdateOutpost(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdateSite operation. /// /// /// Container for the necessary parameters to execute the UpdateSite operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSite /// operation. /// REST API Reference for UpdateSite Operation public virtual IAsyncResult BeginUpdateSite(UpdateSiteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSiteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSiteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateSite operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateSite. /// /// Returns a UpdateSiteResult from Outposts. /// REST API Reference for UpdateSite Operation public virtual UpdateSiteResponse EndUpdateSite(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdateSiteAddress operation. /// /// /// Container for the necessary parameters to execute the UpdateSiteAddress operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSiteAddress /// operation. /// REST API Reference for UpdateSiteAddress Operation public virtual IAsyncResult BeginUpdateSiteAddress(UpdateSiteAddressRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSiteAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSiteAddressResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateSiteAddress operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateSiteAddress. /// /// Returns a UpdateSiteAddressResult from Outposts. /// REST API Reference for UpdateSiteAddress Operation public virtual UpdateSiteAddressResponse EndUpdateSiteAddress(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdateSiteRackPhysicalProperties operation. /// /// /// Container for the necessary parameters to execute the UpdateSiteRackPhysicalProperties operation on AmazonOutpostsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSiteRackPhysicalProperties /// operation. /// REST API Reference for UpdateSiteRackPhysicalProperties Operation public virtual IAsyncResult BeginUpdateSiteRackPhysicalProperties(UpdateSiteRackPhysicalPropertiesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSiteRackPhysicalPropertiesRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSiteRackPhysicalPropertiesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateSiteRackPhysicalProperties operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateSiteRackPhysicalProperties. /// /// Returns a UpdateSiteRackPhysicalPropertiesResult from Outposts. /// REST API Reference for UpdateSiteRackPhysicalProperties Operation public virtual UpdateSiteRackPhysicalPropertiesResponse EndUpdateSiteRackPhysicalProperties(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }