/*
* 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 servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.AppRegistry.Model;
using Amazon.AppRegistry.Model.Internal.MarshallTransformations;
using Amazon.AppRegistry.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AppRegistry
{
///
/// Implementation for accessing AppRegistry
///
/// Amazon Web Services Service Catalog AppRegistry enables organizations to understand
/// the application context of their Amazon Web Services resources. AppRegistry provides
/// a repository of your applications, their resources, and the application metadata that
/// you use within your enterprise.
///
public partial class AmazonAppRegistryClient : AmazonServiceClient, IAmazonAppRegistry
{
private static IServiceMetadata serviceMetadata = new AmazonAppRegistryMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IAppRegistryPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IAppRegistryPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AppRegistryPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppRegistryConfig()) { }
///
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppRegistryConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient Configuration Object
public AmazonAppRegistryClient(AmazonAppRegistryConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonAppRegistryClient with AWS Credentials
///
/// AWS Credentials
public AmazonAppRegistryClient(AWSCredentials credentials)
: this(credentials, new AmazonAppRegistryConfig())
{
}
///
/// Constructs AmazonAppRegistryClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonAppRegistryClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAppRegistryConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAppRegistryClient with AWS Credentials and an
/// AmazonAppRegistryClient Configuration object.
///
/// AWS Credentials
/// The AmazonAppRegistryClient Configuration Object
public AmazonAppRegistryClient(AWSCredentials credentials, AmazonAppRegistryConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonAppRegistryClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppRegistryConfig())
{
}
///
/// Constructs AmazonAppRegistryClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppRegistryConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonAppRegistryClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppRegistryClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonAppRegistryClient Configuration Object
public AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppRegistryConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonAppRegistryClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppRegistryConfig())
{
}
///
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppRegistryConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAppRegistryClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppRegistryClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonAppRegistryClient Configuration Object
public AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppRegistryConfig 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 AmazonAppRegistryEndpointResolver());
}
///
/// 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 AssociateAttributeGroup
///
/// Associates an attribute group with an application to augment the application's metadata
/// with the group's attributes. This feature enables applications to be described with
/// user-defined details that are machine-readable, such as third-party integrations.
///
/// Container for the necessary parameters to execute the AssociateAttributeGroup service method.
///
/// The response from the AssociateAttributeGroup service method, as returned by AppRegistry.
///
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
///
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The maximum number of resources per account has been reached.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for AssociateAttributeGroup Operation
public virtual AssociateAttributeGroupResponse AssociateAttributeGroup(AssociateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAttributeGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AssociateAttributeGroup operation.
///
///
/// Container for the necessary parameters to execute the AssociateAttributeGroup operation on AmazonAppRegistryClient.
/// 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 EndAssociateAttributeGroup
/// operation.
/// REST API Reference for AssociateAttributeGroup Operation
public virtual IAsyncResult BeginAssociateAttributeGroup(AssociateAttributeGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAttributeGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociateAttributeGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateAttributeGroup.
///
/// Returns a AssociateAttributeGroupResult from AppRegistry.
/// REST API Reference for AssociateAttributeGroup Operation
public virtual AssociateAttributeGroupResponse EndAssociateAttributeGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region AssociateResource
///
/// Associates a resource with an application. The resource can be specified by its ARN
/// or name. The application can be specified by ARN, ID, or name.
///
/// Container for the necessary parameters to execute the AssociateResource service method.
///
/// The response from the AssociateResource service method, as returned by AppRegistry.
///
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
///
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The maximum number of resources per account has been reached.
///
///
/// The maximum number of API requests has been exceeded.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for AssociateResource Operation
public virtual AssociateResourceResponse AssociateResource(AssociateResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AssociateResource operation.
///
///
/// Container for the necessary parameters to execute the AssociateResource operation on AmazonAppRegistryClient.
/// 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 EndAssociateResource
/// operation.
/// REST API Reference for AssociateResource Operation
public virtual IAsyncResult BeginAssociateResource(AssociateResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociateResource operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateResource.
///
/// Returns a AssociateResourceResult from AppRegistry.
/// REST API Reference for AssociateResource Operation
public virtual AssociateResourceResponse EndAssociateResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateApplication
///
/// Creates a new application that is the top-level node in a hierarchy of related cloud
/// resource abstractions.
///
/// Container for the necessary parameters to execute the CreateApplication service method.
///
/// The response from the CreateApplication service method, as returned by AppRegistry.
///
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
///
///
/// The service is experiencing internal problems.
///
///
/// The maximum number of resources per account has been reached.
///
///
/// The maximum number of API requests has been exceeded.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for CreateApplication Operation
public virtual CreateApplicationResponse CreateApplication(CreateApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateApplication operation.
///
///
/// Container for the necessary parameters to execute the CreateApplication operation on AmazonAppRegistryClient.
/// 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 EndCreateApplication
/// operation.
/// REST API Reference for CreateApplication Operation
public virtual IAsyncResult BeginCreateApplication(CreateApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateApplication operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateApplication.
///
/// Returns a CreateApplicationResult from AppRegistry.
/// REST API Reference for CreateApplication Operation
public virtual CreateApplicationResponse EndCreateApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateAttributeGroup
///
/// Creates a new attribute group as a container for user-defined attributes. This feature
/// enables users to have full control over their cloud application's metadata in a rich
/// machine-readable format to facilitate integration with automated workflows and third-party
/// tools.
///
/// Container for the necessary parameters to execute the CreateAttributeGroup service method.
///
/// The response from the CreateAttributeGroup service method, as returned by AppRegistry.
///
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
///
///
/// The service is experiencing internal problems.
///
///
/// The maximum number of resources per account has been reached.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for CreateAttributeGroup Operation
public virtual CreateAttributeGroupResponse CreateAttributeGroup(CreateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAttributeGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateAttributeGroup operation.
///
///
/// Container for the necessary parameters to execute the CreateAttributeGroup operation on AmazonAppRegistryClient.
/// 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 EndCreateAttributeGroup
/// operation.
/// REST API Reference for CreateAttributeGroup Operation
public virtual IAsyncResult BeginCreateAttributeGroup(CreateAttributeGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAttributeGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateAttributeGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateAttributeGroup.
///
/// Returns a CreateAttributeGroupResult from AppRegistry.
/// REST API Reference for CreateAttributeGroup Operation
public virtual CreateAttributeGroupResponse EndCreateAttributeGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteApplication
///
/// Deletes an application that is specified either by its application ID, name, or ARN.
/// All associated attribute groups and resources must be disassociated from it before
/// deleting an application.
///
/// Container for the necessary parameters to execute the DeleteApplication service method.
///
/// The response from the DeleteApplication service method, as returned by AppRegistry.
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for DeleteApplication Operation
public virtual DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteApplication operation.
///
///
/// Container for the necessary parameters to execute the DeleteApplication operation on AmazonAppRegistryClient.
/// 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 EndDeleteApplication
/// operation.
/// REST API Reference for DeleteApplication Operation
public virtual IAsyncResult BeginDeleteApplication(DeleteApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteApplication operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteApplication.
///
/// Returns a DeleteApplicationResult from AppRegistry.
/// REST API Reference for DeleteApplication Operation
public virtual DeleteApplicationResponse EndDeleteApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteAttributeGroup
///
/// Deletes an attribute group, specified either by its attribute group ID, name, or ARN.
///
/// Container for the necessary parameters to execute the DeleteAttributeGroup service method.
///
/// The response from the DeleteAttributeGroup service method, as returned by AppRegistry.
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for DeleteAttributeGroup Operation
public virtual DeleteAttributeGroupResponse DeleteAttributeGroup(DeleteAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAttributeGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteAttributeGroup operation.
///
///
/// Container for the necessary parameters to execute the DeleteAttributeGroup operation on AmazonAppRegistryClient.
/// 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 EndDeleteAttributeGroup
/// operation.
/// REST API Reference for DeleteAttributeGroup Operation
public virtual IAsyncResult BeginDeleteAttributeGroup(DeleteAttributeGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAttributeGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteAttributeGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteAttributeGroup.
///
/// Returns a DeleteAttributeGroupResult from AppRegistry.
/// REST API Reference for DeleteAttributeGroup Operation
public virtual DeleteAttributeGroupResponse EndDeleteAttributeGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DisassociateAttributeGroup
///
/// Disassociates an attribute group from an application to remove the extra attributes
/// contained in the attribute group from the application's metadata. This operation reverts
/// AssociateAttributeGroup
.
///
/// Container for the necessary parameters to execute the DisassociateAttributeGroup service method.
///
/// The response from the DisassociateAttributeGroup service method, as returned by AppRegistry.
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for DisassociateAttributeGroup Operation
public virtual DisassociateAttributeGroupResponse DisassociateAttributeGroup(DisassociateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAttributeGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DisassociateAttributeGroup operation.
///
///
/// Container for the necessary parameters to execute the DisassociateAttributeGroup operation on AmazonAppRegistryClient.
/// 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 EndDisassociateAttributeGroup
/// operation.
/// REST API Reference for DisassociateAttributeGroup Operation
public virtual IAsyncResult BeginDisassociateAttributeGroup(DisassociateAttributeGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAttributeGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisassociateAttributeGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociateAttributeGroup.
///
/// Returns a DisassociateAttributeGroupResult from AppRegistry.
/// REST API Reference for DisassociateAttributeGroup Operation
public virtual DisassociateAttributeGroupResponse EndDisassociateAttributeGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DisassociateResource
///
/// Disassociates a resource from application. Both the resource and the application can
/// be specified either by ID or name.
///
/// Container for the necessary parameters to execute the DisassociateResource service method.
///
/// The response from the DisassociateResource service method, as returned by AppRegistry.
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The maximum number of API requests has been exceeded.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for DisassociateResource Operation
public virtual DisassociateResourceResponse DisassociateResource(DisassociateResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DisassociateResource operation.
///
///
/// Container for the necessary parameters to execute the DisassociateResource operation on AmazonAppRegistryClient.
/// 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 EndDisassociateResource
/// operation.
/// REST API Reference for DisassociateResource Operation
public virtual IAsyncResult BeginDisassociateResource(DisassociateResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisassociateResource operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociateResource.
///
/// Returns a DisassociateResourceResult from AppRegistry.
/// REST API Reference for DisassociateResource Operation
public virtual DisassociateResourceResponse EndDisassociateResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetApplication
///
/// Retrieves metadata information about one of your applications. The application can
/// be specified by its ARN, ID, or name (which is unique within one account in one region
/// at a given point in time). Specify by ARN or ID in automated workflows if you want
/// to make sure that the exact same application is returned or a ResourceNotFoundException
/// is thrown, avoiding the ABA addressing problem.
///
/// Container for the necessary parameters to execute the GetApplication service method.
///
/// The response from the GetApplication service method, as returned by AppRegistry.
///
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
///
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for GetApplication Operation
public virtual GetApplicationResponse GetApplication(GetApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetApplication operation.
///
///
/// Container for the necessary parameters to execute the GetApplication operation on AmazonAppRegistryClient.
/// 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 EndGetApplication
/// operation.
/// REST API Reference for GetApplication Operation
public virtual IAsyncResult BeginGetApplication(GetApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetApplication operation.
///
///
/// The IAsyncResult returned by the call to BeginGetApplication.
///
/// Returns a GetApplicationResult from AppRegistry.
/// REST API Reference for GetApplication Operation
public virtual GetApplicationResponse EndGetApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetAssociatedResource
///
/// Gets the resource associated with the application.
///
/// Container for the necessary parameters to execute the GetAssociatedResource service method.
///
/// The response from the GetAssociatedResource service method, as returned by AppRegistry.
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for GetAssociatedResource Operation
public virtual GetAssociatedResourceResponse GetAssociatedResource(GetAssociatedResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssociatedResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssociatedResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetAssociatedResource operation.
///
///
/// Container for the necessary parameters to execute the GetAssociatedResource operation on AmazonAppRegistryClient.
/// 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 EndGetAssociatedResource
/// operation.
/// REST API Reference for GetAssociatedResource Operation
public virtual IAsyncResult BeginGetAssociatedResource(GetAssociatedResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssociatedResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssociatedResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetAssociatedResource operation.
///
///
/// The IAsyncResult returned by the call to BeginGetAssociatedResource.
///
/// Returns a GetAssociatedResourceResult from AppRegistry.
/// REST API Reference for GetAssociatedResource Operation
public virtual GetAssociatedResourceResponse EndGetAssociatedResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetAttributeGroup
///
/// Retrieves an attribute group by its ARN, ID, or name. The attribute group can be
/// specified by its ARN, ID, or name.
///
/// Container for the necessary parameters to execute the GetAttributeGroup service method.
///
/// The response from the GetAttributeGroup service method, as returned by AppRegistry.
///
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
///
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for GetAttributeGroup Operation
public virtual GetAttributeGroupResponse GetAttributeGroup(GetAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAttributeGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetAttributeGroup operation.
///
///
/// Container for the necessary parameters to execute the GetAttributeGroup operation on AmazonAppRegistryClient.
/// 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 EndGetAttributeGroup
/// operation.
/// REST API Reference for GetAttributeGroup Operation
public virtual IAsyncResult BeginGetAttributeGroup(GetAttributeGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAttributeGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetAttributeGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginGetAttributeGroup.
///
/// Returns a GetAttributeGroupResult from AppRegistry.
/// REST API Reference for GetAttributeGroup Operation
public virtual GetAttributeGroupResponse EndGetAttributeGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetConfiguration
///
/// Retrieves a TagKey
configuration from an account.
///
/// Container for the necessary parameters to execute the GetConfiguration service method.
///
/// The response from the GetConfiguration service method, as returned by AppRegistry.
///
/// The service is experiencing internal problems.
///
/// REST API Reference for GetConfiguration Operation
public virtual GetConfigurationResponse GetConfiguration(GetConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetConfiguration operation.
///
///
/// Container for the necessary parameters to execute the GetConfiguration operation on AmazonAppRegistryClient.
/// 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 EndGetConfiguration
/// operation.
/// REST API Reference for GetConfiguration Operation
public virtual IAsyncResult BeginGetConfiguration(GetConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginGetConfiguration.
///
/// Returns a GetConfigurationResult from AppRegistry.
/// REST API Reference for GetConfiguration Operation
public virtual GetConfigurationResponse EndGetConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListApplications
///
/// Retrieves a list of all of your applications. Results are paginated.
///
/// Container for the necessary parameters to execute the ListApplications service method.
///
/// The response from the ListApplications service method, as returned by AppRegistry.
///
/// The service is experiencing internal problems.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ListApplications Operation
public virtual ListApplicationsResponse ListApplications(ListApplicationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListApplications operation.
///
///
/// Container for the necessary parameters to execute the ListApplications operation on AmazonAppRegistryClient.
/// 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 EndListApplications
/// operation.
/// REST API Reference for ListApplications Operation
public virtual IAsyncResult BeginListApplications(ListApplicationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListApplications operation.
///
///
/// The IAsyncResult returned by the call to BeginListApplications.
///
/// Returns a ListApplicationsResult from AppRegistry.
/// REST API Reference for ListApplications Operation
public virtual ListApplicationsResponse EndListApplications(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAssociatedAttributeGroups
///
/// Lists all attribute groups that are associated with specified application. Results
/// are paginated.
///
/// Container for the necessary parameters to execute the ListAssociatedAttributeGroups service method.
///
/// The response from the ListAssociatedAttributeGroups service method, as returned by AppRegistry.
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ListAssociatedAttributeGroups Operation
public virtual ListAssociatedAttributeGroupsResponse ListAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedAttributeGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAssociatedAttributeGroups operation.
///
///
/// Container for the necessary parameters to execute the ListAssociatedAttributeGroups operation on AmazonAppRegistryClient.
/// 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 EndListAssociatedAttributeGroups
/// operation.
/// REST API Reference for ListAssociatedAttributeGroups Operation
public virtual IAsyncResult BeginListAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedAttributeGroupsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAssociatedAttributeGroups operation.
///
///
/// The IAsyncResult returned by the call to BeginListAssociatedAttributeGroups.
///
/// Returns a ListAssociatedAttributeGroupsResult from AppRegistry.
/// REST API Reference for ListAssociatedAttributeGroups Operation
public virtual ListAssociatedAttributeGroupsResponse EndListAssociatedAttributeGroups(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAssociatedResources
///
/// Lists all of the resources that are associated with the specified application. Results
/// are paginated.
///
///
///
/// If you share an application, and a consumer account associates a tag query to the
/// application, all of the users who can access the application can also view the tag
/// values in all accounts that are associated with it using this API.
///
///
///
/// Container for the necessary parameters to execute the ListAssociatedResources service method.
///
/// The response from the ListAssociatedResources service method, as returned by AppRegistry.
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ListAssociatedResources Operation
public virtual ListAssociatedResourcesResponse ListAssociatedResources(ListAssociatedResourcesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedResourcesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAssociatedResources operation.
///
///
/// Container for the necessary parameters to execute the ListAssociatedResources operation on AmazonAppRegistryClient.
/// 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 EndListAssociatedResources
/// operation.
/// REST API Reference for ListAssociatedResources Operation
public virtual IAsyncResult BeginListAssociatedResources(ListAssociatedResourcesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedResourcesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAssociatedResources operation.
///
///
/// The IAsyncResult returned by the call to BeginListAssociatedResources.
///
/// Returns a ListAssociatedResourcesResult from AppRegistry.
/// REST API Reference for ListAssociatedResources Operation
public virtual ListAssociatedResourcesResponse EndListAssociatedResources(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAttributeGroups
///
/// Lists all attribute groups which you have access to. Results are paginated.
///
/// Container for the necessary parameters to execute the ListAttributeGroups service method.
///
/// The response from the ListAttributeGroups service method, as returned by AppRegistry.
///
/// The service is experiencing internal problems.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ListAttributeGroups Operation
public virtual ListAttributeGroupsResponse ListAttributeGroups(ListAttributeGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAttributeGroups operation.
///
///
/// Container for the necessary parameters to execute the ListAttributeGroups operation on AmazonAppRegistryClient.
/// 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 EndListAttributeGroups
/// operation.
/// REST API Reference for ListAttributeGroups Operation
public virtual IAsyncResult BeginListAttributeGroups(ListAttributeGroupsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAttributeGroups operation.
///
///
/// The IAsyncResult returned by the call to BeginListAttributeGroups.
///
/// Returns a ListAttributeGroupsResult from AppRegistry.
/// REST API Reference for ListAttributeGroups Operation
public virtual ListAttributeGroupsResponse EndListAttributeGroups(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAttributeGroupsForApplication
///
/// Lists the details of all attribute groups associated with a specific application.
/// The results display in pages.
///
/// Container for the necessary parameters to execute the ListAttributeGroupsForApplication service method.
///
/// The response from the ListAttributeGroupsForApplication service method, as returned by AppRegistry.
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ListAttributeGroupsForApplication Operation
public virtual ListAttributeGroupsForApplicationResponse ListAttributeGroupsForApplication(ListAttributeGroupsForApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsForApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsForApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAttributeGroupsForApplication operation.
///
///
/// Container for the necessary parameters to execute the ListAttributeGroupsForApplication operation on AmazonAppRegistryClient.
/// 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 EndListAttributeGroupsForApplication
/// operation.
/// REST API Reference for ListAttributeGroupsForApplication Operation
public virtual IAsyncResult BeginListAttributeGroupsForApplication(ListAttributeGroupsForApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsForApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsForApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAttributeGroupsForApplication operation.
///
///
/// The IAsyncResult returned by the call to BeginListAttributeGroupsForApplication.
///
/// Returns a ListAttributeGroupsForApplicationResult from AppRegistry.
/// REST API Reference for ListAttributeGroupsForApplication Operation
public virtual ListAttributeGroupsForApplicationResponse EndListAttributeGroupsForApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTagsForResource
///
/// Lists all of the tags on the resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by AppRegistry.
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The request has invalid or missing parameters.
///
/// 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 AmazonAppRegistryClient.
/// 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 AppRegistry.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutConfiguration
///
/// Associates a TagKey
configuration to an account.
///
/// Container for the necessary parameters to execute the PutConfiguration service method.
///
/// The response from the PutConfiguration service method, as returned by AppRegistry.
///
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
///
///
/// The service is experiencing internal problems.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for PutConfiguration Operation
public virtual PutConfigurationResponse PutConfiguration(PutConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutConfiguration operation.
///
///
/// Container for the necessary parameters to execute the PutConfiguration operation on AmazonAppRegistryClient.
/// 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 EndPutConfiguration
/// operation.
/// REST API Reference for PutConfiguration Operation
public virtual IAsyncResult BeginPutConfiguration(PutConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginPutConfiguration.
///
/// Returns a PutConfigurationResult from AppRegistry.
/// REST API Reference for PutConfiguration Operation
public virtual PutConfigurationResponse EndPutConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region SyncResource
///
/// Syncs the resource with current AppRegistry records.
///
///
///
/// Specifically, the resource’s AppRegistry system tags sync with its associated application.
/// We remove the resource's AppRegistry system tags if it does not associate with the
/// application. The caller must have permissions to read and update the resource.
///
///
/// Container for the necessary parameters to execute the SyncResource service method.
///
/// The response from the SyncResource service method, as returned by AppRegistry.
///
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
///
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The maximum number of API requests has been exceeded.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for SyncResource Operation
public virtual SyncResourceResponse SyncResource(SyncResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SyncResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = SyncResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the SyncResource operation.
///
///
/// Container for the necessary parameters to execute the SyncResource operation on AmazonAppRegistryClient.
/// 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 EndSyncResource
/// operation.
/// REST API Reference for SyncResource Operation
public virtual IAsyncResult BeginSyncResource(SyncResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = SyncResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = SyncResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the SyncResource operation.
///
///
/// The IAsyncResult returned by the call to BeginSyncResource.
///
/// Returns a SyncResourceResult from AppRegistry.
/// REST API Reference for SyncResource Operation
public virtual SyncResourceResponse EndSyncResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Assigns one or more tags (key-value pairs) to the specified resource.
///
///
///
/// Each tag consists of a key and an optional value. If a tag with the same key is already
/// associated with the resource, this action updates its value.
///
///
///
/// This operation returns an empty response if the call was successful.
///
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by AppRegistry.
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The request has invalid or missing parameters.
///
/// 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 AmazonAppRegistryClient.
/// 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 AppRegistry.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Removes tags from a resource.
///
///
///
/// This operation returns an empty response if the call was successful.
///
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by AppRegistry.
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The request has invalid or missing parameters.
///
/// 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 AmazonAppRegistryClient.
/// 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 AppRegistry.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateApplication
///
/// Updates an existing application with new attributes.
///
/// Container for the necessary parameters to execute the UpdateApplication service method.
///
/// The response from the UpdateApplication service method, as returned by AppRegistry.
///
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
///
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The maximum number of API requests has been exceeded.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for UpdateApplication Operation
public virtual UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateApplication operation.
///
///
/// Container for the necessary parameters to execute the UpdateApplication operation on AmazonAppRegistryClient.
/// 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 EndUpdateApplication
/// operation.
/// REST API Reference for UpdateApplication Operation
public virtual IAsyncResult BeginUpdateApplication(UpdateApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateApplication operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateApplication.
///
/// Returns a UpdateApplicationResult from AppRegistry.
/// REST API Reference for UpdateApplication Operation
public virtual UpdateApplicationResponse EndUpdateApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateAttributeGroup
///
/// Updates an existing attribute group with new details.
///
/// Container for the necessary parameters to execute the UpdateAttributeGroup service method.
///
/// The response from the UpdateAttributeGroup service method, as returned by AppRegistry.
///
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
///
///
/// The service is experiencing internal problems.
///
///
/// The specified resource does not exist.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for UpdateAttributeGroup Operation
public virtual UpdateAttributeGroupResponse UpdateAttributeGroup(UpdateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAttributeGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateAttributeGroup operation.
///
///
/// Container for the necessary parameters to execute the UpdateAttributeGroup operation on AmazonAppRegistryClient.
/// 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 EndUpdateAttributeGroup
/// operation.
/// REST API Reference for UpdateAttributeGroup Operation
public virtual IAsyncResult BeginUpdateAttributeGroup(UpdateAttributeGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAttributeGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateAttributeGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateAttributeGroup.
///
/// Returns a UpdateAttributeGroupResult from AppRegistry.
/// REST API Reference for UpdateAttributeGroup Operation
public virtual UpdateAttributeGroupResponse EndUpdateAttributeGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}