Connect / Client / create_contact_flow_version
create_contact_flow_version#
- Connect.Client.create_contact_flow_version(**kwargs)#
- Publishes a new version of the flow provided. Versions are immutable and monotonically increasing. If a version of the same flow content already exists, no new version is created and instead the existing version number is returned. If the - FlowContentSha256provided is different from the- FlowContentSha256of the- $LATESTpublished flow content, then an error is returned. This API only supports creating versions for flows of type- Campaign.- See also: AWS API Documentation - Request Syntax- response = client.create_contact_flow_version( InstanceId='string', Description='string', ContactFlowId='string', FlowContentSha256='string', LastModifiedTime=datetime(2015, 1, 1), LastModifiedRegion='string' ) - Parameters:
- InstanceId (string) – - [REQUIRED] - The identifier of the Amazon Connect instance. 
- Description (string) – The description of the flow version. 
- ContactFlowId (string) – - [REQUIRED] - The identifier of the flow. 
- FlowContentSha256 (string) – Indicates the checksum value of the flow content. 
- LastModifiedTime (datetime) – The Amazon Web Services Region where this resource was last modified. 
- LastModifiedRegion (string) – The Amazon Web Services Region where this resource was last modified. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'ContactFlowArn': 'string', 'Version': 123 } - Response Structure- (dict) – - ContactFlowArn (string) – - The Amazon Resource Name (ARN) of the flow. 
- Version (integer) – - The identifier of the flow version. 
 
 
 - Exceptions- Connect.Client.exceptions.AccessDeniedException
- Connect.Client.exceptions.InternalServiceException
- Connect.Client.exceptions.ResourceNotFoundException
- Connect.Client.exceptions.LimitExceededException
- Connect.Client.exceptions.InvalidParameterException
- Connect.Client.exceptions.InvalidRequestException
- Connect.Client.exceptions.ThrottlingException