Paws::RAM - Perl Interface to AWS AWS Resource Access Manager
use Paws; my $obj = Paws->service('RAM'); my $res = $obj->Method( Arg1 => $val1, Arg2 => [ 'V1', 'V2' ], # if Arg3 is an object, the HashRef will be used as arguments to the constructor # of the arguments type Arg3 => { Att1 => 'Val1' }, # if Arg4 is an array of objects, the HashRefs will be passed as arguments to # the constructor of the arguments type Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], );
Use AWS Resource Access Manager to share AWS resources between AWS accounts. To share a resource, you create a resource share, associate the resource with the resource share, and specify the principals that can access the resources associated with the resource share. The following principals are supported: AWS accounts, organizational units (OU) from AWS Organizations, and organizations from AWS Organizations.
For more information, see the AWS Resource Access Manager User Guide (https://docs.aws.amazon.com/ram/latest/userguide/).
For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04
Each argument is described in detail in: Paws::RAM::AcceptResourceShareInvitation
Returns: a Paws::RAM::AcceptResourceShareInvitationResponse instance
Accepts an invitation to a resource share from another AWS account.
Each argument is described in detail in: Paws::RAM::AssociateResourceShare
Returns: a Paws::RAM::AssociateResourceShareResponse instance
Associates the specified resource share with the specified principals and resources.
Each argument is described in detail in: Paws::RAM::AssociateResourceSharePermission
Returns: a Paws::RAM::AssociateResourceSharePermissionResponse instance
Associates a permission with a resource share.
Each argument is described in detail in: Paws::RAM::CreateResourceShare
Returns: a Paws::RAM::CreateResourceShareResponse instance
Creates a resource share.
Each argument is described in detail in: Paws::RAM::DeleteResourceShare
Returns: a Paws::RAM::DeleteResourceShareResponse instance
Deletes the specified resource share.
Each argument is described in detail in: Paws::RAM::DisassociateResourceShare
Returns: a Paws::RAM::DisassociateResourceShareResponse instance
Disassociates the specified principals or resources from the specified resource share.
Each argument is described in detail in: Paws::RAM::DisassociateResourceSharePermission
Returns: a Paws::RAM::DisassociateResourceSharePermissionResponse instance
Disassociates an AWS RAM permission from a resource share.
Each argument is described in detail in: Paws::RAM::EnableSharingWithAwsOrganization
Returns: a Paws::RAM::EnableSharingWithAwsOrganizationResponse instance
Enables resource sharing within your AWS Organization.
The caller must be the master account for the AWS Organization.
Each argument is described in detail in: Paws::RAM::GetPermission
Returns: a Paws::RAM::GetPermissionResponse instance
Gets the contents of an AWS RAM permission in JSON format.
Each argument is described in detail in: Paws::RAM::GetResourcePolicies
Returns: a Paws::RAM::GetResourcePoliciesResponse instance
Gets the policies for the specified resources that you own and have shared.
Each argument is described in detail in: Paws::RAM::GetResourceShareAssociations
Returns: a Paws::RAM::GetResourceShareAssociationsResponse instance
Gets the resources or principals for the resource shares that you own.
Each argument is described in detail in: Paws::RAM::GetResourceShareInvitations
Returns: a Paws::RAM::GetResourceShareInvitationsResponse instance
Gets the invitations that you have received for resource shares.
Each argument is described in detail in: Paws::RAM::GetResourceShares
Returns: a Paws::RAM::GetResourceSharesResponse instance
Gets the resource shares that you own or the resource shares that are shared with you.
Each argument is described in detail in: Paws::RAM::ListPendingInvitationResources
Returns: a Paws::RAM::ListPendingInvitationResourcesResponse instance
Lists the resources in a resource share that is shared with you but that the invitation is still pending for.
Each argument is described in detail in: Paws::RAM::ListPermissions
Returns: a Paws::RAM::ListPermissionsResponse instance
Lists the AWS RAM permissions.
Each argument is described in detail in: Paws::RAM::ListPrincipals
Returns: a Paws::RAM::ListPrincipalsResponse instance
Lists the principals that you have shared resources with or that have shared resources with you.
Each argument is described in detail in: Paws::RAM::ListResources
Returns: a Paws::RAM::ListResourcesResponse instance
Lists the resources that you added to a resource shares or the resources that are shared with you.
Each argument is described in detail in: Paws::RAM::ListResourceSharePermissions
Returns: a Paws::RAM::ListResourceSharePermissionsResponse instance
Lists the AWS RAM permissions that are associated with a resource share.
Each argument is described in detail in: Paws::RAM::ListResourceTypes
Returns: a Paws::RAM::ListResourceTypesResponse instance
Lists the shareable resource types supported by AWS RAM.
Each argument is described in detail in: Paws::RAM::PromoteResourceShareCreatedFromPolicy
Returns: a Paws::RAM::PromoteResourceShareCreatedFromPolicyResponse instance
Resource shares that were created by attaching a policy to a resource are visible only to the resource share owner, and the resource share cannot be modified in AWS RAM.
Use this API action to promote the resource share. When you promote the resource share, it becomes:
Visible to all principals that it is shared with.
Modifiable in AWS RAM.
Each argument is described in detail in: Paws::RAM::RejectResourceShareInvitation
Returns: a Paws::RAM::RejectResourceShareInvitationResponse instance
Rejects an invitation to a resource share from another AWS account.
Each argument is described in detail in: Paws::RAM::TagResource
Returns: a Paws::RAM::TagResourceResponse instance
Adds the specified tags to the specified resource share that you own.
Each argument is described in detail in: Paws::RAM::UntagResource
Returns: a Paws::RAM::UntagResourceResponse instance
Removes the specified tags from the specified resource share that you own.
Each argument is described in detail in: Paws::RAM::UpdateResourceShare
Returns: a Paws::RAM::UpdateResourceShareResponse instance
Updates the specified resource share that you own.
Paginator methods are helpers that repetively call methods that return partial results
If passed a sub as first parameter, it will call the sub for each element found in :
- policies, passing the object as the first parameter, and the string 'policies' as the second parameter
If not, it will return a a Paws::RAM::GetResourcePoliciesResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
param
- resourceShareAssociations, passing the object as the first parameter, and the string 'resourceShareAssociations' as the second parameter
If not, it will return a a Paws::RAM::GetResourceShareAssociationsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
- resourceShareInvitations, passing the object as the first parameter, and the string 'resourceShareInvitations' as the second parameter
If not, it will return a a Paws::RAM::GetResourceShareInvitationsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
- resourceShares, passing the object as the first parameter, and the string 'resourceShares' as the second parameter
If not, it will return a a Paws::RAM::GetResourceSharesResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
- principals, passing the object as the first parameter, and the string 'principals' as the second parameter
If not, it will return a a Paws::RAM::ListPrincipalsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
- resources, passing the object as the first parameter, and the string 'resources' as the second parameter
If not, it will return a a Paws::RAM::ListResourcesResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
This service class forms part of Paws
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.