amazonka-efs-2.0: Amazon Elastic File System SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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

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

Instances

Instances details
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

AWSRequest 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 #

Read DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

Show DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

NFData DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

Eq DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

Hashable DescribeAccountPreferences Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

type AWSResponse 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" "amazonka-efs-2.0-EHRjUBbcNxzHWDmYi0HAD5" 'False) (C1 ('MetaCons "DescribeAccountPreferences'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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 #

Constructors

DescribeAccountPreferencesResponse' 

Fields

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

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

Associated Types

type Rep DescribeAccountPreferencesResponse :: Type -> Type #

Read DescribeAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

Show DescribeAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

NFData DescribeAccountPreferencesResponse Source # 
Instance details

Defined in Amazonka.EFS.DescribeAccountPreferences

Eq 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" "amazonka-efs-2.0-EHRjUBbcNxzHWDmYi0HAD5" 'False) (C1 ('MetaCons "DescribeAccountPreferencesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceIdPreference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceIdPreference)) :*: 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:

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.