AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DescribeEcsClustersInput

import "github.com/aws/aws-sdk-go/service/opsworks"

type DescribeEcsClustersInput struct { EcsClusterArns []*string `type:"list"` MaxResults *int64 `type:"integer"` NextToken *string `type:"string"` StackId *string `type:"string"` }

EcsClusterArns

Type: []*string

A list of ARNs, one for each cluster to be described.

MaxResults

Type: *int64

To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

NextToken

Type: *string

If the previous paginated request did not return all of the remaining results, the response object'sNextToken parameter value is set to a token. To retrieve the next set of results, call DescribeEcsClusters again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

StackId

Type: *string

A stack ID. DescribeEcsClusters returns a description of the cluster that is registered with the stack.

Method

GoString

func (s DescribeEcsClustersInput) GoString() string

GoString returns the string representation

SetEcsClusterArns

func (s *DescribeEcsClustersInput) SetEcsClusterArns(v []*string) *DescribeEcsClustersInput

SetEcsClusterArns sets the EcsClusterArns field's value.

SetMaxResults

func (s *DescribeEcsClustersInput) SetMaxResults(v int64) *DescribeEcsClustersInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

func (s *DescribeEcsClustersInput) SetNextToken(v string) *DescribeEcsClustersInput

SetNextToken sets the NextToken field's value.

SetStackId

func (s *DescribeEcsClustersInput) SetStackId(v string) *DescribeEcsClustersInput

SetStackId sets the StackId field's value.

String

func (s DescribeEcsClustersInput) String() string

String returns the string representation

On this page: