Struct aws_sdk_opsworks::input::GrantAccessInput [−][src]
#[non_exhaustive]pub struct GrantAccessInput {
pub instance_id: Option<String>,
pub valid_for_in_minutes: Option<i32>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_id: Option<String>
The instance's AWS OpsWorks Stacks ID.
valid_for_in_minutes: Option<i32>
The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GrantAccess, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GrantAccess, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GrantAccess
>
Creates a new builder-style object to manufacture GrantAccessInput
The instance's AWS OpsWorks Stacks ID.
The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GrantAccessInput
impl Send for GrantAccessInput
impl Sync for GrantAccessInput
impl Unpin for GrantAccessInput
impl UnwindSafe for GrantAccessInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more