create_contact_flow_version
¶
create_contact_flow_version(
instance_id: InstanceId,
contact_flow_id: ARN,
*,
config_overrides: Optional[ConnectClientConfig] = 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/connect.py
3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 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 | |