aws_sdk_sts/operation/get_caller_identity/
_get_caller_identity_input.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2#[allow(missing_docs)] // documentation missing in model
3#[non_exhaustive]
4#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
5pub struct GetCallerIdentityInput {}
6impl GetCallerIdentityInput {
7    /// Creates a new builder-style object to manufacture [`GetCallerIdentityInput`](crate::operation::get_caller_identity::GetCallerIdentityInput).
8    pub fn builder() -> crate::operation::get_caller_identity::builders::GetCallerIdentityInputBuilder {
9        crate::operation::get_caller_identity::builders::GetCallerIdentityInputBuilder::default()
10    }
11}
12
13/// A builder for [`GetCallerIdentityInput`](crate::operation::get_caller_identity::GetCallerIdentityInput).
14#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
15#[non_exhaustive]
16pub struct GetCallerIdentityInputBuilder {}
17impl GetCallerIdentityInputBuilder {
18    /// Consumes the builder and constructs a [`GetCallerIdentityInput`](crate::operation::get_caller_identity::GetCallerIdentityInput).
19    pub fn build(
20        self,
21    ) -> ::std::result::Result<crate::operation::get_caller_identity::GetCallerIdentityInput, ::aws_smithy_types::error::operation::BuildError> {
22        ::std::result::Result::Ok(crate::operation::get_caller_identity::GetCallerIdentityInput {})
23    }
24}