Skip to content

PutInventoryConfigurationInput

Source code in docs_src/capo_acm/types/put_inventory_configuration_input.py
class PutInventoryConfigurationInput(TypedDict, closed=True):
    regional_scope: "capo_acm.types.regional_scope.RegionalScope"
    """The Regions to collect from."""
    account_scope: "capo_acm.types.account_scope.AccountScope"
    """The accounts to collect from."""
    data_retention_days: NotRequired["int"]
    """How many days inventory data is kept, 90 to 365. When omitted, retention is set to 90 days, even if a different value is stored."""
    status: "capo_acm.types.inventory_status.InventoryStatus"
    """ENABLED turns collection on. DISABLED turns collection off and keeps an existing configuration. If the organization has an ACM plan, DISABLED instead ends the plan at the end of the billing period. Collection stays on until then, and the configuration's Status stays ENABLED. To see when the plan ends, read InventoryTierConfiguration.ScheduledChange with GetInventoryConfiguration. Certificate actions for organizations still turn off immediately. Without a plan, DISABLED turns collection off immediately. DISABLED cannot create the organization's first configuration."""
    lifecycle_management: NotRequired[
        "capo_acm.types.lifecycle_management.LifecycleManagement"
    ]
    """Turns Certificate actions for organizations on or off. Certificate actions are the operations that act on certificates and certificate authorities in the organization's member accounts, such as RenewMemberCertificate. Omit it to keep the stored value."""
    expiry_notification: NotRequired[
        "capo_acm.types.inventory_expiry_notification.InventoryExpiryNotification"
    ]
    """Certificate expiry notifications. Omit it to keep the stored setting. Set Enabled to false to turn notifications off. Members you leave out of ExpiryNotification take their defaults."""
    inventory_tier: NotRequired["capo_acm.types.inventory_tier.InventoryTier"]
    """The organization's ACM plan: Essentials or Pro. This API calls the ACM plan the inventory tier. Omit it to keep the current plan. With Status ENABLED, this is the plan to subscribe to. While the organization has no plan, such as on the first call, a call with Status ENABLED must name one. Otherwise, it returns ValidationException. With Status DISABLED, it is ignored, and the plan ends at the end of the billing period. Only the organization's management account can start, change, or end the plan. A delegated administrator call that would do so returns AccessDeniedException, even when its IAM policy allows the action. PutInventoryConfiguration never returns the plan. A template or script that always sends the same plan undoes a plan set another way. For example, it changes an upgrade made in the console back to the plan it sends. To leave the plan as it is, omit InventoryTier."""

account_scope instance-attribute

account_scope: AccountScope

The accounts to collect from.

data_retention_days instance-attribute

data_retention_days: NotRequired[int]

How many days inventory data is kept, 90 to 365. When omitted, retention is set to 90 days, even if a different value is stored.

expiry_notification instance-attribute

expiry_notification: NotRequired[InventoryExpiryNotification]

Certificate expiry notifications. Omit it to keep the stored setting. Set Enabled to false to turn notifications off. Members you leave out of ExpiryNotification take their defaults.

inventory_tier instance-attribute

inventory_tier: NotRequired[InventoryTier]

The organization's ACM plan: Essentials or Pro. This API calls the ACM plan the inventory tier. Omit it to keep the current plan. With Status ENABLED, this is the plan to subscribe to. While the organization has no plan, such as on the first call, a call with Status ENABLED must name one. Otherwise, it returns ValidationException. With Status DISABLED, it is ignored, and the plan ends at the end of the billing period. Only the organization's management account can start, change, or end the plan. A delegated administrator call that would do so returns AccessDeniedException, even when its IAM policy allows the action. PutInventoryConfiguration never returns the plan. A template or script that always sends the same plan undoes a plan set another way. For example, it changes an upgrade made in the console back to the plan it sends. To leave the plan as it is, omit InventoryTier.

lifecycle_management instance-attribute

lifecycle_management: NotRequired[LifecycleManagement]

Turns Certificate actions for organizations on or off. Certificate actions are the operations that act on certificates and certificate authorities in the organization's member accounts, such as RenewMemberCertificate. Omit it to keep the stored value.

regional_scope instance-attribute

regional_scope: RegionalScope

The Regions to collect from.

status instance-attribute

ENABLED turns collection on. DISABLED turns collection off and keeps an existing configuration. If the organization has an ACM plan, DISABLED instead ends the plan at the end of the billing period. Collection stays on until then, and the configuration's Status stays ENABLED. To see when the plan ends, read InventoryTierConfiguration.ScheduledChange with GetInventoryConfiguration. Certificate actions for organizations still turn off immediately. Without a plan, DISABLED turns collection off immediately. DISABLED cannot create the organization's first configuration.