pub struct CreatePlacementGroupRequest {
pub dry_run: Option<bool>,
pub group_name: Option<String>,
pub partition_count: Option<i64>,
pub strategy: Option<String>,
pub tag_specifications: Option<Vec<TagSpecification>>,
}Fields§
§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
partition_count: Option<i64>The number of partitions. Valid only when Strategy is set to partition.
strategy: Option<String>The placement strategy.
tag_specifications: Option<Vec<TagSpecification>>The tags to apply to the new placement group.
Trait Implementations§
Source§impl Clone for CreatePlacementGroupRequest
impl Clone for CreatePlacementGroupRequest
Source§fn clone(&self) -> CreatePlacementGroupRequest
fn clone(&self) -> CreatePlacementGroupRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreatePlacementGroupRequest
impl Debug for CreatePlacementGroupRequest
Source§impl Default for CreatePlacementGroupRequest
impl Default for CreatePlacementGroupRequest
Source§fn default() -> CreatePlacementGroupRequest
fn default() -> CreatePlacementGroupRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for CreatePlacementGroupRequest
Auto Trait Implementations§
impl Freeze for CreatePlacementGroupRequest
impl RefUnwindSafe for CreatePlacementGroupRequest
impl Send for CreatePlacementGroupRequest
impl Sync for CreatePlacementGroupRequest
impl Unpin for CreatePlacementGroupRequest
impl UnwindSafe for CreatePlacementGroupRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more