Struct aws_sdk_codedeploy::operation::register_on_premises_instance::RegisterOnPremisesInstanceInput
source · #[non_exhaustive]pub struct RegisterOnPremisesInstanceInput {
pub instance_name: Option<String>,
pub iam_session_arn: Option<String>,
pub iam_user_arn: Option<String>,
}Expand description
Represents the input of the register on-premises instance operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.instance_name: Option<String>The name of the on-premises instance to register.
iam_session_arn: Option<String>The ARN of the IAM session to associate with the on-premises instance.
iam_user_arn: Option<String>The ARN of the user to associate with the on-premises instance.
Implementations§
source§impl RegisterOnPremisesInstanceInput
impl RegisterOnPremisesInstanceInput
sourcepub fn instance_name(&self) -> Option<&str>
pub fn instance_name(&self) -> Option<&str>
The name of the on-premises instance to register.
sourcepub fn iam_session_arn(&self) -> Option<&str>
pub fn iam_session_arn(&self) -> Option<&str>
The ARN of the IAM session to associate with the on-premises instance.
sourcepub fn iam_user_arn(&self) -> Option<&str>
pub fn iam_user_arn(&self) -> Option<&str>
The ARN of the user to associate with the on-premises instance.
source§impl RegisterOnPremisesInstanceInput
impl RegisterOnPremisesInstanceInput
sourcepub fn builder() -> RegisterOnPremisesInstanceInputBuilder
pub fn builder() -> RegisterOnPremisesInstanceInputBuilder
Creates a new builder-style object to manufacture RegisterOnPremisesInstanceInput.
Trait Implementations§
source§impl Clone for RegisterOnPremisesInstanceInput
impl Clone for RegisterOnPremisesInstanceInput
source§fn clone(&self) -> RegisterOnPremisesInstanceInput
fn clone(&self) -> RegisterOnPremisesInstanceInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq for RegisterOnPremisesInstanceInput
impl PartialEq for RegisterOnPremisesInstanceInput
source§fn eq(&self, other: &RegisterOnPremisesInstanceInput) -> bool
fn eq(&self, other: &RegisterOnPremisesInstanceInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RegisterOnPremisesInstanceInput
Auto Trait Implementations§
impl RefUnwindSafe for RegisterOnPremisesInstanceInput
impl Send for RegisterOnPremisesInstanceInput
impl Sync for RegisterOnPremisesInstanceInput
impl Unpin for RegisterOnPremisesInstanceInput
impl UnwindSafe for RegisterOnPremisesInstanceInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.