@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSRAM extends Object implements AWSRAM
AWSRAM
. Convenient method forms pass through to the corresponding overload that
takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
AcceptResourceShareInvitationResult |
acceptResourceShareInvitation(AcceptResourceShareInvitationRequest request)
Accepts an invitation to a resource share from another AWS account.
|
AssociateResourceShareResult |
associateResourceShare(AssociateResourceShareRequest request)
Associates the specified resource share with the specified principals and resources.
|
AssociateResourceSharePermissionResult |
associateResourceSharePermission(AssociateResourceSharePermissionRequest request)
Associates a permission with a resource share.
|
CreateResourceShareResult |
createResourceShare(CreateResourceShareRequest request)
Creates a resource share.
|
DeleteResourceShareResult |
deleteResourceShare(DeleteResourceShareRequest request)
Deletes the specified resource share.
|
DisassociateResourceShareResult |
disassociateResourceShare(DisassociateResourceShareRequest request)
Disassociates the specified principals or resources from the specified resource share.
|
DisassociateResourceSharePermissionResult |
disassociateResourceSharePermission(DisassociateResourceSharePermissionRequest request)
Disassociates an AWS RAM permission from a resource share.
|
EnableSharingWithAwsOrganizationResult |
enableSharingWithAwsOrganization(EnableSharingWithAwsOrganizationRequest request)
Enables resource sharing within your AWS Organization.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetPermissionResult |
getPermission(GetPermissionRequest request)
Gets the contents of an AWS RAM permission in JSON format.
|
GetResourcePoliciesResult |
getResourcePolicies(GetResourcePoliciesRequest request)
Gets the policies for the specified resources that you own and have shared.
|
GetResourceShareAssociationsResult |
getResourceShareAssociations(GetResourceShareAssociationsRequest request)
Gets the resources or principals for the resource shares that you own.
|
GetResourceShareInvitationsResult |
getResourceShareInvitations(GetResourceShareInvitationsRequest request)
Gets the invitations for resource sharing that you've received.
|
GetResourceSharesResult |
getResourceShares(GetResourceSharesRequest request)
Gets the resource shares that you own or the resource shares that are shared with you.
|
ListPendingInvitationResourcesResult |
listPendingInvitationResources(ListPendingInvitationResourcesRequest request)
Lists the resources in a resource share that is shared with you but that the invitation is still pending for.
|
ListPermissionsResult |
listPermissions(ListPermissionsRequest request)
Lists the AWS RAM permissions.
|
ListPrincipalsResult |
listPrincipals(ListPrincipalsRequest request)
Lists the principals that you have shared resources with or that have shared resources with you.
|
ListResourcesResult |
listResources(ListResourcesRequest request)
Lists the resources that you added to a resource shares or the resources that are shared with you.
|
ListResourceSharePermissionsResult |
listResourceSharePermissions(ListResourceSharePermissionsRequest request)
Lists the AWS RAM permissions that are associated with a resource share.
|
ListResourceTypesResult |
listResourceTypes(ListResourceTypesRequest request)
Lists the shareable resource types supported by AWS RAM.
|
PromoteResourceShareCreatedFromPolicyResult |
promoteResourceShareCreatedFromPolicy(PromoteResourceShareCreatedFromPolicyRequest request)
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.
|
RejectResourceShareInvitationResult |
rejectResourceShareInvitation(RejectResourceShareInvitationRequest request)
Rejects an invitation to a resource share from another AWS account.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds the specified tags to the specified resource share that you own.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes the specified tags from the specified resource share that you own.
|
UpdateResourceShareResult |
updateResourceShare(UpdateResourceShareRequest request)
Updates the specified resource share that you own.
|
public AcceptResourceShareInvitationResult acceptResourceShareInvitation(AcceptResourceShareInvitationRequest request)
AWSRAM
Accepts an invitation to a resource share from another AWS account.
acceptResourceShareInvitation
in interface AWSRAM
public AssociateResourceShareResult associateResourceShare(AssociateResourceShareRequest request)
AWSRAM
Associates the specified resource share with the specified principals and resources.
associateResourceShare
in interface AWSRAM
public AssociateResourceSharePermissionResult associateResourceSharePermission(AssociateResourceSharePermissionRequest request)
AWSRAM
Associates a permission with a resource share.
associateResourceSharePermission
in interface AWSRAM
public CreateResourceShareResult createResourceShare(CreateResourceShareRequest request)
AWSRAM
Creates a resource share.
createResourceShare
in interface AWSRAM
public DeleteResourceShareResult deleteResourceShare(DeleteResourceShareRequest request)
AWSRAM
Deletes the specified resource share.
deleteResourceShare
in interface AWSRAM
public DisassociateResourceShareResult disassociateResourceShare(DisassociateResourceShareRequest request)
AWSRAM
Disassociates the specified principals or resources from the specified resource share.
disassociateResourceShare
in interface AWSRAM
public DisassociateResourceSharePermissionResult disassociateResourceSharePermission(DisassociateResourceSharePermissionRequest request)
AWSRAM
Disassociates an AWS RAM permission from a resource share.
disassociateResourceSharePermission
in interface AWSRAM
public EnableSharingWithAwsOrganizationResult enableSharingWithAwsOrganization(EnableSharingWithAwsOrganizationRequest request)
AWSRAM
Enables resource sharing within your AWS Organization.
The caller must be the master account for the AWS Organization.
enableSharingWithAwsOrganization
in interface AWSRAM
public GetPermissionResult getPermission(GetPermissionRequest request)
AWSRAM
Gets the contents of an AWS RAM permission in JSON format.
getPermission
in interface AWSRAM
public GetResourcePoliciesResult getResourcePolicies(GetResourcePoliciesRequest request)
AWSRAM
Gets the policies for the specified resources that you own and have shared.
getResourcePolicies
in interface AWSRAM
public GetResourceShareAssociationsResult getResourceShareAssociations(GetResourceShareAssociationsRequest request)
AWSRAM
Gets the resources or principals for the resource shares that you own.
getResourceShareAssociations
in interface AWSRAM
public GetResourceShareInvitationsResult getResourceShareInvitations(GetResourceShareInvitationsRequest request)
AWSRAM
Gets the invitations for resource sharing that you've received.
getResourceShareInvitations
in interface AWSRAM
public GetResourceSharesResult getResourceShares(GetResourceSharesRequest request)
AWSRAM
Gets the resource shares that you own or the resource shares that are shared with you.
getResourceShares
in interface AWSRAM
public ListPendingInvitationResourcesResult listPendingInvitationResources(ListPendingInvitationResourcesRequest request)
AWSRAM
Lists the resources in a resource share that is shared with you but that the invitation is still pending for.
listPendingInvitationResources
in interface AWSRAM
public ListPermissionsResult listPermissions(ListPermissionsRequest request)
AWSRAM
Lists the AWS RAM permissions.
listPermissions
in interface AWSRAM
public ListPrincipalsResult listPrincipals(ListPrincipalsRequest request)
AWSRAM
Lists the principals that you have shared resources with or that have shared resources with you.
listPrincipals
in interface AWSRAM
public ListResourceSharePermissionsResult listResourceSharePermissions(ListResourceSharePermissionsRequest request)
AWSRAM
Lists the AWS RAM permissions that are associated with a resource share.
listResourceSharePermissions
in interface AWSRAM
public ListResourceTypesResult listResourceTypes(ListResourceTypesRequest request)
AWSRAM
Lists the shareable resource types supported by AWS RAM.
listResourceTypes
in interface AWSRAM
public ListResourcesResult listResources(ListResourcesRequest request)
AWSRAM
Lists the resources that you added to a resource shares or the resources that are shared with you.
listResources
in interface AWSRAM
public PromoteResourceShareCreatedFromPolicyResult promoteResourceShareCreatedFromPolicy(PromoteResourceShareCreatedFromPolicyRequest request)
AWSRAM
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.
promoteResourceShareCreatedFromPolicy
in interface AWSRAM
public RejectResourceShareInvitationResult rejectResourceShareInvitation(RejectResourceShareInvitationRequest request)
AWSRAM
Rejects an invitation to a resource share from another AWS account.
rejectResourceShareInvitation
in interface AWSRAM
public TagResourceResult tagResource(TagResourceRequest request)
AWSRAM
Adds the specified tags to the specified resource share that you own.
tagResource
in interface AWSRAM
public UntagResourceResult untagResource(UntagResourceRequest request)
AWSRAM
Removes the specified tags from the specified resource share that you own.
untagResource
in interface AWSRAM
public UpdateResourceShareResult updateResourceShare(UpdateResourceShareRequest request)
AWSRAM
Updates the specified resource share that you own.
updateResourceShare
in interface AWSRAM
public void shutdown()
AWSRAM
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSRAM
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AWSRAM
request
- The originally executed request.