Outposts / Client / cancel_capacity_task
cancel_capacity_task#
- Outposts.Client.cancel_capacity_task(**kwargs)#
- Cancels the capacity task. - See also: AWS API Documentation - Request Syntax- response = client.cancel_capacity_task( CapacityTaskId='string', OutpostIdentifier='string' ) - Parameters:
- CapacityTaskId (string) – - [REQUIRED] - ID of the capacity task that you want to cancel. 
- OutpostIdentifier (string) – - [REQUIRED] - ID or ARN of the Outpost associated with the capacity task that you want to cancel. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - Exceptions- Outposts.Client.exceptions.ValidationException
- Outposts.Client.exceptions.AccessDeniedException
- Outposts.Client.exceptions.NotFoundException
- Outposts.Client.exceptions.ConflictException
- Outposts.Client.exceptions.InternalServerException