Struct aws_sdk_ec2::input::CreatePlacementGroupInput [−][src]
#[non_exhaustive]pub struct CreatePlacementGroupInput {
pub dry_run: Option<bool>,
pub group_name: Option<String>,
pub strategy: Option<PlacementStrategy>,
pub partition_count: Option<i32>,
pub tag_specifications: Option<Vec<TagSpecification>>,
}
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.dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
group_name: Option<String>
A name for the placement group. Must be unique within the scope of your account for the Region.
Constraints: Up to 255 ASCII characters
strategy: Option<PlacementStrategy>
The placement strategy.
partition_count: Option<i32>
The number of partitions. Valid only when Strategy is
set to partition
.
tag_specifications: Option<Vec<TagSpecification>>
The tags to apply to the new placement group.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePlacementGroup, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePlacementGroup, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreatePlacementGroup
>
Creates a new builder-style object to manufacture CreatePlacementGroupInput
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
A name for the placement group. Must be unique within the scope of your account for the Region.
Constraints: Up to 255 ASCII characters
The placement strategy.
The number of partitions. Valid only when Strategy is
set to partition
.
The tags to apply to the new placement group.
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 CreatePlacementGroupInput
impl Send for CreatePlacementGroupInput
impl Sync for CreatePlacementGroupInput
impl Unpin for CreatePlacementGroupInput
impl UnwindSafe for CreatePlacementGroupInput
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