delete_pending_aggregation_request(
requester_account_id: AccountId,
requester_aws_region: AwsRegion,
*,
config_overrides: Optional[ConfigServiceClientConfig] = 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/config_service.py
| 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[ConfigServiceClientConfig] = 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.
"""
def _handler(
req: "OperationRequest[capo_config_service.types.delete_pending_aggregation_request_request.DeletePendingAggregationRequestRequest]",
) -> OperationResponse[None]:
import capo_config_service._operations.starling_dove_service.delete_pending_aggregation_request
output, http_response = (
capo_config_service._operations.starling_dove_service.delete_pending_aggregation_request.delete_pending_aggregation_request(
req.options, req.input
)
)
return OperationResponse(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 = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|