aws_sdk_appsync/client/
get_source_api_association.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 [`GetSourceApiAssociation`](crate::operation::get_source_api_association::builders::GetSourceApiAssociationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`merged_api_identifier(impl Into<String>)`](crate::operation::get_source_api_association::builders::GetSourceApiAssociationFluentBuilder::merged_api_identifier) / [`set_merged_api_identifier(Option<String>)`](crate::operation::get_source_api_association::builders::GetSourceApiAssociationFluentBuilder::set_merged_api_identifier):<br>required: **true**<br><p>The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.</p><br>
7    ///   - [`association_id(impl Into<String>)`](crate::operation::get_source_api_association::builders::GetSourceApiAssociationFluentBuilder::association_id) / [`set_association_id(Option<String>)`](crate::operation::get_source_api_association::builders::GetSourceApiAssociationFluentBuilder::set_association_id):<br>required: **true**<br><p>The ID generated by the AppSync service for the source API association.</p><br>
8    /// - On success, responds with [`GetSourceApiAssociationOutput`](crate::operation::get_source_api_association::GetSourceApiAssociationOutput) with field(s):
9    ///   - [`source_api_association(Option<SourceApiAssociation>)`](crate::operation::get_source_api_association::GetSourceApiAssociationOutput::source_api_association): <p>The <code>SourceApiAssociation</code> object data.</p>
10    /// - On failure, responds with [`SdkError<GetSourceApiAssociationError>`](crate::operation::get_source_api_association::GetSourceApiAssociationError)
11    pub fn get_source_api_association(&self) -> crate::operation::get_source_api_association::builders::GetSourceApiAssociationFluentBuilder {
12        crate::operation::get_source_api_association::builders::GetSourceApiAssociationFluentBuilder::new(self.handle.clone())
13    }
14}