Amazon.SimpleSystemsManagement.AmazonSimpleSystemsManagementClient.UpdateAssociationStatus C# (CSharp) Метод

UpdateAssociationStatus() публичный Метод

Updates the status of the SSM document associated with the specified instance.
/// The specified association does not exist. /// /// An error occurred on the server side. /// /// The specified document does not exist. /// /// The following problems can cause this exception: /// /// /// /// You do not have permission to access the instance. /// /// /// /// The SSM agent is not running. On managed instances and Linux instances, verify that /// the SSM agent is running. On EC2 Windows instances, verify that the EC2Config service /// is running. /// /// /// /// The SSM agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling /// the SSM agent or EC2Config service. /// /// /// /// The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. /// Invalid states are: Shutting-down and Terminated. /// /// /// The updated status is the same as the current status. /// /// There are concurrent updates for a resource that supports one update at a time. ///
public UpdateAssociationStatus ( Amazon.SimpleSystemsManagement.Model.UpdateAssociationStatusRequest request ) : UpdateAssociationStatusResponse
request Amazon.SimpleSystemsManagement.Model.UpdateAssociationStatusRequest Container for the necessary parameters to execute the UpdateAssociationStatus service method.
Результат Amazon.SimpleSystemsManagement.Model.UpdateAssociationStatusResponse
        public UpdateAssociationStatusResponse UpdateAssociationStatus(UpdateAssociationStatusRequest request)
        {
            var marshaller = new UpdateAssociationStatusRequestMarshaller();
            var unmarshaller = UpdateAssociationStatusResponseUnmarshaller.Instance;

            return Invoke<UpdateAssociationStatusRequest,UpdateAssociationStatusResponse>(request, marshaller, unmarshaller);
        }
AmazonSimpleSystemsManagementClient