Struct aws_sdk_workspaces::client::fluent_builders::CreateIpGroup
source · [−]pub struct CreateIpGroup<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateIpGroup
.
Creates an IP access control group.
An IP access control group provides you with the ability to control the IP addresses from which users are allowed to access their WorkSpaces. To specify the CIDR address ranges, add rules to your IP access control group and then associate the group with your directory. You can add rules when you create the group or at any time using AuthorizeIpRules
.
There is a default IP access control group associated with your directory. If you don't associate an IP access control group with your directory, the default group is used. The default group includes a default rule that allows users to access their WorkSpaces from anywhere. You cannot modify the default IP access control group for your directory.
Implementations
impl<C, M, R> CreateIpGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateIpGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateIpGroupOutput, SdkError<CreateIpGroupError>> where
R::Policy: SmithyRetryPolicy<CreateIpGroupInputOperationOutputAlias, CreateIpGroupOutput, CreateIpGroupError, CreateIpGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateIpGroupOutput, SdkError<CreateIpGroupError>> where
R::Policy: SmithyRetryPolicy<CreateIpGroupInputOperationOutputAlias, CreateIpGroupOutput, CreateIpGroupError, CreateIpGroupInputOperationRetryAlias>,
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 name of the group.
The name of the group.
The description of the group.
The description of the group.
Appends an item to UserRules
.
To override the contents of this collection use set_user_rules
.
The rules to add to the group.
The rules to add to the group.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateIpGroup<C, M, R>
impl<C, M, R> Unpin for CreateIpGroup<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateIpGroup<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