amazonka-billingconductor-2.0: Amazon BillingConductor 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.BillingConductor.ListAccountAssociations

Description

This is a paginated call to list linked accounts that are linked to the payer account for the specified time period. If no information is provided, the current billing period is used. The response will optionally include the billing group that's associated with the linked account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListAccountAssociations Source #

See: newListAccountAssociations smart constructor.

Constructors

ListAccountAssociations' 

Fields

  • billingPeriod :: Maybe Text

    The preferred billing period to get account associations.

  • filters :: Maybe ListAccountAssociationsFilter

    The filter on the account ID of the linked account, or any of the following:

    MONITORED: linked accounts that are associated to billing groups.

    UNMONITORED: linked accounts that aren't associated to billing groups.

    Billing Group Arn: linked accounts that are associated to the provided billing group Arn.

  • nextToken :: Maybe Text

    The pagination token that's used on subsequent calls to retrieve accounts.

Instances

Instances details
ToJSON ListAccountAssociations Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

ToHeaders ListAccountAssociations Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

ToPath ListAccountAssociations Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

ToQuery ListAccountAssociations Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

AWSPager ListAccountAssociations Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

AWSRequest ListAccountAssociations Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

Generic ListAccountAssociations Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

Associated Types

type Rep ListAccountAssociations :: Type -> Type #

Read ListAccountAssociations Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

Show ListAccountAssociations Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

NFData ListAccountAssociations Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

Methods

rnf :: ListAccountAssociations -> () #

Eq ListAccountAssociations Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

Hashable ListAccountAssociations Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

type AWSResponse ListAccountAssociations Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

type Rep ListAccountAssociations Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

type Rep ListAccountAssociations = D1 ('MetaData "ListAccountAssociations" "Amazonka.BillingConductor.ListAccountAssociations" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "ListAccountAssociations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "billingPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ListAccountAssociationsFilter)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListAccountAssociations :: ListAccountAssociations Source #

Create a value of ListAccountAssociations 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:billingPeriod:ListAccountAssociations', listAccountAssociations_billingPeriod - The preferred billing period to get account associations.

$sel:filters:ListAccountAssociations', listAccountAssociations_filters - The filter on the account ID of the linked account, or any of the following:

MONITORED: linked accounts that are associated to billing groups.

UNMONITORED: linked accounts that aren't associated to billing groups.

Billing Group Arn: linked accounts that are associated to the provided billing group Arn.

ListAccountAssociations, listAccountAssociations_nextToken - The pagination token that's used on subsequent calls to retrieve accounts.

Request Lenses

listAccountAssociations_billingPeriod :: Lens' ListAccountAssociations (Maybe Text) Source #

The preferred billing period to get account associations.

listAccountAssociations_filters :: Lens' ListAccountAssociations (Maybe ListAccountAssociationsFilter) Source #

The filter on the account ID of the linked account, or any of the following:

MONITORED: linked accounts that are associated to billing groups.

UNMONITORED: linked accounts that aren't associated to billing groups.

Billing Group Arn: linked accounts that are associated to the provided billing group Arn.

listAccountAssociations_nextToken :: Lens' ListAccountAssociations (Maybe Text) Source #

The pagination token that's used on subsequent calls to retrieve accounts.

Destructuring the Response

data ListAccountAssociationsResponse Source #

See: newListAccountAssociationsResponse smart constructor.

Constructors

ListAccountAssociationsResponse' 

Fields

Instances

Instances details
Generic ListAccountAssociationsResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

Associated Types

type Rep ListAccountAssociationsResponse :: Type -> Type #

Show ListAccountAssociationsResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

NFData ListAccountAssociationsResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

Eq ListAccountAssociationsResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

type Rep ListAccountAssociationsResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListAccountAssociations

type Rep ListAccountAssociationsResponse = D1 ('MetaData "ListAccountAssociationsResponse" "Amazonka.BillingConductor.ListAccountAssociations" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "ListAccountAssociationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "linkedAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AccountAssociationsListElement])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAccountAssociationsResponse Source #

Create a value of ListAccountAssociationsResponse 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:linkedAccounts:ListAccountAssociationsResponse', listAccountAssociationsResponse_linkedAccounts - The list of linked accounts in the payer account.

ListAccountAssociations, listAccountAssociationsResponse_nextToken - The pagination token that's used on subsequent calls to get accounts.

$sel:httpStatus:ListAccountAssociationsResponse', listAccountAssociationsResponse_httpStatus - The response's http status code.

Response Lenses

listAccountAssociationsResponse_nextToken :: Lens' ListAccountAssociationsResponse (Maybe Text) Source #

The pagination token that's used on subsequent calls to get accounts.