#[non_exhaustive]pub struct DescribePrincipalIdFormatInput {
pub dry_run: Option<bool>,
pub resources: Option<Vec<String>>,
pub max_results: Option<i32>,
pub next_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>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.
resources: Option<Vec<String>>The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway
max_results: Option<i32>The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
next_token: Option<String>The token to request the next page of results.
Implementations§
source§impl DescribePrincipalIdFormatInput
impl DescribePrincipalIdFormatInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> 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.
sourcepub fn resources(&self) -> &[String]
pub fn resources(&self) -> &[String]
The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resources.is_none().
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to request the next page of results.
source§impl DescribePrincipalIdFormatInput
impl DescribePrincipalIdFormatInput
sourcepub fn builder() -> DescribePrincipalIdFormatInputBuilder
pub fn builder() -> DescribePrincipalIdFormatInputBuilder
Creates a new builder-style object to manufacture DescribePrincipalIdFormatInput.
Trait Implementations§
source§impl Clone for DescribePrincipalIdFormatInput
impl Clone for DescribePrincipalIdFormatInput
source§fn clone(&self) -> DescribePrincipalIdFormatInput
fn clone(&self) -> DescribePrincipalIdFormatInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for DescribePrincipalIdFormatInput
impl PartialEq for DescribePrincipalIdFormatInput
source§fn eq(&self, other: &DescribePrincipalIdFormatInput) -> bool
fn eq(&self, other: &DescribePrincipalIdFormatInput) -> bool
self and other values to be equal, and is used
by ==.