drs / Client / create_source_network
create_source_network¶
- drs.Client.create_source_network(**kwargs)¶
- Create a new Source Network resource for a provided VPC ID. - See also: AWS API Documentation - Request Syntax- response = client.create_source_network( originAccountID='string', originRegion='string', tags={ 'string': 'string' }, vpcID='string' ) - Parameters:
- originAccountID (string) – - [REQUIRED] - Account containing the VPC to protect. 
- originRegion (string) – - [REQUIRED] - Region containing the VPC to protect. 
- tags (dict) – - A set of tags to be associated with the Source Network resource. - (string) – - (string) – 
 
 
- vpcID (string) – - [REQUIRED] - Which VPC ID to protect. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'sourceNetworkID': 'string' } - Response Structure- (dict) – - sourceNetworkID (string) – - ID of the created Source Network. 
 
 
 - Exceptions