| 640 | } |
| 641 | |
| 642 | export async function deleteConfigurationProfile( |
| 643 | client: AppConfigClient, |
| 644 | applicationId: string, |
| 645 | configurationProfileId: string |
| 646 | ) { |
| 647 | await client.send( |
| 648 | new DeleteConfigurationProfileCommand({ |
| 649 | ApplicationId: applicationId, |
| 650 | ConfigurationProfileId: configurationProfileId, |
| 651 | }) |
| 652 | ) |
| 653 | |
| 654 | return { |
| 655 | message: `Configuration profile ${configurationProfileId} deleted`, |
| 656 | applicationId, |
| 657 | id: configurationProfileId, |
| 658 | } |
| 659 | } |
| 660 | |
| 661 | export async function deleteHostedConfigurationVersion( |
| 662 | client: AppConfigClient, |