#[non_exhaustive]pub struct CreateIpamScopeInput {
pub dry_run: Option<bool>,
pub ipam_id: Option<String>,
pub description: Option<String>,
pub tag_specifications: Option<Vec<TagSpecification>>,
pub client_token: Option<String>,
}
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>
A check for 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
.
ipam_id: Option<String>
The ID of the IPAM for which you're creating this scope.
description: Option<String>
A description for the scope you're creating.
tag_specifications: Option<Vec<TagSpecification>>
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
Implementations§
source§impl CreateIpamScopeInput
impl CreateIpamScopeInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
A check for 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
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the scope you're creating.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
source§impl CreateIpamScopeInput
impl CreateIpamScopeInput
sourcepub fn builder() -> CreateIpamScopeInputBuilder
pub fn builder() -> CreateIpamScopeInputBuilder
Creates a new builder-style object to manufacture CreateIpamScopeInput
.
Trait Implementations§
source§impl Clone for CreateIpamScopeInput
impl Clone for CreateIpamScopeInput
source§fn clone(&self) -> CreateIpamScopeInput
fn clone(&self) -> CreateIpamScopeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateIpamScopeInput
impl Debug for CreateIpamScopeInput
source§impl PartialEq<CreateIpamScopeInput> for CreateIpamScopeInput
impl PartialEq<CreateIpamScopeInput> for CreateIpamScopeInput
source§fn eq(&self, other: &CreateIpamScopeInput) -> bool
fn eq(&self, other: &CreateIpamScopeInput) -> bool
self
and other
values to be equal, and is used
by ==
.