aws_sdk_continuum/client/create_integration.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CreateIntegration`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`client_token(impl Into<String>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_client_token):<br>required: **false**<br>An optional token identifying one create attempt within the caller's account, Region, and operation. SDKs generate a token when omitted. If a request reaches the service without a token, the service generates one for that request. Each request without a token starts a new attempt. To replay an attempt, supply the same token and identical input. Authorized users and roles in the same account can retry an attempt this way. Token records are retained for eight hours after success or terminal failure, including after deletion of a successfully created integration. Different input with the same token returns ValidationException.<br>
7 /// - [`name(impl Into<String>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_name):<br>required: **true**<br>The name for the integration.<br>
8 /// - [`provider_configuration(ProviderConfiguration)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::provider_configuration) / [`set_provider_configuration(Option<ProviderConfiguration>)`](crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::set_provider_configuration):<br>required: **true**<br>The provider-specific configuration required to create the integration. Only one member may be specified.<br>
9 /// - On success, responds with [`CreateIntegrationOutput`](crate::operation::create_integration::CreateIntegrationOutput) with field(s):
10 /// - [`integration_id(String)`](crate::operation::create_integration::CreateIntegrationOutput::integration_id): The unique identifier of the created integration.
11 /// - [`integration_arn(String)`](crate::operation::create_integration::CreateIntegrationOutput::integration_arn): The ARN of the created integration.
12 /// - [`created_at(DateTime)`](crate::operation::create_integration::CreateIntegrationOutput::created_at): The timestamp when the integration was created.
13 /// - On failure, responds with [`SdkError<CreateIntegrationError>`](crate::operation::create_integration::CreateIntegrationError)
14 pub fn create_integration(&self) -> crate::operation::create_integration::builders::CreateIntegrationFluentBuilder {
15 crate::operation::create_integration::builders::CreateIntegrationFluentBuilder::new(self.handle.clone())
16 }
17}