Organizations / Client / terminate_responsibility_transfer
terminate_responsibility_transfer¶
- Organizations.Client.terminate_responsibility_transfer(**kwargs)¶
Ends a transfer. A transfer is an arrangement between two management accounts where one account designates the other with specified responsibilities for their organization.
See also: AWS API Documentation
Request Syntax
response = client.terminate_responsibility_transfer( Id='string', EndTimestamp=datetime(2015, 1, 1) )
- Parameters:
Id (string) –
[REQUIRED]
ID for the transfer.
EndTimestamp (datetime) – Timestamp when the responsibility transfer is to end.
- Return type:
dict
- Returns:
Response Syntax
{ 'ResponsibilityTransfer': { 'Arn': 'string', 'Name': 'string', 'Id': 'string', 'Type': 'BILLING', 'Status': 'REQUESTED'|'DECLINED'|'CANCELED'|'EXPIRED'|'ACCEPTED'|'WITHDRAWN', 'Source': { 'ManagementAccountId': 'string', 'ManagementAccountEmail': 'string' }, 'Target': { 'ManagementAccountId': 'string', 'ManagementAccountEmail': 'string' }, 'StartTimestamp': datetime(2015, 1, 1), 'EndTimestamp': datetime(2015, 1, 1), 'ActiveHandshakeId': 'string' } }
Response Structure
(dict) –
ResponsibilityTransfer (dict) –
A
ResponsibilityTransferobject. Contains details for a transfer.Arn (string) –
Amazon Resource Name (ARN) for the transfer.
Name (string) –
Name assigned to the transfer.
Id (string) –
ID for the transfer.
Type (string) –
The type of transfer. Currently, only
BILLINGis supported.Status (string) –
Status for the transfer.
Source (dict) –
Account that allows another account external to its organization to manage the specified responsibilities for the organization.
ManagementAccountId (string) –
ID for the management account.
ManagementAccountEmail (string) –
Email address for the management account.
Target (dict) –
Account that manages the specified responsibilities for another organization.
ManagementAccountId (string) –
ID for the management account.
ManagementAccountEmail (string) –
Email address for the management account.
StartTimestamp (datetime) –
Timestamp when the transfer starts.
EndTimestamp (datetime) –
Timestamp when the transfer ends.
ActiveHandshakeId (string) –
ID for the handshake of the transfer.
Exceptions
Organizations.Client.exceptions.AccessDeniedExceptionOrganizations.Client.exceptions.AWSOrganizationsNotInUseExceptionOrganizations.Client.exceptions.ConcurrentModificationExceptionOrganizations.Client.exceptions.ConstraintViolationExceptionOrganizations.Client.exceptions.InvalidInputExceptionOrganizations.Client.exceptions.ResponsibilityTransferNotFoundExceptionOrganizations.Client.exceptions.ServiceExceptionOrganizations.Client.exceptions.TooManyRequestsExceptionOrganizations.Client.exceptions.UnsupportedAPIEndpointExceptionOrganizations.Client.exceptions.ResponsibilityTransferAlreadyInStatusExceptionOrganizations.Client.exceptions.InvalidResponsibilityTransferTransitionException