NAME
Paws::RAM::AssociateResourceShare - Arguments for method AssociateResourceShare on Paws::RAM
DESCRIPTION
This class represents the parameters used for calling the method AssociateResourceShare on the AWS Resource Access Manager service. Use the attributes of this class as arguments to method AssociateResourceShare.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AssociateResourceShare.
SYNOPSIS
my $ram = Paws->service('RAM');
my $AssociateResourceShareResponse = $ram->AssociateResourceShare(
ResourceShareArn => 'MyString',
ClientToken => 'MyString', # OPTIONAL
Principals => [ 'MyString', ... ], # OPTIONAL
ResourceArns => [ 'MyString', ... ], # OPTIONAL
);
# Results:
my $ClientToken = $AssociateResourceShareResponse->ClientToken;
my $ResourceShareAssociations =
$AssociateResourceShareResponse->ResourceShareAssociations;
# Returns a L<Paws::RAM::AssociateResourceShareResponse> 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/ram/AssociateResourceShare
ATTRIBUTES
ClientToken => Str
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Principals => ArrayRef[Str|Undef]
The principals to associate with the resource share. The possible values are IDs of AWS accounts, and the ARNs of organizational units (OU) or organizations from AWS Organizations.
ResourceArns => ArrayRef[Str|Undef]
The Amazon Resource Names (ARN) of the resources.
REQUIRED ResourceShareArn => Str
The Amazon Resource Name (ARN) of the resource share.
SEE ALSO
This class forms part of Paws, documenting arguments for method AssociateResourceShare in Paws::RAM
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