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.

DescribeCommandsInput

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

type DescribeCommandsInput struct { CommandIds []*string `type:"list"` DeploymentId *string `type:"string"` InstanceId *string `type:"string"` }

CommandIds

Type: []*string

An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.

DeploymentId

Type: *string

The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.

InstanceId

Type: *string

The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.

Method

GoString

func (s DescribeCommandsInput) GoString() string

GoString returns the string representation

SetCommandIds

func (s *DescribeCommandsInput) SetCommandIds(v []*string) *DescribeCommandsInput

SetCommandIds sets the CommandIds field's value.

SetDeploymentId

func (s *DescribeCommandsInput) SetDeploymentId(v string) *DescribeCommandsInput

SetDeploymentId sets the DeploymentId field's value.

SetInstanceId

func (s *DescribeCommandsInput) SetInstanceId(v string) *DescribeCommandsInput

SetInstanceId sets the InstanceId field's value.

String

func (s DescribeCommandsInput) String() string

String returns the string representation

On this page: