The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::Cloud9::DescribeEnvironmentMemberships - Arguments for method DescribeEnvironmentMemberships on Paws::Cloud9

DESCRIPTION

This class represents the parameters used for calling the method DescribeEnvironmentMemberships on the AWS Cloud9 service. Use the attributes of this class as arguments to method DescribeEnvironmentMemberships.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeEnvironmentMemberships.

SYNOPSIS

    my $cloud9 = Paws->service('Cloud9');
   # DescribeEnvironmentMemberships1
   # The following example gets information about all of the environment members
   # for the specified AWS Cloud9 development environment.
    my $DescribeEnvironmentMembershipsResult =
      $cloud9->DescribeEnvironmentMemberships(
      'EnvironmentId' => '8d9967e2f0624182b74e7690ad69ebEX' );

    # Results:
    my $memberships = $DescribeEnvironmentMembershipsResult->memberships;

   # Returns a L<Paws::Cloud9::DescribeEnvironmentMembershipsResult> object.
   # DescribeEnvironmentMemberships2
   # The following example gets information about the owner of the specified AWS
   # Cloud9 development environment.
    my $DescribeEnvironmentMembershipsResult =
      $cloud9->DescribeEnvironmentMemberships(
      'EnvironmentId' => '8d9967e2f0624182b74e7690ad69ebEX',
      'Permissions'   => ['owner']
      );

    # Results:
    my $memberships = $DescribeEnvironmentMembershipsResult->memberships;

    # Returns a L<Paws::Cloud9::DescribeEnvironmentMembershipsResult> object.
    # DescribeEnvironmentMemberships3
    # The following example gets AWS Cloud9 development environment membership
    # information for the specified user.
    my $DescribeEnvironmentMembershipsResult =
      $cloud9->DescribeEnvironmentMemberships(
      'UserArn' => 'arn:aws:iam::123456789012:user/MyDemoUser' );

    # Results:
    my $memberships = $DescribeEnvironmentMembershipsResult->memberships;

    # Returns a L<Paws::Cloud9::DescribeEnvironmentMembershipsResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/cloud9/DescribeEnvironmentMemberships

ATTRIBUTES

EnvironmentId => Str

The ID of the environment to get environment member information about.

MaxResults => Int

The maximum number of environment members to get information about.

NextToken => 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.

Permissions => ArrayRef[Str|Undef]

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.

UserArn => 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.

SEE ALSO

This class forms part of Paws, documenting arguments for method DescribeEnvironmentMemberships in Paws::Cloud9

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues