Struct aws_sdk_ec2::operation::create_ipam::CreateIpamInput
source · #[non_exhaustive]pub struct CreateIpamInput {
pub dry_run: Option<bool>,
pub description: Option<String>,
pub operating_regions: Option<Vec<AddIpamOperatingRegion>>,
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
.
description: Option<String>
A description for the IPAM.
operating_regions: Option<Vec<AddIpamOperatingRegion>>
The operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.
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 CreateIpamInput
impl CreateIpamInput
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 IPAM.
sourcepub fn operating_regions(&self) -> &[AddIpamOperatingRegion]
pub fn operating_regions(&self) -> &[AddIpamOperatingRegion]
The operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .operating_regions.is_none()
.
sourcepub fn tag_specifications(&self) -> &[TagSpecification]
pub fn tag_specifications(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tag_specifications.is_none()
.
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 CreateIpamInput
impl CreateIpamInput
sourcepub fn builder() -> CreateIpamInputBuilder
pub fn builder() -> CreateIpamInputBuilder
Creates a new builder-style object to manufacture CreateIpamInput
.
Trait Implementations§
source§impl Clone for CreateIpamInput
impl Clone for CreateIpamInput
source§fn clone(&self) -> CreateIpamInput
fn clone(&self) -> CreateIpamInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateIpamInput
impl Debug for CreateIpamInput
source§impl PartialEq for CreateIpamInput
impl PartialEq for CreateIpamInput
source§fn eq(&self, other: &CreateIpamInput) -> bool
fn eq(&self, other: &CreateIpamInput) -> bool
self
and other
values to be equal, and is used
by ==
.