Struct aws_sdk_opsworks::client::fluent_builders::SetPermission [−][src]
pub struct SetPermission<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to SetPermission
.
Specifies a user's permissions. For more information, see Security and Permissions.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
Implementations
impl<C, M, R> SetPermission<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> SetPermission<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<SetPermissionOutput, SdkError<SetPermissionError>> where
R::Policy: SmithyRetryPolicy<SetPermissionInputOperationOutputAlias, SetPermissionOutput, SetPermissionError, SetPermissionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<SetPermissionOutput, SdkError<SetPermissionError>> where
R::Policy: SmithyRetryPolicy<SetPermissionInputOperationOutputAlias, SetPermissionOutput, SetPermissionError, SetPermissionInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The stack ID.
The user's IAM ARN. This can also be a federated user's ARN.
The user's IAM ARN. This can also be a federated user's ARN.
The user is allowed to use SSH to communicate with the instance.
The user is allowed to use SSH to communicate with the instance.
The user is allowed to use sudo to elevate privileges.
The user is allowed to use sudo to elevate privileges.
The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level.
-
deny
-
show
-
deploy
-
manage
-
iam_only
For more information about the permissions associated with these levels, see Managing User Permissions.
The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level.
-
deny
-
show
-
deploy
-
manage
-
iam_only
For more information about the permissions associated with these levels, see Managing User Permissions.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for SetPermission<C, M, R>
impl<C, M, R> Unpin for SetPermission<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for SetPermission<C, M, R>
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