GetInventoryConfiguration
Returns the organization's configuration for certificate inventory for organizations in AWS Certificate Manager (ACM). The configuration says which Regions and accounts are collected, how long data is kept, and whether collection is on. It also shows the setup status, the organization's ACM plan, and whether certificate actions for organizations are on.
You must call this operation from the organization's management account or its delegated administrator account. Otherwise, the operation returns AccessDeniedException. Before the first PutInventoryConfiguration call, the operation returns ResourceNotFoundException.
Response Syntax
{
"Configuration": {
"AccountScope": {
"AccountIds": [ "string" ],
"Mode": "string",
"OrganizationalUnitIds": [ "string" ]
},
"DataRetentionDays": number,
"ExpiryNotification": {
"Channel": "string",
"Enabled": boolean,
"Frequency": "string",
"LeadTimeDays": number,
"TopicArn": "string"
},
"HomeRegion": "string",
"InventoryTierConfiguration": {
"ScheduledChange": {
"EffectiveAt": number,
"Tier": "string"
},
"Status": "string",
"Tier": "string"
},
"LastDeliveryStatus": {
"Message": "string",
"Status": "string",
"UpdatedAt": number
},
"LifecycleManagement": {
"ProvisioningStatus": "string",
"ProvisioningStatusReason": {
"Code": "string",
"Message": "string"
},
"Status": "string"
},
"ProvisioningStatus": "string",
"ProvisioningStatusReason": {
"Code": "string",
"Message": "string"
},
"RegionalScope": {
"Mode": "string",
"Regions": [ "string" ]
},
"Status": "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.
- Configuration
-
The organization's inventory configuration.
Type: InventoryConfiguration object
Errors
For information about the errors that are common to all actions, see Common Error Types.
- AccessDeniedException
-
You do not have access required to perform this action.
HTTP Status Code: 400
- InternalServerException
-
The request processing has failed because of an unknown error, exception, or failure.
HTTP Status Code: 500
- ResourceNotFoundException
-
The specified certificate cannot be found in the caller's account or the caller's account cannot be found.
HTTP Status Code: 400
- ThrottlingException
-
The request was denied because it exceeded a quota.
- throttlingReasons
-
One or more reasons why the request was throttled.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: