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 |
Returns a list of attributes attached to an account
Synopsis
- data DescribeAccountAttributes = DescribeAccountAttributes' {
- attributeNames :: Maybe [Text]
- newDescribeAccountAttributes :: DescribeAccountAttributes
- describeAccountAttributes_attributeNames :: Lens' DescribeAccountAttributes (Maybe [Text])
- data DescribeAccountAttributesResponse = DescribeAccountAttributesResponse' {}
- newDescribeAccountAttributesResponse :: Int -> DescribeAccountAttributesResponse
- describeAccountAttributesResponse_accountAttributes :: Lens' DescribeAccountAttributesResponse (Maybe [AccountAttribute])
- describeAccountAttributesResponse_httpStatus :: Lens' DescribeAccountAttributesResponse Int
Creating a Request
data DescribeAccountAttributes Source #
See: newDescribeAccountAttributes
smart constructor.
DescribeAccountAttributes' | |
|
Instances
newDescribeAccountAttributes :: DescribeAccountAttributes Source #
Create a value of DescribeAccountAttributes
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:attributeNames:DescribeAccountAttributes'
, describeAccountAttributes_attributeNames
- A list of attribute names.
Request Lenses
describeAccountAttributes_attributeNames :: Lens' DescribeAccountAttributes (Maybe [Text]) Source #
A list of attribute names.
Destructuring the Response
data DescribeAccountAttributesResponse Source #
See: newDescribeAccountAttributesResponse
smart constructor.
DescribeAccountAttributesResponse' | |
|
Instances
Eq DescribeAccountAttributesResponse Source # | |
Read DescribeAccountAttributesResponse Source # | |
Show DescribeAccountAttributesResponse Source # | |
Generic DescribeAccountAttributesResponse Source # | |
NFData DescribeAccountAttributesResponse Source # | |
Defined in Amazonka.Redshift.DescribeAccountAttributes rnf :: DescribeAccountAttributesResponse -> () # | |
type Rep DescribeAccountAttributesResponse Source # | |
Defined in Amazonka.Redshift.DescribeAccountAttributes type Rep DescribeAccountAttributesResponse = D1 ('MetaData "DescribeAccountAttributesResponse" "Amazonka.Redshift.DescribeAccountAttributes" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DescribeAccountAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AccountAttribute])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeAccountAttributesResponse Source #
Create a value of DescribeAccountAttributesResponse
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:accountAttributes:DescribeAccountAttributesResponse'
, describeAccountAttributesResponse_accountAttributes
- A list of attributes assigned to an account.
$sel:httpStatus:DescribeAccountAttributesResponse'
, describeAccountAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
describeAccountAttributesResponse_accountAttributes :: Lens' DescribeAccountAttributesResponse (Maybe [AccountAttribute]) Source #
A list of attributes assigned to an account.
describeAccountAttributesResponse_httpStatus :: Lens' DescribeAccountAttributesResponse Int Source #
The response's http status code.