create_segment_snapshot
¶
create_segment_snapshot(
domain_name: name,
segment_definition_name: name,
data_format: DataFormat,
*,
config_overrides: Optional[CustomerProfilesClientConfig] = None,
encryption_key: Optional[encryptionKey] = None,
role_arn: Optional[RoleArn] = None,
destination_uri: Optional[string1To255] = None,
) -> CreateSegmentSnapshotResponse
Triggers a job to export a segment to a specified destination.
Parameters:
-
domain_name(name) –The unique name of the domain.
-
segment_definition_name(name) –The name of the segment definition used in this snapshot request.
-
data_format(DataFormat) –The format in which the segment will be exported.
-
encryption_key(Optional[encryptionKey], default:None) –The Amazon Resource Name (ARN) of the KMS key used to encrypt the exported segment.
-
role_arn(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) of the IAM role that allows Customer Profiles service principal to assume the role for conducting KMS and S3 operations.
-
destination_uri(Optional[string1To255], default:None) –The destination to which the segment will be exported. This field must be provided if the request is not submitted from the Connect Customer Admin Website.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
BadRequestException–The input you provided is invalid.
-
InternalServerException–An internal service error occurred.
-
ResourceNotFoundException–The requested resource does not exist, or access was denied.
-
ThrottlingException–You exceeded the maximum number of requests.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_customer_profiles/_services/customer_profiles.py
2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 | |