libZSservicesZSamazonka-opsworksZSamazonka-opsworks
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.OpsWorks.DescribeCommands

Description

Describes the results of specified commands.

This call accepts only one resource-identifying parameter.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.

Synopsis

Creating a Request

data DescribeCommands Source #

See: newDescribeCommands smart constructor.

Constructors

DescribeCommands' 

Fields

  • deploymentId :: Maybe Text

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

  • instanceId :: Maybe Text

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

  • commandIds :: Maybe [Text]

    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.

Instances

Instances details
Eq DescribeCommands Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

Read DescribeCommands Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

Show DescribeCommands Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

Generic DescribeCommands Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

Associated Types

type Rep DescribeCommands :: Type -> Type #

NFData DescribeCommands Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

Methods

rnf :: DescribeCommands -> () #

Hashable DescribeCommands Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

ToJSON DescribeCommands Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

AWSRequest DescribeCommands Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

Associated Types

type AWSResponse DescribeCommands #

ToHeaders DescribeCommands Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

ToPath DescribeCommands Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

ToQuery DescribeCommands Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

type Rep DescribeCommands Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

type Rep DescribeCommands = D1 ('MetaData "DescribeCommands" "Amazonka.OpsWorks.DescribeCommands" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "DescribeCommands'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "commandIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))
type AWSResponse DescribeCommands Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

newDescribeCommands :: DescribeCommands Source #

Create a value of DescribeCommands with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:deploymentId:DescribeCommands', describeCommands_deploymentId - The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.

$sel:instanceId:DescribeCommands', describeCommands_instanceId - The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.

$sel:commandIds:DescribeCommands', describeCommands_commandIds - 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.

Request Lenses

describeCommands_deploymentId :: Lens' DescribeCommands (Maybe Text) Source #

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

describeCommands_instanceId :: Lens' DescribeCommands (Maybe Text) Source #

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

describeCommands_commandIds :: Lens' DescribeCommands (Maybe [Text]) Source #

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.

Destructuring the Response

data DescribeCommandsResponse Source #

Contains the response to a DescribeCommands request.

See: newDescribeCommandsResponse smart constructor.

Constructors

DescribeCommandsResponse' 

Fields

Instances

Instances details
Eq DescribeCommandsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

Read DescribeCommandsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

Show DescribeCommandsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

Generic DescribeCommandsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

Associated Types

type Rep DescribeCommandsResponse :: Type -> Type #

NFData DescribeCommandsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

type Rep DescribeCommandsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeCommands

type Rep DescribeCommandsResponse = D1 ('MetaData "DescribeCommandsResponse" "Amazonka.OpsWorks.DescribeCommands" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "DescribeCommandsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "commands") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Command])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeCommandsResponse Source #

Create a value of DescribeCommandsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:commands:DescribeCommandsResponse', describeCommandsResponse_commands - An array of Command objects that describe each of the specified commands.

$sel:httpStatus:DescribeCommandsResponse', describeCommandsResponse_httpStatus - The response's http status code.

Response Lenses

describeCommandsResponse_commands :: Lens' DescribeCommandsResponse (Maybe [Command]) Source #

An array of Command objects that describe each of the specified commands.