Amazon.ECS.AmazonECSClient.DescribeTaskDefinition C# (CSharp) Method

DescribeTaskDefinition() public method

Describes a task definition. You can specify a family and revision to find information about a specific task definition, or you can simply specify the family to find the latest ACTIVE revision in that family.

You can only describe INACTIVE task definitions while an active task or service references them.

/// These errors are usually caused by a client action, such as using an action or resource /// on behalf of a user that doesn't have permission to use the action or resource, or /// specifying an identifier that is not valid. /// /// The specified parameter is invalid. Review the available parameters for the API request. /// /// These errors are usually caused by a server issue. ///
public DescribeTaskDefinition ( Amazon.ECS.Model.DescribeTaskDefinitionRequest request ) : DescribeTaskDefinitionResponse
request Amazon.ECS.Model.DescribeTaskDefinitionRequest Container for the necessary parameters to execute the DescribeTaskDefinition service method.
return Amazon.ECS.Model.DescribeTaskDefinitionResponse
        public DescribeTaskDefinitionResponse DescribeTaskDefinition(DescribeTaskDefinitionRequest request)
        {
            var marshaller = new DescribeTaskDefinitionRequestMarshaller();
            var unmarshaller = DescribeTaskDefinitionResponseUnmarshaller.Instance;

            return Invoke<DescribeTaskDefinitionRequest,DescribeTaskDefinitionResponse>(request, marshaller, unmarshaller);
        }
AmazonECSClient