/*
* 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 discovery-2015-11-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.ApplicationDiscoveryService.Model;
using Amazon.ApplicationDiscoveryService.Model.Internal.MarshallTransformations;
using Amazon.ApplicationDiscoveryService.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.ApplicationDiscoveryService
{
///
/// Implementation for accessing ApplicationDiscoveryService
///
/// Amazon Web Services Application Discovery Service
///
/// Amazon Web Services Application Discovery Service (Application Discovery Service)
/// helps you plan application migration projects. It automatically identifies servers,
/// virtual machines (VMs), and network dependencies in your on-premises data centers.
/// For more information, see the Amazon
/// Web Services Application Discovery Service FAQ.
///
///
///
/// Application Discovery Service offers three ways of performing discovery and collecting
/// data about your on-premises servers:
///
/// -
///
/// Agentless discovery using Amazon Web Services Application Discovery Service
/// Agentless Collector (Agentless Collector), which doesn't require you to install an
/// agent on each host.
///
///
-
///
/// Agentless Collector gathers server information regardless of the operating systems,
/// which minimizes the time required for initial on-premises infrastructure assessment.
///
///
-
///
/// Agentless Collector doesn't collect information about network dependencies, only agent-based
/// discovery collects that information.
///
///
-
///
/// Agent-based discovery using the Amazon Web Services Application Discovery
/// Agent (Application Discovery Agent) collects a richer set of data than agentless discovery,
/// which you install on one or more hosts in your data center.
///
///
-
///
/// The agent captures infrastructure and application information, including an inventory
/// of running processes, system performance information, resource utilization, and network
/// dependencies.
///
///
-
///
/// The information collected by agents is secured at rest and in transit to the Application
/// Discovery Service database in the Amazon Web Services cloud. For more information,
/// see Amazon
/// Web Services Application Discovery Agent.
///
///
-
///
/// Amazon Web Services Partner Network (APN) solutions integrate with Application
/// Discovery Service, enabling you to import details of your on-premises environment
/// directly into Amazon Web Services Migration Hub (Migration Hub) without using Agentless
/// Collector or Application Discovery Agent.
///
///
-
///
/// Third-party application discovery tools can query Amazon Web Services Application
/// Discovery Service, and they can write to the Application Discovery Service database
/// using the public API.
///
///
-
///
/// In this way, you can import data into Migration Hub and view it, so that you can associate
/// applications with servers and track migrations.
///
///
///
/// Working With This Guide
///
///
///
/// This API reference provides descriptions, syntax, and usage examples for each of the
/// actions and data types for Application Discovery Service. The topic for each action
/// shows the API request parameters and the response. Alternatively, you can use one
/// of the Amazon Web Services SDKs to access an API that is tailored to the programming
/// language or platform that you're using. For more information, see Amazon
/// Web Services SDKs.
///
/// -
///
/// Remember that you must set your Migration Hub home Region before you call any of these
/// APIs.
///
///
-
///
/// You must make API calls for write actions (create, notify, associate, disassociate,
/// import, or put) while in your home Region, or a
HomeRegionNotSetException
/// error is returned.
///
/// -
///
/// API calls for read actions (list, describe, stop, and delete) are permitted outside
/// of your home Region.
///
///
-
///
/// Although it is unlikely, the Migration Hub home Region could change. If you call APIs
/// outside the home Region, an
InvalidInputException
is returned.
///
/// -
///
/// You must call
GetHomeRegion
to obtain the latest Migration Hub home Region.
///
///
///
/// This guide is intended for use with the Amazon
/// Web Services Application Discovery Service User Guide.
///
///
///
/// All data is handled according to the Amazon
/// Web Services Privacy Policy. You can operate Application Discovery Service offline
/// to inspect collected data before it is shared with the service.
///
///
///
public partial class AmazonApplicationDiscoveryServiceClient : AmazonServiceClient, IAmazonApplicationDiscoveryService
{
private static IServiceMetadata serviceMetadata = new AmazonApplicationDiscoveryServiceMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IApplicationDiscoveryServicePaginatorFactory _paginators;
///
/// Paginators for the service
///
public IApplicationDiscoveryServicePaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new ApplicationDiscoveryServicePaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonApplicationDiscoveryServiceClient 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 AmazonApplicationDiscoveryServiceClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonApplicationDiscoveryServiceConfig()) { }
///
/// Constructs AmazonApplicationDiscoveryServiceClient 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 AmazonApplicationDiscoveryServiceClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonApplicationDiscoveryServiceConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonApplicationDiscoveryServiceClient 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 AmazonApplicationDiscoveryServiceClient Configuration Object
public AmazonApplicationDiscoveryServiceClient(AmazonApplicationDiscoveryServiceConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonApplicationDiscoveryServiceClient with AWS Credentials
///
/// AWS Credentials
public AmazonApplicationDiscoveryServiceClient(AWSCredentials credentials)
: this(credentials, new AmazonApplicationDiscoveryServiceConfig())
{
}
///
/// Constructs AmazonApplicationDiscoveryServiceClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonApplicationDiscoveryServiceClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonApplicationDiscoveryServiceConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonApplicationDiscoveryServiceClient with AWS Credentials and an
/// AmazonApplicationDiscoveryServiceClient Configuration object.
///
/// AWS Credentials
/// The AmazonApplicationDiscoveryServiceClient Configuration Object
public AmazonApplicationDiscoveryServiceClient(AWSCredentials credentials, AmazonApplicationDiscoveryServiceConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonApplicationDiscoveryServiceClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonApplicationDiscoveryServiceClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonApplicationDiscoveryServiceConfig())
{
}
///
/// Constructs AmazonApplicationDiscoveryServiceClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonApplicationDiscoveryServiceClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonApplicationDiscoveryServiceConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonApplicationDiscoveryServiceClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonApplicationDiscoveryServiceClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonApplicationDiscoveryServiceClient Configuration Object
public AmazonApplicationDiscoveryServiceClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonApplicationDiscoveryServiceConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonApplicationDiscoveryServiceClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonApplicationDiscoveryServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApplicationDiscoveryServiceConfig())
{
}
///
/// Constructs AmazonApplicationDiscoveryServiceClient 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 AmazonApplicationDiscoveryServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApplicationDiscoveryServiceConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonApplicationDiscoveryServiceClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonApplicationDiscoveryServiceClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonApplicationDiscoveryServiceClient Configuration Object
public AmazonApplicationDiscoveryServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonApplicationDiscoveryServiceConfig 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 AmazonApplicationDiscoveryServiceEndpointResolver());
}
///
/// 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 AssociateConfigurationItemsToApplication
///
/// Associates one or more configuration items with an application.
///
/// Container for the necessary parameters to execute the AssociateConfigurationItemsToApplication service method.
///
/// The response from the AssociateConfigurationItemsToApplication service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for AssociateConfigurationItemsToApplication Operation
public virtual AssociateConfigurationItemsToApplicationResponse AssociateConfigurationItemsToApplication(AssociateConfigurationItemsToApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateConfigurationItemsToApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateConfigurationItemsToApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AssociateConfigurationItemsToApplication operation.
///
///
/// Container for the necessary parameters to execute the AssociateConfigurationItemsToApplication operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndAssociateConfigurationItemsToApplication
/// operation.
/// REST API Reference for AssociateConfigurationItemsToApplication Operation
public virtual IAsyncResult BeginAssociateConfigurationItemsToApplication(AssociateConfigurationItemsToApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateConfigurationItemsToApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateConfigurationItemsToApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociateConfigurationItemsToApplication operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateConfigurationItemsToApplication.
///
/// Returns a AssociateConfigurationItemsToApplicationResult from ApplicationDiscoveryService.
/// REST API Reference for AssociateConfigurationItemsToApplication Operation
public virtual AssociateConfigurationItemsToApplicationResponse EndAssociateConfigurationItemsToApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region BatchDeleteImportData
///
/// Deletes one or more import tasks, each identified by their import ID. Each import
/// task has a number of records that can identify servers or applications.
///
///
///
/// Amazon Web Services Application Discovery Service has built-in matching logic that
/// will identify when discovered servers match existing entries that you've previously
/// discovered, the information for the already-existing discovered server is updated.
/// When you delete an import task that contains records that were used to match, the
/// information in those matched records that comes from the deleted records will also
/// be deleted.
///
///
/// Container for the necessary parameters to execute the BatchDeleteImportData service method.
///
/// The response from the BatchDeleteImportData service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for BatchDeleteImportData Operation
public virtual BatchDeleteImportDataResponse BatchDeleteImportData(BatchDeleteImportDataRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDeleteImportDataRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDeleteImportDataResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the BatchDeleteImportData operation.
///
///
/// Container for the necessary parameters to execute the BatchDeleteImportData operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndBatchDeleteImportData
/// operation.
/// REST API Reference for BatchDeleteImportData Operation
public virtual IAsyncResult BeginBatchDeleteImportData(BatchDeleteImportDataRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDeleteImportDataRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDeleteImportDataResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the BatchDeleteImportData operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchDeleteImportData.
///
/// Returns a BatchDeleteImportDataResult from ApplicationDiscoveryService.
/// REST API Reference for BatchDeleteImportData Operation
public virtual BatchDeleteImportDataResponse EndBatchDeleteImportData(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateApplication
///
/// Creates an application with the given name and description.
///
/// Container for the necessary parameters to execute the CreateApplication service method.
///
/// The response from the CreateApplication service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The server experienced an internal error. Try again.
///
/// 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 AmazonApplicationDiscoveryServiceClient.
/// 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 ApplicationDiscoveryService.
/// REST API Reference for CreateApplication Operation
public virtual CreateApplicationResponse EndCreateApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateTags
///
/// Creates one or more tags for configuration items. Tags are metadata that help you
/// categorize IT assets. This API accepts a list of multiple configuration items.
///
///
///
/// Do not store sensitive information (like personal data) in tags.
///
///
///
/// Container for the necessary parameters to execute the CreateTags service method.
///
/// The response from the CreateTags service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The specified configuration ID was not located. Verify the configuration ID and try
/// again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for CreateTags Operation
public virtual CreateTagsResponse CreateTags(CreateTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTagsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateTags operation.
///
///
/// Container for the necessary parameters to execute the CreateTags operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndCreateTags
/// operation.
/// REST API Reference for CreateTags Operation
public virtual IAsyncResult BeginCreateTags(CreateTagsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTagsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateTags operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateTags.
///
/// Returns a CreateTagsResult from ApplicationDiscoveryService.
/// REST API Reference for CreateTags Operation
public virtual CreateTagsResponse EndCreateTags(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteApplications
///
/// Deletes a list of applications and their associations with configuration items.
///
/// Container for the necessary parameters to execute the DeleteApplications service method.
///
/// The response from the DeleteApplications service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for DeleteApplications Operation
public virtual DeleteApplicationsResponse DeleteApplications(DeleteApplicationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteApplications operation.
///
///
/// Container for the necessary parameters to execute the DeleteApplications operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndDeleteApplications
/// operation.
/// REST API Reference for DeleteApplications Operation
public virtual IAsyncResult BeginDeleteApplications(DeleteApplicationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteApplications operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteApplications.
///
/// Returns a DeleteApplicationsResult from ApplicationDiscoveryService.
/// REST API Reference for DeleteApplications Operation
public virtual DeleteApplicationsResponse EndDeleteApplications(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteTags
///
/// Deletes the association between configuration items and one or more tags. This API
/// accepts a list of multiple configuration items.
///
/// Container for the necessary parameters to execute the DeleteTags service method.
///
/// The response from the DeleteTags service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The specified configuration ID was not located. Verify the configuration ID and try
/// again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for DeleteTags Operation
public virtual DeleteTagsResponse DeleteTags(DeleteTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTagsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteTags operation.
///
///
/// Container for the necessary parameters to execute the DeleteTags operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndDeleteTags
/// operation.
/// REST API Reference for DeleteTags Operation
public virtual IAsyncResult BeginDeleteTags(DeleteTagsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTagsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteTags operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteTags.
///
/// Returns a DeleteTagsResult from ApplicationDiscoveryService.
/// REST API Reference for DeleteTags Operation
public virtual DeleteTagsResponse EndDeleteTags(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAgents
///
/// Lists agents or collectors as specified by ID or other filters. All agents/collectors
/// associated with your user can be listed if you call DescribeAgents
as
/// is without passing any parameters.
///
/// Container for the necessary parameters to execute the DescribeAgents service method.
///
/// The response from the DescribeAgents service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for DescribeAgents Operation
public virtual DescribeAgentsResponse DescribeAgents(DescribeAgentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAgentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAgentsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAgents operation.
///
///
/// Container for the necessary parameters to execute the DescribeAgents operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndDescribeAgents
/// operation.
/// REST API Reference for DescribeAgents Operation
public virtual IAsyncResult BeginDescribeAgents(DescribeAgentsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAgentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAgentsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAgents operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAgents.
///
/// Returns a DescribeAgentsResult from ApplicationDiscoveryService.
/// REST API Reference for DescribeAgents Operation
public virtual DescribeAgentsResponse EndDescribeAgents(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeConfigurations
///
/// Retrieves attributes for a list of configuration item IDs.
///
///
///
/// All of the supplied IDs must be for the same asset type from one of the following:
///
/// -
///
/// server
///
///
-
///
/// application
///
///
-
///
/// process
///
///
-
///
/// connection
///
///
///
/// Output fields are specific to the asset type specified. For example, the output for
/// a server configuration item includes a list of attributes about the server,
/// such as host name, operating system, number of network cards, etc.
///
///
///
/// For a complete list of outputs for each asset type, see Using
/// the DescribeConfigurations Action in the Amazon Web Services Application Discovery
/// Service User Guide.
///
///
///
/// Container for the necessary parameters to execute the DescribeConfigurations service method.
///
/// The response from the DescribeConfigurations service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for DescribeConfigurations Operation
public virtual DescribeConfigurationsResponse DescribeConfigurations(DescribeConfigurationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeConfigurationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeConfigurations operation.
///
///
/// Container for the necessary parameters to execute the DescribeConfigurations operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndDescribeConfigurations
/// operation.
/// REST API Reference for DescribeConfigurations Operation
public virtual IAsyncResult BeginDescribeConfigurations(DescribeConfigurationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeConfigurationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeConfigurations operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeConfigurations.
///
/// Returns a DescribeConfigurationsResult from ApplicationDiscoveryService.
/// REST API Reference for DescribeConfigurations Operation
public virtual DescribeConfigurationsResponse EndDescribeConfigurations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeContinuousExports
///
/// Lists exports as specified by ID. All continuous exports associated with your user
/// can be listed if you call DescribeContinuousExports
as is without passing
/// any parameters.
///
/// Container for the necessary parameters to execute the DescribeContinuousExports service method.
///
/// The response from the DescribeContinuousExports service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// This operation is not permitted.
///
///
/// The specified configuration ID was not located. Verify the configuration ID and try
/// again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for DescribeContinuousExports Operation
public virtual DescribeContinuousExportsResponse DescribeContinuousExports(DescribeContinuousExportsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeContinuousExportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeContinuousExportsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeContinuousExports operation.
///
///
/// Container for the necessary parameters to execute the DescribeContinuousExports operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndDescribeContinuousExports
/// operation.
/// REST API Reference for DescribeContinuousExports Operation
public virtual IAsyncResult BeginDescribeContinuousExports(DescribeContinuousExportsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeContinuousExportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeContinuousExportsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeContinuousExports operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeContinuousExports.
///
/// Returns a DescribeContinuousExportsResult from ApplicationDiscoveryService.
/// REST API Reference for DescribeContinuousExports Operation
public virtual DescribeContinuousExportsResponse EndDescribeContinuousExports(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeExportConfigurations
///
/// DescribeExportConfigurations
is deprecated. Use DescribeExportTasks,
/// instead.
///
/// Container for the necessary parameters to execute the DescribeExportConfigurations service method.
///
/// The response from the DescribeExportConfigurations service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The specified configuration ID was not located. Verify the configuration ID and try
/// again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for DescribeExportConfigurations Operation
[Obsolete("Deprecated in favor of DescribeExportTasks.")]
public virtual DescribeExportConfigurationsResponse DescribeExportConfigurations(DescribeExportConfigurationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeExportConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeExportConfigurationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeExportConfigurations operation.
///
///
/// Container for the necessary parameters to execute the DescribeExportConfigurations operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndDescribeExportConfigurations
/// operation.
/// REST API Reference for DescribeExportConfigurations Operation
[Obsolete("Deprecated in favor of DescribeExportTasks.")]
public virtual IAsyncResult BeginDescribeExportConfigurations(DescribeExportConfigurationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeExportConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeExportConfigurationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeExportConfigurations operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeExportConfigurations.
///
/// Returns a DescribeExportConfigurationsResult from ApplicationDiscoveryService.
/// REST API Reference for DescribeExportConfigurations Operation
[Obsolete("Deprecated in favor of DescribeExportTasks.")]
public virtual DescribeExportConfigurationsResponse EndDescribeExportConfigurations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeExportTasks
///
/// Retrieve status of one or more export tasks. You can retrieve the status of up to
/// 100 export tasks.
///
/// Container for the necessary parameters to execute the DescribeExportTasks service method.
///
/// The response from the DescribeExportTasks service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for DescribeExportTasks Operation
public virtual DescribeExportTasksResponse DescribeExportTasks(DescribeExportTasksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeExportTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeExportTasksResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeExportTasks operation.
///
///
/// Container for the necessary parameters to execute the DescribeExportTasks operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndDescribeExportTasks
/// operation.
/// REST API Reference for DescribeExportTasks Operation
public virtual IAsyncResult BeginDescribeExportTasks(DescribeExportTasksRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeExportTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeExportTasksResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeExportTasks operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeExportTasks.
///
/// Returns a DescribeExportTasksResult from ApplicationDiscoveryService.
/// REST API Reference for DescribeExportTasks Operation
public virtual DescribeExportTasksResponse EndDescribeExportTasks(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeImportTasks
///
/// Returns an array of import tasks for your account, including status information, times,
/// IDs, the Amazon S3 Object URL for the import file, and more.
///
/// Container for the necessary parameters to execute the DescribeImportTasks service method.
///
/// The response from the DescribeImportTasks service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for DescribeImportTasks Operation
public virtual DescribeImportTasksResponse DescribeImportTasks(DescribeImportTasksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeImportTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeImportTasksResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeImportTasks operation.
///
///
/// Container for the necessary parameters to execute the DescribeImportTasks operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndDescribeImportTasks
/// operation.
/// REST API Reference for DescribeImportTasks Operation
public virtual IAsyncResult BeginDescribeImportTasks(DescribeImportTasksRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeImportTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeImportTasksResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeImportTasks operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeImportTasks.
///
/// Returns a DescribeImportTasksResult from ApplicationDiscoveryService.
/// REST API Reference for DescribeImportTasks Operation
public virtual DescribeImportTasksResponse EndDescribeImportTasks(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeTags
///
/// Retrieves a list of configuration items that have tags as specified by the key-value
/// pairs, name and value, passed to the optional parameter filters
.
///
///
///
/// There are three valid tag filter names:
///
/// -
///
/// tagKey
///
///
-
///
/// tagValue
///
///
-
///
/// configurationId
///
///
///
/// Also, all configuration items associated with your user that have tags can be listed
/// if you call DescribeTags
as is without passing any parameters.
///
///
/// Container for the necessary parameters to execute the DescribeTags service method.
///
/// The response from the DescribeTags service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The specified configuration ID was not located. Verify the configuration ID and try
/// again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for DescribeTags Operation
public virtual DescribeTagsResponse DescribeTags(DescribeTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTagsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeTags operation.
///
///
/// Container for the necessary parameters to execute the DescribeTags operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndDescribeTags
/// operation.
/// REST API Reference for DescribeTags Operation
public virtual IAsyncResult BeginDescribeTags(DescribeTagsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTagsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeTags operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeTags.
///
/// Returns a DescribeTagsResult from ApplicationDiscoveryService.
/// REST API Reference for DescribeTags Operation
public virtual DescribeTagsResponse EndDescribeTags(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DisassociateConfigurationItemsFromApplication
///
/// Disassociates one or more configuration items from an application.
///
/// Container for the necessary parameters to execute the DisassociateConfigurationItemsFromApplication service method.
///
/// The response from the DisassociateConfigurationItemsFromApplication service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for DisassociateConfigurationItemsFromApplication Operation
public virtual DisassociateConfigurationItemsFromApplicationResponse DisassociateConfigurationItemsFromApplication(DisassociateConfigurationItemsFromApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateConfigurationItemsFromApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateConfigurationItemsFromApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DisassociateConfigurationItemsFromApplication operation.
///
///
/// Container for the necessary parameters to execute the DisassociateConfigurationItemsFromApplication operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndDisassociateConfigurationItemsFromApplication
/// operation.
/// REST API Reference for DisassociateConfigurationItemsFromApplication Operation
public virtual IAsyncResult BeginDisassociateConfigurationItemsFromApplication(DisassociateConfigurationItemsFromApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateConfigurationItemsFromApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateConfigurationItemsFromApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisassociateConfigurationItemsFromApplication operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociateConfigurationItemsFromApplication.
///
/// Returns a DisassociateConfigurationItemsFromApplicationResult from ApplicationDiscoveryService.
/// REST API Reference for DisassociateConfigurationItemsFromApplication Operation
public virtual DisassociateConfigurationItemsFromApplicationResponse EndDisassociateConfigurationItemsFromApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ExportConfigurations
///
/// Deprecated. Use StartExportTask
instead.
///
///
///
/// Exports all discovered configuration data to an Amazon S3 bucket or an application
/// that enables you to view and evaluate the data. Data includes tags and tag associations,
/// processes, connections, servers, and system performance. This API returns an export
/// ID that you can query using the DescribeExportConfigurations API. The system
/// imposes a limit of two configuration exports in six hours.
///
///
/// Container for the necessary parameters to execute the ExportConfigurations service method.
///
/// The response from the ExportConfigurations service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// This operation is not permitted.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for ExportConfigurations Operation
[Obsolete("Deprecated in favor of StartExportTask.")]
public virtual ExportConfigurationsResponse ExportConfigurations(ExportConfigurationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportConfigurationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ExportConfigurations operation.
///
///
/// Container for the necessary parameters to execute the ExportConfigurations operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndExportConfigurations
/// operation.
/// REST API Reference for ExportConfigurations Operation
[Obsolete("Deprecated in favor of StartExportTask.")]
public virtual IAsyncResult BeginExportConfigurations(ExportConfigurationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportConfigurationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ExportConfigurations operation.
///
///
/// The IAsyncResult returned by the call to BeginExportConfigurations.
///
/// Returns a ExportConfigurationsResult from ApplicationDiscoveryService.
/// REST API Reference for ExportConfigurations Operation
[Obsolete("Deprecated in favor of StartExportTask.")]
public virtual ExportConfigurationsResponse EndExportConfigurations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetDiscoverySummary
///
/// Retrieves a short summary of discovered assets.
///
///
///
/// This API operation takes no request parameters and is called as is at the command
/// prompt as shown in the example.
///
///
/// Container for the necessary parameters to execute the GetDiscoverySummary service method.
///
/// The response from the GetDiscoverySummary service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for GetDiscoverySummary Operation
public virtual GetDiscoverySummaryResponse GetDiscoverySummary(GetDiscoverySummaryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDiscoverySummaryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDiscoverySummaryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetDiscoverySummary operation.
///
///
/// Container for the necessary parameters to execute the GetDiscoverySummary operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndGetDiscoverySummary
/// operation.
/// REST API Reference for GetDiscoverySummary Operation
public virtual IAsyncResult BeginGetDiscoverySummary(GetDiscoverySummaryRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDiscoverySummaryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDiscoverySummaryResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetDiscoverySummary operation.
///
///
/// The IAsyncResult returned by the call to BeginGetDiscoverySummary.
///
/// Returns a GetDiscoverySummaryResult from ApplicationDiscoveryService.
/// REST API Reference for GetDiscoverySummary Operation
public virtual GetDiscoverySummaryResponse EndGetDiscoverySummary(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListConfigurations
///
/// Retrieves a list of configuration items as specified by the value passed to the required
/// parameter configurationType
. Optional filtering may be applied to refine
/// search results.
///
/// Container for the necessary parameters to execute the ListConfigurations service method.
///
/// The response from the ListConfigurations service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The specified configuration ID was not located. Verify the configuration ID and try
/// again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for ListConfigurations Operation
public virtual ListConfigurationsResponse ListConfigurations(ListConfigurationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfigurationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListConfigurations operation.
///
///
/// Container for the necessary parameters to execute the ListConfigurations operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndListConfigurations
/// operation.
/// REST API Reference for ListConfigurations Operation
public virtual IAsyncResult BeginListConfigurations(ListConfigurationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfigurationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListConfigurations operation.
///
///
/// The IAsyncResult returned by the call to BeginListConfigurations.
///
/// Returns a ListConfigurationsResult from ApplicationDiscoveryService.
/// REST API Reference for ListConfigurations Operation
public virtual ListConfigurationsResponse EndListConfigurations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListServerNeighbors
///
/// Retrieves a list of servers that are one network hop away from a specified server.
///
/// Container for the necessary parameters to execute the ListServerNeighbors service method.
///
/// The response from the ListServerNeighbors service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for ListServerNeighbors Operation
public virtual ListServerNeighborsResponse ListServerNeighbors(ListServerNeighborsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListServerNeighborsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListServerNeighborsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListServerNeighbors operation.
///
///
/// Container for the necessary parameters to execute the ListServerNeighbors operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndListServerNeighbors
/// operation.
/// REST API Reference for ListServerNeighbors Operation
public virtual IAsyncResult BeginListServerNeighbors(ListServerNeighborsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListServerNeighborsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListServerNeighborsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListServerNeighbors operation.
///
///
/// The IAsyncResult returned by the call to BeginListServerNeighbors.
///
/// Returns a ListServerNeighborsResult from ApplicationDiscoveryService.
/// REST API Reference for ListServerNeighbors Operation
public virtual ListServerNeighborsResponse EndListServerNeighbors(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartContinuousExport
///
/// Start the continuous flow of agent's discovered data into Amazon Athena.
///
/// Container for the necessary parameters to execute the StartContinuousExport service method.
///
/// The response from the StartContinuousExport service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
///
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// This operation is not permitted.
///
///
/// This issue occurs when the same clientRequestToken
is used with the StartImportTask
/// action, but with different parameters. For example, you use the same request token
/// but have two different import URLs, you can encounter this issue. If the import tasks
/// are meant to be different, use a different clientRequestToken
, and try
/// again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for StartContinuousExport Operation
public virtual StartContinuousExportResponse StartContinuousExport(StartContinuousExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartContinuousExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartContinuousExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartContinuousExport operation.
///
///
/// Container for the necessary parameters to execute the StartContinuousExport operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndStartContinuousExport
/// operation.
/// REST API Reference for StartContinuousExport Operation
public virtual IAsyncResult BeginStartContinuousExport(StartContinuousExportRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartContinuousExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartContinuousExportResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartContinuousExport operation.
///
///
/// The IAsyncResult returned by the call to BeginStartContinuousExport.
///
/// Returns a StartContinuousExportResult from ApplicationDiscoveryService.
/// REST API Reference for StartContinuousExport Operation
public virtual StartContinuousExportResponse EndStartContinuousExport(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartDataCollectionByAgentIds
///
/// Instructs the specified agents to start collecting data.
///
/// Container for the necessary parameters to execute the StartDataCollectionByAgentIds service method.
///
/// The response from the StartDataCollectionByAgentIds service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for StartDataCollectionByAgentIds Operation
public virtual StartDataCollectionByAgentIdsResponse StartDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDataCollectionByAgentIdsRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDataCollectionByAgentIdsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartDataCollectionByAgentIds operation.
///
///
/// Container for the necessary parameters to execute the StartDataCollectionByAgentIds operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndStartDataCollectionByAgentIds
/// operation.
/// REST API Reference for StartDataCollectionByAgentIds Operation
public virtual IAsyncResult BeginStartDataCollectionByAgentIds(StartDataCollectionByAgentIdsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartDataCollectionByAgentIdsRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartDataCollectionByAgentIdsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartDataCollectionByAgentIds operation.
///
///
/// The IAsyncResult returned by the call to BeginStartDataCollectionByAgentIds.
///
/// Returns a StartDataCollectionByAgentIdsResult from ApplicationDiscoveryService.
/// REST API Reference for StartDataCollectionByAgentIds Operation
public virtual StartDataCollectionByAgentIdsResponse EndStartDataCollectionByAgentIds(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartExportTask
///
/// Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon
/// Web Services.
///
///
///
/// Exports might provide an estimate of fees and savings based on certain information
/// that you provide. Fee estimates do not include any taxes that might apply. Your actual
/// fees and savings depend on a variety of factors, including your actual usage of Amazon
/// Web Services services, which might vary from the estimates provided in this report.
///
///
///
/// If you do not specify preferences
or agentIds
in the filter,
/// a summary of all servers, applications, tags, and performance is generated. This data
/// is an aggregation of all server data collected through on-premises tooling, file import,
/// application grouping and applying tags.
///
///
///
/// If you specify agentIds
in a filter, the task exports up to 72 hours
/// of detailed data collected by the identified Application Discovery Agent, including
/// network, process, and performance details. A time range for exported agent data may
/// be set by using startTime
and endTime
. Export of detailed
/// agent data is limited to five concurrently running exports. Export of detailed agent
/// data is limited to two exports per day.
///
///
///
/// If you enable ec2RecommendationsPreferences
in preferences
/// , an Amazon EC2 instance matching the characteristics of each server in Application
/// Discovery Service is generated. Changing the attributes of the ec2RecommendationsPreferences
/// changes the criteria of the recommendation.
///
///
/// Container for the necessary parameters to execute the StartExportTask service method.
///
/// The response from the StartExportTask service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// This operation is not permitted.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for StartExportTask Operation
public virtual StartExportTaskResponse StartExportTask(StartExportTaskRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartExportTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartExportTaskResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartExportTask operation.
///
///
/// Container for the necessary parameters to execute the StartExportTask operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndStartExportTask
/// operation.
/// REST API Reference for StartExportTask Operation
public virtual IAsyncResult BeginStartExportTask(StartExportTaskRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartExportTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartExportTaskResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartExportTask operation.
///
///
/// The IAsyncResult returned by the call to BeginStartExportTask.
///
/// Returns a StartExportTaskResult from ApplicationDiscoveryService.
/// REST API Reference for StartExportTask Operation
public virtual StartExportTaskResponse EndStartExportTask(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartImportTask
///
/// Starts an import task, which allows you to import details of your on-premises environment
/// directly into Amazon Web Services Migration Hub without having to use the Amazon Web
/// Services Application Discovery Service (Application Discovery Service) tools such
/// as the Amazon Web Services Application Discovery Service Agentless Collector or Application
/// Discovery Agent. This gives you the option to perform migration assessment and planning
/// directly from your imported data, including the ability to group your devices as applications
/// and track their migration status.
///
///
///
/// To start an import request, do this:
///
/// -
///
/// Download the specially formatted comma separated value (CSV) import template, which
/// you can find here: https://s3.us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv.
///
///
-
///
/// Fill out the template with your server and application data.
///
///
-
///
/// Upload your import file to an Amazon S3 bucket, and make a note of it's Object URL.
/// Your import file must be in the CSV format.
///
///
-
///
/// Use the console or the
StartImportTask
command with the Amazon Web Services
/// CLI or one of the Amazon Web Services SDKs to import the records from your file.
///
///
///
/// For more information, including step-by-step procedures, see Migration
/// Hub Import in the Amazon Web Services Application Discovery Service User Guide.
///
///
///
/// There are limits to the number of import tasks you can create (and delete) in an Amazon
/// Web Services account. For more information, see Amazon
/// Web Services Application Discovery Service Limits in the Amazon Web Services
/// Application Discovery Service User Guide.
///
///
///
/// Container for the necessary parameters to execute the StartImportTask service method.
///
/// The response from the StartImportTask service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// This issue occurs when the same clientRequestToken
is used with the StartImportTask
/// action, but with different parameters. For example, you use the same request token
/// but have two different import URLs, you can encounter this issue. If the import tasks
/// are meant to be different, use a different clientRequestToken
, and try
/// again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for StartImportTask Operation
public virtual StartImportTaskResponse StartImportTask(StartImportTaskRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartImportTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartImportTaskResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartImportTask operation.
///
///
/// Container for the necessary parameters to execute the StartImportTask operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndStartImportTask
/// operation.
/// REST API Reference for StartImportTask Operation
public virtual IAsyncResult BeginStartImportTask(StartImportTaskRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartImportTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartImportTaskResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartImportTask operation.
///
///
/// The IAsyncResult returned by the call to BeginStartImportTask.
///
/// Returns a StartImportTaskResult from ApplicationDiscoveryService.
/// REST API Reference for StartImportTask Operation
public virtual StartImportTaskResponse EndStartImportTask(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StopContinuousExport
///
/// Stop the continuous flow of agent's discovered data into Amazon Athena.
///
/// Container for the necessary parameters to execute the StopContinuousExport service method.
///
/// The response from the StopContinuousExport service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// This operation is not permitted.
///
///
/// This issue occurs when the same clientRequestToken
is used with the StartImportTask
/// action, but with different parameters. For example, you use the same request token
/// but have two different import URLs, you can encounter this issue. If the import tasks
/// are meant to be different, use a different clientRequestToken
, and try
/// again.
///
///
/// The specified configuration ID was not located. Verify the configuration ID and try
/// again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for StopContinuousExport Operation
public virtual StopContinuousExportResponse StopContinuousExport(StopContinuousExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopContinuousExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopContinuousExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StopContinuousExport operation.
///
///
/// Container for the necessary parameters to execute the StopContinuousExport operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndStopContinuousExport
/// operation.
/// REST API Reference for StopContinuousExport Operation
public virtual IAsyncResult BeginStopContinuousExport(StopContinuousExportRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopContinuousExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopContinuousExportResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StopContinuousExport operation.
///
///
/// The IAsyncResult returned by the call to BeginStopContinuousExport.
///
/// Returns a StopContinuousExportResult from ApplicationDiscoveryService.
/// REST API Reference for StopContinuousExport Operation
public virtual StopContinuousExportResponse EndStopContinuousExport(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StopDataCollectionByAgentIds
///
/// Instructs the specified agents to stop collecting data.
///
/// Container for the necessary parameters to execute the StopDataCollectionByAgentIds service method.
///
/// The response from the StopDataCollectionByAgentIds service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The server experienced an internal error. Try again.
///
/// REST API Reference for StopDataCollectionByAgentIds Operation
public virtual StopDataCollectionByAgentIdsResponse StopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopDataCollectionByAgentIdsRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopDataCollectionByAgentIdsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StopDataCollectionByAgentIds operation.
///
///
/// Container for the necessary parameters to execute the StopDataCollectionByAgentIds operation on AmazonApplicationDiscoveryServiceClient.
/// 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 EndStopDataCollectionByAgentIds
/// operation.
/// REST API Reference for StopDataCollectionByAgentIds Operation
public virtual IAsyncResult BeginStopDataCollectionByAgentIds(StopDataCollectionByAgentIdsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopDataCollectionByAgentIdsRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopDataCollectionByAgentIdsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StopDataCollectionByAgentIds operation.
///
///
/// The IAsyncResult returned by the call to BeginStopDataCollectionByAgentIds.
///
/// Returns a StopDataCollectionByAgentIdsResult from ApplicationDiscoveryService.
/// REST API Reference for StopDataCollectionByAgentIds Operation
public virtual StopDataCollectionByAgentIdsResponse EndStopDataCollectionByAgentIds(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateApplication
///
/// Updates metadata about an application.
///
/// Container for the necessary parameters to execute the UpdateApplication service method.
///
/// The response from the UpdateApplication service method, as returned by ApplicationDiscoveryService.
///
/// The user does not have permission to perform the action. Check the IAM policy associated
/// with this user.
///
///
/// The home Region is not set. Set the home Region to continue.
///
///
/// One or more parameters are not valid. Verify the parameters and try again.
///
///
/// The value of one or more parameters are either invalid or out of range. Verify the
/// parameter values and try again.
///
///
/// The server experienced an internal error. Try again.
///
/// 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 AmazonApplicationDiscoveryServiceClient.
/// 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 ApplicationDiscoveryService.
/// REST API Reference for UpdateApplication Operation
public virtual UpdateApplicationResponse EndUpdateApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}