aws-sdk-devopsagent 1.10.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 [`GetTrigger`](crate::operation::get_trigger::builders::GetTriggerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::get_trigger::builders::GetTriggerFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::get_trigger::builders::GetTriggerFluentBuilder::set_agent_space_id):<br>required: **true**<br><p>The unique identifier for the agent space containing the Trigger</p><br>
    ///   - [`trigger_id(impl Into<String>)`](crate::operation::get_trigger::builders::GetTriggerFluentBuilder::trigger_id) / [`set_trigger_id(Option<String>)`](crate::operation::get_trigger::builders::GetTriggerFluentBuilder::set_trigger_id):<br>required: **true**<br><p>The unique identifier of the Trigger to retrieve</p><br>
    /// - On success, responds with [`GetTriggerOutput`](crate::operation::get_trigger::GetTriggerOutput) with field(s):
    ///   - [`trigger(Option<Trigger>)`](crate::operation::get_trigger::GetTriggerOutput::trigger): <p>The Trigger object</p>
    /// - On failure, responds with [`SdkError<GetTriggerError>`](crate::operation::get_trigger::GetTriggerError)
    pub fn get_trigger(&self) -> crate::operation::get_trigger::builders::GetTriggerFluentBuilder {
        crate::operation::get_trigger::builders::GetTriggerFluentBuilder::new(self.handle.clone())
    }
}