/* * 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 account-2021-02-01.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.Account.Model; namespace Amazon.Account { /// /// Interface for accessing Account /// /// Operations for Amazon Web Services Account Management /// public partial interface IAmazonAccount : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// IAccountPaginatorFactory Paginators { get; } #endif #region DeleteAlternateContact /// /// Deletes the specified alternate contact from an Amazon Web Services account. /// /// /// /// For complete details about how to use the alternate contact operations, see Access /// or updating the alternate contacts. /// /// /// /// Before you can update the alternate contact information for an Amazon Web Services /// account that is managed by Organizations, you must first enable integration between /// Amazon Web Services Account Management and Organizations. For more information, see /// Enabling /// trusted access for Amazon Web Services Account Management. /// /// /// /// Container for the necessary parameters to execute the DeleteAlternateContact service method. /// /// The response from the DeleteAlternateContact service method, as returned by Account. /// /// The operation failed because the calling identity doesn't have the minimum required /// permissions. /// /// /// The operation failed because of an error internal to Amazon Web Services. Try your /// operation again later. /// /// /// The operation failed because it specified a resource that can't be found. /// /// /// The operation failed because it was called too frequently and exceeded a throttle /// limit. /// /// /// The operation failed because one of the input parameters was invalid. /// /// REST API Reference for DeleteAlternateContact Operation DeleteAlternateContactResponse DeleteAlternateContact(DeleteAlternateContactRequest request); /// /// Initiates the asynchronous execution of the DeleteAlternateContact operation. /// /// /// Container for the necessary parameters to execute the DeleteAlternateContact operation on AmazonAccountClient. /// 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 EndDeleteAlternateContact /// operation. /// REST API Reference for DeleteAlternateContact Operation IAsyncResult BeginDeleteAlternateContact(DeleteAlternateContactRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteAlternateContact operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAlternateContact. /// /// Returns a DeleteAlternateContactResult from Account. /// REST API Reference for DeleteAlternateContact Operation DeleteAlternateContactResponse EndDeleteAlternateContact(IAsyncResult asyncResult); #endregion #region DisableRegion /// /// Disables (opts-out) a particular Region for an account. /// /// Container for the necessary parameters to execute the DisableRegion service method. /// /// The response from the DisableRegion service method, as returned by Account. /// /// The operation failed because the calling identity doesn't have the minimum required /// permissions. /// /// /// The request could not be processed because of a conflict in the current status of /// the resource. For example, this happens if you try to enable a Region that is currently /// being disabled (in a status of DISABLING). /// /// /// The operation failed because of an error internal to Amazon Web Services. Try your /// operation again later. /// /// /// The operation failed because it was called too frequently and exceeded a throttle /// limit. /// /// /// The operation failed because one of the input parameters was invalid. /// /// REST API Reference for DisableRegion Operation DisableRegionResponse DisableRegion(DisableRegionRequest request); /// /// Initiates the asynchronous execution of the DisableRegion operation. /// /// /// Container for the necessary parameters to execute the DisableRegion operation on AmazonAccountClient. /// 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 EndDisableRegion /// operation. /// REST API Reference for DisableRegion Operation IAsyncResult BeginDisableRegion(DisableRegionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DisableRegion operation. /// /// /// The IAsyncResult returned by the call to BeginDisableRegion. /// /// Returns a DisableRegionResult from Account. /// REST API Reference for DisableRegion Operation DisableRegionResponse EndDisableRegion(IAsyncResult asyncResult); #endregion #region EnableRegion /// /// Enables (opts-in) a particular Region for an account. /// /// Container for the necessary parameters to execute the EnableRegion service method. /// /// The response from the EnableRegion service method, as returned by Account. /// /// The operation failed because the calling identity doesn't have the minimum required /// permissions. /// /// /// The request could not be processed because of a conflict in the current status of /// the resource. For example, this happens if you try to enable a Region that is currently /// being disabled (in a status of DISABLING). /// /// /// The operation failed because of an error internal to Amazon Web Services. Try your /// operation again later. /// /// /// The operation failed because it was called too frequently and exceeded a throttle /// limit. /// /// /// The operation failed because one of the input parameters was invalid. /// /// REST API Reference for EnableRegion Operation EnableRegionResponse EnableRegion(EnableRegionRequest request); /// /// Initiates the asynchronous execution of the EnableRegion operation. /// /// /// Container for the necessary parameters to execute the EnableRegion operation on AmazonAccountClient. /// 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 EndEnableRegion /// operation. /// REST API Reference for EnableRegion Operation IAsyncResult BeginEnableRegion(EnableRegionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the EnableRegion operation. /// /// /// The IAsyncResult returned by the call to BeginEnableRegion. /// /// Returns a EnableRegionResult from Account. /// REST API Reference for EnableRegion Operation EnableRegionResponse EndEnableRegion(IAsyncResult asyncResult); #endregion #region GetAlternateContact /// /// Retrieves the specified alternate contact attached to an Amazon Web Services account. /// /// /// /// For complete details about how to use the alternate contact operations, see Access /// or updating the alternate contacts. /// /// /// /// Before you can update the alternate contact information for an Amazon Web Services /// account that is managed by Organizations, you must first enable integration between /// Amazon Web Services Account Management and Organizations. For more information, see /// Enabling /// trusted access for Amazon Web Services Account Management. /// /// /// /// Container for the necessary parameters to execute the GetAlternateContact service method. /// /// The response from the GetAlternateContact service method, as returned by Account. /// /// The operation failed because the calling identity doesn't have the minimum required /// permissions. /// /// /// The operation failed because of an error internal to Amazon Web Services. Try your /// operation again later. /// /// /// The operation failed because it specified a resource that can't be found. /// /// /// The operation failed because it was called too frequently and exceeded a throttle /// limit. /// /// /// The operation failed because one of the input parameters was invalid. /// /// REST API Reference for GetAlternateContact Operation GetAlternateContactResponse GetAlternateContact(GetAlternateContactRequest request); /// /// Initiates the asynchronous execution of the GetAlternateContact operation. /// /// /// Container for the necessary parameters to execute the GetAlternateContact operation on AmazonAccountClient. /// 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 EndGetAlternateContact /// operation. /// REST API Reference for GetAlternateContact Operation IAsyncResult BeginGetAlternateContact(GetAlternateContactRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetAlternateContact operation. /// /// /// The IAsyncResult returned by the call to BeginGetAlternateContact. /// /// Returns a GetAlternateContactResult from Account. /// REST API Reference for GetAlternateContact Operation GetAlternateContactResponse EndGetAlternateContact(IAsyncResult asyncResult); #endregion #region GetContactInformation /// /// Retrieves the primary contact information of an Amazon Web Services account. /// /// /// /// For complete details about how to use the primary contact operations, see Update /// the primary and alternate contact information. /// /// /// Container for the necessary parameters to execute the GetContactInformation service method. /// /// The response from the GetContactInformation service method, as returned by Account. /// /// The operation failed because the calling identity doesn't have the minimum required /// permissions. /// /// /// The operation failed because of an error internal to Amazon Web Services. Try your /// operation again later. /// /// /// The operation failed because it specified a resource that can't be found. /// /// /// The operation failed because it was called too frequently and exceeded a throttle /// limit. /// /// /// The operation failed because one of the input parameters was invalid. /// /// REST API Reference for GetContactInformation Operation GetContactInformationResponse GetContactInformation(GetContactInformationRequest request); /// /// Initiates the asynchronous execution of the GetContactInformation operation. /// /// /// Container for the necessary parameters to execute the GetContactInformation operation on AmazonAccountClient. /// 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 EndGetContactInformation /// operation. /// REST API Reference for GetContactInformation Operation IAsyncResult BeginGetContactInformation(GetContactInformationRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetContactInformation operation. /// /// /// The IAsyncResult returned by the call to BeginGetContactInformation. /// /// Returns a GetContactInformationResult from Account. /// REST API Reference for GetContactInformation Operation GetContactInformationResponse EndGetContactInformation(IAsyncResult asyncResult); #endregion #region GetRegionOptStatus /// /// Retrieves the opt-in status of a particular Region. /// /// Container for the necessary parameters to execute the GetRegionOptStatus service method. /// /// The response from the GetRegionOptStatus service method, as returned by Account. /// /// The operation failed because the calling identity doesn't have the minimum required /// permissions. /// /// /// The operation failed because of an error internal to Amazon Web Services. Try your /// operation again later. /// /// /// The operation failed because it was called too frequently and exceeded a throttle /// limit. /// /// /// The operation failed because one of the input parameters was invalid. /// /// REST API Reference for GetRegionOptStatus Operation GetRegionOptStatusResponse GetRegionOptStatus(GetRegionOptStatusRequest request); /// /// Initiates the asynchronous execution of the GetRegionOptStatus operation. /// /// /// Container for the necessary parameters to execute the GetRegionOptStatus operation on AmazonAccountClient. /// 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 EndGetRegionOptStatus /// operation. /// REST API Reference for GetRegionOptStatus Operation IAsyncResult BeginGetRegionOptStatus(GetRegionOptStatusRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetRegionOptStatus operation. /// /// /// The IAsyncResult returned by the call to BeginGetRegionOptStatus. /// /// Returns a GetRegionOptStatusResult from Account. /// REST API Reference for GetRegionOptStatus Operation GetRegionOptStatusResponse EndGetRegionOptStatus(IAsyncResult asyncResult); #endregion #region ListRegions /// /// Lists all the Regions for a given account and their respective opt-in statuses. Optionally, /// this list can be filtered by the region-opt-status-contains parameter. /// /// Container for the necessary parameters to execute the ListRegions service method. /// /// The response from the ListRegions service method, as returned by Account. /// /// The operation failed because the calling identity doesn't have the minimum required /// permissions. /// /// /// The operation failed because of an error internal to Amazon Web Services. Try your /// operation again later. /// /// /// The operation failed because it was called too frequently and exceeded a throttle /// limit. /// /// /// The operation failed because one of the input parameters was invalid. /// /// REST API Reference for ListRegions Operation ListRegionsResponse ListRegions(ListRegionsRequest request); /// /// Initiates the asynchronous execution of the ListRegions operation. /// /// /// Container for the necessary parameters to execute the ListRegions operation on AmazonAccountClient. /// 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 EndListRegions /// operation. /// REST API Reference for ListRegions Operation IAsyncResult BeginListRegions(ListRegionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListRegions operation. /// /// /// The IAsyncResult returned by the call to BeginListRegions. /// /// Returns a ListRegionsResult from Account. /// REST API Reference for ListRegions Operation ListRegionsResponse EndListRegions(IAsyncResult asyncResult); #endregion #region PutAlternateContact /// /// Modifies the specified alternate contact attached to an Amazon Web Services account. /// /// /// /// For complete details about how to use the alternate contact operations, see Access /// or updating the alternate contacts. /// /// /// /// Before you can update the alternate contact information for an Amazon Web Services /// account that is managed by Organizations, you must first enable integration between /// Amazon Web Services Account Management and Organizations. For more information, see /// Enabling /// trusted access for Amazon Web Services Account Management. /// /// /// /// Container for the necessary parameters to execute the PutAlternateContact service method. /// /// The response from the PutAlternateContact service method, as returned by Account. /// /// The operation failed because the calling identity doesn't have the minimum required /// permissions. /// /// /// The operation failed because of an error internal to Amazon Web Services. Try your /// operation again later. /// /// /// The operation failed because it was called too frequently and exceeded a throttle /// limit. /// /// /// The operation failed because one of the input parameters was invalid. /// /// REST API Reference for PutAlternateContact Operation PutAlternateContactResponse PutAlternateContact(PutAlternateContactRequest request); /// /// Initiates the asynchronous execution of the PutAlternateContact operation. /// /// /// Container for the necessary parameters to execute the PutAlternateContact operation on AmazonAccountClient. /// 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 EndPutAlternateContact /// operation. /// REST API Reference for PutAlternateContact Operation IAsyncResult BeginPutAlternateContact(PutAlternateContactRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutAlternateContact operation. /// /// /// The IAsyncResult returned by the call to BeginPutAlternateContact. /// /// Returns a PutAlternateContactResult from Account. /// REST API Reference for PutAlternateContact Operation PutAlternateContactResponse EndPutAlternateContact(IAsyncResult asyncResult); #endregion #region PutContactInformation /// /// Updates the primary contact information of an Amazon Web Services account. /// /// /// /// For complete details about how to use the primary contact operations, see Update /// the primary and alternate contact information. /// /// /// Container for the necessary parameters to execute the PutContactInformation service method. /// /// The response from the PutContactInformation service method, as returned by Account. /// /// The operation failed because the calling identity doesn't have the minimum required /// permissions. /// /// /// The operation failed because of an error internal to Amazon Web Services. Try your /// operation again later. /// /// /// The operation failed because it was called too frequently and exceeded a throttle /// limit. /// /// /// The operation failed because one of the input parameters was invalid. /// /// REST API Reference for PutContactInformation Operation PutContactInformationResponse PutContactInformation(PutContactInformationRequest request); /// /// Initiates the asynchronous execution of the PutContactInformation operation. /// /// /// Container for the necessary parameters to execute the PutContactInformation operation on AmazonAccountClient. /// 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 EndPutContactInformation /// operation. /// REST API Reference for PutContactInformation Operation IAsyncResult BeginPutContactInformation(PutContactInformationRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutContactInformation operation. /// /// /// The IAsyncResult returned by the call to BeginPutContactInformation. /// /// Returns a PutContactInformationResult from Account. /// REST API Reference for PutContactInformation Operation PutContactInformationResponse EndPutContactInformation(IAsyncResult asyncResult); #endregion } }