Skip to content

DeleteConfigurationProfileRequest

Source code in docs_src/capo_appconfig/types/delete_configuration_profile_request.py
class DeleteConfigurationProfileRequest(TypedDict, closed=True):
    application_id: "capo_appconfig.types.name.Name"
    """<p>The application ID that includes the configuration profile you want to delete.</p>"""
    configuration_profile_id: "capo_appconfig.types.long_name.LongName"
    """<p>The ID of the configuration profile you want to delete.</p>"""
    deletion_protection_check: NotRequired[
        "capo_appconfig.types.deletion_protection_check.DeletionProtectionCheck"
    ]
    """<p>A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a> or for the configuration profile during the specified interval. </p> <p>This parameter supports the following values:</p> <ul> <li> <p> <code>BYPASS</code>: Instructs AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it.</p> </li> <li> <p> <code>APPLY</code>: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. <code>APPLY</code> also forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks. </p> </li> <li> <p> <code>ACCOUNT_DEFAULT</code>: The default setting, which instructs AppConfig to implement the deletion protection value specified in the <code>UpdateAccountSettings</code> API.</p> </li> </ul>"""

application_id instance-attribute

application_id: Name

The application ID that includes the configuration profile you want to delete.

configuration_profile_id instance-attribute

configuration_profile_id: LongName

The ID of the configuration profile you want to delete.

deletion_protection_check instance-attribute

deletion_protection_check: NotRequired[DeletionProtectionCheck]

A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either GetLatestConfiguration or for the configuration profile during the specified interval.

This parameter supports the following values:

  • BYPASS: Instructs AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it.

  • APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. APPLY also forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks.

  • ACCOUNT_DEFAULT: The default setting, which instructs AppConfig to implement the deletion protection value specified in the UpdateAccountSettings API.