Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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_maxResults :: Lens' DescribeAccountPreferences (Maybe Natural)
- describeAccountPreferences_nextToken :: Lens' DescribeAccountPreferences (Maybe Text)
- data DescribeAccountPreferencesResponse = DescribeAccountPreferencesResponse' {}
- newDescribeAccountPreferencesResponse :: Int -> DescribeAccountPreferencesResponse
- describeAccountPreferencesResponse_nextToken :: Lens' DescribeAccountPreferencesResponse (Maybe Text)
- describeAccountPreferencesResponse_resourceIdPreference :: Lens' DescribeAccountPreferencesResponse (Maybe ResourceIdPreference)
- 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: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.
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.
Request Lenses
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.
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.
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:
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: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:httpStatus:DescribeAccountPreferencesResponse'
, describeAccountPreferencesResponse_httpStatus
- The response's http status code.
Response Lenses
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_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_httpStatus :: Lens' DescribeAccountPreferencesResponse Int Source #
The response's http status code.