Amazon.OpsWorksCM.AmazonOpsWorksCMClient.UpdateServerEngineAttributes C# (CSharp) Méthode

UpdateServerEngineAttributes() public méthode

Updates engine specific attributes on a specified server. Server will enter the MODIFYING state when this operation is in progress. Only one update can take place at a time.

This operation can be use to reset Chef Server main API key (CHEF_PIVOTAL_KEY).

This operation is asynchronous.

This operation can only be called for HEALTHY and UNHEALTHY servers. Otherwise a InvalidStateException is raised. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are invalid.

/// The resource is in a state that does not allow you to perform a specified action. /// /// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public UpdateServerEngineAttributes ( UpdateServerEngineAttributesRequest request ) : UpdateServerEngineAttributesResponse
request Amazon.OpsWorksCM.Model.UpdateServerEngineAttributesRequest Container for the necessary parameters to execute the UpdateServerEngineAttributes service method.
Résultat Amazon.OpsWorksCM.Model.UpdateServerEngineAttributesResponse
        public UpdateServerEngineAttributesResponse UpdateServerEngineAttributes(UpdateServerEngineAttributesRequest request)
        {
            var marshaller = new UpdateServerEngineAttributesRequestMarshaller();
            var unmarshaller = UpdateServerEngineAttributesResponseUnmarshaller.Instance;

            return Invoke<UpdateServerEngineAttributesRequest,UpdateServerEngineAttributesResponse>(request, marshaller, unmarshaller);
        }