create_integration
¶
create_integration(
*,
config_overrides: Optional[RedshiftClientConfig] = None,
source_arn: Optional[SourceArn] = None,
target_arn: Optional[TargetArn] = None,
integration_name: Optional[IntegrationName] = None,
kms_key_id: Optional[String] = None,
tag_list: Optional[TagList] = None,
additional_encryption_context: Optional[EncryptionContextMap] = None,
description: Optional[IntegrationDescription] = None,
) -> Integration
Creates a zero-ETL integration or S3 event integration with Amazon Redshift.
Parameters:
-
source_arn(Optional[SourceArn], default:None) –The Amazon Resource Name (ARN) of the database to use as the source for replication.
-
target_arn(Optional[TargetArn], default:None) –The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.
-
integration_name(Optional[IntegrationName], default:None) –The name of the integration.
-
kms_key_id(Optional[String], default:None) –An Key Management Service (KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, the default Amazon Web Services owned key is used.
-
tag_list(Optional[TagList], default:None) –A list of tags.
-
additional_encryption_context(Optional[EncryptionContextMap], default:None) –An optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
You can only include this parameter if you specify the
KMSKeyIdparameter. -
description(Optional[IntegrationDescription], default:None) –A description of the integration.
Raises:
-
IntegrationAlreadyExistsFault–The integration you are trying to create already exists.
-
IntegrationConflictOperationFault–A conflicting conditional operation is currently in progress against this resource. This typically occurs when there are multiple requests being made to the same resource at the same time, and these requests conflict with each other.
-
IntegrationQuotaExceededFault–You can't create any more zero-ETL or S3 event integrations because the quota has been reached.
-
IntegrationSourceNotFoundFault–The specified integration source can't be found.
-
IntegrationTargetNotFoundFault–The specified integration target can't be found.
-
InvalidClusterStateFault–The specified cluster is not in the
availablestate. -
InvalidTagFault–The tag is invalid.
-
TagLimitExceededFault–You have exceeded the number of tags allowed.
-
UnsupportedOperationFault–The requested operation isn't supported.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift/_services/redshift.py
2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 | |