S3ResourceNotFoundException
Namespace:
AWSSDK.DatabaseMigrationService
We found 10 examples in language CSharp for this search.
You will see 35 fragments of code.
Other methods
Other methods
Project:aws-sdk-net
File:S3ResourceNotFoundExceptionUnmarshaller.cs
Examples:1
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public S3ResourceNotFoundException Unmarshall(JsonUnmarshallerContext context)
{
return this.Unmarshall(context, new ErrorResponse());
}
Project:awssdks
File:S3ResourceNotFoundExceptionUnmarshaller.cs
Examples:1
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public S3ResourceNotFoundException Unmarshall(JsonUnmarshallerContext context)
{
return this.Unmarshall(context, new ErrorResponse());
}
Project:aws-sdk-net-xamarin
File:S3ResourceNotFoundExceptionUnmarshaller.cs
Examples:1
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public S3ResourceNotFoundException Unmarshall(JsonUnmarshallerContext context)
{
return this.Unmarshall(context, new ErrorResponse());
}
Project:aws-sdk-net
File:S3ResourceNotFoundExceptionUnmarshaller.cs
Examples:1
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public S3ResourceNotFoundException Unmarshall(JsonUnmarshallerContext context)
{
return this.Unmarshall(context, new ErrorResponse());
}
Project:aws-sdk-net
File:S3ResourceNotFoundExceptionUnmarshaller.cs
Examples:1
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public S3ResourceNotFoundException Unmarshall(JsonUnmarshallerContext context)
{
return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse());
}
Project:aws-sdk-net-xamarin
File:IAmazonDatabaseMigrationService.cs
Examples:6
#region AddTagsToResource
/// <summary>
/// Adds metadata tags to an AWS DMS resource, including replication instance, endpoint,
/// security group, and migration task. These tags can also be used with cost allocation
/// reporting to track cost associated with DMS resources, or used in a Condition statement
/// in an IAM policy for DMS. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
/// <code>Tag</code> </a> data type description.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AddTagsToResource service method.</param>
///
/// <returns>The response from the AddTagsToResource service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource">REST API Reference for AddTagsToResource Operation</seealso>
AddTagsToResourceResponse AddTagsToResource(AddTagsToResourceRequest request);
/// <summary>
/// Adds metadata tags to an AWS DMS resource, including replication instance, endpoint,
/// security group, and migration task. These tags can also be used with cost allocation
/// reporting to track cost associated with DMS resources, or used in a Condition statement
/// in an IAM policy for DMS. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
/// <code>Tag</code> </a> data type description.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AddTagsToResource 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 AddTagsToResource service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource">REST API Reference for AddTagsToResource Operation</seealso>
Task<AddTagsToResourceResponse> AddTagsToResourceAsync(AddTagsToResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ApplyPendingMaintenanceAction
/// <summary>
/// Applies a pending maintenance action to a resource (for example, to a replication
/// instance).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ApplyPendingMaintenanceAction service method.</param>
///
/// <returns>The response from the ApplyPendingMaintenanceAction service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ApplyPendingMaintenanceAction">REST API Reference for ApplyPendingMaintenanceAction Operation</seealso>
ApplyPendingMaintenanceActionResponse ApplyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request);
/// <summary>
/// Applies a pending maintenance action to a resource (for example, to a replication
/// instance).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ApplyPendingMaintenanceAction 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 ApplyPendingMaintenanceAction service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ApplyPendingMaintenanceAction">REST API Reference for ApplyPendingMaintenanceAction Operation</seealso>
Task<ApplyPendingMaintenanceActionResponse> ApplyPendingMaintenanceActionAsync(ApplyPendingMaintenanceActionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CancelReplicationTaskAssessmentRun
/// <summary>
/// Cancels a single premigration assessment run.
///
///
/// <para>
/// This operation prevents any individual assessments from running if they haven't started
/// running. It also attempts to cancel any individual assessments that are currently
/// running.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CancelReplicationTaskAssessmentRun service method.</param>
///
/// <returns>The response from the CancelReplicationTaskAssessmentRun service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.AccessDeniedException">
/// AWS DMS was denied access to the endpoint. Check that the role is correctly configured.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.InvalidResourceStateException">
/// The resource is in a state that prevents it from being used for database migration.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelReplicationTaskAssessmentRun">REST API Reference for CancelReplicationTaskAssessmentRun Operation</seealso>
CancelReplicationTaskAssessmentRunResponse CancelReplicationTaskAssessmentRun(CancelReplicationTaskAssessmentRunRequest request);
/// <summary>
/// Cancels a single premigration assessment run.
///
///
/// <para>
/// This operation prevents any individual assessments from running if they haven't started
/// running. It also attempts to cancel any individual assessments that are currently
/// running.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CancelReplicationTaskAssessmentRun 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 CancelReplicationTaskAssessmentRun service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.AccessDeniedException">
/// AWS DMS was denied access to the endpoint. Check that the role is correctly configured.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.InvalidResourceStateException">
/// The resource is in a state that prevents it from being used for database migration.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelReplicationTaskAssessmentRun">REST API Reference for CancelReplicationTaskAssessmentRun Operation</seealso>
Task<CancelReplicationTaskAssessmentRunResponse> CancelReplicationTaskAssessmentRunAsync(CancelReplicationTaskAssessmentRunRequest request, CancellationToken cancellationToken = default(CancellationToken));
Project:aws-sdk-net
File:IAmazonDatabaseMigrationService.cs
Examples:6
#region AddTagsToResource
/// <summary>
/// Adds metadata tags to an AWS DMS resource, including replication instance, endpoint,
/// security group, and migration task. These tags can also be used with cost allocation
/// reporting to track cost associated with DMS resources, or used in a Condition statement
/// in an IAM policy for DMS. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
/// <code>Tag</code> </a> data type description.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AddTagsToResource service method.</param>
///
/// <returns>The response from the AddTagsToResource service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource">REST API Reference for AddTagsToResource Operation</seealso>
AddTagsToResourceResponse AddTagsToResource(AddTagsToResourceRequest request);
/// <summary>
/// Adds metadata tags to an AWS DMS resource, including replication instance, endpoint,
/// security group, and migration task. These tags can also be used with cost allocation
/// reporting to track cost associated with DMS resources, or used in a Condition statement
/// in an IAM policy for DMS. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
/// <code>Tag</code> </a> data type description.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AddTagsToResource 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 AddTagsToResource service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource">REST API Reference for AddTagsToResource Operation</seealso>
Task<AddTagsToResourceResponse> AddTagsToResourceAsync(AddTagsToResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ApplyPendingMaintenanceAction
/// <summary>
/// Applies a pending maintenance action to a resource (for example, to a replication
/// instance).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ApplyPendingMaintenanceAction service method.</param>
///
/// <returns>The response from the ApplyPendingMaintenanceAction service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ApplyPendingMaintenanceAction">REST API Reference for ApplyPendingMaintenanceAction Operation</seealso>
ApplyPendingMaintenanceActionResponse ApplyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request);
/// <summary>
/// Applies a pending maintenance action to a resource (for example, to a replication
/// instance).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ApplyPendingMaintenanceAction 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 ApplyPendingMaintenanceAction service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ApplyPendingMaintenanceAction">REST API Reference for ApplyPendingMaintenanceAction Operation</seealso>
Task<ApplyPendingMaintenanceActionResponse> ApplyPendingMaintenanceActionAsync(ApplyPendingMaintenanceActionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CancelReplicationTaskAssessmentRun
/// <summary>
/// Cancels a single premigration assessment run.
///
///
/// <para>
/// This operation prevents any individual assessments from running if they haven't started
/// running. It also attempts to cancel any individual assessments that are currently
/// running.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CancelReplicationTaskAssessmentRun service method.</param>
///
/// <returns>The response from the CancelReplicationTaskAssessmentRun service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.AccessDeniedException">
/// AWS DMS was denied access to the endpoint. Check that the role is correctly configured.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.InvalidResourceStateException">
/// The resource is in a state that prevents it from being used for database migration.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelReplicationTaskAssessmentRun">REST API Reference for CancelReplicationTaskAssessmentRun Operation</seealso>
CancelReplicationTaskAssessmentRunResponse CancelReplicationTaskAssessmentRun(CancelReplicationTaskAssessmentRunRequest request);
/// <summary>
/// Cancels a single premigration assessment run.
///
///
/// <para>
/// This operation prevents any individual assessments from running if they haven't started
/// running. It also attempts to cancel any individual assessments that are currently
/// running.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CancelReplicationTaskAssessmentRun 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 CancelReplicationTaskAssessmentRun service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.AccessDeniedException">
/// AWS DMS was denied access to the endpoint. Check that the role is correctly configured.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.InvalidResourceStateException">
/// The resource is in a state that prevents it from being used for database migration.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelReplicationTaskAssessmentRun">REST API Reference for CancelReplicationTaskAssessmentRun Operation</seealso>
Task<CancelReplicationTaskAssessmentRunResponse> CancelReplicationTaskAssessmentRunAsync(CancelReplicationTaskAssessmentRunRequest request, CancellationToken cancellationToken = default(CancellationToken));
Project:aws-sdk-net
File:IAmazonDatabaseMigrationService.cs
Examples:6
#region AddTagsToResource
/// <summary>
/// Adds metadata tags to an AWS DMS resource, including replication instance, endpoint,
/// security group, and migration task. These tags can also be used with cost allocation
/// reporting to track cost associated with DMS resources, or used in a Condition statement
/// in an IAM policy for DMS. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
/// <code>Tag</code> </a> data type description.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AddTagsToResource service method.</param>
///
/// <returns>The response from the AddTagsToResource service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource">REST API Reference for AddTagsToResource Operation</seealso>
AddTagsToResourceResponse AddTagsToResource(AddTagsToResourceRequest request);
/// <summary>
/// Adds metadata tags to an AWS DMS resource, including replication instance, endpoint,
/// security group, and migration task. These tags can also be used with cost allocation
/// reporting to track cost associated with DMS resources, or used in a Condition statement
/// in an IAM policy for DMS. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
/// <code>Tag</code> </a> data type description.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AddTagsToResource 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 AddTagsToResource service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource">REST API Reference for AddTagsToResource Operation</seealso>
Task<AddTagsToResourceResponse> AddTagsToResourceAsync(AddTagsToResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ApplyPendingMaintenanceAction
/// <summary>
/// Applies a pending maintenance action to a resource (for example, to a replication
/// instance).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ApplyPendingMaintenanceAction service method.</param>
///
/// <returns>The response from the ApplyPendingMaintenanceAction service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ApplyPendingMaintenanceAction">REST API Reference for ApplyPendingMaintenanceAction Operation</seealso>
ApplyPendingMaintenanceActionResponse ApplyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request);
/// <summary>
/// Applies a pending maintenance action to a resource (for example, to a replication
/// instance).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ApplyPendingMaintenanceAction 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 ApplyPendingMaintenanceAction service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ApplyPendingMaintenanceAction">REST API Reference for ApplyPendingMaintenanceAction Operation</seealso>
Task<ApplyPendingMaintenanceActionResponse> ApplyPendingMaintenanceActionAsync(ApplyPendingMaintenanceActionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CancelReplicationTaskAssessmentRun
/// <summary>
/// Cancels a single premigration assessment run.
///
///
/// <para>
/// This operation prevents any individual assessments from running if they haven't started
/// running. It also attempts to cancel any individual assessments that are currently
/// running.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CancelReplicationTaskAssessmentRun service method.</param>
///
/// <returns>The response from the CancelReplicationTaskAssessmentRun service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.AccessDeniedException">
/// AWS DMS was denied access to the endpoint. Check that the role is correctly configured.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.InvalidResourceStateException">
/// The resource is in a state that prevents it from being used for database migration.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelReplicationTaskAssessmentRun">REST API Reference for CancelReplicationTaskAssessmentRun Operation</seealso>
CancelReplicationTaskAssessmentRunResponse CancelReplicationTaskAssessmentRun(CancelReplicationTaskAssessmentRunRequest request);
/// <summary>
/// Cancels a single premigration assessment run.
///
///
/// <para>
/// This operation prevents any individual assessments from running if they haven't started
/// running. It also attempts to cancel any individual assessments that are currently
/// running.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CancelReplicationTaskAssessmentRun 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 CancelReplicationTaskAssessmentRun service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.AccessDeniedException">
/// AWS DMS was denied access to the endpoint. Check that the role is correctly configured.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.InvalidResourceStateException">
/// The resource is in a state that prevents it from being used for database migration.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelReplicationTaskAssessmentRun">REST API Reference for CancelReplicationTaskAssessmentRun Operation</seealso>
Task<CancelReplicationTaskAssessmentRunResponse> CancelReplicationTaskAssessmentRunAsync(CancelReplicationTaskAssessmentRunRequest request, CancellationToken cancellationToken = default(CancellationToken));
Project:aws-sdk-net
File:IAmazonDatabaseMigrationService.cs
Examples:6
#region AddTagsToResource
/// <summary>
/// Adds metadata tags to an DMS resource, including replication instance, endpoint, security
/// group, and migration task. These tags can also be used with cost allocation reporting
/// to track cost associated with DMS resources, or used in a Condition statement in an
/// IAM policy for DMS. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
/// <code>Tag</code> </a> data type description.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AddTagsToResource service method.</param>
///
/// <returns>The response from the AddTagsToResource service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource">REST API Reference for AddTagsToResource Operation</seealso>
AddTagsToResourceResponse AddTagsToResource(AddTagsToResourceRequest request);
/// <summary>
/// Adds metadata tags to an DMS resource, including replication instance, endpoint, security
/// group, and migration task. These tags can also be used with cost allocation reporting
/// to track cost associated with DMS resources, or used in a Condition statement in an
/// IAM policy for DMS. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
/// <code>Tag</code> </a> data type description.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AddTagsToResource 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 AddTagsToResource service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource">REST API Reference for AddTagsToResource Operation</seealso>
Task<AddTagsToResourceResponse> AddTagsToResourceAsync(AddTagsToResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ApplyPendingMaintenanceAction
/// <summary>
/// Applies a pending maintenance action to a resource (for example, to a replication
/// instance).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ApplyPendingMaintenanceAction service method.</param>
///
/// <returns>The response from the ApplyPendingMaintenanceAction service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ApplyPendingMaintenanceAction">REST API Reference for ApplyPendingMaintenanceAction Operation</seealso>
ApplyPendingMaintenanceActionResponse ApplyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request);
/// <summary>
/// Applies a pending maintenance action to a resource (for example, to a replication
/// instance).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ApplyPendingMaintenanceAction 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 ApplyPendingMaintenanceAction service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ApplyPendingMaintenanceAction">REST API Reference for ApplyPendingMaintenanceAction Operation</seealso>
Task<ApplyPendingMaintenanceActionResponse> ApplyPendingMaintenanceActionAsync(ApplyPendingMaintenanceActionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CancelReplicationTaskAssessmentRun
/// <summary>
/// Cancels a single premigration assessment run.
///
///
/// <para>
/// This operation prevents any individual assessments from running if they haven't started
/// running. It also attempts to cancel any individual assessments that are currently
/// running.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CancelReplicationTaskAssessmentRun service method.</param>
///
/// <returns>The response from the CancelReplicationTaskAssessmentRun service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.AccessDeniedException">
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.InvalidResourceStateException">
/// The resource is in a state that prevents it from being used for database migration.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelReplicationTaskAssessmentRun">REST API Reference for CancelReplicationTaskAssessmentRun Operation</seealso>
CancelReplicationTaskAssessmentRunResponse CancelReplicationTaskAssessmentRun(CancelReplicationTaskAssessmentRunRequest request);
/// <summary>
/// Cancels a single premigration assessment run.
///
///
/// <para>
/// This operation prevents any individual assessments from running if they haven't started
/// running. It also attempts to cancel any individual assessments that are currently
/// running.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CancelReplicationTaskAssessmentRun 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 CancelReplicationTaskAssessmentRun service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.AccessDeniedException">
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.InvalidResourceStateException">
/// The resource is in a state that prevents it from being used for database migration.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelReplicationTaskAssessmentRun">REST API Reference for CancelReplicationTaskAssessmentRun Operation</seealso>
Task<CancelReplicationTaskAssessmentRunResponse> CancelReplicationTaskAssessmentRunAsync(CancelReplicationTaskAssessmentRunRequest request, CancellationToken cancellationToken = default(CancellationToken));
Project:awssdks
File:IAmazonDatabaseMigrationService.cs
Examples:6
#if AWS_ASYNC_ENUMERABLES_API
/// <summary>
/// Paginators for the service
/// </summary>
IDatabaseMigrationServicePaginatorFactory Paginators { get; }
#endif
#region AddTagsToResource
/// <summary>
/// Adds metadata tags to an AWS DMS resource, including replication instance, endpoint,
/// security group, and migration task. These tags can also be used with cost allocation
/// reporting to track cost associated with DMS resources, or used in a Condition statement
/// in an IAM policy for DMS. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
/// <code>Tag</code> </a> data type description.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AddTagsToResource 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 AddTagsToResource service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource">REST API Reference for AddTagsToResource Operation</seealso>
Task<AddTagsToResourceResponse> AddTagsToResourceAsync(AddTagsToResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ApplyPendingMaintenanceAction
/// <summary>
/// Applies a pending maintenance action to a resource (for example, to a replication
/// instance).
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ApplyPendingMaintenanceAction 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 ApplyPendingMaintenanceAction service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ApplyPendingMaintenanceAction">REST API Reference for ApplyPendingMaintenanceAction Operation</seealso>
Task<ApplyPendingMaintenanceActionResponse> ApplyPendingMaintenanceActionAsync(ApplyPendingMaintenanceActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CancelReplicationTaskAssessmentRun
/// <summary>
/// Cancels a single premigration assessment run.
///
///
/// <para>
/// This operation prevents any individual assessments from running if they haven't started
/// running. It also attempts to cancel any individual assessments that are currently
/// running.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CancelReplicationTaskAssessmentRun 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 CancelReplicationTaskAssessmentRun service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.AccessDeniedException">
/// AWS DMS was denied access to the endpoint. Check that the role is correctly configured.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.InvalidResourceStateException">
/// The resource is in a state that prevents it from being used for database migration.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelReplicationTaskAssessmentRun">REST API Reference for CancelReplicationTaskAssessmentRun Operation</seealso>
Task<CancelReplicationTaskAssessmentRunResponse> CancelReplicationTaskAssessmentRunAsync(CancelReplicationTaskAssessmentRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateEndpoint
/// <summary>
/// Creates an endpoint using the provided settings.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateEndpoint 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 CreateEndpoint service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.AccessDeniedException">
/// AWS DMS was denied access to the endpoint. Check that the role is correctly configured.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.InvalidResourceStateException">
/// The resource is in a state that prevents it from being used for database migration.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.KMSKeyNotAccessibleException">
/// AWS DMS cannot access the AWS KMS key.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceAlreadyExistsException">
/// The resource you are attempting to create already exists.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceQuotaExceededException">
/// The quota for this resource quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.S3AccessDeniedException">
/// Insufficient privileges are preventing access to an Amazon S3 object.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint">REST API Reference for CreateEndpoint Operation</seealso>
Task<CreateEndpointResponse> CreateEndpointAsync(CreateEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateEventSubscription
/// <summary>
/// Creates an AWS DMS event notification subscription.
///
///
/// <para>
/// You can specify the type of source (<code>SourceType</code>) you want to be notified
/// of, provide a list of AWS DMS source IDs (<code>SourceIds</code>) that triggers the
/// events, and provide a list of event categories (<code>EventCategories</code>) for
/// events you want to be notified of. If you specify both the <code>SourceType</code>
/// and <code>SourceIds</code>, such as <code>SourceType = replication-instance</code>
/// and <code>SourceIdentifier = my-replinstance</code>, you will be notified of all the
/// replication instance events for the specified source. If you specify a <code>SourceType</code>
/// but don't specify a <code>SourceIdentifier</code>, you receive notice of the events
/// for that source type for all your AWS DMS sources. If you don't specify either <code>SourceType</code>
/// nor <code>SourceIdentifier</code>, you will be notified of events generated from all
/// AWS DMS sources belonging to your customer account.
/// </para>
///
/// <para>
/// For more information about AWS DMS events, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html">Working
/// with Events and Notifications</a> in the <i>AWS Database Migration Service User Guide.</i>
///
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateEventSubscription 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 CreateEventSubscription service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.KMSAccessDeniedException">
/// The ciphertext references a key that doesn't exist or that the DMS account doesn't
/// have access to.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.KMSDisabledException">
/// The specified master key (CMK) isn't enabled.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.KMSInvalidStateException">
/// The state of the specified AWS KMS resource isn't valid for this request.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.KMSNotFoundException">
/// The specified AWS KMS entity or resource can't be found.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.KMSThrottlingException">
/// This request triggered AWS KMS request throttling.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceAlreadyExistsException">
/// The resource you are attempting to create already exists.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceQuotaExceededException">
/// The quota for this resource quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.SNSInvalidTopicException">
/// The SNS topic is invalid.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.SNSNoAuthorizationException">
/// You are not authorized for the SNS subscription.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscription">REST API Reference for CreateEventSubscription Operation</seealso>
Task<CreateEventSubscriptionResponse> CreateEventSubscriptionAsync(CreateEventSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateReplicationInstance
/// <summary>
/// Creates the replication instance using the specified parameters.
///
///
/// <para>
/// AWS DMS requires that your account have certain roles with appropriate permissions
/// before you can create a replication instance. For information on the required roles,
/// see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.APIRole">Creating
/// the IAM Roles to Use With the AWS CLI and AWS DMS API</a>. For information on the
/// required permissions, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.IAMPermissions">IAM
/// Permissions Needed to Use AWS DMS</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateReplicationInstance 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 CreateReplicationInstance service method, as returned by DatabaseMigrationService.</returns>
/// <exception cref="Amazon.DatabaseMigrationService.Model.AccessDeniedException">
/// AWS DMS was denied access to the endpoint. Check that the role is correctly configured.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.InsufficientResourceCapacityException">
/// There are not enough resources allocated to the database migration.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.InvalidResourceStateException">
/// The resource is in a state that prevents it from being used for database migration.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.InvalidSubnetException">
/// The subnet provided is invalid.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.KMSKeyNotAccessibleException">
/// AWS DMS cannot access the AWS KMS key.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ReplicationSubnetGroupDoesNotCoverEnoughAZsException">
/// The replication subnet group does not cover enough Availability Zones (AZs). Edit
/// the replication subnet group and add more AZs.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceAlreadyExistsException">
/// The resource you are attempting to create already exists.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceNotFoundException">
/// The resource could not be found.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.ResourceQuotaExceededException">
/// The quota for this resource quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.DatabaseMigrationService.Model.StorageQuotaExceededException">
/// The storage quota has been exceeded.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstance">REST API Reference for CreateReplicationInstance Operation</seealso>
Task<CreateReplicationInstanceResponse> CreateReplicationInstanceAsync(CreateReplicationInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
Amazon.DatabaseMigrationService.Model.S3ResourceNotFoundException : ISerializable
Constructors :
public S3ResourceNotFoundException(String message = )public S3ResourceNotFoundException(String message = , Exception innerException = )
public S3ResourceNotFoundException(Exception innerException = )
public S3ResourceNotFoundException(String message = , Exception innerException = , ErrorType errorType = , String errorCode = , String requestId = , HttpStatusCode statusCode = )
public S3ResourceNotFoundException(String message = , ErrorType errorType = , String errorCode = , String requestId = , HttpStatusCode statusCode = )
Methods :
public ErrorType get_ErrorType()public Void set_ErrorType(ErrorType value = )
public String get_ErrorCode()
public Void set_ErrorCode(String value = )
public String get_RequestId()
public Void set_RequestId(String value = )
public HttpStatusCode get_StatusCode()
public Void set_StatusCode(HttpStatusCode value = )
public MethodBase get_TargetSite()
public String get_Message()
public IDictionary get_Data()
public Exception GetBaseException()
public Exception get_InnerException()
public String get_HelpLink()
public Void set_HelpLink(String value = )
public String get_Source()
public Void set_Source(String value = )
public Void GetObjectData(SerializationInfo info = , StreamingContext context = )
public String ToString()
public Int32 get_HResult()
public Void set_HResult(Int32 value = )
public Type GetType()
public String get_StackTrace()
public Type GetType()
public Boolean Equals(Object obj = )
public Int32 GetHashCode()