#[non_exhaustive]pub struct GetResourcePoliciesOutput {
pub policies: Option<Vec<String>>,
pub next_token: Option<String>,
/* private fields */
}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.policies: Option<Vec<String>>An array of resource policy documents in JSON format.
next_token: Option<String>If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.
Implementations§
source§impl GetResourcePoliciesOutput
impl GetResourcePoliciesOutput
sourcepub fn policies(&self) -> &[String]
pub fn policies(&self) -> &[String]
An array of resource policy documents in JSON format.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .policies.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.
source§impl GetResourcePoliciesOutput
impl GetResourcePoliciesOutput
sourcepub fn builder() -> GetResourcePoliciesOutputBuilder
pub fn builder() -> GetResourcePoliciesOutputBuilder
Creates a new builder-style object to manufacture GetResourcePoliciesOutput.
Trait Implementations§
source§impl Clone for GetResourcePoliciesOutput
impl Clone for GetResourcePoliciesOutput
source§fn clone(&self) -> GetResourcePoliciesOutput
fn clone(&self) -> GetResourcePoliciesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetResourcePoliciesOutput
impl Debug for GetResourcePoliciesOutput
source§impl PartialEq for GetResourcePoliciesOutput
impl PartialEq for GetResourcePoliciesOutput
source§fn eq(&self, other: &GetResourcePoliciesOutput) -> bool
fn eq(&self, other: &GetResourcePoliciesOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetResourcePoliciesOutput
impl RequestId for GetResourcePoliciesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.