aws-sdk-devopsagent 1.4.0

AWS SDK for AWS DevOps Agent Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAssociation`](crate::operation::get_association::builders::GetAssociationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::get_association::builders::GetAssociationFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::get_association::builders::GetAssociationFluentBuilder::set_agent_space_id):<br>required: **true**<br>The unique identifier of the AgentSpace<br>
    ///   - [`association_id(impl Into<String>)`](crate::operation::get_association::builders::GetAssociationFluentBuilder::association_id) / [`set_association_id(Option<String>)`](crate::operation::get_association::builders::GetAssociationFluentBuilder::set_association_id):<br>required: **true**<br>The unique identifier of the given association.<br>
    /// - On success, responds with [`GetAssociationOutput`](crate::operation::get_association::GetAssociationOutput) with field(s):
    ///   - [`association(Option<Association>)`](crate::operation::get_association::GetAssociationOutput::association): Represents a service association within an AgentSpace, defining how the agent interacts with external services.
    /// - On failure, responds with [`SdkError<GetAssociationError>`](crate::operation::get_association::GetAssociationError)
    pub fn get_association(&self) -> crate::operation::get_association::builders::GetAssociationFluentBuilder {
        crate::operation::get_association::builders::GetAssociationFluentBuilder::new(self.handle.clone())
    }
}