libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer
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.ComputeOptimizer.GetEnrollmentStatusesForOrganization

Description

Returns the Compute Optimizer enrollment (opt-in) status of organization member accounts, if your account is an organization management account.

To get the enrollment status of standalone accounts, use the GetEnrollmentStatus action.

Synopsis

Creating a Request

data GetEnrollmentStatusesForOrganization Source #

Constructors

GetEnrollmentStatusesForOrganization' 

Fields

  • filters :: Maybe [EnrollmentFilter]

    An array of objects to specify a filter that returns a more specific list of account enrollment statuses.

  • nextToken :: Maybe Text

    The token to advance to the next page of account enrollment statuses.

  • maxResults :: Maybe Int

    The maximum number of account enrollment statuses to return with a single request. You can specify up to 100 statuses to return with each request.

    To retrieve the remaining results, make another request with the returned nextToken value.

Instances

Instances details
Eq GetEnrollmentStatusesForOrganization Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

Read GetEnrollmentStatusesForOrganization Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

Show GetEnrollmentStatusesForOrganization Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

Generic GetEnrollmentStatusesForOrganization Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

NFData GetEnrollmentStatusesForOrganization Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

Hashable GetEnrollmentStatusesForOrganization Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

ToJSON GetEnrollmentStatusesForOrganization Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

AWSRequest GetEnrollmentStatusesForOrganization Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

ToHeaders GetEnrollmentStatusesForOrganization Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

ToPath GetEnrollmentStatusesForOrganization Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

ToQuery GetEnrollmentStatusesForOrganization Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

type Rep GetEnrollmentStatusesForOrganization Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

type Rep GetEnrollmentStatusesForOrganization = D1 ('MetaData "GetEnrollmentStatusesForOrganization" "Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "GetEnrollmentStatusesForOrganization'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EnrollmentFilter])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse GetEnrollmentStatusesForOrganization Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

newGetEnrollmentStatusesForOrganization :: GetEnrollmentStatusesForOrganization Source #

Create a value of GetEnrollmentStatusesForOrganization 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:filters:GetEnrollmentStatusesForOrganization', getEnrollmentStatusesForOrganization_filters - An array of objects to specify a filter that returns a more specific list of account enrollment statuses.

$sel:nextToken:GetEnrollmentStatusesForOrganization', getEnrollmentStatusesForOrganization_nextToken - The token to advance to the next page of account enrollment statuses.

$sel:maxResults:GetEnrollmentStatusesForOrganization', getEnrollmentStatusesForOrganization_maxResults - The maximum number of account enrollment statuses to return with a single request. You can specify up to 100 statuses to return with each request.

To retrieve the remaining results, make another request with the returned nextToken value.

Request Lenses

getEnrollmentStatusesForOrganization_filters :: Lens' GetEnrollmentStatusesForOrganization (Maybe [EnrollmentFilter]) Source #

An array of objects to specify a filter that returns a more specific list of account enrollment statuses.

getEnrollmentStatusesForOrganization_nextToken :: Lens' GetEnrollmentStatusesForOrganization (Maybe Text) Source #

The token to advance to the next page of account enrollment statuses.

getEnrollmentStatusesForOrganization_maxResults :: Lens' GetEnrollmentStatusesForOrganization (Maybe Int) Source #

The maximum number of account enrollment statuses to return with a single request. You can specify up to 100 statuses to return with each request.

To retrieve the remaining results, make another request with the returned nextToken value.

Destructuring the Response

data GetEnrollmentStatusesForOrganizationResponse Source #

Constructors

GetEnrollmentStatusesForOrganizationResponse' 

Fields

Instances

Instances details
Eq GetEnrollmentStatusesForOrganizationResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

Read GetEnrollmentStatusesForOrganizationResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

Show GetEnrollmentStatusesForOrganizationResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

Generic GetEnrollmentStatusesForOrganizationResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

NFData GetEnrollmentStatusesForOrganizationResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

type Rep GetEnrollmentStatusesForOrganizationResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization

type Rep GetEnrollmentStatusesForOrganizationResponse = D1 ('MetaData "GetEnrollmentStatusesForOrganizationResponse" "Amazonka.ComputeOptimizer.GetEnrollmentStatusesForOrganization" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "GetEnrollmentStatusesForOrganizationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountEnrollmentStatuses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AccountEnrollmentStatus])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetEnrollmentStatusesForOrganizationResponse Source #

Create a value of GetEnrollmentStatusesForOrganizationResponse 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:accountEnrollmentStatuses:GetEnrollmentStatusesForOrganizationResponse', getEnrollmentStatusesForOrganizationResponse_accountEnrollmentStatuses - An array of objects that describe the enrollment statuses of organization member accounts.

$sel:nextToken:GetEnrollmentStatusesForOrganization', getEnrollmentStatusesForOrganizationResponse_nextToken - The token to use to advance to the next page of account enrollment statuses.

This value is null when there are no more pages of account enrollment statuses to return.

$sel:httpStatus:GetEnrollmentStatusesForOrganizationResponse', getEnrollmentStatusesForOrganizationResponse_httpStatus - The response's http status code.

Response Lenses

getEnrollmentStatusesForOrganizationResponse_accountEnrollmentStatuses :: Lens' GetEnrollmentStatusesForOrganizationResponse (Maybe [AccountEnrollmentStatus]) Source #

An array of objects that describe the enrollment statuses of organization member accounts.

getEnrollmentStatusesForOrganizationResponse_nextToken :: Lens' GetEnrollmentStatusesForOrganizationResponse (Maybe Text) Source #

The token to use to advance to the next page of account enrollment statuses.

This value is null when there are no more pages of account enrollment statuses to return.