Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DescribeRaidArrays = DescribeRaidArrays' {
- instanceId :: Maybe Text
- raidArrayIds :: Maybe [Text]
- stackId :: Maybe Text
- newDescribeRaidArrays :: DescribeRaidArrays
- describeRaidArrays_instanceId :: Lens' DescribeRaidArrays (Maybe Text)
- describeRaidArrays_raidArrayIds :: Lens' DescribeRaidArrays (Maybe [Text])
- describeRaidArrays_stackId :: Lens' DescribeRaidArrays (Maybe Text)
- data DescribeRaidArraysResponse = DescribeRaidArraysResponse' {
- raidArrays :: Maybe [RaidArray]
- httpStatus :: Int
- newDescribeRaidArraysResponse :: Int -> DescribeRaidArraysResponse
- describeRaidArraysResponse_raidArrays :: Lens' DescribeRaidArraysResponse (Maybe [RaidArray])
- describeRaidArraysResponse_httpStatus :: Lens' DescribeRaidArraysResponse Int
Creating a Request
data DescribeRaidArrays Source #
See: newDescribeRaidArrays
smart constructor.
DescribeRaidArrays' | |
|
Instances
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.
describeRaidArrays_stackId :: Lens' DescribeRaidArrays (Maybe Text) Source #
The stack ID.
Destructuring the Response
data DescribeRaidArraysResponse Source #
Contains the response to a DescribeRaidArrays
request.
See: newDescribeRaidArraysResponse
smart constructor.
DescribeRaidArraysResponse' | |
|
Instances
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.
describeRaidArraysResponse_httpStatus :: Lens' DescribeRaidArraysResponse Int Source #
The response's http status code.