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.DescribeRaidArrays

Description

Describe an instance's RAID arrays.

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 DescribeRaidArrays Source #

See: newDescribeRaidArrays smart constructor.

Constructors

DescribeRaidArrays' 

Fields

  • instanceId :: Maybe Text

    The instance ID. If you use this parameter, DescribeRaidArrays returns descriptions of the RAID arrays associated with the specified instance.

  • raidArrayIds :: Maybe [Text]

    An array of RAID array IDs. If you use this parameter, DescribeRaidArrays returns descriptions of the specified arrays. Otherwise, it returns a description of every array.

  • stackId :: Maybe Text

    The stack ID.

Instances

Instances details
Eq DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Read DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Show DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Generic DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Associated Types

type Rep DescribeRaidArrays :: Type -> Type #

NFData DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Methods

rnf :: DescribeRaidArrays -> () #

Hashable DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

ToJSON DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

AWSRequest DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Associated Types

type AWSResponse DescribeRaidArrays #

ToHeaders DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

ToPath DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

ToQuery DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

type Rep DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

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

Defined in Amazonka.OpsWorks.DescribeRaidArrays

newDescribeRaidArrays :: DescribeRaidArrays Source #

Create a value of DescribeRaidArrays 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:instanceId:DescribeRaidArrays', describeRaidArrays_instanceId - The instance ID. If you use this parameter, DescribeRaidArrays returns descriptions of the RAID arrays associated with the specified instance.

$sel:raidArrayIds:DescribeRaidArrays', describeRaidArrays_raidArrayIds - An array of RAID array IDs. If you use this parameter, DescribeRaidArrays returns descriptions of the specified arrays. Otherwise, it returns a description of every array.

$sel:stackId:DescribeRaidArrays', describeRaidArrays_stackId - The stack ID.

Request Lenses

describeRaidArrays_instanceId :: Lens' DescribeRaidArrays (Maybe Text) Source #

The instance ID. If you use this parameter, DescribeRaidArrays returns descriptions of the RAID arrays associated with the specified instance.

describeRaidArrays_raidArrayIds :: Lens' DescribeRaidArrays (Maybe [Text]) Source #

An array of RAID array IDs. If you use this parameter, DescribeRaidArrays returns descriptions of the specified arrays. Otherwise, it returns a description of every array.

Destructuring the Response

data DescribeRaidArraysResponse Source #

Contains the response to a DescribeRaidArrays request.

See: newDescribeRaidArraysResponse smart constructor.

Constructors

DescribeRaidArraysResponse' 

Fields

Instances

Instances details
Eq DescribeRaidArraysResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Read DescribeRaidArraysResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Show DescribeRaidArraysResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Generic DescribeRaidArraysResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Associated Types

type Rep DescribeRaidArraysResponse :: Type -> Type #

NFData DescribeRaidArraysResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

type Rep DescribeRaidArraysResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

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

newDescribeRaidArraysResponse Source #

Create a value of DescribeRaidArraysResponse 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:raidArrays:DescribeRaidArraysResponse', describeRaidArraysResponse_raidArrays - A RaidArrays object that describes the specified RAID arrays.

$sel:httpStatus:DescribeRaidArraysResponse', describeRaidArraysResponse_httpStatus - The response's http status code.

Response Lenses

describeRaidArraysResponse_raidArrays :: Lens' DescribeRaidArraysResponse (Maybe [RaidArray]) Source #

A RaidArrays object that describes the specified RAID arrays.