ListOrganizationServiceAccessStatus
Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.
Request Syntax
GET /organizations/service-access?maxResults=MaxResults
&nextToken=NextToken
HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- MaxResults
-
The maximum number of results to return.
Valid Range: Minimum value of 1. Maximum value of 500.
- NextToken
-
The token for the next page of results.
Length Constraints: Minimum length of 0. Maximum length of 2048.
Pattern:
[\s\S]*
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"NextToken": "string",
"OrganizationStatus": {
"AccountStatusList": [
{
"AccountId": "string",
"SLRDeploymentStatus": "string"
}
],
"OrganizationAwsServiceAccessStatus": "string",
"OrganizationId": "string",
"SLRDeploymentStatus": "string"
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- NextToken
-
The token for the next page of results.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 2048.
Pattern:
[\s\S]*
- OrganizationStatus
-
Displays the status of an Amazon Web Services Organization.
Type: OrganizationStatus object
Errors
For information about the errors that are common to all actions, see Common Errors.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: