Amazon.SimpleSystemsManagement.AmazonSimpleSystemsManagementClient.RegisterTargetWithMaintenanceWindowAsync C# (CSharp) 메소드

RegisterTargetWithMaintenanceWindowAsync() 공개 메소드

Initiates the asynchronous execution of the RegisterTargetWithMaintenanceWindow operation.
public RegisterTargetWithMaintenanceWindowAsync ( RegisterTargetWithMaintenanceWindowRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.SimpleSystemsManagement.Model.RegisterTargetWithMaintenanceWindowRequest Container for the necessary parameters to execute the RegisterTargetWithMaintenanceWindow operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
리턴 Task
        public Task<RegisterTargetWithMaintenanceWindowResponse> RegisterTargetWithMaintenanceWindowAsync(RegisterTargetWithMaintenanceWindowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new RegisterTargetWithMaintenanceWindowRequestMarshaller();
            var unmarshaller = RegisterTargetWithMaintenanceWindowResponseUnmarshaller.Instance;

            return InvokeAsync<RegisterTargetWithMaintenanceWindowRequest,RegisterTargetWithMaintenanceWindowResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonSimpleSystemsManagementClient