- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
DeleteAggregationAuthorizationCommand
Deletes the authorization granted to the specified configuration aggregator account in a specified region.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { ConfigServiceClient, DeleteAggregationAuthorizationCommand } from "@aws-sdk/client-config-service"; // ES Modules import
// const { ConfigServiceClient, DeleteAggregationAuthorizationCommand } = require("@aws-sdk/client-config-service"); // CommonJS import
const client = new ConfigServiceClient(config);
const input = { // DeleteAggregationAuthorizationRequest
AuthorizedAccountId: "STRING_VALUE", // required
AuthorizedAwsRegion: "STRING_VALUE", // required
};
const command = new DeleteAggregationAuthorizationCommand(input);
const response = await client.send(command);
// {};
DeleteAggregationAuthorizationCommand Input
See DeleteAggregationAuthorizationCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
AuthorizedAccountId Required | string | undefined | The 12-digit account ID of the account authorized to aggregate data. |
AuthorizedAwsRegion Required | string | undefined | The region authorized to collect aggregated data. |
DeleteAggregationAuthorizationCommand Output
See DeleteAggregationAuthorizationCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
InvalidParameterValueException | client | One or more of the specified parameters are not valid. Verify that your parameters are valid and try again. |
ConfigServiceServiceException | Base exception class for all service exceptions from ConfigService service. |