delete_pending_aggregation_request(
requester_account_id: AccountId,
requester_aws_region: AwsRegion,
*,
config_overrides: Optional[AsyncConfigServiceClientConfig] = None,
) -> None
Deletes pending authorization requests for a specified aggregator account in a specified region.
Parameters:
-
requester_account_id
(AccountId)
–
The 12-digit account ID of the account requesting to aggregate data.
-
requester_aws_region
(AwsRegion)
–
The region requesting to aggregate data.
Raises:
Source code in docs_src/capo_config_service/_services/async_config_service.py
| async def delete_pending_aggregation_request(
self,
requester_account_id: "capo_config_service.types.account_id.AccountId",
requester_aws_region: "capo_config_service.types.aws_region.AwsRegion",
*,
config_overrides: Optional[AsyncConfigServiceClientConfig] = None,
) -> None:
"""<p>Deletes pending authorization requests for a specified aggregator account in a specified region.</p>
Args:
requester_account_id: <p>The 12-digit account ID of the account requesting to aggregate data.</p>
requester_aws_region: <p>The region requesting to aggregate data.</p>
Raises:
capo_config_service.errors.invalid_parameter_value_exception.InvalidParameterValueException: <p>One or more of the specified parameters are not valid. Verify that your parameters are valid and try again.</p>
capo_config_service.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_config_service.types.delete_pending_aggregation_request_request.DeletePendingAggregationRequestRequest]",
) -> AsyncOperationResponse[None]:
import capo_config_service._operations.starling_dove_service.delete_pending_aggregation_request
(
output,
http_response,
) = await capo_config_service._operations.starling_dove_service.delete_pending_aggregation_request.async_delete_pending_aggregation_request(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DeletePendingAggregationRequest")
)
input_: capo_config_service.types.delete_pending_aggregation_request_request.DeletePendingAggregationRequestRequest = {
"requester_account_id": requester_account_id,
"requester_aws_region": requester_aws_region,
}
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|