/*
* 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.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Outposts.Model;
namespace Amazon.Outposts
{
///
/// Interface 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 interface IAmazonOutposts : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IOutpostsPaginatorFactory Paginators { get; }
#endif
#region CancelOrder
///
/// 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
Task CancelOrderAsync(CancelOrderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateOrder
///
/// 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
Task CreateOrderAsync(CreateOrderRequest request, System.Threading.CancellationToken cancellationToken = default(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.
///
/// 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
Task CreateOutpostAsync(CreateOutpostRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateSite
///
/// 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
Task CreateSiteAsync(CreateSiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteOutpost
///
/// 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
Task DeleteOutpostAsync(DeleteOutpostRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteSite
///
/// 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
Task DeleteSiteAsync(DeleteSiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetCatalogItem
///
/// 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
Task GetCatalogItemAsync(GetCatalogItemRequest request, System.Threading.CancellationToken cancellationToken = default(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.
///
/// 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
Task GetConnectionAsync(GetConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetOrder
///
/// 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
Task GetOrderAsync(GetOrderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetOutpost
///
/// 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
Task GetOutpostAsync(GetOutpostRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetOutpostInstanceTypes
///
/// 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
Task GetOutpostInstanceTypesAsync(GetOutpostInstanceTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSite
///
/// 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
Task GetSiteAsync(GetSiteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSiteAddress
///
/// 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
Task GetSiteAddressAsync(GetSiteAddressRequest request, System.Threading.CancellationToken cancellationToken = default(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.
///
/// 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
Task ListAssetsAsync(ListAssetsRequest request, System.Threading.CancellationToken cancellationToken = default(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.
///
/// 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
Task ListCatalogItemsAsync(ListCatalogItemsRequest request, System.Threading.CancellationToken cancellationToken = default(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.
///
/// 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
Task ListOrdersAsync(ListOrdersRequest request, System.Threading.CancellationToken cancellationToken = default(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.
///
/// 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
Task ListOutpostsAsync(ListOutpostsRequest request, System.Threading.CancellationToken cancellationToken = default(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.
///
/// 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
Task ListSitesAsync(ListSitesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// 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
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(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.
///
/// 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
Task StartConnectionAsync(StartConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// 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
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// 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
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateOutpost
///
/// 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
Task UpdateOutpostAsync(UpdateOutpostRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateSite
///
/// 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
Task UpdateSiteAsync(UpdateSiteRequest request, System.Threading.CancellationToken cancellationToken = default(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.
///
/// 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
Task UpdateSiteAddressAsync(UpdateSiteAddressRequest request, System.Threading.CancellationToken cancellationToken = default(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.
///
/// 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
Task UpdateSiteRackPhysicalPropertiesAsync(UpdateSiteRackPhysicalPropertiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}