create_contact_flow_version
async
¶
create_contact_flow_version(
instance_id: InstanceId,
contact_flow_id: ARN,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
description: Optional[ContactFlowDescription] = None,
flow_content_sha256: Optional[FlowContentSha256] = None,
contact_flow_version: Optional[ResourceVersion] = None,
last_modified_time: Optional[Timestamp] = None,
last_modified_region: Optional[RegionName] = None,
) -> CreateContactFlowVersionResponse
Publishes a new version of the flow provided. Versions are immutable and monotonically increasing. If the FlowContentSha256 provided is different from the FlowContentSha256 of the $LATEST published flow content, then an error is returned.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance.
-
description(Optional[ContactFlowDescription], default:None) –The description of the flow version.
-
contact_flow_id(ARN) –The identifier of the flow.
-
flow_content_sha256(Optional[FlowContentSha256], default:None) –Indicates the checksum value of the flow content.
-
contact_flow_version(Optional[ResourceVersion], default:None) –The identifier of the flow version.
-
last_modified_time(Optional[Timestamp], default:None) –The Amazon Web Services Region where this resource was last modified.
-
last_modified_region(Optional[RegionName], default:None) –The Amazon Web Services Region where this resource was last modified.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
LimitExceededException–The allowed limit for the resource has been exceeded.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 | |