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 the account preferences settings for the Amazon Web Services account associated with the user making the request, in the current Amazon Web Services Region. For more information, see Managing Amazon EFS resource IDs.
Synopsis
- data DescribeAccountPreferences = DescribeAccountPreferences' {}
- newDescribeAccountPreferences :: DescribeAccountPreferences
- describeAccountPreferences_nextToken :: Lens' DescribeAccountPreferences (Maybe Text)
- describeAccountPreferences_maxResults :: Lens' DescribeAccountPreferences (Maybe Natural)
- data DescribeAccountPreferencesResponse = DescribeAccountPreferencesResponse' {}
- newDescribeAccountPreferencesResponse :: Int -> DescribeAccountPreferencesResponse
- describeAccountPreferencesResponse_resourceIdPreference :: Lens' DescribeAccountPreferencesResponse (Maybe ResourceIdPreference)
- describeAccountPreferencesResponse_nextToken :: Lens' DescribeAccountPreferencesResponse (Maybe Text)
- describeAccountPreferencesResponse_httpStatus :: Lens' DescribeAccountPreferencesResponse Int
Creating a Request
data DescribeAccountPreferences Source #
See: newDescribeAccountPreferences
smart constructor.
DescribeAccountPreferences' | |
|
Instances
newDescribeAccountPreferences :: DescribeAccountPreferences Source #
Create a value of DescribeAccountPreferences
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:nextToken:DescribeAccountPreferences'
, describeAccountPreferences_nextToken
- (Optional) You can use NextToken
in a subsequent request to fetch the
next page of Amazon Web Services account preferences if the response
payload was paginated.
$sel:maxResults:DescribeAccountPreferences'
, describeAccountPreferences_maxResults
- (Optional) When retrieving account preferences, you can optionally
specify the MaxItems
parameter to limit the number of objects returned
in a response. The default value is 100.
Request Lenses
describeAccountPreferences_nextToken :: Lens' DescribeAccountPreferences (Maybe Text) Source #
(Optional) You can use NextToken
in a subsequent request to fetch the
next page of Amazon Web Services account preferences if the response
payload was paginated.
describeAccountPreferences_maxResults :: Lens' DescribeAccountPreferences (Maybe Natural) Source #
(Optional) When retrieving account preferences, you can optionally
specify the MaxItems
parameter to limit the number of objects returned
in a response. The default value is 100.
Destructuring the Response
data DescribeAccountPreferencesResponse Source #
See: newDescribeAccountPreferencesResponse
smart constructor.
DescribeAccountPreferencesResponse' | |
|
Instances
newDescribeAccountPreferencesResponse Source #
Create a value of DescribeAccountPreferencesResponse
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:resourceIdPreference:DescribeAccountPreferencesResponse'
, describeAccountPreferencesResponse_resourceIdPreference
- Describes the resource ID preference setting for the Amazon Web Services
account associated with the user making the request, in the current
Amazon Web Services Region.
$sel:nextToken:DescribeAccountPreferences'
, describeAccountPreferencesResponse_nextToken
- Present if there are more records than returned in the response. You can
use the NextToken
in the subsequent request to fetch the additional
descriptions.
$sel:httpStatus:DescribeAccountPreferencesResponse'
, describeAccountPreferencesResponse_httpStatus
- The response's http status code.
Response Lenses
describeAccountPreferencesResponse_resourceIdPreference :: Lens' DescribeAccountPreferencesResponse (Maybe ResourceIdPreference) Source #
Describes the resource ID preference setting for the Amazon Web Services account associated with the user making the request, in the current Amazon Web Services Region.
describeAccountPreferencesResponse_nextToken :: Lens' DescribeAccountPreferencesResponse (Maybe Text) Source #
Present if there are more records than returned in the response. You can
use the NextToken
in the subsequent request to fetch the additional
descriptions.
describeAccountPreferencesResponse_httpStatus :: Lens' DescribeAccountPreferencesResponse Int Source #
The response's http status code.