ReloadTablesResponse
Namespace:
AWSSDK.DatabaseMigrationService
We found 10 examples in language CSharp for this search.
You will see 27 fragments of code.
Other methods
Other methods
Project:aws-sdk-net
File:ReloadTablesResponseUnmarshaller.cs
Examples:3
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
ReloadTablesResponse response = new ReloadTablesResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("ReplicationTaskArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ReplicationTaskArn = unmarshaller.Unmarshall(context);
continue;
}
}
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("InvalidResourceStateFault"))
{
return InvalidResourceStateExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundFault"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonDatabaseMigrationServiceException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
internal static ReloadTablesResponseUnmarshaller GetInstance()
{
return _instance;
}
Project:awssdks
File:ReloadTablesResponse.cs
Examples:1
// Check to see if ReplicationTaskArn property is set
internal bool IsSetReplicationTaskArn()
{
return this._replicationTaskArn != null;
}
Project:aws-sdk-net
File:ReloadTablesResponse.cs
Examples:1
// Check to see if ReplicationTaskArn property is set
internal bool IsSetReplicationTaskArn()
{
return this._replicationTaskArn != null;
}
Project:aws-sdk-net-xamarin
File:ReloadTablesResponse.cs
Examples:1
// Check to see if ReplicationTaskArn property is set
internal bool IsSetReplicationTaskArn()
{
return this._replicationTaskArn != null;
}
Project:myawskendra
File:ReloadTablesResponse.cs
Examples:1
// Check to see if ReplicationTaskArn property is set
internal bool IsSetReplicationTaskArn()
{
return this._replicationTaskArn != null;
}
Project:aws-sdk-net
File:ReloadTablesResponse.cs
Examples:1
// Check to see if ReplicationTaskArn property is set
internal bool IsSetReplicationTaskArn()
{
return this._replicationTaskArn != null;
}
Project:aws-sdk-net
File:ReloadTablesResponse.cs
Examples:1
// Check to see if ReplicationTaskArn property is set
internal bool IsSetReplicationTaskArn()
{
return this._replicationTaskArn != null;
}
Project:myawskendra
File:AmazonDatabaseMigrationServiceClient.cs
Examples:6
#endregion
#region Overrides
/// <summary>
/// Creates the signer for the service.
/// </summary>
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
#endregion
#region Dispose
/// <summary>
/// Disposes the service client.
/// </summary>
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region AddTagsToResource
internal virtual AddTagsToResourceResponse AddTagsToResource(AddTagsToResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddTagsToResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddTagsToResourceResponseUnmarshaller.Instance;
return Invoke<AddTagsToResourceResponse>(request, options);
}
/// <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.
/// </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>
public virtual Task<AddTagsToResourceResponse> AddTagsToResourceAsync(AddTagsToResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AddTagsToResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddTagsToResourceResponseUnmarshaller.Instance;
return InvokeAsync<AddTagsToResourceResponse>(request, options, cancellationToken);
}
#endregion
#region ApplyPendingMaintenanceAction
internal virtual ApplyPendingMaintenanceActionResponse ApplyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ApplyPendingMaintenanceActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ApplyPendingMaintenanceActionResponseUnmarshaller.Instance;
return Invoke<ApplyPendingMaintenanceActionResponse>(request, options);
}
/// <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>
public virtual Task<ApplyPendingMaintenanceActionResponse> ApplyPendingMaintenanceActionAsync(ApplyPendingMaintenanceActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ApplyPendingMaintenanceActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ApplyPendingMaintenanceActionResponseUnmarshaller.Instance;
return InvokeAsync<ApplyPendingMaintenanceActionResponse>(request, options, cancellationToken);
}
Project:aws-sdk-net
File:AmazonDatabaseMigrationServiceClient.cs
Examples:6
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IDatabaseMigrationServicePaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public IDatabaseMigrationServicePaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new DatabaseMigrationServicePaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Overrides
/// <summary>
/// Creates the signer for the service.
/// </summary>
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
#endregion
#region Dispose
/// <summary>
/// Disposes the service client.
/// </summary>
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region AddTagsToResource
internal virtual AddTagsToResourceResponse AddTagsToResource(AddTagsToResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddTagsToResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddTagsToResourceResponseUnmarshaller.Instance;
return Invoke<AddTagsToResourceResponse>(request, options);
}
/// <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>
public virtual Task<AddTagsToResourceResponse> AddTagsToResourceAsync(AddTagsToResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AddTagsToResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddTagsToResourceResponseUnmarshaller.Instance;
return InvokeAsync<AddTagsToResourceResponse>(request, options, cancellationToken);
}
#endregion
#region ApplyPendingMaintenanceAction
internal virtual ApplyPendingMaintenanceActionResponse ApplyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ApplyPendingMaintenanceActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ApplyPendingMaintenanceActionResponseUnmarshaller.Instance;
return Invoke<ApplyPendingMaintenanceActionResponse>(request, options);
}
/// <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>
public virtual Task<ApplyPendingMaintenanceActionResponse> ApplyPendingMaintenanceActionAsync(ApplyPendingMaintenanceActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ApplyPendingMaintenanceActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ApplyPendingMaintenanceActionResponseUnmarshaller.Instance;
return InvokeAsync<ApplyPendingMaintenanceActionResponse>(request, options, cancellationToken);
}
Project:awssdks
File:AmazonDatabaseMigrationServiceClient.cs
Examples:6
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IDatabaseMigrationServicePaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public IDatabaseMigrationServicePaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new DatabaseMigrationServicePaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Overrides
/// <summary>
/// Creates the signer for the service.
/// </summary>
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
#endregion
#region Dispose
/// <summary>
/// Disposes the service client.
/// </summary>
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region AddTagsToResource
internal virtual AddTagsToResourceResponse AddTagsToResource(AddTagsToResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddTagsToResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddTagsToResourceResponseUnmarshaller.Instance;
return Invoke<AddTagsToResourceResponse>(request, options);
}
/// <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>
public virtual Task<AddTagsToResourceResponse> AddTagsToResourceAsync(AddTagsToResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AddTagsToResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddTagsToResourceResponseUnmarshaller.Instance;
return InvokeAsync<AddTagsToResourceResponse>(request, options, cancellationToken);
}
#endregion
#region ApplyPendingMaintenanceAction
internal virtual ApplyPendingMaintenanceActionResponse ApplyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ApplyPendingMaintenanceActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ApplyPendingMaintenanceActionResponseUnmarshaller.Instance;
return Invoke<ApplyPendingMaintenanceActionResponse>(request, options);
}
/// <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>
public virtual Task<ApplyPendingMaintenanceActionResponse> ApplyPendingMaintenanceActionAsync(ApplyPendingMaintenanceActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ApplyPendingMaintenanceActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ApplyPendingMaintenanceActionResponseUnmarshaller.Instance;
return InvokeAsync<ApplyPendingMaintenanceActionResponse>(request, options, cancellationToken);
}
Amazon.DatabaseMigrationService.Model.ReloadTablesResponse : AmazonWebServiceResponse
Constructors :
public ReloadTablesResponse()Methods :
public String get_ReplicationTaskArn()public Void set_ReplicationTaskArn(String value = )
public ResponseMetadata get_ResponseMetadata()
public Void set_ResponseMetadata(ResponseMetadata value = )
public Int64 get_ContentLength()
public Void set_ContentLength(Int64 value = )
public HttpStatusCode get_HttpStatusCode()
public Void set_HttpStatusCode(HttpStatusCode value = )
public Type GetType()
public String ToString()
public Boolean Equals(Object obj = )
public Int32 GetHashCode()