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
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateService`](crate::operation::associate_service::builders::AssociateServiceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::associate_service::builders::AssociateServiceFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::associate_service::builders::AssociateServiceFluentBuilder::set_agent_space_id):<br>required: **true**<br>The unique identifier of the AgentSpace<br>
    ///   - [`service_id(impl Into<String>)`](crate::operation::associate_service::builders::AssociateServiceFluentBuilder::service_id) / [`set_service_id(Option<String>)`](crate::operation::associate_service::builders::AssociateServiceFluentBuilder::set_service_id):<br>required: **true**<br>The unique identifier of the service.<br>
    ///   - [`configuration(ServiceConfiguration)`](crate::operation::associate_service::builders::AssociateServiceFluentBuilder::configuration) / [`set_configuration(Option<ServiceConfiguration>)`](crate::operation::associate_service::builders::AssociateServiceFluentBuilder::set_configuration):<br>required: **true**<br>The configuration that directs how AgentSpace interacts with the given service.<br>
    /// - On success, responds with [`AssociateServiceOutput`](crate::operation::associate_service::AssociateServiceOutput) with field(s):
    ///   - [`association(Option<Association>)`](crate::operation::associate_service::AssociateServiceOutput::association): Represents a service association within an AgentSpace, defining how the agent interacts with external services.
    ///   - [`webhook(Option<GenericWebhook>)`](crate::operation::associate_service::AssociateServiceOutput::webhook): Generic webhook configuration
    /// - On failure, responds with [`SdkError<AssociateServiceError>`](crate::operation::associate_service::AssociateServiceError)
    pub fn associate_service(&self) -> crate::operation::associate_service::builders::AssociateServiceFluentBuilder {
        crate::operation::associate_service::builders::AssociateServiceFluentBuilder::new(self.handle.clone())
    }
}