Struct aws_sdk_cloud9::operation::describe_environment_memberships::DescribeEnvironmentMembershipsInput
source · #[non_exhaustive]pub struct DescribeEnvironmentMembershipsInput {
pub user_arn: Option<String>,
pub environment_id: Option<String>,
pub permissions: Option<Vec<Permissions>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
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.user_arn: Option<String>
The Amazon Resource Name (ARN) of an individual environment member to get information about. If no value is specified, information about all environment members are returned.
environment_id: Option<String>
The ID of the environment to get environment member information about.
permissions: Option<Vec<Permissions>>
The type of environment member permissions to get information about. Available values include:
-
owner
: Owns the environment. -
read-only
: Has read-only access to the environment. -
read-write
: Has read-write access to the environment.
If no value is specified, information about all environment members are returned.
next_token: Option<String>
During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
max_results: Option<i32>
The maximum number of environment members to get information about.
Implementations§
source§impl DescribeEnvironmentMembershipsInput
impl DescribeEnvironmentMembershipsInput
sourcepub fn user_arn(&self) -> Option<&str>
pub fn user_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an individual environment member to get information about. If no value is specified, information about all environment members are returned.
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
The ID of the environment to get environment member information about.
sourcepub fn permissions(&self) -> &[Permissions]
pub fn permissions(&self) -> &[Permissions]
The type of environment member permissions to get information about. Available values include:
-
owner
: Owns the environment. -
read-only
: Has read-only access to the environment. -
read-write
: Has read-write access to the environment.
If no value is specified, information about all environment members are returned.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .permissions.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of environment members to get information about.
source§impl DescribeEnvironmentMembershipsInput
impl DescribeEnvironmentMembershipsInput
sourcepub fn builder() -> DescribeEnvironmentMembershipsInputBuilder
pub fn builder() -> DescribeEnvironmentMembershipsInputBuilder
Creates a new builder-style object to manufacture DescribeEnvironmentMembershipsInput
.
Trait Implementations§
source§impl Clone for DescribeEnvironmentMembershipsInput
impl Clone for DescribeEnvironmentMembershipsInput
source§fn clone(&self) -> DescribeEnvironmentMembershipsInput
fn clone(&self) -> DescribeEnvironmentMembershipsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeEnvironmentMembershipsInput
impl PartialEq for DescribeEnvironmentMembershipsInput
source§fn eq(&self, other: &DescribeEnvironmentMembershipsInput) -> bool
fn eq(&self, other: &DescribeEnvironmentMembershipsInput) -> bool
self
and other
values to be equal, and is used
by ==
.