Amazon.GameLift.AmazonGameLiftClient.DeleteFleet C# (CSharp) Method

DeleteFleet() public method

Deletes everything related to a fleet. Before deleting a fleet, you must set the fleet's desired capacity to zero. See UpdateFleetCapacity.

This action removes the fleet's resources and the fleet record. Once a fleet is deleted, you can no longer use that fleet.

/// The service encountered an unrecoverable internal failure while processing the request. /// Clients can retry such requests immediately or after a waiting period. /// /// The requested operation would cause a conflict with the current state of a resource /// associated with the request and/or the fleet. Resolve the conflict before retrying. /// /// One or more parameter values in the request are invalid. Correct the invalid parameter /// values before retrying. /// /// A service resource associated with the request could not be found. Clients should /// not retry such requests. /// /// The client failed authentication. Clients should not retry such requests. ///
public DeleteFleet ( Amazon.GameLift.Model.DeleteFleetRequest request ) : DeleteFleetResponse
request Amazon.GameLift.Model.DeleteFleetRequest Container for the necessary parameters to execute the DeleteFleet service method.
return DeleteFleetResponse
        public DeleteFleetResponse DeleteFleet(DeleteFleetRequest request)
        {
            var marshaller = new DeleteFleetRequestMarshaller();
            var unmarshaller = DeleteFleetResponseUnmarshaller.Instance;

            return Invoke<DeleteFleetRequest,DeleteFleetResponse>(request, marshaller, unmarshaller);
        }

Same methods

AmazonGameLiftClient::DeleteFleet ( string fleetId ) : DeleteFleetResponse
AmazonGameLiftClient