libZSservicesZSamazonka-efsZSamazonka-efs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EFS.DescribeAccountPreferences

Description

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

Creating a Request

data DescribeAccountPreferences Source #

See: newDescribeAccountPreferences smart constructor.

Constructors

DescribeAccountPreferences' 

Fields

  • nextToken :: Maybe Text

    (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.

  • maxResults :: Maybe Natural

    (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.

Instances

Instances details
Eq DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

Read DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

Show DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

Generic DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

Associated Types

type Rep DescribeAccountPreferences :: Type -> Type #

NFData DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

Hashable DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

AWSRequest DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

ToHeaders DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

ToPath DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

ToQuery DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

type Rep DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

type Rep DescribeAccountPreferences = D1 ('MetaData "DescribeAccountPreferences" "Amazonka.EFS.DescribeAccountPreferences" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "DescribeAccountPreferences'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

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 #

Constructors

DescribeAccountPreferencesResponse' 

Fields

  • resourceIdPreference :: Maybe 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.

  • nextToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

Read DescribeAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

Show DescribeAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

Generic DescribeAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

Associated Types

type Rep DescribeAccountPreferencesResponse :: Type -> Type #

NFData DescribeAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

type Rep DescribeAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

type Rep DescribeAccountPreferencesResponse = D1 ('MetaData "DescribeAccountPreferencesResponse" "Amazonka.EFS.DescribeAccountPreferences" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "DescribeAccountPreferencesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceIdPreference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceIdPreference)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.