repo_name
stringlengths
1
52
repo_creator
stringclasses
6 values
programming_language
stringclasses
4 values
code
stringlengths
0
9.68M
num_lines
int64
1
234k
aws-sdk-net
aws
C#
/* * 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 applicationcostprofiler-2020-09-10.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.ApplicationCostProfiler.Model; using Amazon.ApplicationCostProfiler.Model.Internal.MarshallTransformations; using Amazon.ApplicationCostProfiler.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ApplicationCostProfiler { /// <summary> /// Implementation for accessing ApplicationCostProfiler /// /// This reference provides descriptions of the AWS Application Cost Profiler API. /// /// /// <para> /// The AWS Application Cost Profiler API provides programmatic access to view, create, /// update, and delete application cost report definitions, as well as to import your /// usage data into the Application Cost Profiler service. /// </para> /// /// <para> /// For more information about using this service, see the <a href="https://docs.aws.amazon.com/application-cost-profiler/latest/userguide/introduction.html">AWS /// Application Cost Profiler User Guide</a>. /// </para> /// </summary> public partial class AmazonApplicationCostProfilerClient : AmazonServiceClient, IAmazonApplicationCostProfiler { private static IServiceMetadata serviceMetadata = new AmazonApplicationCostProfilerMetadata(); #region Constructors /// <summary> /// Constructs AmazonApplicationCostProfilerClient 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. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonApplicationCostProfilerClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonApplicationCostProfilerConfig()) { } /// <summary> /// Constructs AmazonApplicationCostProfilerClient 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. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonApplicationCostProfilerClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonApplicationCostProfilerConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonApplicationCostProfilerClient 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. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonApplicationCostProfilerClient Configuration Object</param> public AmazonApplicationCostProfilerClient(AmazonApplicationCostProfilerConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonApplicationCostProfilerClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonApplicationCostProfilerClient(AWSCredentials credentials) : this(credentials, new AmazonApplicationCostProfilerConfig()) { } /// <summary> /// Constructs AmazonApplicationCostProfilerClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonApplicationCostProfilerClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonApplicationCostProfilerConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonApplicationCostProfilerClient with AWS Credentials and an /// AmazonApplicationCostProfilerClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonApplicationCostProfilerClient Configuration Object</param> public AmazonApplicationCostProfilerClient(AWSCredentials credentials, AmazonApplicationCostProfilerConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonApplicationCostProfilerClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> public AmazonApplicationCostProfilerClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonApplicationCostProfilerConfig()) { } /// <summary> /// Constructs AmazonApplicationCostProfilerClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="region">The region to connect.</param> public AmazonApplicationCostProfilerClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonApplicationCostProfilerConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonApplicationCostProfilerClient with AWS Access Key ID, AWS Secret Key and an /// AmazonApplicationCostProfilerClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonApplicationCostProfilerClient Configuration Object</param> public AmazonApplicationCostProfilerClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonApplicationCostProfilerConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonApplicationCostProfilerClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> public AmazonApplicationCostProfilerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApplicationCostProfilerConfig()) { } /// <summary> /// Constructs AmazonApplicationCostProfilerClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="region">The region to connect.</param> public AmazonApplicationCostProfilerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonApplicationCostProfilerConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonApplicationCostProfilerClient with AWS Access Key ID, AWS Secret Key and an /// AmazonApplicationCostProfilerClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="clientConfig">The AmazonApplicationCostProfilerClient Configuration Object</param> public AmazonApplicationCostProfilerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonApplicationCostProfilerConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IApplicationCostProfilerPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IApplicationCostProfilerPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new ApplicationCostProfilerPaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// <summary> /// Creates the signer for the service. /// </summary> protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// <summary> /// Customizes the runtime pipeline. /// </summary> /// <param name="pipeline">Runtime pipeline for the current client.</param> protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>(); pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonApplicationCostProfilerEndpointResolver()); } /// <summary> /// Capture metadata for the service. /// </summary> protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// <summary> /// Disposes the service client. /// </summary> protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region DeleteReportDefinition internal virtual DeleteReportDefinitionResponse DeleteReportDefinition(DeleteReportDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReportDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReportDefinitionResponseUnmarshaller.Instance; return Invoke<DeleteReportDefinitionResponse>(request, options); } /// <summary> /// Deletes the specified report definition in AWS Application Cost Profiler. This stops /// the report from being generated. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteReportDefinition service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteReportDefinition service method, as returned by ApplicationCostProfiler.</returns> /// <exception cref="Amazon.ApplicationCostProfiler.Model.AccessDeniedException"> /// You do not have permission to perform this action. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.InternalServerException"> /// An internal server error occurred. Retry your request. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ThrottlingException"> /// The calls to AWS Application Cost Profiler API are throttled. The request was denied. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ValidationException"> /// The input fails to satisfy the constraints for the API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/DeleteReportDefinition">REST API Reference for DeleteReportDefinition Operation</seealso> public virtual Task<DeleteReportDefinitionResponse> DeleteReportDefinitionAsync(DeleteReportDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReportDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReportDefinitionResponseUnmarshaller.Instance; return InvokeAsync<DeleteReportDefinitionResponse>(request, options, cancellationToken); } #endregion #region GetReportDefinition internal virtual GetReportDefinitionResponse GetReportDefinition(GetReportDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetReportDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetReportDefinitionResponseUnmarshaller.Instance; return Invoke<GetReportDefinitionResponse>(request, options); } /// <summary> /// Retrieves the definition of a report already configured in AWS Application Cost Profiler. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetReportDefinition service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetReportDefinition service method, as returned by ApplicationCostProfiler.</returns> /// <exception cref="Amazon.ApplicationCostProfiler.Model.AccessDeniedException"> /// You do not have permission to perform this action. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.InternalServerException"> /// An internal server error occurred. Retry your request. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ThrottlingException"> /// The calls to AWS Application Cost Profiler API are throttled. The request was denied. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ValidationException"> /// The input fails to satisfy the constraints for the API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/GetReportDefinition">REST API Reference for GetReportDefinition Operation</seealso> public virtual Task<GetReportDefinitionResponse> GetReportDefinitionAsync(GetReportDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetReportDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetReportDefinitionResponseUnmarshaller.Instance; return InvokeAsync<GetReportDefinitionResponse>(request, options, cancellationToken); } #endregion #region ImportApplicationUsage internal virtual ImportApplicationUsageResponse ImportApplicationUsage(ImportApplicationUsageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportApplicationUsageRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportApplicationUsageResponseUnmarshaller.Instance; return Invoke<ImportApplicationUsageResponse>(request, options); } /// <summary> /// Ingests application usage data from Amazon Simple Storage Service (Amazon S3). /// /// /// <para> /// The data must already exist in the S3 location. As part of the action, AWS Application /// Cost Profiler copies the object from your S3 bucket to an S3 bucket owned by Amazon /// for processing asynchronously. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportApplicationUsage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ImportApplicationUsage service method, as returned by ApplicationCostProfiler.</returns> /// <exception cref="Amazon.ApplicationCostProfiler.Model.AccessDeniedException"> /// You do not have permission to perform this action. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.InternalServerException"> /// An internal server error occurred. Retry your request. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ThrottlingException"> /// The calls to AWS Application Cost Profiler API are throttled. The request was denied. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ValidationException"> /// The input fails to satisfy the constraints for the API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/ImportApplicationUsage">REST API Reference for ImportApplicationUsage Operation</seealso> public virtual Task<ImportApplicationUsageResponse> ImportApplicationUsageAsync(ImportApplicationUsageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportApplicationUsageRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportApplicationUsageResponseUnmarshaller.Instance; return InvokeAsync<ImportApplicationUsageResponse>(request, options, cancellationToken); } #endregion #region ListReportDefinitions internal virtual ListReportDefinitionsResponse ListReportDefinitions(ListReportDefinitionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListReportDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReportDefinitionsResponseUnmarshaller.Instance; return Invoke<ListReportDefinitionsResponse>(request, options); } /// <summary> /// Retrieves a list of all reports and their configurations for your AWS account. /// /// /// <para> /// The maximum number of reports is one. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListReportDefinitions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListReportDefinitions service method, as returned by ApplicationCostProfiler.</returns> /// <exception cref="Amazon.ApplicationCostProfiler.Model.AccessDeniedException"> /// You do not have permission to perform this action. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.InternalServerException"> /// An internal server error occurred. Retry your request. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ThrottlingException"> /// The calls to AWS Application Cost Profiler API are throttled. The request was denied. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ValidationException"> /// The input fails to satisfy the constraints for the API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/ListReportDefinitions">REST API Reference for ListReportDefinitions Operation</seealso> public virtual Task<ListReportDefinitionsResponse> ListReportDefinitionsAsync(ListReportDefinitionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListReportDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReportDefinitionsResponseUnmarshaller.Instance; return InvokeAsync<ListReportDefinitionsResponse>(request, options, cancellationToken); } #endregion #region PutReportDefinition internal virtual PutReportDefinitionResponse PutReportDefinition(PutReportDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutReportDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = PutReportDefinitionResponseUnmarshaller.Instance; return Invoke<PutReportDefinitionResponse>(request, options); } /// <summary> /// Creates the report definition for a report in Application Cost Profiler. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutReportDefinition service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutReportDefinition service method, as returned by ApplicationCostProfiler.</returns> /// <exception cref="Amazon.ApplicationCostProfiler.Model.AccessDeniedException"> /// You do not have permission to perform this action. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.InternalServerException"> /// An internal server error occurred. Retry your request. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ServiceQuotaExceededException"> /// Your request exceeds one or more of the service quotas. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ThrottlingException"> /// The calls to AWS Application Cost Profiler API are throttled. The request was denied. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ValidationException"> /// The input fails to satisfy the constraints for the API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/PutReportDefinition">REST API Reference for PutReportDefinition Operation</seealso> public virtual Task<PutReportDefinitionResponse> PutReportDefinitionAsync(PutReportDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutReportDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = PutReportDefinitionResponseUnmarshaller.Instance; return InvokeAsync<PutReportDefinitionResponse>(request, options, cancellationToken); } #endregion #region UpdateReportDefinition internal virtual UpdateReportDefinitionResponse UpdateReportDefinition(UpdateReportDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateReportDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateReportDefinitionResponseUnmarshaller.Instance; return Invoke<UpdateReportDefinitionResponse>(request, options); } /// <summary> /// Updates existing report in AWS Application Cost Profiler. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateReportDefinition service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateReportDefinition service method, as returned by ApplicationCostProfiler.</returns> /// <exception cref="Amazon.ApplicationCostProfiler.Model.AccessDeniedException"> /// You do not have permission to perform this action. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.InternalServerException"> /// An internal server error occurred. Retry your request. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ThrottlingException"> /// The calls to AWS Application Cost Profiler API are throttled. The request was denied. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ValidationException"> /// The input fails to satisfy the constraints for the API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/UpdateReportDefinition">REST API Reference for UpdateReportDefinition Operation</seealso> public virtual Task<UpdateReportDefinitionResponse> UpdateReportDefinitionAsync(UpdateReportDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateReportDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateReportDefinitionResponseUnmarshaller.Instance; return InvokeAsync<UpdateReportDefinitionResponse>(request, options, cancellationToken); } #endregion } }
575
aws-sdk-net
aws
C#
/* * 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 applicationcostprofiler-2020-09-10.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ApplicationCostProfiler.Model; namespace Amazon.ApplicationCostProfiler { /// <summary> /// Interface for accessing ApplicationCostProfiler /// /// This reference provides descriptions of the AWS Application Cost Profiler API. /// /// /// <para> /// The AWS Application Cost Profiler API provides programmatic access to view, create, /// update, and delete application cost report definitions, as well as to import your /// usage data into the Application Cost Profiler service. /// </para> /// /// <para> /// For more information about using this service, see the <a href="https://docs.aws.amazon.com/application-cost-profiler/latest/userguide/introduction.html">AWS /// Application Cost Profiler User Guide</a>. /// </para> /// </summary> public partial interface IAmazonApplicationCostProfiler : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// <summary> /// Paginators for the service /// </summary> IApplicationCostProfilerPaginatorFactory Paginators { get; } #endif #region DeleteReportDefinition /// <summary> /// Deletes the specified report definition in AWS Application Cost Profiler. This stops /// the report from being generated. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteReportDefinition service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteReportDefinition service method, as returned by ApplicationCostProfiler.</returns> /// <exception cref="Amazon.ApplicationCostProfiler.Model.AccessDeniedException"> /// You do not have permission to perform this action. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.InternalServerException"> /// An internal server error occurred. Retry your request. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ThrottlingException"> /// The calls to AWS Application Cost Profiler API are throttled. The request was denied. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ValidationException"> /// The input fails to satisfy the constraints for the API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/DeleteReportDefinition">REST API Reference for DeleteReportDefinition Operation</seealso> Task<DeleteReportDefinitionResponse> DeleteReportDefinitionAsync(DeleteReportDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetReportDefinition /// <summary> /// Retrieves the definition of a report already configured in AWS Application Cost Profiler. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetReportDefinition service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetReportDefinition service method, as returned by ApplicationCostProfiler.</returns> /// <exception cref="Amazon.ApplicationCostProfiler.Model.AccessDeniedException"> /// You do not have permission to perform this action. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.InternalServerException"> /// An internal server error occurred. Retry your request. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ThrottlingException"> /// The calls to AWS Application Cost Profiler API are throttled. The request was denied. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ValidationException"> /// The input fails to satisfy the constraints for the API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/GetReportDefinition">REST API Reference for GetReportDefinition Operation</seealso> Task<GetReportDefinitionResponse> GetReportDefinitionAsync(GetReportDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ImportApplicationUsage /// <summary> /// Ingests application usage data from Amazon Simple Storage Service (Amazon S3). /// /// /// <para> /// The data must already exist in the S3 location. As part of the action, AWS Application /// Cost Profiler copies the object from your S3 bucket to an S3 bucket owned by Amazon /// for processing asynchronously. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportApplicationUsage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ImportApplicationUsage service method, as returned by ApplicationCostProfiler.</returns> /// <exception cref="Amazon.ApplicationCostProfiler.Model.AccessDeniedException"> /// You do not have permission to perform this action. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.InternalServerException"> /// An internal server error occurred. Retry your request. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ThrottlingException"> /// The calls to AWS Application Cost Profiler API are throttled. The request was denied. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ValidationException"> /// The input fails to satisfy the constraints for the API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/ImportApplicationUsage">REST API Reference for ImportApplicationUsage Operation</seealso> Task<ImportApplicationUsageResponse> ImportApplicationUsageAsync(ImportApplicationUsageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListReportDefinitions /// <summary> /// Retrieves a list of all reports and their configurations for your AWS account. /// /// /// <para> /// The maximum number of reports is one. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListReportDefinitions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListReportDefinitions service method, as returned by ApplicationCostProfiler.</returns> /// <exception cref="Amazon.ApplicationCostProfiler.Model.AccessDeniedException"> /// You do not have permission to perform this action. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.InternalServerException"> /// An internal server error occurred. Retry your request. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ThrottlingException"> /// The calls to AWS Application Cost Profiler API are throttled. The request was denied. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ValidationException"> /// The input fails to satisfy the constraints for the API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/ListReportDefinitions">REST API Reference for ListReportDefinitions Operation</seealso> Task<ListReportDefinitionsResponse> ListReportDefinitionsAsync(ListReportDefinitionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutReportDefinition /// <summary> /// Creates the report definition for a report in Application Cost Profiler. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutReportDefinition service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutReportDefinition service method, as returned by ApplicationCostProfiler.</returns> /// <exception cref="Amazon.ApplicationCostProfiler.Model.AccessDeniedException"> /// You do not have permission to perform this action. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.InternalServerException"> /// An internal server error occurred. Retry your request. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ServiceQuotaExceededException"> /// Your request exceeds one or more of the service quotas. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ThrottlingException"> /// The calls to AWS Application Cost Profiler API are throttled. The request was denied. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ValidationException"> /// The input fails to satisfy the constraints for the API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/PutReportDefinition">REST API Reference for PutReportDefinition Operation</seealso> Task<PutReportDefinitionResponse> PutReportDefinitionAsync(PutReportDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateReportDefinition /// <summary> /// Updates existing report in AWS Application Cost Profiler. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateReportDefinition service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateReportDefinition service method, as returned by ApplicationCostProfiler.</returns> /// <exception cref="Amazon.ApplicationCostProfiler.Model.AccessDeniedException"> /// You do not have permission to perform this action. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.InternalServerException"> /// An internal server error occurred. Retry your request. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ThrottlingException"> /// The calls to AWS Application Cost Profiler API are throttled. The request was denied. /// </exception> /// <exception cref="Amazon.ApplicationCostProfiler.Model.ValidationException"> /// The input fails to satisfy the constraints for the API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/UpdateReportDefinition">REST API Reference for UpdateReportDefinition Operation</seealso> Task<UpdateReportDefinitionResponse> UpdateReportDefinitionAsync(UpdateReportDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
254
aws-sdk-net
aws
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.ApplicationCostProfiler")] #if BCL35 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Application Cost Profiler. APIs for AWS Application Cost Profiler.")] #elif BCL45 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - AWS Application Cost Profiler. APIs for AWS Application Cost Profiler.")] #elif NETSTANDARD20 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - AWS Application Cost Profiler. APIs for AWS Application Cost Profiler.")] #elif NETCOREAPP3_1 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - AWS Application Cost Profiler. APIs for AWS Application Cost Profiler.")] #else #error Unknown platform constant - unable to set correct AssemblyDescription #endif [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("Amazon Web Services SDK for .NET")] [assembly: AssemblyCompany("Amazon.com, Inc")] [assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("3.3")] [assembly: AssemblyFileVersion("3.7.100.147")] [assembly: System.CLSCompliant(true)] #if BCL [assembly: System.Security.AllowPartiallyTrustedCallers] #endif
51
aws-sdk-net
aws
C#
/* * 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. */ using System.Diagnostics.CodeAnalysis; [module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.ApplicationDiscoveryService.Model.ListConfigurationsResponse.#Configurations")] [module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.ApplicationDiscoveryService.Model.GetConfigurationAttributesResponse.#Configurations")] [module: SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Scope = "member", Target = "Amazon.ApplicationDiscoveryService.Model.DescribeConfigurationsResponse.#Configurations")]
20
aws-sdk-net
aws
C#
/* * 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 Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Util.Internal; using Amazon.ApplicationDiscoveryService.Internal; namespace Amazon.ApplicationDiscoveryService { /// <summary> /// Configuration for accessing Amazon ApplicationDiscoveryService service /// </summary> [AWSSignerType("v4")] public partial class AmazonApplicationDiscoveryServiceConfig : ClientConfig { private static readonly string UserAgentString = InternalSDKUtils.BuildUserAgentString("3.7.102.1"); private string _userAgent = UserAgentString; /// <summary> /// Default constructor /// </summary> public AmazonApplicationDiscoveryServiceConfig() : base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonApplicationDiscoveryServiceDefaultConfiguration.GetAllConfigurations())) { this.AuthenticationServiceName = "discovery"; this.EndpointProvider = new AmazonApplicationDiscoveryServiceEndpointProvider(); } /// <summary> /// The constant used to lookup in the region hash the endpoint. /// </summary> public override string RegionEndpointServiceName { get { return "discovery"; } } /// <summary> /// Gets the ServiceVersion property. /// </summary> public override string ServiceVersion { get { return "2015-11-01"; } } /// <summary> /// Gets the value of UserAgent property. /// </summary> public override string UserAgent { get { return _userAgent; } } } }
83
aws-sdk-net
aws
C#
/* * 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.Collections.ObjectModel; using Amazon.Runtime; namespace Amazon.ApplicationDiscoveryService { /// <summary> /// Configuration for accessing Amazon ApplicationDiscoveryService service /// </summary> public static class AmazonApplicationDiscoveryServiceDefaultConfiguration { /// <summary> /// Collection of all <see cref="DefaultConfiguration"/>s supported by /// ApplicationDiscoveryService /// </summary> public static ReadOnlyCollection<IDefaultConfiguration> GetAllConfigurations() { return new ReadOnlyCollection<IDefaultConfiguration>(new List<IDefaultConfiguration> { Standard, InRegion, CrossRegion, Mobile, Auto, Legacy }); } /// <summary> /// <p>The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration Standard {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Standard, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:03.1 ConnectTimeout = TimeSpan.FromMilliseconds(3100L), // 0:00:03.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration InRegion {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.InRegion, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:01.1 ConnectTimeout = TimeSpan.FromMilliseconds(1100L), // 0:00:01.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration CrossRegion {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.CrossRegion, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:03.1 ConnectTimeout = TimeSpan.FromMilliseconds(3100L), // 0:00:03.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration Mobile {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Mobile, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:30 ConnectTimeout = TimeSpan.FromMilliseconds(30000L), // 0:00:30 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(30000L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.</p><p>Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">EC2 Instance Metadata service</a>, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application</p> /// </summary> public static IDefaultConfiguration Auto {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Auto, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:01.1 ConnectTimeout = TimeSpan.FromMilliseconds(1100L), // 0:00:01.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode</p> /// </summary> public static IDefaultConfiguration Legacy {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Legacy, RetryMode = RequestRetryMode.Legacy, StsRegionalEndpoints = StsRegionalEndpointsValue.Legacy, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Legacy, ConnectTimeout = null, TlsNegotiationTimeout = null, TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; } }
146
aws-sdk-net
aws
C#
/* * 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 Amazon.Runtime; using Amazon.Runtime.Endpoints; namespace Amazon.ApplicationDiscoveryService.Endpoints { /// <summary> /// Contains parameters used for resolving ApplicationDiscoveryService endpoints /// Parameters can be sourced from client config and service operations /// Used by internal ApplicationDiscoveryServiceEndpointProvider and ApplicationDiscoveryServiceEndpointResolver /// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider /// </summary> public class ApplicationDiscoveryServiceEndpointParameters : EndpointParameters { /// <summary> /// ApplicationDiscoveryServiceEndpointParameters constructor /// </summary> public ApplicationDiscoveryServiceEndpointParameters() { UseDualStack = false; UseFIPS = false; } /// <summary> /// Region parameter /// </summary> public string Region { get { return (string)this["Region"]; } set { this["Region"] = value; } } /// <summary> /// UseDualStack parameter /// </summary> public bool? UseDualStack { get { return (bool?)this["UseDualStack"]; } set { this["UseDualStack"] = value; } } /// <summary> /// UseFIPS parameter /// </summary> public bool? UseFIPS { get { return (bool?)this["UseFIPS"]; } set { this["UseFIPS"] = value; } } /// <summary> /// Endpoint parameter /// </summary> public string Endpoint { get { return (string)this["Endpoint"]; } set { this["Endpoint"] = value; } } } }
78
aws-sdk-net
aws
C#
/* * 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 System.Text; using Amazon.Runtime; namespace Amazon.ApplicationDiscoveryService { ///<summary> /// Common exception for the ApplicationDiscoveryService service. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class AmazonApplicationDiscoveryServiceException : AmazonServiceException { /// <summary> /// Construct instance of AmazonApplicationDiscoveryServiceException /// </summary> /// <param name="message"></param> public AmazonApplicationDiscoveryServiceException(string message) : base(message) { } /// <summary> /// Construct instance of AmazonApplicationDiscoveryServiceException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public AmazonApplicationDiscoveryServiceException(string message, Exception innerException) : base(message, innerException) { } /// <summary> /// Construct instance of AmazonApplicationDiscoveryServiceException /// </summary> /// <param name="innerException"></param> public AmazonApplicationDiscoveryServiceException(Exception innerException) : base(innerException.Message, innerException) { } /// <summary> /// Construct instance of AmazonApplicationDiscoveryServiceException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AmazonApplicationDiscoveryServiceException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) { } /// <summary> /// Construct instance of AmazonApplicationDiscoveryServiceException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AmazonApplicationDiscoveryServiceException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) { } #if !NETSTANDARD /// <summary> /// Constructs a new instance of the AmazonApplicationDiscoveryServiceException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected AmazonApplicationDiscoveryServiceException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } #endif } }
105
aws-sdk-net
aws
C#
/* * 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 Amazon.Runtime; namespace Amazon.ApplicationDiscoveryService { /// <summary> /// Constants used for properties of type AgentStatus. /// </summary> public class AgentStatus : ConstantClass { /// <summary> /// Constant BLACKLISTED for AgentStatus /// </summary> public static readonly AgentStatus BLACKLISTED = new AgentStatus("BLACKLISTED"); /// <summary> /// Constant HEALTHY for AgentStatus /// </summary> public static readonly AgentStatus HEALTHY = new AgentStatus("HEALTHY"); /// <summary> /// Constant RUNNING for AgentStatus /// </summary> public static readonly AgentStatus RUNNING = new AgentStatus("RUNNING"); /// <summary> /// Constant SHUTDOWN for AgentStatus /// </summary> public static readonly AgentStatus SHUTDOWN = new AgentStatus("SHUTDOWN"); /// <summary> /// Constant UNHEALTHY for AgentStatus /// </summary> public static readonly AgentStatus UNHEALTHY = new AgentStatus("UNHEALTHY"); /// <summary> /// Constant UNKNOWN for AgentStatus /// </summary> public static readonly AgentStatus UNKNOWN = new AgentStatus("UNKNOWN"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public AgentStatus(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static AgentStatus FindValue(string value) { return FindValue<AgentStatus>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator AgentStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type BatchDeleteImportDataErrorCode. /// </summary> public class BatchDeleteImportDataErrorCode : ConstantClass { /// <summary> /// Constant INTERNAL_SERVER_ERROR for BatchDeleteImportDataErrorCode /// </summary> public static readonly BatchDeleteImportDataErrorCode INTERNAL_SERVER_ERROR = new BatchDeleteImportDataErrorCode("INTERNAL_SERVER_ERROR"); /// <summary> /// Constant NOT_FOUND for BatchDeleteImportDataErrorCode /// </summary> public static readonly BatchDeleteImportDataErrorCode NOT_FOUND = new BatchDeleteImportDataErrorCode("NOT_FOUND"); /// <summary> /// Constant OVER_LIMIT for BatchDeleteImportDataErrorCode /// </summary> public static readonly BatchDeleteImportDataErrorCode OVER_LIMIT = new BatchDeleteImportDataErrorCode("OVER_LIMIT"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public BatchDeleteImportDataErrorCode(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static BatchDeleteImportDataErrorCode FindValue(string value) { return FindValue<BatchDeleteImportDataErrorCode>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator BatchDeleteImportDataErrorCode(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ConfigurationItemType. /// </summary> public class ConfigurationItemType : ConstantClass { /// <summary> /// Constant APPLICATION for ConfigurationItemType /// </summary> public static readonly ConfigurationItemType APPLICATION = new ConfigurationItemType("APPLICATION"); /// <summary> /// Constant CONNECTION for ConfigurationItemType /// </summary> public static readonly ConfigurationItemType CONNECTION = new ConfigurationItemType("CONNECTION"); /// <summary> /// Constant PROCESS for ConfigurationItemType /// </summary> public static readonly ConfigurationItemType PROCESS = new ConfigurationItemType("PROCESS"); /// <summary> /// Constant SERVER for ConfigurationItemType /// </summary> public static readonly ConfigurationItemType SERVER = new ConfigurationItemType("SERVER"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ConfigurationItemType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ConfigurationItemType FindValue(string value) { return FindValue<ConfigurationItemType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ConfigurationItemType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ContinuousExportStatus. /// </summary> public class ContinuousExportStatus : ConstantClass { /// <summary> /// Constant ACTIVE for ContinuousExportStatus /// </summary> public static readonly ContinuousExportStatus ACTIVE = new ContinuousExportStatus("ACTIVE"); /// <summary> /// Constant ERROR for ContinuousExportStatus /// </summary> public static readonly ContinuousExportStatus ERROR = new ContinuousExportStatus("ERROR"); /// <summary> /// Constant INACTIVE for ContinuousExportStatus /// </summary> public static readonly ContinuousExportStatus INACTIVE = new ContinuousExportStatus("INACTIVE"); /// <summary> /// Constant START_FAILED for ContinuousExportStatus /// </summary> public static readonly ContinuousExportStatus START_FAILED = new ContinuousExportStatus("START_FAILED"); /// <summary> /// Constant START_IN_PROGRESS for ContinuousExportStatus /// </summary> public static readonly ContinuousExportStatus START_IN_PROGRESS = new ContinuousExportStatus("START_IN_PROGRESS"); /// <summary> /// Constant STOP_FAILED for ContinuousExportStatus /// </summary> public static readonly ContinuousExportStatus STOP_FAILED = new ContinuousExportStatus("STOP_FAILED"); /// <summary> /// Constant STOP_IN_PROGRESS for ContinuousExportStatus /// </summary> public static readonly ContinuousExportStatus STOP_IN_PROGRESS = new ContinuousExportStatus("STOP_IN_PROGRESS"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ContinuousExportStatus(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ContinuousExportStatus FindValue(string value) { return FindValue<ContinuousExportStatus>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ContinuousExportStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type DataSource. /// </summary> public class DataSource : ConstantClass { /// <summary> /// Constant AGENT for DataSource /// </summary> public static readonly DataSource AGENT = new DataSource("AGENT"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public DataSource(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static DataSource FindValue(string value) { return FindValue<DataSource>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator DataSource(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ExportDataFormat. /// </summary> public class ExportDataFormat : ConstantClass { /// <summary> /// Constant CSV for ExportDataFormat /// </summary> public static readonly ExportDataFormat CSV = new ExportDataFormat("CSV"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ExportDataFormat(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ExportDataFormat FindValue(string value) { return FindValue<ExportDataFormat>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ExportDataFormat(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ExportStatus. /// </summary> public class ExportStatus : ConstantClass { /// <summary> /// Constant FAILED for ExportStatus /// </summary> public static readonly ExportStatus FAILED = new ExportStatus("FAILED"); /// <summary> /// Constant IN_PROGRESS for ExportStatus /// </summary> public static readonly ExportStatus IN_PROGRESS = new ExportStatus("IN_PROGRESS"); /// <summary> /// Constant SUCCEEDED for ExportStatus /// </summary> public static readonly ExportStatus SUCCEEDED = new ExportStatus("SUCCEEDED"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ExportStatus(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ExportStatus FindValue(string value) { return FindValue<ExportStatus>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ExportStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ImportStatus. /// </summary> public class ImportStatus : ConstantClass { /// <summary> /// Constant DELETE_COMPLETE for ImportStatus /// </summary> public static readonly ImportStatus DELETE_COMPLETE = new ImportStatus("DELETE_COMPLETE"); /// <summary> /// Constant DELETE_FAILED for ImportStatus /// </summary> public static readonly ImportStatus DELETE_FAILED = new ImportStatus("DELETE_FAILED"); /// <summary> /// Constant DELETE_FAILED_LIMIT_EXCEEDED for ImportStatus /// </summary> public static readonly ImportStatus DELETE_FAILED_LIMIT_EXCEEDED = new ImportStatus("DELETE_FAILED_LIMIT_EXCEEDED"); /// <summary> /// Constant DELETE_IN_PROGRESS for ImportStatus /// </summary> public static readonly ImportStatus DELETE_IN_PROGRESS = new ImportStatus("DELETE_IN_PROGRESS"); /// <summary> /// Constant IMPORT_COMPLETE for ImportStatus /// </summary> public static readonly ImportStatus IMPORT_COMPLETE = new ImportStatus("IMPORT_COMPLETE"); /// <summary> /// Constant IMPORT_COMPLETE_WITH_ERRORS for ImportStatus /// </summary> public static readonly ImportStatus IMPORT_COMPLETE_WITH_ERRORS = new ImportStatus("IMPORT_COMPLETE_WITH_ERRORS"); /// <summary> /// Constant IMPORT_FAILED for ImportStatus /// </summary> public static readonly ImportStatus IMPORT_FAILED = new ImportStatus("IMPORT_FAILED"); /// <summary> /// Constant IMPORT_FAILED_RECORD_LIMIT_EXCEEDED for ImportStatus /// </summary> public static readonly ImportStatus IMPORT_FAILED_RECORD_LIMIT_EXCEEDED = new ImportStatus("IMPORT_FAILED_RECORD_LIMIT_EXCEEDED"); /// <summary> /// Constant IMPORT_FAILED_SERVER_LIMIT_EXCEEDED for ImportStatus /// </summary> public static readonly ImportStatus IMPORT_FAILED_SERVER_LIMIT_EXCEEDED = new ImportStatus("IMPORT_FAILED_SERVER_LIMIT_EXCEEDED"); /// <summary> /// Constant IMPORT_IN_PROGRESS for ImportStatus /// </summary> public static readonly ImportStatus IMPORT_IN_PROGRESS = new ImportStatus("IMPORT_IN_PROGRESS"); /// <summary> /// Constant INTERNAL_ERROR for ImportStatus /// </summary> public static readonly ImportStatus INTERNAL_ERROR = new ImportStatus("INTERNAL_ERROR"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ImportStatus(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ImportStatus FindValue(string value) { return FindValue<ImportStatus>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ImportStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ImportTaskFilterName. /// </summary> public class ImportTaskFilterName : ConstantClass { /// <summary> /// Constant IMPORT_TASK_ID for ImportTaskFilterName /// </summary> public static readonly ImportTaskFilterName IMPORT_TASK_ID = new ImportTaskFilterName("IMPORT_TASK_ID"); /// <summary> /// Constant NAME for ImportTaskFilterName /// </summary> public static readonly ImportTaskFilterName NAME = new ImportTaskFilterName("NAME"); /// <summary> /// Constant STATUS for ImportTaskFilterName /// </summary> public static readonly ImportTaskFilterName STATUS = new ImportTaskFilterName("STATUS"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ImportTaskFilterName(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ImportTaskFilterName FindValue(string value) { return FindValue<ImportTaskFilterName>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ImportTaskFilterName(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type OfferingClass. /// </summary> public class OfferingClass : ConstantClass { /// <summary> /// Constant CONVERTIBLE for OfferingClass /// </summary> public static readonly OfferingClass CONVERTIBLE = new OfferingClass("CONVERTIBLE"); /// <summary> /// Constant STANDARD for OfferingClass /// </summary> public static readonly OfferingClass STANDARD = new OfferingClass("STANDARD"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public OfferingClass(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static OfferingClass FindValue(string value) { return FindValue<OfferingClass>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator OfferingClass(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type OrderString. /// </summary> public class OrderString : ConstantClass { /// <summary> /// Constant ASC for OrderString /// </summary> public static readonly OrderString ASC = new OrderString("ASC"); /// <summary> /// Constant DESC for OrderString /// </summary> public static readonly OrderString DESC = new OrderString("DESC"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public OrderString(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static OrderString FindValue(string value) { return FindValue<OrderString>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator OrderString(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type PurchasingOption. /// </summary> public class PurchasingOption : ConstantClass { /// <summary> /// Constant ALL_UPFRONT for PurchasingOption /// </summary> public static readonly PurchasingOption ALL_UPFRONT = new PurchasingOption("ALL_UPFRONT"); /// <summary> /// Constant NO_UPFRONT for PurchasingOption /// </summary> public static readonly PurchasingOption NO_UPFRONT = new PurchasingOption("NO_UPFRONT"); /// <summary> /// Constant PARTIAL_UPFRONT for PurchasingOption /// </summary> public static readonly PurchasingOption PARTIAL_UPFRONT = new PurchasingOption("PARTIAL_UPFRONT"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public PurchasingOption(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static PurchasingOption FindValue(string value) { return FindValue<PurchasingOption>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator PurchasingOption(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type Tenancy. /// </summary> public class Tenancy : ConstantClass { /// <summary> /// Constant DEDICATED for Tenancy /// </summary> public static readonly Tenancy DEDICATED = new Tenancy("DEDICATED"); /// <summary> /// Constant SHARED for Tenancy /// </summary> public static readonly Tenancy SHARED = new Tenancy("SHARED"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public Tenancy(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static Tenancy FindValue(string value) { return FindValue<Tenancy>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator Tenancy(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type TermLength. /// </summary> public class TermLength : ConstantClass { /// <summary> /// Constant ONE_YEAR for TermLength /// </summary> public static readonly TermLength ONE_YEAR = new TermLength("ONE_YEAR"); /// <summary> /// Constant THREE_YEAR for TermLength /// </summary> public static readonly TermLength THREE_YEAR = new TermLength("THREE_YEAR"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public TermLength(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static TermLength FindValue(string value) { return FindValue<TermLength>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator TermLength(string value) { return FindValue(value); } } }
814
aws-sdk-net
aws
C#
/* * 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 Amazon.Runtime; using Amazon.Runtime.Endpoints; using static Amazon.Runtime.Internal.Endpoints.StandardLibrary.Fn; namespace Amazon.ApplicationDiscoveryService.Internal { /// <summary> /// Amazon ApplicationDiscoveryService endpoint provider. /// Resolves endpoint for given set of ApplicationDiscoveryServiceEndpointParameters. /// Can throw AmazonClientException if endpoint resolution is unsuccessful. /// </summary> public class AmazonApplicationDiscoveryServiceEndpointProvider : IEndpointProvider { /// <summary> /// Resolve endpoint for ApplicationDiscoveryServiceEndpointParameters /// </summary> public Endpoint ResolveEndpoint(EndpointParameters parameters) { if (parameters == null) throw new ArgumentNullException("parameters"); if (parameters["UseDualStack"] == null) throw new AmazonClientException("UseDualStack parameter must be set for endpoint resolution"); if (parameters["UseFIPS"] == null) throw new AmazonClientException("UseFIPS parameter must be set for endpoint resolution"); var refs = new Dictionary<string, object>() { ["Region"] = parameters["Region"], ["UseDualStack"] = parameters["UseDualStack"], ["UseFIPS"] = parameters["UseFIPS"], ["Endpoint"] = parameters["Endpoint"], }; if (IsSet(refs["Endpoint"])) { if (Equals(refs["UseFIPS"], true)) { throw new AmazonClientException("Invalid Configuration: FIPS and custom endpoint are not supported"); } if (Equals(refs["UseDualStack"], true)) { throw new AmazonClientException("Invalid Configuration: Dualstack and custom endpoint are not supported"); } return new Endpoint((string)refs["Endpoint"], InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } if (IsSet(refs["Region"])) { if ((refs["PartitionResult"] = Partition((string)refs["Region"])) != null) { if (Equals(refs["UseFIPS"], true) && Equals(refs["UseDualStack"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS")) && Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack"))) { return new Endpoint(Interpolate(@"https://discovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("FIPS and DualStack are enabled, but this partition does not support one or both"); } if (Equals(refs["UseFIPS"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS"))) { return new Endpoint(Interpolate(@"https://discovery-fips.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("FIPS is enabled but this partition does not support FIPS"); } if (Equals(refs["UseDualStack"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack"))) { return new Endpoint(Interpolate(@"https://discovery.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("DualStack is enabled but this partition does not support DualStack"); } return new Endpoint(Interpolate(@"https://discovery.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } } throw new AmazonClientException("Invalid Configuration: Missing Region"); throw new AmazonClientException("Cannot resolve endpoint"); } } }
103
aws-sdk-net
aws
C#
/* * 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 Amazon.ApplicationDiscoveryService.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Endpoints; using Amazon.Util; using Amazon.ApplicationDiscoveryService.Endpoints; #pragma warning disable 1591 namespace Amazon.ApplicationDiscoveryService.Internal { /// <summary> /// Amazon ApplicationDiscoveryService endpoint resolver. /// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for ApplicationDiscoveryService service requests. /// Collects values for ApplicationDiscoveryServiceEndpointParameters and then tries to resolve endpoint by calling /// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses ApplicationDiscoveryServiceEndpointProvider. /// Responsible for setting authentication and http headers provided by resolved endpoint. /// </summary> public class AmazonApplicationDiscoveryServiceEndpointResolver : BaseEndpointResolver { protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters) { InjectHostPrefix(executionContext.RequestContext); } protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext) { var config = (AmazonApplicationDiscoveryServiceConfig)requestContext.ClientConfig; var result = new ApplicationDiscoveryServiceEndpointParameters(); result.Region = config.RegionEndpoint?.SystemName; result.UseDualStack = config.UseDualstackEndpoint; result.UseFIPS = config.UseFIPSEndpoint; result.Endpoint = config.ServiceURL; // The region needs to be determined from the ServiceURL if not set. var regionEndpoint = config.RegionEndpoint; if (regionEndpoint == null && !string.IsNullOrEmpty(config.ServiceURL)) { var regionName = AWSSDKUtils.DetermineRegion(config.ServiceURL); result.Region = RegionEndpoint.GetBySystemName(regionName).SystemName; } // To support legacy endpoint overridding rules in the endpoints.json if (result.Region == "us-east-1-regional") { result.Region = "us-east-1"; } // Use AlternateEndpoint region override if set if (requestContext.Request.AlternateEndpoint != null) { result.Region = requestContext.Request.AlternateEndpoint.SystemName; } // Assign staticContextParams and contextParam per operation return result; } } }
83
aws-sdk-net
aws
C#
/* * 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 Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Internal { /// <summary> /// Service metadata for Amazon ApplicationDiscoveryService service /// </summary> public partial class AmazonApplicationDiscoveryServiceMetadata : IServiceMetadata { /// <summary> /// Gets the value of the Service Id. /// </summary> public string ServiceId { get { return "Application Discovery Service"; } } /// <summary> /// Gets the dictionary that gives mapping of renamed operations /// </summary> public System.Collections.Generic.IDictionary<string, string> OperationNameMapping { get { return new System.Collections.Generic.Dictionary<string, string>(0) { }; } } } }
55
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Information about agents that were instructed to start collecting data. Information /// includes the agent ID, a description of the operation, and whether the agent configuration /// was updated. /// </summary> public partial class AgentConfigurationStatus { private string _agentId; private string _description; private bool? _operationSucceeded; /// <summary> /// Gets and sets the property AgentId. /// <para> /// The agent ID. /// </para> /// </summary> [AWSProperty(Max=10000)] public string AgentId { get { return this._agentId; } set { this._agentId = value; } } // Check to see if AgentId property is set internal bool IsSetAgentId() { return this._agentId != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// A description of the operation performed. /// </para> /// </summary> [AWSProperty(Max=10000)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property OperationSucceeded. /// <para> /// Information about the status of the <code>StartDataCollection</code> and <code>StopDataCollection</code> /// operations. The system has recorded the data collection operation. The agent receives /// this command the next time it polls for a new command. /// </para> /// </summary> public bool OperationSucceeded { get { return this._operationSucceeded.GetValueOrDefault(); } set { this._operationSucceeded = value; } } // Check to see if OperationSucceeded property is set internal bool IsSetOperationSucceeded() { return this._operationSucceeded.HasValue; } } }
101
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Information about agents associated with the user’s Amazon Web Services account. Information /// includes agent IDs, IP addresses, media access control (MAC) addresses, agent or collector /// status, hostname where the agent resides, and agent version for each agent. /// </summary> public partial class AgentInfo { private string _agentId; private List<AgentNetworkInfo> _agentNetworkInfoList = new List<AgentNetworkInfo>(); private string _agentType; private string _collectionStatus; private string _connectorId; private AgentStatus _health; private string _hostName; private string _lastHealthPingTime; private string _registeredTime; private string _version; /// <summary> /// Gets and sets the property AgentId. /// <para> /// The agent or collector ID. /// </para> /// </summary> [AWSProperty(Min=10, Max=20)] public string AgentId { get { return this._agentId; } set { this._agentId = value; } } // Check to see if AgentId property is set internal bool IsSetAgentId() { return this._agentId != null; } /// <summary> /// Gets and sets the property AgentNetworkInfoList. /// <para> /// Network details about the host where the agent or collector resides. /// </para> /// </summary> public List<AgentNetworkInfo> AgentNetworkInfoList { get { return this._agentNetworkInfoList; } set { this._agentNetworkInfoList = value; } } // Check to see if AgentNetworkInfoList property is set internal bool IsSetAgentNetworkInfoList() { return this._agentNetworkInfoList != null && this._agentNetworkInfoList.Count > 0; } /// <summary> /// Gets and sets the property AgentType. /// <para> /// Type of agent. /// </para> /// </summary> [AWSProperty(Max=10000)] public string AgentType { get { return this._agentType; } set { this._agentType = value; } } // Check to see if AgentType property is set internal bool IsSetAgentType() { return this._agentType != null; } /// <summary> /// Gets and sets the property CollectionStatus. /// <para> /// Status of the collection process for an agent. /// </para> /// </summary> [AWSProperty(Max=10000)] public string CollectionStatus { get { return this._collectionStatus; } set { this._collectionStatus = value; } } // Check to see if CollectionStatus property is set internal bool IsSetCollectionStatus() { return this._collectionStatus != null; } /// <summary> /// Gets and sets the property ConnectorId. /// <para> /// The ID of the connector. /// </para> /// </summary> [AWSProperty(Max=10000)] public string ConnectorId { get { return this._connectorId; } set { this._connectorId = value; } } // Check to see if ConnectorId property is set internal bool IsSetConnectorId() { return this._connectorId != null; } /// <summary> /// Gets and sets the property Health. /// <para> /// The health of the agent. /// </para> /// </summary> public AgentStatus Health { get { return this._health; } set { this._health = value; } } // Check to see if Health property is set internal bool IsSetHealth() { return this._health != null; } /// <summary> /// Gets and sets the property HostName. /// <para> /// The name of the host where the agent or collector resides. The host can be a server /// or virtual machine. /// </para> /// </summary> [AWSProperty(Max=10000)] public string HostName { get { return this._hostName; } set { this._hostName = value; } } // Check to see if HostName property is set internal bool IsSetHostName() { return this._hostName != null; } /// <summary> /// Gets and sets the property LastHealthPingTime. /// <para> /// Time since agent health was reported. /// </para> /// </summary> [AWSProperty(Max=10000)] public string LastHealthPingTime { get { return this._lastHealthPingTime; } set { this._lastHealthPingTime = value; } } // Check to see if LastHealthPingTime property is set internal bool IsSetLastHealthPingTime() { return this._lastHealthPingTime != null; } /// <summary> /// Gets and sets the property RegisteredTime. /// <para> /// Agent's first registration timestamp in UTC. /// </para> /// </summary> [AWSProperty(Max=10000)] public string RegisteredTime { get { return this._registeredTime; } set { this._registeredTime = value; } } // Check to see if RegisteredTime property is set internal bool IsSetRegisteredTime() { return this._registeredTime != null; } /// <summary> /// Gets and sets the property Version. /// <para> /// The agent or collector version. /// </para> /// </summary> [AWSProperty(Max=10000)] public string Version { get { return this._version; } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version != null; } } }
239
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Network details about the host where the agent/collector resides. /// </summary> public partial class AgentNetworkInfo { private string _ipAddress; private string _macAddress; /// <summary> /// Gets and sets the property IpAddress. /// <para> /// The IP address for the host where the agent/collector resides. /// </para> /// </summary> [AWSProperty(Max=10000)] public string IpAddress { get { return this._ipAddress; } set { this._ipAddress = value; } } // Check to see if IpAddress property is set internal bool IsSetIpAddress() { return this._ipAddress != null; } /// <summary> /// Gets and sets the property MacAddress. /// <para> /// The MAC address for the host where the agent/collector resides. /// </para> /// </summary> [AWSProperty(Max=10000)] public string MacAddress { get { return this._macAddress; } set { this._macAddress = value; } } // Check to see if MacAddress property is set internal bool IsSetMacAddress() { return this._macAddress != null; } } }
78
aws-sdk-net
aws
C#
/* * 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 Amazon.Runtime; namespace Amazon.ApplicationDiscoveryService { /// <summary> /// Base class for ApplicationDiscoveryService operation requests. /// </summary> public partial class AmazonApplicationDiscoveryServiceRequest : AmazonWebServiceRequest { } }
30
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the AssociateConfigurationItemsToApplication operation. /// Associates one or more configuration items with an application. /// </summary> public partial class AssociateConfigurationItemsToApplicationRequest : AmazonApplicationDiscoveryServiceRequest { private string _applicationConfigurationId; private List<string> _configurationIds = new List<string>(); /// <summary> /// Gets and sets the property ApplicationConfigurationId. /// <para> /// The configuration ID of an application with which items are to be associated. /// </para> /// </summary> [AWSProperty(Required=true, Max=200)] public string ApplicationConfigurationId { get { return this._applicationConfigurationId; } set { this._applicationConfigurationId = value; } } // Check to see if ApplicationConfigurationId property is set internal bool IsSetApplicationConfigurationId() { return this._applicationConfigurationId != null; } /// <summary> /// Gets and sets the property ConfigurationIds. /// <para> /// The ID of each configuration item to be associated with an application. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> ConfigurationIds { get { return this._configurationIds; } set { this._configurationIds = value; } } // Check to see if ConfigurationIds property is set internal bool IsSetConfigurationIds() { return this._configurationIds != null && this._configurationIds.Count > 0; } } }
79
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the AssociateConfigurationItemsToApplication operation. /// </summary> public partial class AssociateConfigurationItemsToApplicationResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class AuthorizationErrorException : AmazonApplicationDiscoveryServiceException { /// <summary> /// Constructs a new AuthorizationErrorException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public AuthorizationErrorException(string message) : base(message) {} /// <summary> /// Construct instance of AuthorizationErrorException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public AuthorizationErrorException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of AuthorizationErrorException /// </summary> /// <param name="innerException"></param> public AuthorizationErrorException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of AuthorizationErrorException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AuthorizationErrorException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of AuthorizationErrorException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AuthorizationErrorException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the AuthorizationErrorException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected AuthorizationErrorException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
125
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Error messages returned for each import task that you deleted as a response for this /// command. /// </summary> public partial class BatchDeleteImportDataError { private BatchDeleteImportDataErrorCode _errorCode; private string _errorDescription; private string _importTaskId; /// <summary> /// Gets and sets the property ErrorCode. /// <para> /// The type of error that occurred for a specific import task. /// </para> /// </summary> public BatchDeleteImportDataErrorCode ErrorCode { get { return this._errorCode; } set { this._errorCode = value; } } // Check to see if ErrorCode property is set internal bool IsSetErrorCode() { return this._errorCode != null; } /// <summary> /// Gets and sets the property ErrorDescription. /// <para> /// The description of the error that occurred for a specific import task. /// </para> /// </summary> public string ErrorDescription { get { return this._errorDescription; } set { this._errorDescription = value; } } // Check to see if ErrorDescription property is set internal bool IsSetErrorDescription() { return this._errorDescription != null; } /// <summary> /// Gets and sets the property ImportTaskId. /// <para> /// The unique import ID associated with the error that occurred. /// </para> /// </summary> [AWSProperty(Max=200)] public string ImportTaskId { get { return this._importTaskId; } set { this._importTaskId = value; } } // Check to see if ImportTaskId property is set internal bool IsSetImportTaskId() { return this._importTaskId != null; } } }
97
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the BatchDeleteImportData operation. /// 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. /// /// /// <para> /// 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. /// </para> /// </summary> public partial class BatchDeleteImportDataRequest : AmazonApplicationDiscoveryServiceRequest { private List<string> _importTaskIds = new List<string>(); /// <summary> /// Gets and sets the property ImportTaskIds. /// <para> /// The IDs for the import tasks that you want to delete. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=10)] public List<string> ImportTaskIds { get { return this._importTaskIds; } set { this._importTaskIds = value; } } // Check to see if ImportTaskIds property is set internal bool IsSetImportTaskIds() { return this._importTaskIds != null && this._importTaskIds.Count > 0; } } }
70
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the BatchDeleteImportData operation. /// </summary> public partial class BatchDeleteImportDataResponse : AmazonWebServiceResponse { private List<BatchDeleteImportDataError> _errors = new List<BatchDeleteImportDataError>(); /// <summary> /// Gets and sets the property Errors. /// <para> /// Error messages returned for each import task that you deleted as a response for this /// command. /// </para> /// </summary> public List<BatchDeleteImportDataError> Errors { get { return this._errors; } set { this._errors = value; } } // Check to see if Errors property is set internal bool IsSetErrors() { return this._errors != null && this._errors.Count > 0; } } }
58
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Tags for a configuration item. Tags are metadata that help you categorize IT assets. /// </summary> public partial class ConfigurationTag { private string _configurationId; private ConfigurationItemType _configurationType; private string _key; private DateTime? _timeOfCreation; private string _value; /// <summary> /// Gets and sets the property ConfigurationId. /// <para> /// The configuration ID for the item to tag. You can specify a list of keys and values. /// </para> /// </summary> [AWSProperty(Max=200)] public string ConfigurationId { get { return this._configurationId; } set { this._configurationId = value; } } // Check to see if ConfigurationId property is set internal bool IsSetConfigurationId() { return this._configurationId != null; } /// <summary> /// Gets and sets the property ConfigurationType. /// <para> /// A type of IT asset to tag. /// </para> /// </summary> public ConfigurationItemType ConfigurationType { get { return this._configurationType; } set { this._configurationType = value; } } // Check to see if ConfigurationType property is set internal bool IsSetConfigurationType() { return this._configurationType != null; } /// <summary> /// Gets and sets the property Key. /// <para> /// A type of tag on which to filter. For example, <i>serverType</i>. /// </para> /// </summary> public string Key { get { return this._key; } set { this._key = value; } } // Check to see if Key property is set internal bool IsSetKey() { return this._key != null; } /// <summary> /// Gets and sets the property TimeOfCreation. /// <para> /// The time the configuration tag was created in Coordinated Universal Time (UTC). /// </para> /// </summary> public DateTime TimeOfCreation { get { return this._timeOfCreation.GetValueOrDefault(); } set { this._timeOfCreation = value; } } // Check to see if TimeOfCreation property is set internal bool IsSetTimeOfCreation() { return this._timeOfCreation.HasValue; } /// <summary> /// Gets and sets the property Value. /// <para> /// A value on which to filter. For example <i>key = serverType</i> and <i>value = web /// server</i>. /// </para> /// </summary> public string Value { get { return this._value; } set { this._value = value; } } // Check to see if Value property is set internal bool IsSetValue() { return this._value != null; } } }
135
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ConflictErrorException : AmazonApplicationDiscoveryServiceException { /// <summary> /// Constructs a new ConflictErrorException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ConflictErrorException(string message) : base(message) {} /// <summary> /// Construct instance of ConflictErrorException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ConflictErrorException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ConflictErrorException /// </summary> /// <param name="innerException"></param> public ConflictErrorException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ConflictErrorException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ConflictErrorException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ConflictErrorException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ConflictErrorException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ConflictErrorException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected ConflictErrorException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// A list of continuous export descriptions. /// </summary> public partial class ContinuousExportDescription { private DataSource _dataSource; private string _exportId; private string _s3Bucket; private Dictionary<string, string> _schemaStorageConfig = new Dictionary<string, string>(); private DateTime? _startTime; private ContinuousExportStatus _status; private string _statusDetail; private DateTime? _stopTime; /// <summary> /// Gets and sets the property DataSource. /// <para> /// The type of data collector used to gather this data (currently only offered for AGENT). /// </para> /// </summary> public DataSource DataSource { get { return this._dataSource; } set { this._dataSource = value; } } // Check to see if DataSource property is set internal bool IsSetDataSource() { return this._dataSource != null; } /// <summary> /// Gets and sets the property ExportId. /// <para> /// The unique ID assigned to this export. /// </para> /// </summary> [AWSProperty(Max=200)] public string ExportId { get { return this._exportId; } set { this._exportId = value; } } // Check to see if ExportId property is set internal bool IsSetExportId() { return this._exportId != null; } /// <summary> /// Gets and sets the property S3Bucket. /// <para> /// The name of the s3 bucket where the export data parquet files are stored. /// </para> /// </summary> public string S3Bucket { get { return this._s3Bucket; } set { this._s3Bucket = value; } } // Check to see if S3Bucket property is set internal bool IsSetS3Bucket() { return this._s3Bucket != null; } /// <summary> /// Gets and sets the property SchemaStorageConfig. /// <para> /// An object which describes how the data is stored. /// </para> /// <ul> <li> /// <para> /// <code>databaseName</code> - the name of the Glue database used to store the schema. /// </para> /// </li> </ul> /// </summary> public Dictionary<string, string> SchemaStorageConfig { get { return this._schemaStorageConfig; } set { this._schemaStorageConfig = value; } } // Check to see if SchemaStorageConfig property is set internal bool IsSetSchemaStorageConfig() { return this._schemaStorageConfig != null && this._schemaStorageConfig.Count > 0; } /// <summary> /// Gets and sets the property StartTime. /// <para> /// The timestamp representing when the continuous export was started. /// </para> /// </summary> public DateTime StartTime { get { return this._startTime.GetValueOrDefault(); } set { this._startTime = value; } } // Check to see if StartTime property is set internal bool IsSetStartTime() { return this._startTime.HasValue; } /// <summary> /// Gets and sets the property Status. /// <para> /// Describes the status of the export. Can be one of the following values: /// </para> /// <ul> <li> /// <para> /// START_IN_PROGRESS - setting up resources to start continuous export. /// </para> /// </li> <li> /// <para> /// START_FAILED - an error occurred setting up continuous export. To recover, call start-continuous-export /// again. /// </para> /// </li> <li> /// <para> /// ACTIVE - data is being exported to the customer bucket. /// </para> /// </li> <li> /// <para> /// ERROR - an error occurred during export. To fix the issue, call stop-continuous-export /// and start-continuous-export. /// </para> /// </li> <li> /// <para> /// STOP_IN_PROGRESS - stopping the export. /// </para> /// </li> <li> /// <para> /// STOP_FAILED - an error occurred stopping the export. To recover, call stop-continuous-export /// again. /// </para> /// </li> <li> /// <para> /// INACTIVE - the continuous export has been stopped. Data is no longer being exported /// to the customer bucket. /// </para> /// </li> </ul> /// </summary> public ContinuousExportStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// <summary> /// Gets and sets the property StatusDetail. /// <para> /// Contains information about any errors that have occurred. This data type can have /// the following values: /// </para> /// <ul> <li> /// <para> /// ACCESS_DENIED - You don’t have permission to start Data Exploration in Amazon Athena. /// Contact your Amazon Web Services administrator for help. For more information, see /// <a href="http://docs.aws.amazon.com/application-discovery/latest/userguide/setting-up.html">Setting /// Up Amazon Web Services Application Discovery Service</a> in the Application Discovery /// Service User Guide. /// </para> /// </li> <li> /// <para> /// DELIVERY_STREAM_LIMIT_FAILURE - You reached the limit for Amazon Kinesis Data Firehose /// delivery streams. Reduce the number of streams or request a limit increase and try /// again. For more information, see <a href="http://docs.aws.amazon.com/streams/latest/dev/service-sizes-and-limits.html">Kinesis /// Data Streams Limits</a> in the Amazon Kinesis Data Streams Developer Guide. /// </para> /// </li> <li> /// <para> /// FIREHOSE_ROLE_MISSING - The Data Exploration feature is in an error state because /// your user is missing the Amazon Web ServicesApplicationDiscoveryServiceFirehose role. /// Turn on Data Exploration in Amazon Athena and try again. For more information, see /// <a href="https://docs.aws.amazon.com/application-discovery/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-create-firehose-role">Creating /// the Amazon Web ServicesApplicationDiscoveryServiceFirehose Role</a> in the Application /// Discovery Service User Guide. /// </para> /// </li> <li> /// <para> /// FIREHOSE_STREAM_DOES_NOT_EXIST - The Data Exploration feature is in an error state /// because your user is missing one or more of the Kinesis data delivery streams. /// </para> /// </li> <li> /// <para> /// INTERNAL_FAILURE - The Data Exploration feature is in an error state because of an /// internal failure. Try again later. If this problem persists, contact Amazon Web Services /// Support. /// </para> /// </li> <li> /// <para> /// LAKE_FORMATION_ACCESS_DENIED - You don't have sufficient lake formation permissions /// to start continuous export. For more information, see <a href="http://docs.aws.amazon.com/lake-formation/latest/dg/upgrade-glue-lake-formation.html"> /// Upgrading Amazon Web Services Glue Data Permissions to the Amazon Web Services Lake /// Formation Model </a> in the Amazon Web Services <i>Lake Formation Developer Guide</i>. /// /// </para> /// /// <para> /// You can use one of the following two ways to resolve this issue. /// </para> /// <ol> <li> /// <para> /// If you don’t want to use the Lake Formation permission model, you can change the default /// Data Catalog settings to use only Amazon Web Services Identity and Access Management /// (IAM) access control for new databases. For more information, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/getting-started-setup.html#setup-change-cat-settings">Change /// Data Catalog Settings</a> in the <i>Lake Formation Developer Guide</i>. /// </para> /// </li> <li> /// <para> /// You can give the service-linked IAM roles AWSServiceRoleForApplicationDiscoveryServiceContinuousExport /// and AWSApplicationDiscoveryServiceFirehose the required Lake Formation permissions. /// For more information, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/granting-database-permissions.html"> /// Granting Database Permissions</a> in the <i>Lake Formation Developer Guide</i>. /// </para> /// <ol> <li> /// <para> /// AWSServiceRoleForApplicationDiscoveryServiceContinuousExport - Grant database creator /// permissions, which gives the role database creation ability and implicit permissions /// for any created tables. For more information, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/implicit-permissions.html"> /// Implicit Lake Formation Permissions </a> in the <i>Lake Formation Developer Guide</i>. /// </para> /// </li> <li> /// <para> /// AWSApplicationDiscoveryServiceFirehose - Grant describe permissions for all tables /// in the database. /// </para> /// </li> </ol> </li> </ol> </li> <li> /// <para> /// S3_BUCKET_LIMIT_FAILURE - You reached the limit for Amazon S3 buckets. Reduce the /// number of S3 buckets or request a limit increase and try again. For more information, /// see <a href="http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html">Bucket /// Restrictions and Limitations</a> in the Amazon Simple Storage Service Developer Guide. /// </para> /// </li> <li> /// <para> /// S3_NOT_SIGNED_UP - Your account is not signed up for the Amazon S3 service. You must /// sign up before you can use Amazon S3. You can sign up at the following URL: <a href="https://aws.amazon.com/s3">https://aws.amazon.com/s3</a>. /// </para> /// </li> </ul> /// </summary> [AWSProperty(Min=1, Max=255)] public string StatusDetail { get { return this._statusDetail; } set { this._statusDetail = value; } } // Check to see if StatusDetail property is set internal bool IsSetStatusDetail() { return this._statusDetail != null; } /// <summary> /// Gets and sets the property StopTime. /// <para> /// The timestamp that represents when this continuous export was stopped. /// </para> /// </summary> public DateTime StopTime { get { return this._stopTime.GetValueOrDefault(); } set { this._stopTime = value; } } // Check to see if StopTime property is set internal bool IsSetStopTime() { return this._stopTime.HasValue; } } }
317
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the CreateApplication operation. /// Creates an application with the given name and description. /// </summary> public partial class CreateApplicationRequest : AmazonApplicationDiscoveryServiceRequest { private string _description; private string _name; /// <summary> /// Gets and sets the property Description. /// <para> /// Description of the application to be created. /// </para> /// </summary> [AWSProperty(Max=1000)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// Name of the application to be created. /// </para> /// </summary> [AWSProperty(Required=true, Max=127)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } } }
79
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the CreateApplication operation. /// </summary> public partial class CreateApplicationResponse : AmazonWebServiceResponse { private string _configurationId; /// <summary> /// Gets and sets the property ConfigurationId. /// <para> /// Configuration ID of an application to be created. /// </para> /// </summary> [AWSProperty(Max=10000)] public string ConfigurationId { get { return this._configurationId; } set { this._configurationId = value; } } // Check to see if ConfigurationId property is set internal bool IsSetConfigurationId() { return this._configurationId != null; } } }
58
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the CreateTags operation. /// 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. /// /// <important> /// <para> /// Do not store sensitive information (like personal data) in tags. /// </para> /// </important> /// </summary> public partial class CreateTagsRequest : AmazonApplicationDiscoveryServiceRequest { private List<string> _configurationIds = new List<string>(); private List<Tag> _tags = new List<Tag>(); /// <summary> /// Gets and sets the property ConfigurationIds. /// <para> /// A list of configuration items that you want to tag. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> ConfigurationIds { get { return this._configurationIds; } set { this._configurationIds = value; } } // Check to see if ConfigurationIds property is set internal bool IsSetConfigurationIds() { return this._configurationIds != null && this._configurationIds.Count > 0; } /// <summary> /// Gets and sets the property Tags. /// <para> /// Tags that you want to associate with one or more configuration items. Specify the /// tags that you want to create in a <i>key</i>-<i>value</i> format. For example: /// </para> /// /// <para> /// <code>{"key": "serverType", "value": "webServer"}</code> /// </para> /// </summary> [AWSProperty(Required=true)] public List<Tag> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }
91
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the CreateTags operation. /// </summary> public partial class CreateTagsResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Inventory data for installed discovery agents. /// </summary> public partial class CustomerAgentInfo { private int? _activeAgents; private int? _blackListedAgents; private int? _healthyAgents; private int? _shutdownAgents; private int? _totalAgents; private int? _unhealthyAgents; private int? _unknownAgents; /// <summary> /// Gets and sets the property ActiveAgents. /// <para> /// Number of active discovery agents. /// </para> /// </summary> [AWSProperty(Required=true)] public int ActiveAgents { get { return this._activeAgents.GetValueOrDefault(); } set { this._activeAgents = value; } } // Check to see if ActiveAgents property is set internal bool IsSetActiveAgents() { return this._activeAgents.HasValue; } /// <summary> /// Gets and sets the property BlackListedAgents. /// <para> /// Number of blacklisted discovery agents. /// </para> /// </summary> [AWSProperty(Required=true)] public int BlackListedAgents { get { return this._blackListedAgents.GetValueOrDefault(); } set { this._blackListedAgents = value; } } // Check to see if BlackListedAgents property is set internal bool IsSetBlackListedAgents() { return this._blackListedAgents.HasValue; } /// <summary> /// Gets and sets the property HealthyAgents. /// <para> /// Number of healthy discovery agents /// </para> /// </summary> [AWSProperty(Required=true)] public int HealthyAgents { get { return this._healthyAgents.GetValueOrDefault(); } set { this._healthyAgents = value; } } // Check to see if HealthyAgents property is set internal bool IsSetHealthyAgents() { return this._healthyAgents.HasValue; } /// <summary> /// Gets and sets the property ShutdownAgents. /// <para> /// Number of discovery agents with status SHUTDOWN. /// </para> /// </summary> [AWSProperty(Required=true)] public int ShutdownAgents { get { return this._shutdownAgents.GetValueOrDefault(); } set { this._shutdownAgents = value; } } // Check to see if ShutdownAgents property is set internal bool IsSetShutdownAgents() { return this._shutdownAgents.HasValue; } /// <summary> /// Gets and sets the property TotalAgents. /// <para> /// Total number of discovery agents. /// </para> /// </summary> [AWSProperty(Required=true)] public int TotalAgents { get { return this._totalAgents.GetValueOrDefault(); } set { this._totalAgents = value; } } // Check to see if TotalAgents property is set internal bool IsSetTotalAgents() { return this._totalAgents.HasValue; } /// <summary> /// Gets and sets the property UnhealthyAgents. /// <para> /// Number of unhealthy discovery agents. /// </para> /// </summary> [AWSProperty(Required=true)] public int UnhealthyAgents { get { return this._unhealthyAgents.GetValueOrDefault(); } set { this._unhealthyAgents = value; } } // Check to see if UnhealthyAgents property is set internal bool IsSetUnhealthyAgents() { return this._unhealthyAgents.HasValue; } /// <summary> /// Gets and sets the property UnknownAgents. /// <para> /// Number of unknown discovery agents. /// </para> /// </summary> [AWSProperty(Required=true)] public int UnknownAgents { get { return this._unknownAgents.GetValueOrDefault(); } set { this._unknownAgents = value; } } // Check to see if UnknownAgents property is set internal bool IsSetUnknownAgents() { return this._unknownAgents.HasValue; } } }
178
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// The inventory data for installed Agentless Collector collectors. /// </summary> public partial class CustomerAgentlessCollectorInfo { private int? _activeAgentlessCollectors; private int? _denyListedAgentlessCollectors; private int? _healthyAgentlessCollectors; private int? _shutdownAgentlessCollectors; private int? _totalAgentlessCollectors; private int? _unhealthyAgentlessCollectors; private int? _unknownAgentlessCollectors; /// <summary> /// Gets and sets the property ActiveAgentlessCollectors. /// <para> /// The number of active Agentless Collector collectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int ActiveAgentlessCollectors { get { return this._activeAgentlessCollectors.GetValueOrDefault(); } set { this._activeAgentlessCollectors = value; } } // Check to see if ActiveAgentlessCollectors property is set internal bool IsSetActiveAgentlessCollectors() { return this._activeAgentlessCollectors.HasValue; } /// <summary> /// Gets and sets the property DenyListedAgentlessCollectors. /// <para> /// The number of deny-listed Agentless Collector collectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int DenyListedAgentlessCollectors { get { return this._denyListedAgentlessCollectors.GetValueOrDefault(); } set { this._denyListedAgentlessCollectors = value; } } // Check to see if DenyListedAgentlessCollectors property is set internal bool IsSetDenyListedAgentlessCollectors() { return this._denyListedAgentlessCollectors.HasValue; } /// <summary> /// Gets and sets the property HealthyAgentlessCollectors. /// <para> /// The number of healthy Agentless Collector collectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int HealthyAgentlessCollectors { get { return this._healthyAgentlessCollectors.GetValueOrDefault(); } set { this._healthyAgentlessCollectors = value; } } // Check to see if HealthyAgentlessCollectors property is set internal bool IsSetHealthyAgentlessCollectors() { return this._healthyAgentlessCollectors.HasValue; } /// <summary> /// Gets and sets the property ShutdownAgentlessCollectors. /// <para> /// The number of Agentless Collector collectors with <code>SHUTDOWN</code> status. /// </para> /// </summary> [AWSProperty(Required=true)] public int ShutdownAgentlessCollectors { get { return this._shutdownAgentlessCollectors.GetValueOrDefault(); } set { this._shutdownAgentlessCollectors = value; } } // Check to see if ShutdownAgentlessCollectors property is set internal bool IsSetShutdownAgentlessCollectors() { return this._shutdownAgentlessCollectors.HasValue; } /// <summary> /// Gets and sets the property TotalAgentlessCollectors. /// <para> /// The total number of Agentless Collector collectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int TotalAgentlessCollectors { get { return this._totalAgentlessCollectors.GetValueOrDefault(); } set { this._totalAgentlessCollectors = value; } } // Check to see if TotalAgentlessCollectors property is set internal bool IsSetTotalAgentlessCollectors() { return this._totalAgentlessCollectors.HasValue; } /// <summary> /// Gets and sets the property UnhealthyAgentlessCollectors. /// <para> /// The number of unhealthy Agentless Collector collectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int UnhealthyAgentlessCollectors { get { return this._unhealthyAgentlessCollectors.GetValueOrDefault(); } set { this._unhealthyAgentlessCollectors = value; } } // Check to see if UnhealthyAgentlessCollectors property is set internal bool IsSetUnhealthyAgentlessCollectors() { return this._unhealthyAgentlessCollectors.HasValue; } /// <summary> /// Gets and sets the property UnknownAgentlessCollectors. /// <para> /// The number of unknown Agentless Collector collectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int UnknownAgentlessCollectors { get { return this._unknownAgentlessCollectors.GetValueOrDefault(); } set { this._unknownAgentlessCollectors = value; } } // Check to see if UnknownAgentlessCollectors property is set internal bool IsSetUnknownAgentlessCollectors() { return this._unknownAgentlessCollectors.HasValue; } } }
178
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Inventory data for installed discovery connectors. /// </summary> public partial class CustomerConnectorInfo { private int? _activeConnectors; private int? _blackListedConnectors; private int? _healthyConnectors; private int? _shutdownConnectors; private int? _totalConnectors; private int? _unhealthyConnectors; private int? _unknownConnectors; /// <summary> /// Gets and sets the property ActiveConnectors. /// <para> /// Number of active discovery connectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int ActiveConnectors { get { return this._activeConnectors.GetValueOrDefault(); } set { this._activeConnectors = value; } } // Check to see if ActiveConnectors property is set internal bool IsSetActiveConnectors() { return this._activeConnectors.HasValue; } /// <summary> /// Gets and sets the property BlackListedConnectors. /// <para> /// Number of blacklisted discovery connectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int BlackListedConnectors { get { return this._blackListedConnectors.GetValueOrDefault(); } set { this._blackListedConnectors = value; } } // Check to see if BlackListedConnectors property is set internal bool IsSetBlackListedConnectors() { return this._blackListedConnectors.HasValue; } /// <summary> /// Gets and sets the property HealthyConnectors. /// <para> /// Number of healthy discovery connectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int HealthyConnectors { get { return this._healthyConnectors.GetValueOrDefault(); } set { this._healthyConnectors = value; } } // Check to see if HealthyConnectors property is set internal bool IsSetHealthyConnectors() { return this._healthyConnectors.HasValue; } /// <summary> /// Gets and sets the property ShutdownConnectors. /// <para> /// Number of discovery connectors with status SHUTDOWN, /// </para> /// </summary> [AWSProperty(Required=true)] public int ShutdownConnectors { get { return this._shutdownConnectors.GetValueOrDefault(); } set { this._shutdownConnectors = value; } } // Check to see if ShutdownConnectors property is set internal bool IsSetShutdownConnectors() { return this._shutdownConnectors.HasValue; } /// <summary> /// Gets and sets the property TotalConnectors. /// <para> /// Total number of discovery connectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int TotalConnectors { get { return this._totalConnectors.GetValueOrDefault(); } set { this._totalConnectors = value; } } // Check to see if TotalConnectors property is set internal bool IsSetTotalConnectors() { return this._totalConnectors.HasValue; } /// <summary> /// Gets and sets the property UnhealthyConnectors. /// <para> /// Number of unhealthy discovery connectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int UnhealthyConnectors { get { return this._unhealthyConnectors.GetValueOrDefault(); } set { this._unhealthyConnectors = value; } } // Check to see if UnhealthyConnectors property is set internal bool IsSetUnhealthyConnectors() { return this._unhealthyConnectors.HasValue; } /// <summary> /// Gets and sets the property UnknownConnectors. /// <para> /// Number of unknown discovery connectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int UnknownConnectors { get { return this._unknownConnectors.GetValueOrDefault(); } set { this._unknownConnectors = value; } } // Check to see if UnknownConnectors property is set internal bool IsSetUnknownConnectors() { return this._unknownConnectors.HasValue; } } }
178
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// The inventory data for installed Migration Evaluator collectors. /// </summary> public partial class CustomerMeCollectorInfo { private int? _activeMeCollectors; private int? _denyListedMeCollectors; private int? _healthyMeCollectors; private int? _shutdownMeCollectors; private int? _totalMeCollectors; private int? _unhealthyMeCollectors; private int? _unknownMeCollectors; /// <summary> /// Gets and sets the property ActiveMeCollectors. /// <para> /// The number of active Migration Evaluator collectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int ActiveMeCollectors { get { return this._activeMeCollectors.GetValueOrDefault(); } set { this._activeMeCollectors = value; } } // Check to see if ActiveMeCollectors property is set internal bool IsSetActiveMeCollectors() { return this._activeMeCollectors.HasValue; } /// <summary> /// Gets and sets the property DenyListedMeCollectors. /// <para> /// The number of deny-listed Migration Evaluator collectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int DenyListedMeCollectors { get { return this._denyListedMeCollectors.GetValueOrDefault(); } set { this._denyListedMeCollectors = value; } } // Check to see if DenyListedMeCollectors property is set internal bool IsSetDenyListedMeCollectors() { return this._denyListedMeCollectors.HasValue; } /// <summary> /// Gets and sets the property HealthyMeCollectors. /// <para> /// The number of healthy Migration Evaluator collectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int HealthyMeCollectors { get { return this._healthyMeCollectors.GetValueOrDefault(); } set { this._healthyMeCollectors = value; } } // Check to see if HealthyMeCollectors property is set internal bool IsSetHealthyMeCollectors() { return this._healthyMeCollectors.HasValue; } /// <summary> /// Gets and sets the property ShutdownMeCollectors. /// <para> /// The number of Migration Evaluator collectors with <code>SHUTDOWN</code> status. /// </para> /// </summary> [AWSProperty(Required=true)] public int ShutdownMeCollectors { get { return this._shutdownMeCollectors.GetValueOrDefault(); } set { this._shutdownMeCollectors = value; } } // Check to see if ShutdownMeCollectors property is set internal bool IsSetShutdownMeCollectors() { return this._shutdownMeCollectors.HasValue; } /// <summary> /// Gets and sets the property TotalMeCollectors. /// <para> /// The total number of Migration Evaluator collectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int TotalMeCollectors { get { return this._totalMeCollectors.GetValueOrDefault(); } set { this._totalMeCollectors = value; } } // Check to see if TotalMeCollectors property is set internal bool IsSetTotalMeCollectors() { return this._totalMeCollectors.HasValue; } /// <summary> /// Gets and sets the property UnhealthyMeCollectors. /// <para> /// The number of unhealthy Migration Evaluator collectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int UnhealthyMeCollectors { get { return this._unhealthyMeCollectors.GetValueOrDefault(); } set { this._unhealthyMeCollectors = value; } } // Check to see if UnhealthyMeCollectors property is set internal bool IsSetUnhealthyMeCollectors() { return this._unhealthyMeCollectors.HasValue; } /// <summary> /// Gets and sets the property UnknownMeCollectors. /// <para> /// The number of unknown Migration Evaluator collectors. /// </para> /// </summary> [AWSProperty(Required=true)] public int UnknownMeCollectors { get { return this._unknownMeCollectors.GetValueOrDefault(); } set { this._unknownMeCollectors = value; } } // Check to see if UnknownMeCollectors property is set internal bool IsSetUnknownMeCollectors() { return this._unknownMeCollectors.HasValue; } } }
178
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the DeleteApplications operation. /// Deletes a list of applications and their associations with configuration items. /// </summary> public partial class DeleteApplicationsRequest : AmazonApplicationDiscoveryServiceRequest { private List<string> _configurationIds = new List<string>(); /// <summary> /// Gets and sets the property ConfigurationIds. /// <para> /// Configuration ID of an application to be deleted. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> ConfigurationIds { get { return this._configurationIds; } set { this._configurationIds = value; } } // Check to see if ConfigurationIds property is set internal bool IsSetConfigurationIds() { return this._configurationIds != null && this._configurationIds.Count > 0; } } }
59
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the DeleteApplications operation. /// </summary> public partial class DeleteApplicationsResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the DeleteTags operation. /// Deletes the association between configuration items and one or more tags. This API /// accepts a list of multiple configuration items. /// </summary> public partial class DeleteTagsRequest : AmazonApplicationDiscoveryServiceRequest { private List<string> _configurationIds = new List<string>(); private List<Tag> _tags = new List<Tag>(); /// <summary> /// Gets and sets the property ConfigurationIds. /// <para> /// A list of configuration items with tags that you want to delete. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> ConfigurationIds { get { return this._configurationIds; } set { this._configurationIds = value; } } // Check to see if ConfigurationIds property is set internal bool IsSetConfigurationIds() { return this._configurationIds != null && this._configurationIds.Count > 0; } /// <summary> /// Gets and sets the property Tags. /// <para> /// Tags that you want to delete from one or more configuration items. Specify the tags /// that you want to delete in a <i>key</i>-<i>value</i> format. For example: /// </para> /// /// <para> /// <code>{"key": "serverType", "value": "webServer"}</code> /// </para> /// </summary> public List<Tag> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }
84
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the DeleteTags operation. /// </summary> public partial class DeleteTagsResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the DescribeAgents operation. /// Lists agents or collectors as specified by ID or other filters. All agents/collectors /// associated with your user can be listed if you call <code>DescribeAgents</code> as /// is without passing any parameters. /// </summary> public partial class DescribeAgentsRequest : AmazonApplicationDiscoveryServiceRequest { private List<string> _agentIds = new List<string>(); private List<Filter> _filters = new List<Filter>(); private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property AgentIds. /// <para> /// The agent or the collector IDs for which you want information. If you specify no IDs, /// the system returns information about all agents/collectors associated with your user. /// </para> /// </summary> public List<string> AgentIds { get { return this._agentIds; } set { this._agentIds = value; } } // Check to see if AgentIds property is set internal bool IsSetAgentIds() { return this._agentIds != null && this._agentIds.Count > 0; } /// <summary> /// Gets and sets the property Filters. /// <para> /// You can filter the request using various logical operators and a <i>key</i>-<i>value</i> /// format. For example: /// </para> /// /// <para> /// <code>{"key": "collectionStatus", "value": "STARTED"}</code> /// </para> /// </summary> public List<Filter> Filters { get { return this._filters; } set { this._filters = value; } } // Check to see if Filters property is set internal bool IsSetFilters() { return this._filters != null && this._filters.Count > 0; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The total number of agents/collectors to return in a single page of output. The maximum /// value is 100. /// </para> /// </summary> public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// Token to retrieve the next set of results. For example, if you previously specified /// 100 IDs for <code>DescribeAgentsRequest$agentIds</code> but set <code>DescribeAgentsRequest$maxResults</code> /// to 10, you received a set of 10 results along with a token. Use that token in this /// query to get the next set of 10. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
127
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the DescribeAgents operation. /// </summary> public partial class DescribeAgentsResponse : AmazonWebServiceResponse { private List<AgentInfo> _agentsInfo = new List<AgentInfo>(); private string _nextToken; /// <summary> /// Gets and sets the property AgentsInfo. /// <para> /// Lists agents or the collector by ID or lists all agents/collectors associated with /// your user, if you did not specify an agent/collector ID. The output includes agent/collector /// IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host /// name where the agent/collector resides, and the version number of each agent/collector. /// </para> /// </summary> public List<AgentInfo> AgentsInfo { get { return this._agentsInfo; } set { this._agentsInfo = value; } } // Check to see if AgentsInfo property is set internal bool IsSetAgentsInfo() { return this._agentsInfo != null && this._agentsInfo.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// Token to retrieve the next set of results. For example, if you specified 100 IDs for /// <code>DescribeAgentsRequest$agentIds</code> but set <code>DescribeAgentsRequest$maxResults</code> /// to 10, you received a set of 10 results along with this token. Use this token in the /// next query to retrieve the next set of 10. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
82
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the DescribeConfigurations operation. /// Retrieves attributes for a list of configuration item IDs. /// /// <note> /// <para> /// All of the supplied IDs must be for the same asset type from one of the following: /// </para> /// <ul> <li> /// <para> /// server /// </para> /// </li> <li> /// <para> /// application /// </para> /// </li> <li> /// <para> /// process /// </para> /// </li> <li> /// <para> /// connection /// </para> /// </li> </ul> /// <para> /// Output fields are specific to the asset type specified. For example, the output for /// a <i>server</i> configuration item includes a list of attributes about the server, /// such as host name, operating system, number of network cards, etc. /// </para> /// /// <para> /// For a complete list of outputs for each asset type, see <a href="https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#DescribeConfigurations">Using /// the DescribeConfigurations Action</a> in the <i>Amazon Web Services Application Discovery /// Service User Guide</i>. /// </para> /// </note> /// </summary> public partial class DescribeConfigurationsRequest : AmazonApplicationDiscoveryServiceRequest { private List<string> _configurationIds = new List<string>(); /// <summary> /// Gets and sets the property ConfigurationIds. /// <para> /// One or more configuration IDs. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> ConfigurationIds { get { return this._configurationIds; } set { this._configurationIds = value; } } // Check to see if ConfigurationIds property is set internal bool IsSetConfigurationIds() { return this._configurationIds != null && this._configurationIds.Count > 0; } } }
93
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the DescribeConfigurations operation. /// </summary> public partial class DescribeConfigurationsResponse : AmazonWebServiceResponse { private List<Dictionary<string, string>> _configurations = new List<Dictionary<string, string>>(); /// <summary> /// Gets and sets the property Configurations. /// <para> /// A key in the response map. The value is an array of data. /// </para> /// </summary> public List<Dictionary<string, string>> Configurations { get { return this._configurations; } set { this._configurations = value; } } // Check to see if Configurations property is set internal bool IsSetConfigurations() { return this._configurations != null && this._configurations.Count > 0; } } }
57
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the DescribeContinuousExports operation. /// Lists exports as specified by ID. All continuous exports associated with your user /// can be listed if you call <code>DescribeContinuousExports</code> as is without passing /// any parameters. /// </summary> public partial class DescribeContinuousExportsRequest : AmazonApplicationDiscoveryServiceRequest { private List<string> _exportIds = new List<string>(); private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property ExportIds. /// <para> /// The unique IDs assigned to the exports. /// </para> /// </summary> public List<string> ExportIds { get { return this._exportIds; } set { this._exportIds = value; } } // Check to see if ExportIds property is set internal bool IsSetExportIds() { return this._exportIds != null && this._exportIds.Count > 0; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// A number between 1 and 100 specifying the maximum number of continuous export descriptions /// returned. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The token from the previous call to <code>DescribeExportTasks</code>. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
100
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the DescribeContinuousExports operation. /// </summary> public partial class DescribeContinuousExportsResponse : AmazonWebServiceResponse { private List<ContinuousExportDescription> _descriptions = new List<ContinuousExportDescription>(); private string _nextToken; /// <summary> /// Gets and sets the property Descriptions. /// <para> /// A list of continuous export descriptions. /// </para> /// </summary> public List<ContinuousExportDescription> Descriptions { get { return this._descriptions; } set { this._descriptions = value; } } // Check to see if Descriptions property is set internal bool IsSetDescriptions() { return this._descriptions != null && this._descriptions.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The token from the previous call to <code>DescribeExportTasks</code>. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
76
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the DescribeExportConfigurations operation. /// <code>DescribeExportConfigurations</code> is deprecated. Use <a href="https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_DescribeExportTasks.html">DescribeExportTasks</a>, /// instead. /// </summary> public partial class DescribeExportConfigurationsRequest : AmazonApplicationDiscoveryServiceRequest { private List<string> _exportIds = new List<string>(); private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property ExportIds. /// <para> /// A list of continuous export IDs to search for. /// </para> /// </summary> public List<string> ExportIds { get { return this._exportIds; } set { this._exportIds = value; } } // Check to see if ExportIds property is set internal bool IsSetExportIds() { return this._exportIds != null && this._exportIds.Count > 0; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// A number between 1 and 100 specifying the maximum number of continuous export descriptions /// returned. /// </para> /// </summary> public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The token from the previous call to describe-export-tasks. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
98
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the DescribeExportConfigurations operation. /// </summary> public partial class DescribeExportConfigurationsResponse : AmazonWebServiceResponse { private List<ExportInfo> _exportsInfo = new List<ExportInfo>(); private string _nextToken; /// <summary> /// Gets and sets the property ExportsInfo. /// </summary> public List<ExportInfo> ExportsInfo { get { return this._exportsInfo; } set { this._exportsInfo = value; } } // Check to see if ExportsInfo property is set internal bool IsSetExportsInfo() { return this._exportsInfo != null && this._exportsInfo.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The token from the previous call to describe-export-tasks. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
73
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the DescribeExportTasks operation. /// Retrieve status of one or more export tasks. You can retrieve the status of up to /// 100 export tasks. /// </summary> public partial class DescribeExportTasksRequest : AmazonApplicationDiscoveryServiceRequest { private List<string> _exportIds = new List<string>(); private List<ExportFilter> _filters = new List<ExportFilter>(); private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property ExportIds. /// <para> /// One or more unique identifiers used to query the status of an export request. /// </para> /// </summary> public List<string> ExportIds { get { return this._exportIds; } set { this._exportIds = value; } } // Check to see if ExportIds property is set internal bool IsSetExportIds() { return this._exportIds != null && this._exportIds.Count > 0; } /// <summary> /// Gets and sets the property Filters. /// <para> /// One or more filters. /// </para> /// <ul> <li> /// <para> /// <code>AgentId</code> - ID of the agent whose collected data will be exported /// </para> /// </li> </ul> /// </summary> public List<ExportFilter> Filters { get { return this._filters; } set { this._filters = value; } } // Check to see if Filters property is set internal bool IsSetFilters() { return this._filters != null && this._filters.Count > 0; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of volume results returned by <code>DescribeExportTasks</code> /// in paginated output. When this parameter is used, <code>DescribeExportTasks</code> /// only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> /// response element. /// </para> /// </summary> public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value returned from a previous paginated <code>DescribeExportTasks</code> /// request where <code>maxResults</code> was used and the results exceeded the value /// of that parameter. Pagination continues from the end of the previous results that /// returned the <code>nextToken</code> value. This value is null when there are no more /// results to return. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
128
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the DescribeExportTasks operation. /// </summary> public partial class DescribeExportTasksResponse : AmazonWebServiceResponse { private List<ExportInfo> _exportsInfo = new List<ExportInfo>(); private string _nextToken; /// <summary> /// Gets and sets the property ExportsInfo. /// <para> /// Contains one or more sets of export request details. When the status of a request /// is <code>SUCCEEDED</code>, the response includes a URL for an Amazon S3 bucket where /// you can view the data in a CSV file. /// </para> /// </summary> public List<ExportInfo> ExportsInfo { get { return this._exportsInfo; } set { this._exportsInfo = value; } } // Check to see if ExportsInfo property is set internal bool IsSetExportsInfo() { return this._exportsInfo != null && this._exportsInfo.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value to include in a future <code>DescribeExportTasks</code> /// request. When the results of a <code>DescribeExportTasks</code> request exceed <code>maxResults</code>, /// this value can be used to retrieve the next page of results. This value is null when /// there are no more results to return. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
81
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the DescribeImportTasks operation. /// 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. /// </summary> public partial class DescribeImportTasksRequest : AmazonApplicationDiscoveryServiceRequest { private List<ImportTaskFilter> _filters = new List<ImportTaskFilter>(); private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property Filters. /// <para> /// An array of name-value pairs that you provide to filter the results for the <code>DescribeImportTask</code> /// request to a specific subset of results. Currently, wildcard values aren't supported /// for filters. /// </para> /// </summary> public List<ImportTaskFilter> Filters { get { return this._filters; } set { this._filters = value; } } // Check to see if Filters property is set internal bool IsSetFilters() { return this._filters != null && this._filters.Count > 0; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The maximum number of results that you want this request to return, up to 100. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The token to request a specific page of results. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
100
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the DescribeImportTasks operation. /// </summary> public partial class DescribeImportTasksResponse : AmazonWebServiceResponse { private string _nextToken; private List<ImportTask> _tasks = new List<ImportTask>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// The token to request the next page of results. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property Tasks. /// <para> /// A returned array of import tasks that match any applied filters, up to the specified /// number of maximum results. /// </para> /// </summary> public List<ImportTask> Tasks { get { return this._tasks; } set { this._tasks = value; } } // Check to see if Tasks property is set internal bool IsSetTasks() { return this._tasks != null && this._tasks.Count > 0; } } }
77
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the DescribeTags operation. /// Retrieves a list of configuration items that have tags as specified by the key-value /// pairs, name and value, passed to the optional parameter <code>filters</code>. /// /// /// <para> /// There are three valid tag filter names: /// </para> /// <ul> <li> /// <para> /// tagKey /// </para> /// </li> <li> /// <para> /// tagValue /// </para> /// </li> <li> /// <para> /// configurationId /// </para> /// </li> </ul> /// <para> /// Also, all configuration items associated with your user that have tags can be listed /// if you call <code>DescribeTags</code> as is without passing any parameters. /// </para> /// </summary> public partial class DescribeTagsRequest : AmazonApplicationDiscoveryServiceRequest { private List<TagFilter> _filters = new List<TagFilter>(); private int? _maxResults; private string _nextToken; /// <summary> /// Gets and sets the property Filters. /// <para> /// You can filter the list using a <i>key</i>-<i>value</i> format. You can separate these /// items by using logical operators. Allowed filters include <code>tagKey</code>, <code>tagValue</code>, /// and <code>configurationId</code>. /// </para> /// </summary> public List<TagFilter> Filters { get { return this._filters; } set { this._filters = value; } } // Check to see if Filters property is set internal bool IsSetFilters() { return this._filters != null && this._filters.Count > 0; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The total number of items to return in a single page of output. The maximum value /// is 100. /// </para> /// </summary> public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// A token to start the list. Use this token to get the next set of results. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
122
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the DescribeTags operation. /// </summary> public partial class DescribeTagsResponse : AmazonWebServiceResponse { private string _nextToken; private List<ConfigurationTag> _tags = new List<ConfigurationTag>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// The call returns a token. Use this token to get the next set of results. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// Depending on the input, this is a list of configuration items tagged with a specific /// tag, or a list of tags for a specific configuration item. /// </para> /// </summary> public List<ConfigurationTag> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }
77
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the DisassociateConfigurationItemsFromApplication operation. /// Disassociates one or more configuration items from an application. /// </summary> public partial class DisassociateConfigurationItemsFromApplicationRequest : AmazonApplicationDiscoveryServiceRequest { private string _applicationConfigurationId; private List<string> _configurationIds = new List<string>(); /// <summary> /// Gets and sets the property ApplicationConfigurationId. /// <para> /// Configuration ID of an application from which each item is disassociated. /// </para> /// </summary> [AWSProperty(Required=true, Max=200)] public string ApplicationConfigurationId { get { return this._applicationConfigurationId; } set { this._applicationConfigurationId = value; } } // Check to see if ApplicationConfigurationId property is set internal bool IsSetApplicationConfigurationId() { return this._applicationConfigurationId != null; } /// <summary> /// Gets and sets the property ConfigurationIds. /// <para> /// Configuration ID of each item to be disassociated from an application. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> ConfigurationIds { get { return this._configurationIds; } set { this._configurationIds = value; } } // Check to see if ConfigurationIds property is set internal bool IsSetConfigurationIds() { return this._configurationIds != null && this._configurationIds.Count > 0; } } }
79
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the DisassociateConfigurationItemsFromApplication operation. /// </summary> public partial class DisassociateConfigurationItemsFromApplicationResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Indicates that the exported data must include EC2 instance type matches for on-premises /// servers that are discovered through Amazon Web Services Application Discovery Service. /// </summary> public partial class Ec2RecommendationsExportPreferences { private UsageMetricBasis _cpuPerformanceMetricBasis; private bool? _enabled; private List<string> _excludedInstanceTypes = new List<string>(); private string _preferredRegion; private UsageMetricBasis _ramPerformanceMetricBasis; private ReservedInstanceOptions _reservedInstanceOptions; private Tenancy _tenancy; /// <summary> /// Gets and sets the property CpuPerformanceMetricBasis. /// <para> /// The recommended EC2 instance type that matches the CPU usage metric of server performance /// data. /// </para> /// </summary> public UsageMetricBasis CpuPerformanceMetricBasis { get { return this._cpuPerformanceMetricBasis; } set { this._cpuPerformanceMetricBasis = value; } } // Check to see if CpuPerformanceMetricBasis property is set internal bool IsSetCpuPerformanceMetricBasis() { return this._cpuPerformanceMetricBasis != null; } /// <summary> /// Gets and sets the property Enabled. /// <para> /// If set to true, the export <a href="https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_StartExportTask.html#API_StartExportTask_RequestSyntax">preferences</a> /// is set to <code>Ec2RecommendationsExportPreferences</code>. /// </para> /// </summary> public bool Enabled { get { return this._enabled.GetValueOrDefault(); } set { this._enabled = value; } } // Check to see if Enabled property is set internal bool IsSetEnabled() { return this._enabled.HasValue; } /// <summary> /// Gets and sets the property ExcludedInstanceTypes. /// <para> /// An array of instance types to exclude from recommendations. /// </para> /// </summary> public List<string> ExcludedInstanceTypes { get { return this._excludedInstanceTypes; } set { this._excludedInstanceTypes = value; } } // Check to see if ExcludedInstanceTypes property is set internal bool IsSetExcludedInstanceTypes() { return this._excludedInstanceTypes != null && this._excludedInstanceTypes.Count > 0; } /// <summary> /// Gets and sets the property PreferredRegion. /// <para> /// The target Amazon Web Services Region for the recommendations. You can use any of /// the Region codes available for the chosen service, as listed in <a href="https://docs.aws.amazon.com/general/latest/gr/rande.html">Amazon /// Web Services service endpoints</a> in the <i>Amazon Web Services General Reference</i>. /// /// </para> /// </summary> [AWSProperty(Min=1, Max=30)] public string PreferredRegion { get { return this._preferredRegion; } set { this._preferredRegion = value; } } // Check to see if PreferredRegion property is set internal bool IsSetPreferredRegion() { return this._preferredRegion != null; } /// <summary> /// Gets and sets the property RamPerformanceMetricBasis. /// <para> /// The recommended EC2 instance type that matches the Memory usage metric of server /// performance data. /// </para> /// </summary> public UsageMetricBasis RamPerformanceMetricBasis { get { return this._ramPerformanceMetricBasis; } set { this._ramPerformanceMetricBasis = value; } } // Check to see if RamPerformanceMetricBasis property is set internal bool IsSetRamPerformanceMetricBasis() { return this._ramPerformanceMetricBasis != null; } /// <summary> /// Gets and sets the property ReservedInstanceOptions. /// <para> /// The contract type for a reserved instance. If blank, we assume an On-Demand instance /// is preferred. /// </para> /// </summary> public ReservedInstanceOptions ReservedInstanceOptions { get { return this._reservedInstanceOptions; } set { this._reservedInstanceOptions = value; } } // Check to see if ReservedInstanceOptions property is set internal bool IsSetReservedInstanceOptions() { return this._reservedInstanceOptions != null; } /// <summary> /// Gets and sets the property Tenancy. /// <para> /// The target tenancy to use for your recommended EC2 instances. /// </para> /// </summary> public Tenancy Tenancy { get { return this._tenancy; } set { this._tenancy = value; } } // Check to see if Tenancy property is set internal bool IsSetTenancy() { return this._tenancy != null; } } }
180
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the ExportConfigurations operation. /// Deprecated. Use <code>StartExportTask</code> instead. /// /// /// <para> /// 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 <i>DescribeExportConfigurations</i> API. The system /// imposes a limit of two configuration exports in six hours. /// </para> /// </summary> public partial class ExportConfigurationsRequest : AmazonApplicationDiscoveryServiceRequest { } }
48
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the ExportConfigurations operation. /// </summary> public partial class ExportConfigurationsResponse : AmazonWebServiceResponse { private string _exportId; /// <summary> /// Gets and sets the property ExportId. /// <para> /// A unique identifier that you can use to query the export status. /// </para> /// </summary> [AWSProperty(Max=200)] public string ExportId { get { return this._exportId; } set { this._exportId = value; } } // Check to see if ExportId property is set internal bool IsSetExportId() { return this._exportId != null; } } }
58
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Used to select which agent's data is to be exported. A single agent ID may be selected /// for export using the <a href="http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_StartExportTask.html">StartExportTask</a> /// action. /// </summary> public partial class ExportFilter { private string _condition; private string _name; private List<string> _values = new List<string>(); /// <summary> /// Gets and sets the property Condition. /// <para> /// Supported condition: <code>EQUALS</code> /// </para> /// </summary> [AWSProperty(Required=true, Max=200)] public string Condition { get { return this._condition; } set { this._condition = value; } } // Check to see if Condition property is set internal bool IsSetCondition() { return this._condition != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// A single <code>ExportFilter</code> name. Supported filters: <code>agentIds</code>. /// </para> /// </summary> [AWSProperty(Required=true, Max=1000)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Values. /// <para> /// A single agent ID for a Discovery Agent. An agent ID can be found using the <a href="http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_DescribeAgents.html">DescribeAgents</a> /// action. Typically an ADS agent ID is in the form <code>o-0123456789abcdef0</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> Values { get { return this._values; } set { this._values = value; } } // Check to see if Values property is set internal bool IsSetValues() { return this._values != null && this._values.Count > 0; } } }
101
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Information regarding the export status of discovered data. The value is an array /// of objects. /// </summary> public partial class ExportInfo { private string _configurationsDownloadUrl; private string _exportId; private DateTime? _exportRequestTime; private ExportStatus _exportStatus; private bool? _isTruncated; private DateTime? _requestedEndTime; private DateTime? _requestedStartTime; private string _statusMessage; /// <summary> /// Gets and sets the property ConfigurationsDownloadUrl. /// <para> /// A URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed /// only if the export succeeded. /// </para> /// </summary> public string ConfigurationsDownloadUrl { get { return this._configurationsDownloadUrl; } set { this._configurationsDownloadUrl = value; } } // Check to see if ConfigurationsDownloadUrl property is set internal bool IsSetConfigurationsDownloadUrl() { return this._configurationsDownloadUrl != null; } /// <summary> /// Gets and sets the property ExportId. /// <para> /// A unique identifier used to query an export. /// </para> /// </summary> [AWSProperty(Required=true, Max=200)] public string ExportId { get { return this._exportId; } set { this._exportId = value; } } // Check to see if ExportId property is set internal bool IsSetExportId() { return this._exportId != null; } /// <summary> /// Gets and sets the property ExportRequestTime. /// <para> /// The time that the data export was initiated. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime ExportRequestTime { get { return this._exportRequestTime.GetValueOrDefault(); } set { this._exportRequestTime = value; } } // Check to see if ExportRequestTime property is set internal bool IsSetExportRequestTime() { return this._exportRequestTime.HasValue; } /// <summary> /// Gets and sets the property ExportStatus. /// <para> /// The status of the data export job. /// </para> /// </summary> [AWSProperty(Required=true)] public ExportStatus ExportStatus { get { return this._exportStatus; } set { this._exportStatus = value; } } // Check to see if ExportStatus property is set internal bool IsSetExportStatus() { return this._exportStatus != null; } /// <summary> /// Gets and sets the property IsTruncated. /// <para> /// If true, the export of agent information exceeded the size limit for a single export /// and the exported data is incomplete for the requested time range. To address this, /// select a smaller time range for the export by using <code>startDate</code> and <code>endDate</code>. /// </para> /// </summary> public bool IsTruncated { get { return this._isTruncated.GetValueOrDefault(); } set { this._isTruncated = value; } } // Check to see if IsTruncated property is set internal bool IsSetIsTruncated() { return this._isTruncated.HasValue; } /// <summary> /// Gets and sets the property RequestedEndTime. /// <para> /// The <code>endTime</code> used in the <code>StartExportTask</code> request. If no <code>endTime</code> /// was requested, this result does not appear in <code>ExportInfo</code>. /// </para> /// </summary> public DateTime RequestedEndTime { get { return this._requestedEndTime.GetValueOrDefault(); } set { this._requestedEndTime = value; } } // Check to see if RequestedEndTime property is set internal bool IsSetRequestedEndTime() { return this._requestedEndTime.HasValue; } /// <summary> /// Gets and sets the property RequestedStartTime. /// <para> /// The value of <code>startTime</code> parameter in the <code>StartExportTask</code> /// request. If no <code>startTime</code> was requested, this result does not appear in /// <code>ExportInfo</code>. /// </para> /// </summary> public DateTime RequestedStartTime { get { return this._requestedStartTime.GetValueOrDefault(); } set { this._requestedStartTime = value; } } // Check to see if RequestedStartTime property is set internal bool IsSetRequestedStartTime() { return this._requestedStartTime.HasValue; } /// <summary> /// Gets and sets the property StatusMessage. /// <para> /// A status message provided for API callers. /// </para> /// </summary> [AWSProperty(Required=true)] public string StatusMessage { get { return this._statusMessage; } set { this._statusMessage = value; } } // Check to see if StatusMessage property is set internal bool IsSetStatusMessage() { return this._statusMessage != null; } } }
201
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Indicates the type of data that is being exported. Only one <code>ExportPreferences</code> /// can be enabled for a <a href="https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_StartExportTask.html">StartExportTask</a> /// action. /// </summary> public partial class ExportPreferences { private Ec2RecommendationsExportPreferences _ec2RecommendationsPreferences; /// <summary> /// Gets and sets the property Ec2RecommendationsPreferences. /// <para> /// If enabled, exported data includes EC2 instance type matches for on-premises servers /// discovered through Amazon Web Services Application Discovery Service. /// </para> /// </summary> public Ec2RecommendationsExportPreferences Ec2RecommendationsPreferences { get { return this._ec2RecommendationsPreferences; } set { this._ec2RecommendationsPreferences = value; } } // Check to see if Ec2RecommendationsPreferences property is set internal bool IsSetEc2RecommendationsPreferences() { return this._ec2RecommendationsPreferences != null; } } }
60
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// A filter that can use conditional operators. /// /// /// <para> /// For more information about filters, see <a href="https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html">Querying /// Discovered Configuration Items</a> in the <i>Amazon Web Services Application Discovery /// Service User Guide</i>. /// </para> /// </summary> public partial class Filter { private string _condition; private string _name; private List<string> _values = new List<string>(); /// <summary> /// Gets and sets the property Condition. /// <para> /// A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, /// NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as /// though concatenated by <i>AND</i>. If you specify multiple values for a particular /// filter, the system differentiates the values using <i>OR</i>. Calling either <i>DescribeConfigurations</i> /// or <i>ListConfigurations</i> returns attributes of matching configuration items. /// </para> /// </summary> [AWSProperty(Required=true, Max=200)] public string Condition { get { return this._condition; } set { this._condition = value; } } // Check to see if Condition property is set internal bool IsSetCondition() { return this._condition != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the filter. /// </para> /// </summary> [AWSProperty(Required=true, Max=10000)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Values. /// <para> /// A string value on which to filter. For example, if you choose the <code>destinationServer.osVersion</code> /// filter name, you could specify <code>Ubuntu</code> for the value. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> Values { get { return this._values; } set { this._values = value; } } // Check to see if Values property is set internal bool IsSetValues() { return this._values != null && this._values.Count > 0; } } }
110
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the GetDiscoverySummary operation. /// Retrieves a short summary of discovered assets. /// /// /// <para> /// This API operation takes no request parameters and is called as is at the command /// prompt as shown in the example. /// </para> /// </summary> public partial class GetDiscoverySummaryRequest : AmazonApplicationDiscoveryServiceRequest { } }
45
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the GetDiscoverySummary operation. /// </summary> public partial class GetDiscoverySummaryResponse : AmazonWebServiceResponse { private CustomerAgentlessCollectorInfo _agentlessCollectorSummary; private CustomerAgentInfo _agentSummary; private long? _applications; private CustomerConnectorInfo _connectorSummary; private CustomerMeCollectorInfo _meCollectorSummary; private long? _servers; private long? _serversMappedToApplications; private long? _serversMappedtoTags; /// <summary> /// Gets and sets the property AgentlessCollectorSummary. /// <para> /// Details about Agentless Collector collectors, including status. /// </para> /// </summary> public CustomerAgentlessCollectorInfo AgentlessCollectorSummary { get { return this._agentlessCollectorSummary; } set { this._agentlessCollectorSummary = value; } } // Check to see if AgentlessCollectorSummary property is set internal bool IsSetAgentlessCollectorSummary() { return this._agentlessCollectorSummary != null; } /// <summary> /// Gets and sets the property AgentSummary. /// <para> /// Details about discovered agents, including agent status and health. /// </para> /// </summary> public CustomerAgentInfo AgentSummary { get { return this._agentSummary; } set { this._agentSummary = value; } } // Check to see if AgentSummary property is set internal bool IsSetAgentSummary() { return this._agentSummary != null; } /// <summary> /// Gets and sets the property Applications. /// <para> /// The number of applications discovered. /// </para> /// </summary> public long Applications { get { return this._applications.GetValueOrDefault(); } set { this._applications = value; } } // Check to see if Applications property is set internal bool IsSetApplications() { return this._applications.HasValue; } /// <summary> /// Gets and sets the property ConnectorSummary. /// <para> /// Details about discovered connectors, including connector status and health. /// </para> /// </summary> public CustomerConnectorInfo ConnectorSummary { get { return this._connectorSummary; } set { this._connectorSummary = value; } } // Check to see if ConnectorSummary property is set internal bool IsSetConnectorSummary() { return this._connectorSummary != null; } /// <summary> /// Gets and sets the property MeCollectorSummary. /// <para> /// Details about Migration Evaluator collectors, including collector status and health. /// /// </para> /// </summary> public CustomerMeCollectorInfo MeCollectorSummary { get { return this._meCollectorSummary; } set { this._meCollectorSummary = value; } } // Check to see if MeCollectorSummary property is set internal bool IsSetMeCollectorSummary() { return this._meCollectorSummary != null; } /// <summary> /// Gets and sets the property Servers. /// <para> /// The number of servers discovered. /// </para> /// </summary> public long Servers { get { return this._servers.GetValueOrDefault(); } set { this._servers = value; } } // Check to see if Servers property is set internal bool IsSetServers() { return this._servers.HasValue; } /// <summary> /// Gets and sets the property ServersMappedToApplications. /// <para> /// The number of servers mapped to applications. /// </para> /// </summary> public long ServersMappedToApplications { get { return this._serversMappedToApplications.GetValueOrDefault(); } set { this._serversMappedToApplications = value; } } // Check to see if ServersMappedToApplications property is set internal bool IsSetServersMappedToApplications() { return this._serversMappedToApplications.HasValue; } /// <summary> /// Gets and sets the property ServersMappedtoTags. /// <para> /// The number of servers mapped to tags. /// </para> /// </summary> public long ServersMappedtoTags { get { return this._serversMappedtoTags.GetValueOrDefault(); } set { this._serversMappedtoTags = value; } } // Check to see if ServersMappedtoTags property is set internal bool IsSetServersMappedtoTags() { return this._serversMappedtoTags.HasValue; } } }
191
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// The home Region is not set. Set the home Region to continue. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class HomeRegionNotSetException : AmazonApplicationDiscoveryServiceException { /// <summary> /// Constructs a new HomeRegionNotSetException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public HomeRegionNotSetException(string message) : base(message) {} /// <summary> /// Construct instance of HomeRegionNotSetException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public HomeRegionNotSetException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of HomeRegionNotSetException /// </summary> /// <param name="innerException"></param> public HomeRegionNotSetException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of HomeRegionNotSetException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public HomeRegionNotSetException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of HomeRegionNotSetException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public HomeRegionNotSetException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the HomeRegionNotSetException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected HomeRegionNotSetException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// An array of information related to the import task request that includes status information, /// times, IDs, the Amazon S3 Object URL for the import file, and more. /// </summary> public partial class ImportTask { private int? _applicationImportFailure; private int? _applicationImportSuccess; private string _clientRequestToken; private string _errorsAndFailedEntriesZip; private DateTime? _importCompletionTime; private DateTime? _importDeletedTime; private DateTime? _importRequestTime; private string _importTaskId; private string _importUrl; private string _name; private int? _serverImportFailure; private int? _serverImportSuccess; private ImportStatus _status; /// <summary> /// Gets and sets the property ApplicationImportFailure. /// <para> /// The total number of application records in the import file that failed to be imported. /// </para> /// </summary> public int ApplicationImportFailure { get { return this._applicationImportFailure.GetValueOrDefault(); } set { this._applicationImportFailure = value; } } // Check to see if ApplicationImportFailure property is set internal bool IsSetApplicationImportFailure() { return this._applicationImportFailure.HasValue; } /// <summary> /// Gets and sets the property ApplicationImportSuccess. /// <para> /// The total number of application records in the import file that were successfully /// imported. /// </para> /// </summary> public int ApplicationImportSuccess { get { return this._applicationImportSuccess.GetValueOrDefault(); } set { this._applicationImportSuccess = value; } } // Check to see if ApplicationImportSuccess property is set internal bool IsSetApplicationImportSuccess() { return this._applicationImportSuccess.HasValue; } /// <summary> /// Gets and sets the property ClientRequestToken. /// <para> /// A unique token used to prevent the same import request from occurring more than once. /// If you didn't provide a token, a token was automatically generated when the import /// task request was sent. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public string ClientRequestToken { get { return this._clientRequestToken; } set { this._clientRequestToken = value; } } // Check to see if ClientRequestToken property is set internal bool IsSetClientRequestToken() { return this._clientRequestToken != null; } /// <summary> /// Gets and sets the property ErrorsAndFailedEntriesZip. /// <para> /// A link to a compressed archive folder (in the ZIP format) that contains an error log /// and a file of failed records. You can use these two files to quickly identify records /// that failed, why they failed, and correct those records. Afterward, you can upload /// the corrected file to your Amazon S3 bucket and create another import task request. /// </para> /// /// <para> /// This field also includes authorization information so you can confirm the authenticity /// of the compressed archive before you download it. /// </para> /// /// <para> /// If some records failed to be imported we recommend that you correct the records in /// the failed entries file and then imports that failed entries file. This prevents you /// from having to correct and update the larger original file and attempt importing it /// again. /// </para> /// </summary> public string ErrorsAndFailedEntriesZip { get { return this._errorsAndFailedEntriesZip; } set { this._errorsAndFailedEntriesZip = value; } } // Check to see if ErrorsAndFailedEntriesZip property is set internal bool IsSetErrorsAndFailedEntriesZip() { return this._errorsAndFailedEntriesZip != null; } /// <summary> /// Gets and sets the property ImportCompletionTime. /// <para> /// The time that the import task request finished, presented in the Unix time stamp format. /// </para> /// </summary> public DateTime ImportCompletionTime { get { return this._importCompletionTime.GetValueOrDefault(); } set { this._importCompletionTime = value; } } // Check to see if ImportCompletionTime property is set internal bool IsSetImportCompletionTime() { return this._importCompletionTime.HasValue; } /// <summary> /// Gets and sets the property ImportDeletedTime. /// <para> /// The time that the import task request was deleted, presented in the Unix time stamp /// format. /// </para> /// </summary> public DateTime ImportDeletedTime { get { return this._importDeletedTime.GetValueOrDefault(); } set { this._importDeletedTime = value; } } // Check to see if ImportDeletedTime property is set internal bool IsSetImportDeletedTime() { return this._importDeletedTime.HasValue; } /// <summary> /// Gets and sets the property ImportRequestTime. /// <para> /// The time that the import task request was made, presented in the Unix time stamp format. /// </para> /// </summary> public DateTime ImportRequestTime { get { return this._importRequestTime.GetValueOrDefault(); } set { this._importRequestTime = value; } } // Check to see if ImportRequestTime property is set internal bool IsSetImportRequestTime() { return this._importRequestTime.HasValue; } /// <summary> /// Gets and sets the property ImportTaskId. /// <para> /// The unique ID for a specific import task. These IDs aren't globally unique, but they /// are unique within an Amazon Web Services account. /// </para> /// </summary> [AWSProperty(Max=200)] public string ImportTaskId { get { return this._importTaskId; } set { this._importTaskId = value; } } // Check to see if ImportTaskId property is set internal bool IsSetImportTaskId() { return this._importTaskId != null; } /// <summary> /// Gets and sets the property ImportUrl. /// <para> /// The URL for your import file that you've uploaded to Amazon S3. /// </para> /// </summary> [AWSProperty(Min=1, Max=4000)] public string ImportUrl { get { return this._importUrl; } set { this._importUrl = value; } } // Check to see if ImportUrl property is set internal bool IsSetImportUrl() { return this._importUrl != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// A descriptive name for an import task. You can use this name to filter future requests /// related to this import task, such as identifying applications and servers that were /// included in this import task. We recommend that you use a meaningful name for each /// import task. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property ServerImportFailure. /// <para> /// The total number of server records in the import file that failed to be imported. /// </para> /// </summary> public int ServerImportFailure { get { return this._serverImportFailure.GetValueOrDefault(); } set { this._serverImportFailure = value; } } // Check to see if ServerImportFailure property is set internal bool IsSetServerImportFailure() { return this._serverImportFailure.HasValue; } /// <summary> /// Gets and sets the property ServerImportSuccess. /// <para> /// The total number of server records in the import file that were successfully imported. /// </para> /// </summary> public int ServerImportSuccess { get { return this._serverImportSuccess.GetValueOrDefault(); } set { this._serverImportSuccess = value; } } // Check to see if ServerImportSuccess property is set internal bool IsSetServerImportSuccess() { return this._serverImportSuccess.HasValue; } /// <summary> /// Gets and sets the property Status. /// <para> /// The status of the import task. An import can have the status of <code>IMPORT_COMPLETE</code> /// and still have some records fail to import from the overall request. More information /// can be found in the downloadable archive defined in the <code>errorsAndFailedEntriesZip</code> /// field, or in the Migration Hub management console. /// </para> /// </summary> public ImportStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }
316
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// A name-values pair of elements you can use to filter the results when querying your /// import tasks. Currently, wildcards are not supported for filters. /// /// <note> /// <para> /// When filtering by import status, all other filter values are ignored. /// </para> /// </note> /// </summary> public partial class ImportTaskFilter { private ImportTaskFilterName _name; private List<string> _values = new List<string>(); /// <summary> /// Gets and sets the property Name. /// <para> /// The name, status, or import task ID for a specific import task. /// </para> /// </summary> public ImportTaskFilterName Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Values. /// <para> /// An array of strings that you can provide to match against a specific name, status, /// or import task ID to filter the results for your import task queries. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public List<string> Values { get { return this._values; } set { this._values = value; } } // Check to see if Values property is set internal bool IsSetValues() { return this._values != null && this._values.Count > 0; } } }
85
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// One or more parameters are not valid. Verify the parameters and try again. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class InvalidParameterException : AmazonApplicationDiscoveryServiceException { /// <summary> /// Constructs a new InvalidParameterException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public InvalidParameterException(string message) : base(message) {} /// <summary> /// Construct instance of InvalidParameterException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public InvalidParameterException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of InvalidParameterException /// </summary> /// <param name="innerException"></param> public InvalidParameterException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of InvalidParameterException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InvalidParameterException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of InvalidParameterException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InvalidParameterException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the InvalidParameterException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected InvalidParameterException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class InvalidParameterValueException : AmazonApplicationDiscoveryServiceException { /// <summary> /// Constructs a new InvalidParameterValueException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public InvalidParameterValueException(string message) : base(message) {} /// <summary> /// Construct instance of InvalidParameterValueException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public InvalidParameterValueException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of InvalidParameterValueException /// </summary> /// <param name="innerException"></param> public InvalidParameterValueException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of InvalidParameterValueException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InvalidParameterValueException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of InvalidParameterValueException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InvalidParameterValueException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the InvalidParameterValueException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected InvalidParameterValueException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
125
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the ListConfigurations operation. /// Retrieves a list of configuration items as specified by the value passed to the required /// parameter <code>configurationType</code>. Optional filtering may be applied to refine /// search results. /// </summary> public partial class ListConfigurationsRequest : AmazonApplicationDiscoveryServiceRequest { private ConfigurationItemType _configurationType; private List<Filter> _filters = new List<Filter>(); private int? _maxResults; private string _nextToken; private List<OrderByElement> _orderBy = new List<OrderByElement>(); /// <summary> /// Gets and sets the property ConfigurationType. /// <para> /// A valid configuration identified by Application Discovery Service. /// </para> /// </summary> [AWSProperty(Required=true)] public ConfigurationItemType ConfigurationType { get { return this._configurationType; } set { this._configurationType = value; } } // Check to see if ConfigurationType property is set internal bool IsSetConfigurationType() { return this._configurationType != null; } /// <summary> /// Gets and sets the property Filters. /// <para> /// You can filter the request using various logical operators and a <i>key</i>-<i>value</i> /// format. For example: /// </para> /// /// <para> /// <code>{"key": "serverType", "value": "webServer"}</code> /// </para> /// /// <para> /// For a complete list of filter options and guidance about using them with this action, /// see <a href="https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#ListConfigurations">Using /// the ListConfigurations Action</a> in the <i>Amazon Web Services Application Discovery /// Service User Guide</i>. /// </para> /// </summary> public List<Filter> Filters { get { return this._filters; } set { this._filters = value; } } // Check to see if Filters property is set internal bool IsSetFilters() { return this._filters != null && this._filters.Count > 0; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// The total number of items to return. The maximum value is 100. /// </para> /// </summary> public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// Token to retrieve the next set of results. For example, if a previous call to ListConfigurations /// returned 100 items, but you set <code>ListConfigurationsRequest$maxResults</code> /// to 10, you received a set of 10 results along with a token. Use that token in this /// query to get the next set of 10. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property OrderBy. /// <para> /// Certain filter criteria return output that can be sorted in ascending or descending /// order. For a list of output characteristics for each filter, see <a href="https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#ListConfigurations">Using /// the ListConfigurations Action</a> in the <i>Amazon Web Services Application Discovery /// Service User Guide</i>. /// </para> /// </summary> public List<OrderByElement> OrderBy { get { return this._orderBy; } set { this._orderBy = value; } } // Check to see if OrderBy property is set internal bool IsSetOrderBy() { return this._orderBy != null && this._orderBy.Count > 0; } } }
155
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the ListConfigurations operation. /// </summary> public partial class ListConfigurationsResponse : AmazonWebServiceResponse { private List<Dictionary<string, string>> _configurations = new List<Dictionary<string, string>>(); private string _nextToken; /// <summary> /// Gets and sets the property Configurations. /// <para> /// Returns configuration details, including the configuration ID, attribute names, and /// attribute values. /// </para> /// </summary> public List<Dictionary<string, string>> Configurations { get { return this._configurations; } set { this._configurations = value; } } // Check to see if Configurations property is set internal bool IsSetConfigurations() { return this._configurations != null && this._configurations.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// Token to retrieve the next set of results. For example, if your call to ListConfigurations /// returned 100 items, but you set <code>ListConfigurationsRequest$maxResults</code> /// to 10, you received a set of 10 results along with this token. Use this token in the /// next query to retrieve the next set of 10. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
80
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the ListServerNeighbors operation. /// Retrieves a list of servers that are one network hop away from a specified server. /// </summary> public partial class ListServerNeighborsRequest : AmazonApplicationDiscoveryServiceRequest { private string _configurationId; private int? _maxResults; private List<string> _neighborConfigurationIds = new List<string>(); private string _nextToken; private bool? _portInformationNeeded; /// <summary> /// Gets and sets the property ConfigurationId. /// <para> /// Configuration ID of the server for which neighbors are being listed. /// </para> /// </summary> [AWSProperty(Required=true, Max=200)] public string ConfigurationId { get { return this._configurationId; } set { this._configurationId = value; } } // Check to see if ConfigurationId property is set internal bool IsSetConfigurationId() { return this._configurationId != null; } /// <summary> /// Gets and sets the property MaxResults. /// <para> /// Maximum number of results to return in a single page of output. /// </para> /// </summary> public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// <summary> /// Gets and sets the property NeighborConfigurationIds. /// <para> /// List of configuration IDs to test for one-hop-away. /// </para> /// </summary> public List<string> NeighborConfigurationIds { get { return this._neighborConfigurationIds; } set { this._neighborConfigurationIds = value; } } // Check to see if NeighborConfigurationIds property is set internal bool IsSetNeighborConfigurationIds() { return this._neighborConfigurationIds != null && this._neighborConfigurationIds.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// Token to retrieve the next set of results. For example, if you previously specified /// 100 IDs for <code>ListServerNeighborsRequest$neighborConfigurationIds</code> but set /// <code>ListServerNeighborsRequest$maxResults</code> to 10, you received a set of 10 /// results along with a token. Use that token in this query to get the next set of 10. /// </para> /// </summary> [AWSProperty(Max=10000)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// <summary> /// Gets and sets the property PortInformationNeeded. /// <para> /// Flag to indicate if port and protocol information is needed as part of the response. /// </para> /// </summary> public bool PortInformationNeeded { get { return this._portInformationNeeded.GetValueOrDefault(); } set { this._portInformationNeeded = value; } } // Check to see if PortInformationNeeded property is set internal bool IsSetPortInformationNeeded() { return this._portInformationNeeded.HasValue; } } }
139
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the ListServerNeighbors operation. /// </summary> public partial class ListServerNeighborsResponse : AmazonWebServiceResponse { private long? _knownDependencyCount; private List<NeighborConnectionDetail> _neighbors = new List<NeighborConnectionDetail>(); private string _nextToken; /// <summary> /// Gets and sets the property KnownDependencyCount. /// <para> /// Count of distinct servers that are one hop away from the given server. /// </para> /// </summary> public long KnownDependencyCount { get { return this._knownDependencyCount.GetValueOrDefault(); } set { this._knownDependencyCount = value; } } // Check to see if KnownDependencyCount property is set internal bool IsSetKnownDependencyCount() { return this._knownDependencyCount.HasValue; } /// <summary> /// Gets and sets the property Neighbors. /// <para> /// List of distinct servers that are one hop away from the given server. /// </para> /// </summary> [AWSProperty(Required=true)] public List<NeighborConnectionDetail> Neighbors { get { return this._neighbors; } set { this._neighbors = value; } } // Check to see if Neighbors property is set internal bool IsSetNeighbors() { return this._neighbors != null && this._neighbors.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// Token to retrieve the next set of results. For example, if you specified 100 IDs for /// <code>ListServerNeighborsRequest$neighborConfigurationIds</code> but set <code>ListServerNeighborsRequest$maxResults</code> /// to 10, you received a set of 10 results along with this token. Use this token in the /// next query to retrieve the next set of 10. /// </para> /// </summary> [AWSProperty(Max=10000)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
100
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Details about neighboring servers. /// </summary> public partial class NeighborConnectionDetail { private long? _connectionsCount; private int? _destinationPort; private string _destinationServerId; private string _sourceServerId; private string _transportProtocol; /// <summary> /// Gets and sets the property ConnectionsCount. /// <para> /// The number of open network connections with the neighboring server. /// </para> /// </summary> [AWSProperty(Required=true)] public long ConnectionsCount { get { return this._connectionsCount.GetValueOrDefault(); } set { this._connectionsCount = value; } } // Check to see if ConnectionsCount property is set internal bool IsSetConnectionsCount() { return this._connectionsCount.HasValue; } /// <summary> /// Gets and sets the property DestinationPort. /// <para> /// The destination network port for the connection. /// </para> /// </summary> public int DestinationPort { get { return this._destinationPort.GetValueOrDefault(); } set { this._destinationPort = value; } } // Check to see if DestinationPort property is set internal bool IsSetDestinationPort() { return this._destinationPort.HasValue; } /// <summary> /// Gets and sets the property DestinationServerId. /// <para> /// The ID of the server that accepted the network connection. /// </para> /// </summary> [AWSProperty(Required=true, Max=200)] public string DestinationServerId { get { return this._destinationServerId; } set { this._destinationServerId = value; } } // Check to see if DestinationServerId property is set internal bool IsSetDestinationServerId() { return this._destinationServerId != null; } /// <summary> /// Gets and sets the property SourceServerId. /// <para> /// The ID of the server that opened the network connection. /// </para> /// </summary> [AWSProperty(Required=true, Max=200)] public string SourceServerId { get { return this._sourceServerId; } set { this._sourceServerId = value; } } // Check to see if SourceServerId property is set internal bool IsSetSourceServerId() { return this._sourceServerId != null; } /// <summary> /// Gets and sets the property TransportProtocol. /// <para> /// The network protocol used for the connection. /// </para> /// </summary> [AWSProperty(Max=10000)] public string TransportProtocol { get { return this._transportProtocol; } set { this._transportProtocol = value; } } // Check to see if TransportProtocol property is set internal bool IsSetTransportProtocol() { return this._transportProtocol != null; } } }
137
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This operation is not permitted. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class OperationNotPermittedException : AmazonApplicationDiscoveryServiceException { /// <summary> /// Constructs a new OperationNotPermittedException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public OperationNotPermittedException(string message) : base(message) {} /// <summary> /// Construct instance of OperationNotPermittedException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public OperationNotPermittedException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of OperationNotPermittedException /// </summary> /// <param name="innerException"></param> public OperationNotPermittedException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of OperationNotPermittedException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public OperationNotPermittedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of OperationNotPermittedException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public OperationNotPermittedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the OperationNotPermittedException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected OperationNotPermittedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// A field and direction for ordered output. /// </summary> public partial class OrderByElement { private string _fieldName; private OrderString _sortOrder; /// <summary> /// Gets and sets the property FieldName. /// <para> /// The field on which to order. /// </para> /// </summary> [AWSProperty(Required=true, Max=1000)] public string FieldName { get { return this._fieldName; } set { this._fieldName = value; } } // Check to see if FieldName property is set internal bool IsSetFieldName() { return this._fieldName != null; } /// <summary> /// Gets and sets the property SortOrder. /// <para> /// Ordering direction. /// </para> /// </summary> public OrderString SortOrder { get { return this._sortOrder; } set { this._sortOrder = value; } } // Check to see if SortOrder property is set internal bool IsSetSortOrder() { return this._sortOrder != null; } } }
77
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Used to provide Reserved Instance preferences for the recommendation. /// </summary> public partial class ReservedInstanceOptions { private OfferingClass _offeringClass; private PurchasingOption _purchasingOption; private TermLength _termLength; /// <summary> /// Gets and sets the property OfferingClass. /// <para> /// The flexibility to change the instance types needed for your Reserved Instance. /// </para> /// </summary> [AWSProperty(Required=true)] public OfferingClass OfferingClass { get { return this._offeringClass; } set { this._offeringClass = value; } } // Check to see if OfferingClass property is set internal bool IsSetOfferingClass() { return this._offeringClass != null; } /// <summary> /// Gets and sets the property PurchasingOption. /// <para> /// The payment plan to use for your Reserved Instance. /// </para> /// </summary> [AWSProperty(Required=true)] public PurchasingOption PurchasingOption { get { return this._purchasingOption; } set { this._purchasingOption = value; } } // Check to see if PurchasingOption property is set internal bool IsSetPurchasingOption() { return this._purchasingOption != null; } /// <summary> /// Gets and sets the property TermLength. /// <para> /// The preferred duration of the Reserved Instance term. /// </para> /// </summary> [AWSProperty(Required=true)] public TermLength TermLength { get { return this._termLength; } set { this._termLength = value; } } // Check to see if TermLength property is set internal bool IsSetTermLength() { return this._termLength != null; } } }
98
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This issue occurs when the same <code>clientRequestToken</code> is used with the <code>StartImportTask</code> /// 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 <code>clientRequestToken</code>, and try /// again. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ResourceInUseException : AmazonApplicationDiscoveryServiceException { /// <summary> /// Constructs a new ResourceInUseException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ResourceInUseException(string message) : base(message) {} /// <summary> /// Construct instance of ResourceInUseException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ResourceInUseException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ResourceInUseException /// </summary> /// <param name="innerException"></param> public ResourceInUseException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ResourceInUseException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ResourceInUseException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ResourceInUseException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ResourceInUseException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ResourceInUseException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected ResourceInUseException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
128
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// The specified configuration ID was not located. Verify the configuration ID and try /// again. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ResourceNotFoundException : AmazonApplicationDiscoveryServiceException { /// <summary> /// Constructs a new ResourceNotFoundException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ResourceNotFoundException(string message) : base(message) {} /// <summary> /// Construct instance of ResourceNotFoundException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ResourceNotFoundException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ResourceNotFoundException /// </summary> /// <param name="innerException"></param> public ResourceNotFoundException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ResourceNotFoundException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ResourceNotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ResourceNotFoundException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ResourceNotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ResourceNotFoundException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected ResourceNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
125
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// The server experienced an internal error. Try again. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ServerInternalErrorException : AmazonApplicationDiscoveryServiceException { /// <summary> /// Constructs a new ServerInternalErrorException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ServerInternalErrorException(string message) : base(message) {} /// <summary> /// Construct instance of ServerInternalErrorException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ServerInternalErrorException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ServerInternalErrorException /// </summary> /// <param name="innerException"></param> public ServerInternalErrorException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ServerInternalErrorException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ServerInternalErrorException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ServerInternalErrorException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ServerInternalErrorException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ServerInternalErrorException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected ServerInternalErrorException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the StartContinuousExport operation. /// Start the continuous flow of agent's discovered data into Amazon Athena. /// </summary> public partial class StartContinuousExportRequest : AmazonApplicationDiscoveryServiceRequest { } }
39
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the StartContinuousExport operation. /// </summary> public partial class StartContinuousExportResponse : AmazonWebServiceResponse { private DataSource _dataSource; private string _exportId; private string _s3Bucket; private Dictionary<string, string> _schemaStorageConfig = new Dictionary<string, string>(); private DateTime? _startTime; /// <summary> /// Gets and sets the property DataSource. /// <para> /// The type of data collector used to gather this data (currently only offered for AGENT). /// </para> /// </summary> public DataSource DataSource { get { return this._dataSource; } set { this._dataSource = value; } } // Check to see if DataSource property is set internal bool IsSetDataSource() { return this._dataSource != null; } /// <summary> /// Gets and sets the property ExportId. /// <para> /// The unique ID assigned to this export. /// </para> /// </summary> [AWSProperty(Max=200)] public string ExportId { get { return this._exportId; } set { this._exportId = value; } } // Check to see if ExportId property is set internal bool IsSetExportId() { return this._exportId != null; } /// <summary> /// Gets and sets the property S3Bucket. /// <para> /// The name of the s3 bucket where the export data parquet files are stored. /// </para> /// </summary> public string S3Bucket { get { return this._s3Bucket; } set { this._s3Bucket = value; } } // Check to see if S3Bucket property is set internal bool IsSetS3Bucket() { return this._s3Bucket != null; } /// <summary> /// Gets and sets the property SchemaStorageConfig. /// <para> /// A dictionary which describes how the data is stored. /// </para> /// <ul> <li> /// <para> /// <code>databaseName</code> - the name of the Glue database used to store the schema. /// </para> /// </li> </ul> /// </summary> public Dictionary<string, string> SchemaStorageConfig { get { return this._schemaStorageConfig; } set { this._schemaStorageConfig = value; } } // Check to see if SchemaStorageConfig property is set internal bool IsSetSchemaStorageConfig() { return this._schemaStorageConfig != null && this._schemaStorageConfig.Count > 0; } /// <summary> /// Gets and sets the property StartTime. /// <para> /// The timestamp representing when the continuous export was started. /// </para> /// </summary> public DateTime StartTime { get { return this._startTime.GetValueOrDefault(); } set { this._startTime = value; } } // Check to see if StartTime property is set internal bool IsSetStartTime() { return this._startTime.HasValue; } } }
139
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the StartDataCollectionByAgentIds operation. /// Instructs the specified agents to start collecting data. /// </summary> public partial class StartDataCollectionByAgentIdsRequest : AmazonApplicationDiscoveryServiceRequest { private List<string> _agentIds = new List<string>(); /// <summary> /// Gets and sets the property AgentIds. /// <para> /// The IDs of the agents from which to start collecting data. If you send a request to /// an agent ID that you do not have permission to contact, according to your Amazon Web /// Services account, the service does not throw an exception. Instead, it returns the /// error in the <i>Description</i> field. If you send a request to multiple agents and /// you do not have permission to contact some of those agents, the system does not throw /// an exception. Instead, the system shows <code>Failed</code> in the <i>Description</i> /// field. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> AgentIds { get { return this._agentIds; } set { this._agentIds = value; } } // Check to see if AgentIds property is set internal bool IsSetAgentIds() { return this._agentIds != null && this._agentIds.Count > 0; } } }
65
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the StartDataCollectionByAgentIds operation. /// </summary> public partial class StartDataCollectionByAgentIdsResponse : AmazonWebServiceResponse { private List<AgentConfigurationStatus> _agentsConfigurationStatus = new List<AgentConfigurationStatus>(); /// <summary> /// Gets and sets the property AgentsConfigurationStatus. /// <para> /// Information about agents that were instructed to start collecting data. Information /// includes the agent ID, a description of the operation performed, and whether the agent /// configuration was updated. /// </para> /// </summary> public List<AgentConfigurationStatus> AgentsConfigurationStatus { get { return this._agentsConfigurationStatus; } set { this._agentsConfigurationStatus = value; } } // Check to see if AgentsConfigurationStatus property is set internal bool IsSetAgentsConfigurationStatus() { return this._agentsConfigurationStatus != null && this._agentsConfigurationStatus.Count > 0; } } }
59
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the StartExportTask operation. /// Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon /// Web Services. /// /// <note> /// <para> /// 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. /// </para> /// </note> /// <para> /// If you do not specify <code>preferences</code> or <code>agentIds</code> 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. /// </para> /// /// <para> /// If you specify <code>agentIds</code> 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 <code>startTime</code> and <code>endTime</code>. Export of detailed /// agent data is limited to five concurrently running exports. Export of detailed agent /// data is limited to two exports per day. /// </para> /// /// <para> /// If you enable <code>ec2RecommendationsPreferences</code> in <code>preferences</code> /// , an Amazon EC2 instance matching the characteristics of each server in Application /// Discovery Service is generated. Changing the attributes of the <code>ec2RecommendationsPreferences</code> /// changes the criteria of the recommendation. /// </para> /// </summary> public partial class StartExportTaskRequest : AmazonApplicationDiscoveryServiceRequest { private DateTime? _endTime; private List<string> _exportDataFormat = new List<string>(); private List<ExportFilter> _filters = new List<ExportFilter>(); private ExportPreferences _preferences; private DateTime? _startTime; /// <summary> /// Gets and sets the property EndTime. /// <para> /// The end timestamp for exported data from the single Application Discovery Agent selected /// in the filters. If no value is specified, exported data includes the most recent data /// collected by the agent. /// </para> /// </summary> public DateTime EndTime { get { return this._endTime.GetValueOrDefault(); } set { this._endTime = value; } } // Check to see if EndTime property is set internal bool IsSetEndTime() { return this._endTime.HasValue; } /// <summary> /// Gets and sets the property ExportDataFormat. /// <para> /// The file format for the returned export data. Default value is <code>CSV</code>. <b>Note:</b> /// <i>The</i> <code>GRAPHML</code> <i>option has been deprecated.</i> /// </para> /// </summary> public List<string> ExportDataFormat { get { return this._exportDataFormat; } set { this._exportDataFormat = value; } } // Check to see if ExportDataFormat property is set internal bool IsSetExportDataFormat() { return this._exportDataFormat != null && this._exportDataFormat.Count > 0; } /// <summary> /// Gets and sets the property Filters. /// <para> /// If a filter is present, it selects the single <code>agentId</code> of the Application /// Discovery Agent for which data is exported. The <code>agentId</code> can be found /// in the results of the <code>DescribeAgents</code> API or CLI. If no filter is present, /// <code>startTime</code> and <code>endTime</code> are ignored and exported data includes /// both Amazon Web Services Application Discovery Service Agentless Collector collectors /// data and summary data from Application Discovery Agent agents. /// </para> /// </summary> public List<ExportFilter> Filters { get { return this._filters; } set { this._filters = value; } } // Check to see if Filters property is set internal bool IsSetFilters() { return this._filters != null && this._filters.Count > 0; } /// <summary> /// Gets and sets the property Preferences. /// <para> /// Indicates the type of data that needs to be exported. Only one <a href="https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_ExportPreferences.html">ExportPreferences</a> /// can be enabled at any time. /// </para> /// </summary> public ExportPreferences Preferences { get { return this._preferences; } set { this._preferences = value; } } // Check to see if Preferences property is set internal bool IsSetPreferences() { return this._preferences != null; } /// <summary> /// Gets and sets the property StartTime. /// <para> /// The start timestamp for exported data from the single Application Discovery Agent /// selected in the filters. If no value is specified, data is exported starting from /// the first data collected by the agent. /// </para> /// </summary> public DateTime StartTime { get { return this._startTime.GetValueOrDefault(); } set { this._startTime = value; } } // Check to see if StartTime property is set internal bool IsSetStartTime() { return this._startTime.HasValue; } } }
177
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the StartExportTask operation. /// </summary> public partial class StartExportTaskResponse : AmazonWebServiceResponse { private string _exportId; /// <summary> /// Gets and sets the property ExportId. /// <para> /// A unique identifier used to query the status of an export request. /// </para> /// </summary> [AWSProperty(Max=200)] public string ExportId { get { return this._exportId; } set { this._exportId = value; } } // Check to see if ExportId property is set internal bool IsSetExportId() { return this._exportId != null; } } }
58
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the StartImportTask operation. /// 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. /// /// /// <para> /// To start an import request, do this: /// </para> /// <ol> <li> /// <para> /// Download the specially formatted comma separated value (CSV) import template, which /// you can find here: <a href="https://s3.us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv">https://s3.us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv</a>. /// </para> /// </li> <li> /// <para> /// Fill out the template with your server and application data. /// </para> /// </li> <li> /// <para> /// 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. /// </para> /// </li> <li> /// <para> /// Use the console or the <code>StartImportTask</code> command with the Amazon Web Services /// CLI or one of the Amazon Web Services SDKs to import the records from your file. /// </para> /// </li> </ol> /// <para> /// For more information, including step-by-step procedures, see <a href="https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-import.html">Migration /// Hub Import</a> in the <i>Amazon Web Services Application Discovery Service User Guide</i>. /// </para> /// <note> /// <para> /// There are limits to the number of import tasks you can create (and delete) in an Amazon /// Web Services account. For more information, see <a href="https://docs.aws.amazon.com/application-discovery/latest/userguide/ads_service_limits.html">Amazon /// Web Services Application Discovery Service Limits</a> in the <i>Amazon Web Services /// Application Discovery Service User Guide</i>. /// </para> /// </note> /// </summary> public partial class StartImportTaskRequest : AmazonApplicationDiscoveryServiceRequest { private string _clientRequestToken; private string _importUrl; private string _name; /// <summary> /// Gets and sets the property ClientRequestToken. /// <para> /// Optional. A unique token that you can provide to prevent the same import request from /// occurring more than once. If you don't provide a token, a token is automatically generated. /// </para> /// /// <para> /// Sending more than one <code>StartImportTask</code> request with the same client request /// token will return information about the original import task with that client request /// token. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public string ClientRequestToken { get { return this._clientRequestToken; } set { this._clientRequestToken = value; } } // Check to see if ClientRequestToken property is set internal bool IsSetClientRequestToken() { return this._clientRequestToken != null; } /// <summary> /// Gets and sets the property ImportUrl. /// <para> /// The URL for your import file that you've uploaded to Amazon S3. /// </para> /// <note> /// <para> /// If you're using the Amazon Web Services CLI, this URL is structured as follows: <code>s3://BucketName/ImportFileName.CSV</code> /// /// </para> /// </note> /// </summary> [AWSProperty(Required=true, Min=1, Max=4000)] public string ImportUrl { get { return this._importUrl; } set { this._importUrl = value; } } // Check to see if ImportUrl property is set internal bool IsSetImportUrl() { return this._importUrl != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// A descriptive name for this request. You can use this name to filter future requests /// related to this import task, such as identifying applications and servers that were /// included in this import task. We recommend that you use a meaningful name for each /// import task. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } } }
158
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the StartImportTask operation. /// </summary> public partial class StartImportTaskResponse : AmazonWebServiceResponse { private ImportTask _task; /// <summary> /// Gets and sets the property Task. /// <para> /// An array of information related to the import task request including status information, /// times, IDs, the Amazon S3 Object URL for the import file, and more. /// </para> /// </summary> public ImportTask Task { get { return this._task; } set { this._task = value; } } // Check to see if Task property is set internal bool IsSetTask() { return this._task != null; } } }
58
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the StopContinuousExport operation. /// Stop the continuous flow of agent's discovered data into Amazon Athena. /// </summary> public partial class StopContinuousExportRequest : AmazonApplicationDiscoveryServiceRequest { private string _exportId; /// <summary> /// Gets and sets the property ExportId. /// <para> /// The unique ID assigned to this export. /// </para> /// </summary> [AWSProperty(Required=true, Max=200)] public string ExportId { get { return this._exportId; } set { this._exportId = value; } } // Check to see if ExportId property is set internal bool IsSetExportId() { return this._exportId != null; } } }
59
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the StopContinuousExport operation. /// </summary> public partial class StopContinuousExportResponse : AmazonWebServiceResponse { private DateTime? _startTime; private DateTime? _stopTime; /// <summary> /// Gets and sets the property StartTime. /// <para> /// Timestamp that represents when this continuous export started collecting data. /// </para> /// </summary> public DateTime StartTime { get { return this._startTime.GetValueOrDefault(); } set { this._startTime = value; } } // Check to see if StartTime property is set internal bool IsSetStartTime() { return this._startTime.HasValue; } /// <summary> /// Gets and sets the property StopTime. /// <para> /// Timestamp that represents when this continuous export was stopped. /// </para> /// </summary> public DateTime StopTime { get { return this._stopTime.GetValueOrDefault(); } set { this._stopTime = value; } } // Check to see if StopTime property is set internal bool IsSetStopTime() { return this._stopTime.HasValue; } } }
76
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the StopDataCollectionByAgentIds operation. /// Instructs the specified agents to stop collecting data. /// </summary> public partial class StopDataCollectionByAgentIdsRequest : AmazonApplicationDiscoveryServiceRequest { private List<string> _agentIds = new List<string>(); /// <summary> /// Gets and sets the property AgentIds. /// <para> /// The IDs of the agents from which to stop collecting data. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> AgentIds { get { return this._agentIds; } set { this._agentIds = value; } } // Check to see if AgentIds property is set internal bool IsSetAgentIds() { return this._agentIds != null && this._agentIds.Count > 0; } } }
59
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the StopDataCollectionByAgentIds operation. /// </summary> public partial class StopDataCollectionByAgentIdsResponse : AmazonWebServiceResponse { private List<AgentConfigurationStatus> _agentsConfigurationStatus = new List<AgentConfigurationStatus>(); /// <summary> /// Gets and sets the property AgentsConfigurationStatus. /// <para> /// Information about the agents that were instructed to stop collecting data. Information /// includes the agent ID, a description of the operation performed, and whether the agent /// configuration was updated. /// </para> /// </summary> public List<AgentConfigurationStatus> AgentsConfigurationStatus { get { return this._agentsConfigurationStatus; } set { this._agentsConfigurationStatus = value; } } // Check to see if AgentsConfigurationStatus property is set internal bool IsSetAgentsConfigurationStatus() { return this._agentsConfigurationStatus != null && this._agentsConfigurationStatus.Count > 0; } } }
59
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Metadata that help you categorize IT assets. /// /// <important> /// <para> /// Do not store sensitive information (like personal data) in tags. /// </para> /// </important> /// </summary> public partial class Tag { private string _key; private string _value; /// <summary> /// Gets and sets the property Key. /// <para> /// The type of tag on which to filter. /// </para> /// </summary> [AWSProperty(Required=true)] public string Key { get { return this._key; } set { this._key = value; } } // Check to see if Key property is set internal bool IsSetKey() { return this._key != null; } /// <summary> /// Gets and sets the property Value. /// <para> /// A value for a tag key on which to filter. /// </para> /// </summary> [AWSProperty(Required=true)] public string Value { get { return this._value; } set { this._value = value; } } // Check to see if Value property is set internal bool IsSetValue() { return this._value != null; } } }
84
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// The tag filter. Valid names are: <code>tagKey</code>, <code>tagValue</code>, <code>configurationId</code>. /// </summary> public partial class TagFilter { private string _name; private List<string> _values = new List<string>(); /// <summary> /// Gets and sets the property Name. /// <para> /// A name of the tag filter. /// </para> /// </summary> [AWSProperty(Required=true, Max=1000)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Values. /// <para> /// Values for the tag filter. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> Values { get { return this._values; } set { this._values = value; } } // Check to see if Values property is set internal bool IsSetValues() { return this._values != null && this._values.Count > 0; } } }
78
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Container for the parameters to the UpdateApplication operation. /// Updates metadata about an application. /// </summary> public partial class UpdateApplicationRequest : AmazonApplicationDiscoveryServiceRequest { private string _configurationId; private string _description; private string _name; /// <summary> /// Gets and sets the property ConfigurationId. /// <para> /// Configuration ID of the application to be updated. /// </para> /// </summary> [AWSProperty(Required=true, Max=200)] public string ConfigurationId { get { return this._configurationId; } set { this._configurationId = value; } } // Check to see if ConfigurationId property is set internal bool IsSetConfigurationId() { return this._configurationId != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// New description of the application to be updated. /// </para> /// </summary> [AWSProperty(Max=1000)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// New name of the application to be updated. /// </para> /// </summary> [AWSProperty(Max=127)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } } }
99
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// This is the response object from the UpdateApplication operation. /// </summary> public partial class UpdateApplicationResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * 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.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApplicationDiscoveryService.Model { /// <summary> /// Specifies the performance metrics to use for the server that is used for recommendations. /// </summary> public partial class UsageMetricBasis { private string _name; private double? _percentageAdjust; /// <summary> /// Gets and sets the property Name. /// <para> /// A utilization metric that is used by the recommendations. /// </para> /// </summary> public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property PercentageAdjust. /// <para> /// Specifies the percentage of the specified utilization metric that is used by the /// recommendations. /// </para> /// </summary> [AWSProperty(Min=0, Max=100)] public double PercentageAdjust { get { return this._percentageAdjust.GetValueOrDefault(); } set { this._percentageAdjust = value; } } // Check to see if PercentageAdjust property is set internal bool IsSetPercentageAdjust() { return this._percentageAdjust.HasValue; } } }
78
aws-sdk-net
aws
C#
/* * 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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.ApplicationDiscoveryService.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApplicationDiscoveryService.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for AgentConfigurationStatus Object /// </summary> public class AgentConfigurationStatusUnmarshaller : IUnmarshaller<AgentConfigurationStatus, XmlUnmarshallerContext>, IUnmarshaller<AgentConfigurationStatus, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> AgentConfigurationStatus IUnmarshaller<AgentConfigurationStatus, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public AgentConfigurationStatus Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; AgentConfigurationStatus unmarshalledObject = new AgentConfigurationStatus(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("agentId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.AgentId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("description", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Description = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("operationSucceeded", targetDepth)) { var unmarshaller = BoolUnmarshaller.Instance; unmarshalledObject.OperationSucceeded = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static AgentConfigurationStatusUnmarshaller _instance = new AgentConfigurationStatusUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static AgentConfigurationStatusUnmarshaller Instance { get { return _instance; } } } }
104
aws-sdk-net
aws
C#
/* * 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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.ApplicationDiscoveryService.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApplicationDiscoveryService.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for AgentInfo Object /// </summary> public class AgentInfoUnmarshaller : IUnmarshaller<AgentInfo, XmlUnmarshallerContext>, IUnmarshaller<AgentInfo, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> AgentInfo IUnmarshaller<AgentInfo, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public AgentInfo Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; AgentInfo unmarshalledObject = new AgentInfo(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("agentId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.AgentId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("agentNetworkInfoList", targetDepth)) { var unmarshaller = new ListUnmarshaller<AgentNetworkInfo, AgentNetworkInfoUnmarshaller>(AgentNetworkInfoUnmarshaller.Instance); unmarshalledObject.AgentNetworkInfoList = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("agentType", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.AgentType = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("collectionStatus", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.CollectionStatus = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("connectorId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ConnectorId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("health", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Health = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("hostName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.HostName = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("lastHealthPingTime", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.LastHealthPingTime = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("registeredTime", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.RegisteredTime = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("version", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Version = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static AgentInfoUnmarshaller _instance = new AgentInfoUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static AgentInfoUnmarshaller Instance { get { return _instance; } } } }
146
aws-sdk-net
aws
C#
/* * 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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.ApplicationDiscoveryService.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApplicationDiscoveryService.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for AgentNetworkInfo Object /// </summary> public class AgentNetworkInfoUnmarshaller : IUnmarshaller<AgentNetworkInfo, XmlUnmarshallerContext>, IUnmarshaller<AgentNetworkInfo, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> AgentNetworkInfo IUnmarshaller<AgentNetworkInfo, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public AgentNetworkInfo Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; AgentNetworkInfo unmarshalledObject = new AgentNetworkInfo(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("ipAddress", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.IpAddress = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("macAddress", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.MacAddress = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static AgentNetworkInfoUnmarshaller _instance = new AgentNetworkInfoUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static AgentNetworkInfoUnmarshaller Instance { get { return _instance; } } } }
98
aws-sdk-net
aws
C#
/* * 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.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.ApplicationDiscoveryService.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApplicationDiscoveryService.Model.Internal.MarshallTransformations { /// <summary> /// AssociateConfigurationItemsToApplication Request Marshaller /// </summary> public class AssociateConfigurationItemsToApplicationRequestMarshaller : IMarshaller<IRequest, AssociateConfigurationItemsToApplicationRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((AssociateConfigurationItemsToApplicationRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(AssociateConfigurationItemsToApplicationRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ApplicationDiscoveryService"); string target = "AWSPoseidonService_V2015_11_01.AssociateConfigurationItemsToApplication"; request.Headers["X-Amz-Target"] = target; request.Headers["Content-Type"] = "application/x-amz-json-1.1"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-11-01"; request.HttpMethod = "POST"; request.ResourcePath = "/"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetApplicationConfigurationId()) { context.Writer.WritePropertyName("applicationConfigurationId"); context.Writer.Write(publicRequest.ApplicationConfigurationId); } if(publicRequest.IsSetConfigurationIds()) { context.Writer.WritePropertyName("configurationIds"); context.Writer.WriteArrayStart(); foreach(var publicRequestConfigurationIdsListValue in publicRequest.ConfigurationIds) { context.Writer.Write(publicRequestConfigurationIdsListValue); } context.Writer.WriteArrayEnd(); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static AssociateConfigurationItemsToApplicationRequestMarshaller _instance = new AssociateConfigurationItemsToApplicationRequestMarshaller(); internal static AssociateConfigurationItemsToApplicationRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static AssociateConfigurationItemsToApplicationRequestMarshaller Instance { get { return _instance; } } } }
114
aws-sdk-net
aws
C#
/* * 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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.ApplicationDiscoveryService.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ApplicationDiscoveryService.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for AssociateConfigurationItemsToApplication operation /// </summary> public class AssociateConfigurationItemsToApplicationResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { AssociateConfigurationItemsToApplicationResponse response = new AssociateConfigurationItemsToApplicationResponse(); return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("AuthorizationErrorException")) { return AuthorizationErrorExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("HomeRegionNotSetException")) { return HomeRegionNotSetExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidParameterException")) { return InvalidParameterExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidParameterValueException")) { return InvalidParameterValueExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServerInternalErrorException")) { return ServerInternalErrorExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonApplicationDiscoveryServiceException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static AssociateConfigurationItemsToApplicationResponseUnmarshaller _instance = new AssociateConfigurationItemsToApplicationResponseUnmarshaller(); internal static AssociateConfigurationItemsToApplicationResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static AssociateConfigurationItemsToApplicationResponseUnmarshaller Instance { get { return _instance; } } } }
115