amazonka-opsworks-2.0: Amazon OpsWorks SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.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

AWSRequest DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Associated Types

type AWSResponse DescribeRaidArrays #

Generic DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Associated Types

type Rep DescribeRaidArrays :: Type -> Type #

Read DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Show DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

NFData DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Methods

rnf :: DescribeRaidArrays -> () #

Eq DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Hashable DescribeRaidArrays Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

type AWSResponse 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" "amazonka-opsworks-2.0-7XrzSD2vbuN9lVUGWMVZ7S" '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)))))

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:

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.

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
Generic DescribeRaidArraysResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Associated Types

type Rep DescribeRaidArraysResponse :: Type -> Type #

Read DescribeRaidArraysResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Show DescribeRaidArraysResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

NFData DescribeRaidArraysResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeRaidArrays

Eq 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" "amazonka-opsworks-2.0-7XrzSD2vbuN9lVUGWMVZ7S" '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.