Struct aws_sdk_greengrass::client::fluent_builders::AssociateRoleToGroup [−][src]
pub struct AssociateRoleToGroup<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to AssociateRoleToGroup
.
Associates a role with a group. Your Greengrass core will use the role to access AWS cloud services. The role’s permissions should allow Greengrass core Lambda functions to perform actions against the cloud.
Implementations
impl<C, M, R> AssociateRoleToGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AssociateRoleToGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AssociateRoleToGroupOutput, SdkError<AssociateRoleToGroupError>> where
R::Policy: SmithyRetryPolicy<AssociateRoleToGroupInputOperationOutputAlias, AssociateRoleToGroupOutput, AssociateRoleToGroupError, AssociateRoleToGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AssociateRoleToGroupOutput, SdkError<AssociateRoleToGroupError>> where
R::Policy: SmithyRetryPolicy<AssociateRoleToGroupInputOperationOutputAlias, AssociateRoleToGroupOutput, AssociateRoleToGroupError, AssociateRoleToGroupInputOperationRetryAlias>,
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 ID of the Greengrass group.
The ARN of the role you wish to associate with this group. The existence of the role is not validated.
The ARN of the role you wish to associate with this group. The existence of the role is not validated.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for AssociateRoleToGroup<C, M, R>
impl<C, M, R> Send for AssociateRoleToGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AssociateRoleToGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AssociateRoleToGroup<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for AssociateRoleToGroup<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