Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data GetEnrollmentStatusesForOrganization = GetEnrollmentStatusesForOrganization' {
- filters :: Maybe [EnrollmentFilter]
- nextToken :: Maybe Text
- maxResults :: Maybe Int
- newGetEnrollmentStatusesForOrganization :: GetEnrollmentStatusesForOrganization
- getEnrollmentStatusesForOrganization_filters :: Lens' GetEnrollmentStatusesForOrganization (Maybe [EnrollmentFilter])
- getEnrollmentStatusesForOrganization_nextToken :: Lens' GetEnrollmentStatusesForOrganization (Maybe Text)
- getEnrollmentStatusesForOrganization_maxResults :: Lens' GetEnrollmentStatusesForOrganization (Maybe Int)
- data GetEnrollmentStatusesForOrganizationResponse = GetEnrollmentStatusesForOrganizationResponse' {}
- newGetEnrollmentStatusesForOrganizationResponse :: Int -> GetEnrollmentStatusesForOrganizationResponse
- getEnrollmentStatusesForOrganizationResponse_accountEnrollmentStatuses :: Lens' GetEnrollmentStatusesForOrganizationResponse (Maybe [AccountEnrollmentStatus])
- getEnrollmentStatusesForOrganizationResponse_nextToken :: Lens' GetEnrollmentStatusesForOrganizationResponse (Maybe Text)
- getEnrollmentStatusesForOrganizationResponse_httpStatus :: Lens' GetEnrollmentStatusesForOrganizationResponse Int
Creating a Request
data GetEnrollmentStatusesForOrganization Source #
See: newGetEnrollmentStatusesForOrganization
smart constructor.
GetEnrollmentStatusesForOrganization' | |
|
Instances
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 #
See: newGetEnrollmentStatusesForOrganizationResponse
smart constructor.
GetEnrollmentStatusesForOrganizationResponse' | |
|
Instances
newGetEnrollmentStatusesForOrganizationResponse Source #
:: Int |
|
-> GetEnrollmentStatusesForOrganizationResponse |
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.
getEnrollmentStatusesForOrganizationResponse_httpStatus :: Lens' GetEnrollmentStatusesForOrganizationResponse Int Source #
The response's http status code.