Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Operations
- AcceptResourceShareInvitation
- AssociateResourceShare
- AssociateResourceSharePermission
- CreateResourceShare
- DeleteResourceShare
- DisassociateResourceShare
- DisassociateResourceSharePermission
- EnableSharingWithAwsOrganization
- GetPermission
- GetResourcePolicies
- GetResourceShareAssociations
- GetResourceShareInvitations
- GetResourceShares
- ListPendingInvitationResources
- ListPermissionVersions
- ListPermissions
- ListPrincipals
- ListResourceSharePermissions
- ListResourceTypes
- ListResources
- PromoteResourceShareCreatedFromPolicy
- RejectResourceShareInvitation
- TagResource
- UntagResource
- UpdateResourceShare
- Types
Synopsis
- acceptResourceShareInvitation_clientToken :: Lens' AcceptResourceShareInvitation (Maybe Text)
- acceptResourceShareInvitation_resourceShareInvitationArn :: Lens' AcceptResourceShareInvitation Text
- acceptResourceShareInvitationResponse_clientToken :: Lens' AcceptResourceShareInvitationResponse (Maybe Text)
- acceptResourceShareInvitationResponse_resourceShareInvitation :: Lens' AcceptResourceShareInvitationResponse (Maybe ResourceShareInvitation)
- acceptResourceShareInvitationResponse_httpStatus :: Lens' AcceptResourceShareInvitationResponse Int
- associateResourceShare_clientToken :: Lens' AssociateResourceShare (Maybe Text)
- associateResourceShare_principals :: Lens' AssociateResourceShare (Maybe [Text])
- associateResourceShare_resourceArns :: Lens' AssociateResourceShare (Maybe [Text])
- associateResourceShare_resourceShareArn :: Lens' AssociateResourceShare Text
- associateResourceShareResponse_clientToken :: Lens' AssociateResourceShareResponse (Maybe Text)
- associateResourceShareResponse_resourceShareAssociations :: Lens' AssociateResourceShareResponse (Maybe [ResourceShareAssociation])
- associateResourceShareResponse_httpStatus :: Lens' AssociateResourceShareResponse Int
- associateResourceSharePermission_clientToken :: Lens' AssociateResourceSharePermission (Maybe Text)
- associateResourceSharePermission_permissionVersion :: Lens' AssociateResourceSharePermission (Maybe Int)
- associateResourceSharePermission_replace :: Lens' AssociateResourceSharePermission (Maybe Bool)
- associateResourceSharePermission_resourceShareArn :: Lens' AssociateResourceSharePermission Text
- associateResourceSharePermission_permissionArn :: Lens' AssociateResourceSharePermission Text
- associateResourceSharePermissionResponse_clientToken :: Lens' AssociateResourceSharePermissionResponse (Maybe Text)
- associateResourceSharePermissionResponse_returnValue :: Lens' AssociateResourceSharePermissionResponse (Maybe Bool)
- associateResourceSharePermissionResponse_httpStatus :: Lens' AssociateResourceSharePermissionResponse Int
- createResourceShare_allowExternalPrincipals :: Lens' CreateResourceShare (Maybe Bool)
- createResourceShare_clientToken :: Lens' CreateResourceShare (Maybe Text)
- createResourceShare_permissionArns :: Lens' CreateResourceShare (Maybe [Text])
- createResourceShare_principals :: Lens' CreateResourceShare (Maybe [Text])
- createResourceShare_resourceArns :: Lens' CreateResourceShare (Maybe [Text])
- createResourceShare_tags :: Lens' CreateResourceShare (Maybe [Tag])
- createResourceShare_name :: Lens' CreateResourceShare Text
- createResourceShareResponse_clientToken :: Lens' CreateResourceShareResponse (Maybe Text)
- createResourceShareResponse_resourceShare :: Lens' CreateResourceShareResponse (Maybe ResourceShare)
- createResourceShareResponse_httpStatus :: Lens' CreateResourceShareResponse Int
- deleteResourceShare_clientToken :: Lens' DeleteResourceShare (Maybe Text)
- deleteResourceShare_resourceShareArn :: Lens' DeleteResourceShare Text
- deleteResourceShareResponse_clientToken :: Lens' DeleteResourceShareResponse (Maybe Text)
- deleteResourceShareResponse_returnValue :: Lens' DeleteResourceShareResponse (Maybe Bool)
- deleteResourceShareResponse_httpStatus :: Lens' DeleteResourceShareResponse Int
- disassociateResourceShare_clientToken :: Lens' DisassociateResourceShare (Maybe Text)
- disassociateResourceShare_principals :: Lens' DisassociateResourceShare (Maybe [Text])
- disassociateResourceShare_resourceArns :: Lens' DisassociateResourceShare (Maybe [Text])
- disassociateResourceShare_resourceShareArn :: Lens' DisassociateResourceShare Text
- disassociateResourceShareResponse_clientToken :: Lens' DisassociateResourceShareResponse (Maybe Text)
- disassociateResourceShareResponse_resourceShareAssociations :: Lens' DisassociateResourceShareResponse (Maybe [ResourceShareAssociation])
- disassociateResourceShareResponse_httpStatus :: Lens' DisassociateResourceShareResponse Int
- disassociateResourceSharePermission_clientToken :: Lens' DisassociateResourceSharePermission (Maybe Text)
- disassociateResourceSharePermission_resourceShareArn :: Lens' DisassociateResourceSharePermission Text
- disassociateResourceSharePermission_permissionArn :: Lens' DisassociateResourceSharePermission Text
- disassociateResourceSharePermissionResponse_clientToken :: Lens' DisassociateResourceSharePermissionResponse (Maybe Text)
- disassociateResourceSharePermissionResponse_returnValue :: Lens' DisassociateResourceSharePermissionResponse (Maybe Bool)
- disassociateResourceSharePermissionResponse_httpStatus :: Lens' DisassociateResourceSharePermissionResponse Int
- enableSharingWithAwsOrganizationResponse_returnValue :: Lens' EnableSharingWithAwsOrganizationResponse (Maybe Bool)
- enableSharingWithAwsOrganizationResponse_httpStatus :: Lens' EnableSharingWithAwsOrganizationResponse Int
- getPermission_permissionVersion :: Lens' GetPermission (Maybe Int)
- getPermission_permissionArn :: Lens' GetPermission Text
- getPermissionResponse_permission :: Lens' GetPermissionResponse (Maybe ResourceSharePermissionDetail)
- getPermissionResponse_httpStatus :: Lens' GetPermissionResponse Int
- getResourcePolicies_maxResults :: Lens' GetResourcePolicies (Maybe Natural)
- getResourcePolicies_nextToken :: Lens' GetResourcePolicies (Maybe Text)
- getResourcePolicies_principal :: Lens' GetResourcePolicies (Maybe Text)
- getResourcePolicies_resourceArns :: Lens' GetResourcePolicies [Text]
- getResourcePoliciesResponse_nextToken :: Lens' GetResourcePoliciesResponse (Maybe Text)
- getResourcePoliciesResponse_policies :: Lens' GetResourcePoliciesResponse (Maybe [Text])
- getResourcePoliciesResponse_httpStatus :: Lens' GetResourcePoliciesResponse Int
- getResourceShareAssociations_associationStatus :: Lens' GetResourceShareAssociations (Maybe ResourceShareAssociationStatus)
- getResourceShareAssociations_maxResults :: Lens' GetResourceShareAssociations (Maybe Natural)
- getResourceShareAssociations_nextToken :: Lens' GetResourceShareAssociations (Maybe Text)
- getResourceShareAssociations_principal :: Lens' GetResourceShareAssociations (Maybe Text)
- getResourceShareAssociations_resourceArn :: Lens' GetResourceShareAssociations (Maybe Text)
- getResourceShareAssociations_resourceShareArns :: Lens' GetResourceShareAssociations (Maybe [Text])
- getResourceShareAssociations_associationType :: Lens' GetResourceShareAssociations ResourceShareAssociationType
- getResourceShareAssociationsResponse_nextToken :: Lens' GetResourceShareAssociationsResponse (Maybe Text)
- getResourceShareAssociationsResponse_resourceShareAssociations :: Lens' GetResourceShareAssociationsResponse (Maybe [ResourceShareAssociation])
- getResourceShareAssociationsResponse_httpStatus :: Lens' GetResourceShareAssociationsResponse Int
- getResourceShareInvitations_maxResults :: Lens' GetResourceShareInvitations (Maybe Natural)
- getResourceShareInvitations_nextToken :: Lens' GetResourceShareInvitations (Maybe Text)
- getResourceShareInvitations_resourceShareArns :: Lens' GetResourceShareInvitations (Maybe [Text])
- getResourceShareInvitations_resourceShareInvitationArns :: Lens' GetResourceShareInvitations (Maybe [Text])
- getResourceShareInvitationsResponse_nextToken :: Lens' GetResourceShareInvitationsResponse (Maybe Text)
- getResourceShareInvitationsResponse_resourceShareInvitations :: Lens' GetResourceShareInvitationsResponse (Maybe [ResourceShareInvitation])
- getResourceShareInvitationsResponse_httpStatus :: Lens' GetResourceShareInvitationsResponse Int
- getResourceShares_maxResults :: Lens' GetResourceShares (Maybe Natural)
- getResourceShares_name :: Lens' GetResourceShares (Maybe Text)
- getResourceShares_nextToken :: Lens' GetResourceShares (Maybe Text)
- getResourceShares_permissionArn :: Lens' GetResourceShares (Maybe Text)
- getResourceShares_resourceShareArns :: Lens' GetResourceShares (Maybe [Text])
- getResourceShares_resourceShareStatus :: Lens' GetResourceShares (Maybe ResourceShareStatus)
- getResourceShares_tagFilters :: Lens' GetResourceShares (Maybe [TagFilter])
- getResourceShares_resourceOwner :: Lens' GetResourceShares ResourceOwner
- getResourceSharesResponse_nextToken :: Lens' GetResourceSharesResponse (Maybe Text)
- getResourceSharesResponse_resourceShares :: Lens' GetResourceSharesResponse (Maybe [ResourceShare])
- getResourceSharesResponse_httpStatus :: Lens' GetResourceSharesResponse Int
- listPendingInvitationResources_maxResults :: Lens' ListPendingInvitationResources (Maybe Natural)
- listPendingInvitationResources_nextToken :: Lens' ListPendingInvitationResources (Maybe Text)
- listPendingInvitationResources_resourceRegionScope :: Lens' ListPendingInvitationResources (Maybe ResourceRegionScopeFilter)
- listPendingInvitationResources_resourceShareInvitationArn :: Lens' ListPendingInvitationResources Text
- listPendingInvitationResourcesResponse_nextToken :: Lens' ListPendingInvitationResourcesResponse (Maybe Text)
- listPendingInvitationResourcesResponse_resources :: Lens' ListPendingInvitationResourcesResponse (Maybe [Resource])
- listPendingInvitationResourcesResponse_httpStatus :: Lens' ListPendingInvitationResourcesResponse Int
- listPermissionVersions_maxResults :: Lens' ListPermissionVersions (Maybe Natural)
- listPermissionVersions_nextToken :: Lens' ListPermissionVersions (Maybe Text)
- listPermissionVersions_permissionArn :: Lens' ListPermissionVersions Text
- listPermissionVersionsResponse_nextToken :: Lens' ListPermissionVersionsResponse (Maybe Text)
- listPermissionVersionsResponse_permissions :: Lens' ListPermissionVersionsResponse (Maybe [ResourceSharePermissionSummary])
- listPermissionVersionsResponse_httpStatus :: Lens' ListPermissionVersionsResponse Int
- listPermissions_maxResults :: Lens' ListPermissions (Maybe Natural)
- listPermissions_nextToken :: Lens' ListPermissions (Maybe Text)
- listPermissions_resourceType :: Lens' ListPermissions (Maybe Text)
- listPermissionsResponse_nextToken :: Lens' ListPermissionsResponse (Maybe Text)
- listPermissionsResponse_permissions :: Lens' ListPermissionsResponse (Maybe [ResourceSharePermissionSummary])
- listPermissionsResponse_httpStatus :: Lens' ListPermissionsResponse Int
- listPrincipals_maxResults :: Lens' ListPrincipals (Maybe Natural)
- listPrincipals_nextToken :: Lens' ListPrincipals (Maybe Text)
- listPrincipals_principals :: Lens' ListPrincipals (Maybe [Text])
- listPrincipals_resourceArn :: Lens' ListPrincipals (Maybe Text)
- listPrincipals_resourceShareArns :: Lens' ListPrincipals (Maybe [Text])
- listPrincipals_resourceType :: Lens' ListPrincipals (Maybe Text)
- listPrincipals_resourceOwner :: Lens' ListPrincipals ResourceOwner
- listPrincipalsResponse_nextToken :: Lens' ListPrincipalsResponse (Maybe Text)
- listPrincipalsResponse_principals :: Lens' ListPrincipalsResponse (Maybe [Principal])
- listPrincipalsResponse_httpStatus :: Lens' ListPrincipalsResponse Int
- listResourceSharePermissions_maxResults :: Lens' ListResourceSharePermissions (Maybe Natural)
- listResourceSharePermissions_nextToken :: Lens' ListResourceSharePermissions (Maybe Text)
- listResourceSharePermissions_resourceShareArn :: Lens' ListResourceSharePermissions Text
- listResourceSharePermissionsResponse_nextToken :: Lens' ListResourceSharePermissionsResponse (Maybe Text)
- listResourceSharePermissionsResponse_permissions :: Lens' ListResourceSharePermissionsResponse (Maybe [ResourceSharePermissionSummary])
- listResourceSharePermissionsResponse_httpStatus :: Lens' ListResourceSharePermissionsResponse Int
- listResourceTypes_maxResults :: Lens' ListResourceTypes (Maybe Natural)
- listResourceTypes_nextToken :: Lens' ListResourceTypes (Maybe Text)
- listResourceTypes_resourceRegionScope :: Lens' ListResourceTypes (Maybe ResourceRegionScopeFilter)
- listResourceTypesResponse_nextToken :: Lens' ListResourceTypesResponse (Maybe Text)
- listResourceTypesResponse_resourceTypes :: Lens' ListResourceTypesResponse (Maybe [ServiceNameAndResourceType])
- listResourceTypesResponse_httpStatus :: Lens' ListResourceTypesResponse Int
- listResources_maxResults :: Lens' ListResources (Maybe Natural)
- listResources_nextToken :: Lens' ListResources (Maybe Text)
- listResources_principal :: Lens' ListResources (Maybe Text)
- listResources_resourceArns :: Lens' ListResources (Maybe [Text])
- listResources_resourceRegionScope :: Lens' ListResources (Maybe ResourceRegionScopeFilter)
- listResources_resourceShareArns :: Lens' ListResources (Maybe [Text])
- listResources_resourceType :: Lens' ListResources (Maybe Text)
- listResources_resourceOwner :: Lens' ListResources ResourceOwner
- listResourcesResponse_nextToken :: Lens' ListResourcesResponse (Maybe Text)
- listResourcesResponse_resources :: Lens' ListResourcesResponse (Maybe [Resource])
- listResourcesResponse_httpStatus :: Lens' ListResourcesResponse Int
- promoteResourceShareCreatedFromPolicy_resourceShareArn :: Lens' PromoteResourceShareCreatedFromPolicy Text
- promoteResourceShareCreatedFromPolicyResponse_returnValue :: Lens' PromoteResourceShareCreatedFromPolicyResponse (Maybe Bool)
- promoteResourceShareCreatedFromPolicyResponse_httpStatus :: Lens' PromoteResourceShareCreatedFromPolicyResponse Int
- rejectResourceShareInvitation_clientToken :: Lens' RejectResourceShareInvitation (Maybe Text)
- rejectResourceShareInvitation_resourceShareInvitationArn :: Lens' RejectResourceShareInvitation Text
- rejectResourceShareInvitationResponse_clientToken :: Lens' RejectResourceShareInvitationResponse (Maybe Text)
- rejectResourceShareInvitationResponse_resourceShareInvitation :: Lens' RejectResourceShareInvitationResponse (Maybe ResourceShareInvitation)
- rejectResourceShareInvitationResponse_httpStatus :: Lens' RejectResourceShareInvitationResponse Int
- tagResource_resourceShareArn :: Lens' TagResource Text
- tagResource_tags :: Lens' TagResource [Tag]
- tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
- untagResource_resourceShareArn :: Lens' UntagResource Text
- untagResource_tagKeys :: Lens' UntagResource [Text]
- untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
- updateResourceShare_allowExternalPrincipals :: Lens' UpdateResourceShare (Maybe Bool)
- updateResourceShare_clientToken :: Lens' UpdateResourceShare (Maybe Text)
- updateResourceShare_name :: Lens' UpdateResourceShare (Maybe Text)
- updateResourceShare_resourceShareArn :: Lens' UpdateResourceShare Text
- updateResourceShareResponse_clientToken :: Lens' UpdateResourceShareResponse (Maybe Text)
- updateResourceShareResponse_resourceShare :: Lens' UpdateResourceShareResponse (Maybe ResourceShare)
- updateResourceShareResponse_httpStatus :: Lens' UpdateResourceShareResponse Int
- principal_creationTime :: Lens' Principal (Maybe UTCTime)
- principal_external :: Lens' Principal (Maybe Bool)
- principal_id :: Lens' Principal (Maybe Text)
- principal_lastUpdatedTime :: Lens' Principal (Maybe UTCTime)
- principal_resourceShareArn :: Lens' Principal (Maybe Text)
- resource_arn :: Lens' Resource (Maybe Text)
- resource_creationTime :: Lens' Resource (Maybe UTCTime)
- resource_lastUpdatedTime :: Lens' Resource (Maybe UTCTime)
- resource_resourceGroupArn :: Lens' Resource (Maybe Text)
- resource_resourceRegionScope :: Lens' Resource (Maybe ResourceRegionScope)
- resource_resourceShareArn :: Lens' Resource (Maybe Text)
- resource_status :: Lens' Resource (Maybe ResourceStatus)
- resource_statusMessage :: Lens' Resource (Maybe Text)
- resource_type :: Lens' Resource (Maybe Text)
- resourceShare_allowExternalPrincipals :: Lens' ResourceShare (Maybe Bool)
- resourceShare_creationTime :: Lens' ResourceShare (Maybe UTCTime)
- resourceShare_featureSet :: Lens' ResourceShare (Maybe ResourceShareFeatureSet)
- resourceShare_lastUpdatedTime :: Lens' ResourceShare (Maybe UTCTime)
- resourceShare_name :: Lens' ResourceShare (Maybe Text)
- resourceShare_owningAccountId :: Lens' ResourceShare (Maybe Text)
- resourceShare_resourceShareArn :: Lens' ResourceShare (Maybe Text)
- resourceShare_status :: Lens' ResourceShare (Maybe ResourceShareStatus)
- resourceShare_statusMessage :: Lens' ResourceShare (Maybe Text)
- resourceShare_tags :: Lens' ResourceShare (Maybe [Tag])
- resourceShareAssociation_associatedEntity :: Lens' ResourceShareAssociation (Maybe Text)
- resourceShareAssociation_associationType :: Lens' ResourceShareAssociation (Maybe ResourceShareAssociationType)
- resourceShareAssociation_creationTime :: Lens' ResourceShareAssociation (Maybe UTCTime)
- resourceShareAssociation_external :: Lens' ResourceShareAssociation (Maybe Bool)
- resourceShareAssociation_lastUpdatedTime :: Lens' ResourceShareAssociation (Maybe UTCTime)
- resourceShareAssociation_resourceShareArn :: Lens' ResourceShareAssociation (Maybe Text)
- resourceShareAssociation_resourceShareName :: Lens' ResourceShareAssociation (Maybe Text)
- resourceShareAssociation_status :: Lens' ResourceShareAssociation (Maybe ResourceShareAssociationStatus)
- resourceShareAssociation_statusMessage :: Lens' ResourceShareAssociation (Maybe Text)
- resourceShareInvitation_invitationTimestamp :: Lens' ResourceShareInvitation (Maybe UTCTime)
- resourceShareInvitation_receiverAccountId :: Lens' ResourceShareInvitation (Maybe Text)
- resourceShareInvitation_receiverArn :: Lens' ResourceShareInvitation (Maybe Text)
- resourceShareInvitation_resourceShareArn :: Lens' ResourceShareInvitation (Maybe Text)
- resourceShareInvitation_resourceShareAssociations :: Lens' ResourceShareInvitation (Maybe [ResourceShareAssociation])
- resourceShareInvitation_resourceShareInvitationArn :: Lens' ResourceShareInvitation (Maybe Text)
- resourceShareInvitation_resourceShareName :: Lens' ResourceShareInvitation (Maybe Text)
- resourceShareInvitation_senderAccountId :: Lens' ResourceShareInvitation (Maybe Text)
- resourceShareInvitation_status :: Lens' ResourceShareInvitation (Maybe ResourceShareInvitationStatus)
- resourceSharePermissionDetail_arn :: Lens' ResourceSharePermissionDetail (Maybe Text)
- resourceSharePermissionDetail_creationTime :: Lens' ResourceSharePermissionDetail (Maybe UTCTime)
- resourceSharePermissionDetail_defaultVersion :: Lens' ResourceSharePermissionDetail (Maybe Bool)
- resourceSharePermissionDetail_isResourceTypeDefault :: Lens' ResourceSharePermissionDetail (Maybe Bool)
- resourceSharePermissionDetail_lastUpdatedTime :: Lens' ResourceSharePermissionDetail (Maybe UTCTime)
- resourceSharePermissionDetail_name :: Lens' ResourceSharePermissionDetail (Maybe Text)
- resourceSharePermissionDetail_permission :: Lens' ResourceSharePermissionDetail (Maybe Text)
- resourceSharePermissionDetail_resourceType :: Lens' ResourceSharePermissionDetail (Maybe Text)
- resourceSharePermissionDetail_version :: Lens' ResourceSharePermissionDetail (Maybe Text)
- resourceSharePermissionSummary_arn :: Lens' ResourceSharePermissionSummary (Maybe Text)
- resourceSharePermissionSummary_creationTime :: Lens' ResourceSharePermissionSummary (Maybe UTCTime)
- resourceSharePermissionSummary_defaultVersion :: Lens' ResourceSharePermissionSummary (Maybe Bool)
- resourceSharePermissionSummary_isResourceTypeDefault :: Lens' ResourceSharePermissionSummary (Maybe Bool)
- resourceSharePermissionSummary_lastUpdatedTime :: Lens' ResourceSharePermissionSummary (Maybe UTCTime)
- resourceSharePermissionSummary_name :: Lens' ResourceSharePermissionSummary (Maybe Text)
- resourceSharePermissionSummary_resourceType :: Lens' ResourceSharePermissionSummary (Maybe Text)
- resourceSharePermissionSummary_status :: Lens' ResourceSharePermissionSummary (Maybe Text)
- resourceSharePermissionSummary_version :: Lens' ResourceSharePermissionSummary (Maybe Text)
- serviceNameAndResourceType_resourceRegionScope :: Lens' ServiceNameAndResourceType (Maybe ResourceRegionScope)
- serviceNameAndResourceType_resourceType :: Lens' ServiceNameAndResourceType (Maybe Text)
- serviceNameAndResourceType_serviceName :: Lens' ServiceNameAndResourceType (Maybe Text)
- tag_key :: Lens' Tag (Maybe Text)
- tag_value :: Lens' Tag (Maybe Text)
- tagFilter_tagKey :: Lens' TagFilter (Maybe Text)
- tagFilter_tagValues :: Lens' TagFilter (Maybe [Text])
Operations
AcceptResourceShareInvitation
acceptResourceShareInvitation_clientToken :: Lens' AcceptResourceShareInvitation (Maybe Text) Source #
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
acceptResourceShareInvitation_resourceShareInvitationArn :: Lens' AcceptResourceShareInvitation Text Source #
The Amazon Resoure Name (ARN) of the invitation that you want to accept.
acceptResourceShareInvitationResponse_clientToken :: Lens' AcceptResourceShareInvitationResponse (Maybe Text) Source #
The idempotency identifier associated with this request. If you want to
repeat the same operation in an idempotent manner then you must include
this value in the clientToken
request parameter of that later call.
All other parameters must also have the same values that you used in the
first call.
acceptResourceShareInvitationResponse_resourceShareInvitation :: Lens' AcceptResourceShareInvitationResponse (Maybe ResourceShareInvitation) Source #
An object that contains information about the specified invitation.
acceptResourceShareInvitationResponse_httpStatus :: Lens' AcceptResourceShareInvitationResponse Int Source #
The response's http status code.
AssociateResourceShare
associateResourceShare_clientToken :: Lens' AssociateResourceShare (Maybe Text) Source #
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
associateResourceShare_principals :: Lens' AssociateResourceShare (Maybe [Text]) Source #
Specifies a list of principals to whom you want to the resource share.
This can be null
if you want to add only resources.
What the principals can do with the resources in the share is determined by the RAM permissions that you associate with the resource share. See AssociateResourceSharePermission.
You can include the following values:
- An Amazon Web Services account ID, for example:
123456789012
- An
Amazon Resoure Name (ARN)
of an organization in Organizations, for example:
organizations::123456789012:organization/o-exampleorgid
- An ARN of an organizational unit (OU) in Organizations, for example:
organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123
- An ARN of an IAM role, for example:
iam::123456789012:role/rolename
- An ARN of an IAM user, for example:
iam::123456789012user/username
Not all resource types can be shared with IAM roles and users. For more information, see Sharing with IAM roles and users in the Resource Access Manager User Guide.
associateResourceShare_resourceArns :: Lens' AssociateResourceShare (Maybe [Text]) Source #
Specifies a list of
Amazon Resource Names (ARNs)
of the resources that you want to share. This can be null
if you want
to add only principals.
associateResourceShare_resourceShareArn :: Lens' AssociateResourceShare Text Source #
Specifies the Amazon Resoure Name (ARN) of the resource share that you want to add principals or resources to.
associateResourceShareResponse_clientToken :: Lens' AssociateResourceShareResponse (Maybe Text) Source #
The idempotency identifier associated with this request. If you want to
repeat the same operation in an idempotent manner then you must include
this value in the clientToken
request parameter of that later call.
All other parameters must also have the same values that you used in the
first call.
associateResourceShareResponse_resourceShareAssociations :: Lens' AssociateResourceShareResponse (Maybe [ResourceShareAssociation]) Source #
An array of objects that contain information about the associations.
associateResourceShareResponse_httpStatus :: Lens' AssociateResourceShareResponse Int Source #
The response's http status code.
AssociateResourceSharePermission
associateResourceSharePermission_clientToken :: Lens' AssociateResourceSharePermission (Maybe Text) Source #
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
associateResourceSharePermission_permissionVersion :: Lens' AssociateResourceSharePermission (Maybe Int) Source #
Specifies the version of the RAM permission to associate with the resource share. If you don't specify this parameter, the operation uses the version designated as the default. You can use the ListPermissionVersions operation to discover the available versions of a permission.
associateResourceSharePermission_replace :: Lens' AssociateResourceSharePermission (Maybe Bool) Source #
Specifies whether the specified permission should replace or add to the
existing permission associated with the resource share. Use true
to
replace the current permissions. Use false
to add the permission to
the current permission. The default value is false
.
A resource share can have only one permission per resource type. If a
resource share already has a permission for the specified resource type
and you don't set replace
to true
then the operation returns an
error. This helps prevent accidental overwriting of a permission.
associateResourceSharePermission_resourceShareArn :: Lens' AssociateResourceSharePermission Text Source #
Specifies the Amazon Resoure Name (ARN) of the resource share to which you want to add or replace permissions.
associateResourceSharePermission_permissionArn :: Lens' AssociateResourceSharePermission Text Source #
Specifies the Amazon Resoure Name (ARN) of the RAM permission to associate with the resource share. To find the ARN for a permission, use either the ListPermissions operation or go to the Permissions library page in the RAM console and then choose the name of the permission. The ARN is displayed on the detail page.
associateResourceSharePermissionResponse_clientToken :: Lens' AssociateResourceSharePermissionResponse (Maybe Text) Source #
The idempotency identifier associated with this request. If you want to
repeat the same operation in an idempotent manner then you must include
this value in the clientToken
request parameter of that later call.
All other parameters must also have the same values that you used in the
first call.
associateResourceSharePermissionResponse_returnValue :: Lens' AssociateResourceSharePermissionResponse (Maybe Bool) Source #
A return value of true
indicates that the request succeeded. A value
of false
indicates that the request failed.
associateResourceSharePermissionResponse_httpStatus :: Lens' AssociateResourceSharePermissionResponse Int Source #
The response's http status code.
CreateResourceShare
createResourceShare_allowExternalPrincipals :: Lens' CreateResourceShare (Maybe Bool) Source #
Specifies whether principals outside your organization in Organizations
can be associated with a resource share. A value of true
lets you
share with individual Amazon Web Services accounts that are not in
your organization. A value of false
only has meaning if your account
is a member of an Amazon Web Services Organization. The default value is
true
.
createResourceShare_clientToken :: Lens' CreateResourceShare (Maybe Text) Source #
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
createResourceShare_permissionArns :: Lens' CreateResourceShare (Maybe [Text]) Source #
Specifies the Amazon Resource Names (ARNs) of the RAM permission to associate with the resource share. If you do not specify an ARN for the permission, RAM automatically attaches the default version of the permission for each resource type. You can associate only one permission with each resource type included in the resource share.
createResourceShare_principals :: Lens' CreateResourceShare (Maybe [Text]) Source #
Specifies a list of one or more principals to associate with the resource share.
You can include the following values:
- An Amazon Web Services account ID, for example:
123456789012
- An
Amazon Resoure Name (ARN)
of an organization in Organizations, for example:
organizations::123456789012:organization/o-exampleorgid
- An ARN of an organizational unit (OU) in Organizations, for example:
organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123
- An ARN of an IAM role, for example:
iam::123456789012:role/rolename
- An ARN of an IAM user, for example:
iam::123456789012user/username
Not all resource types can be shared with IAM roles and users. For more information, see Sharing with IAM roles and users in the Resource Access Manager User Guide.
createResourceShare_resourceArns :: Lens' CreateResourceShare (Maybe [Text]) Source #
Specifies a list of one or more ARNs of the resources to associate with the resource share.
createResourceShare_tags :: Lens' CreateResourceShare (Maybe [Tag]) Source #
Specifies one or more tags to attach to the resource share itself. It doesn't attach the tags to the resources associated with the resource share.
createResourceShare_name :: Lens' CreateResourceShare Text Source #
Specifies the name of the resource share.
createResourceShareResponse_clientToken :: Lens' CreateResourceShareResponse (Maybe Text) Source #
The idempotency identifier associated with this request. If you want to
repeat the same operation in an idempotent manner then you must include
this value in the clientToken
request parameter of that later call.
All other parameters must also have the same values that you used in the
first call.
createResourceShareResponse_resourceShare :: Lens' CreateResourceShareResponse (Maybe ResourceShare) Source #
An object with information about the new resource share.
createResourceShareResponse_httpStatus :: Lens' CreateResourceShareResponse Int Source #
The response's http status code.
DeleteResourceShare
deleteResourceShare_clientToken :: Lens' DeleteResourceShare (Maybe Text) Source #
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
deleteResourceShare_resourceShareArn :: Lens' DeleteResourceShare Text Source #
Specifies the Amazon Resoure Name (ARN) of the resource share to delete.
deleteResourceShareResponse_clientToken :: Lens' DeleteResourceShareResponse (Maybe Text) Source #
The idempotency identifier associated with this request. If you want to
repeat the same operation in an idempotent manner then you must include
this value in the clientToken
request parameter of that later call.
All other parameters must also have the same values that you used in the
first call.
deleteResourceShareResponse_returnValue :: Lens' DeleteResourceShareResponse (Maybe Bool) Source #
A return value of true
indicates that the request succeeded. A value
of false
indicates that the request failed.
deleteResourceShareResponse_httpStatus :: Lens' DeleteResourceShareResponse Int Source #
The response's http status code.
DisassociateResourceShare
disassociateResourceShare_clientToken :: Lens' DisassociateResourceShare (Maybe Text) Source #
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
disassociateResourceShare_principals :: Lens' DisassociateResourceShare (Maybe [Text]) Source #
Specifies a list of one or more principals that no longer are to have access to the resources in this resource share.
You can include the following values:
- An Amazon Web Services account ID, for example:
123456789012
- An
Amazon Resoure Name (ARN)
of an organization in Organizations, for example:
organizations::123456789012:organization/o-exampleorgid
- An ARN of an organizational unit (OU) in Organizations, for example:
organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123
- An ARN of an IAM role, for example:
iam::123456789012:role/rolename
- An ARN of an IAM user, for example:
iam::123456789012user/username
Not all resource types can be shared with IAM roles and users. For more information, see Sharing with IAM roles and users in the Resource Access Manager User Guide.
disassociateResourceShare_resourceArns :: Lens' DisassociateResourceShare (Maybe [Text]) Source #
Specifies a list of Amazon Resource Names (ARNs) for one or more resources that you want to remove from the resource share. After the operation runs, these resources are no longer shared with principals outside of the Amazon Web Services account that created the resources.
disassociateResourceShare_resourceShareArn :: Lens' DisassociateResourceShare Text Source #
Specifies Amazon Resoure Name (ARN) of the resource share that you want to remove resources from.
disassociateResourceShareResponse_clientToken :: Lens' DisassociateResourceShareResponse (Maybe Text) Source #
The idempotency identifier associated with this request. If you want to
repeat the same operation in an idempotent manner then you must include
this value in the clientToken
request parameter of that later call.
All other parameters must also have the same values that you used in the
first call.
disassociateResourceShareResponse_resourceShareAssociations :: Lens' DisassociateResourceShareResponse (Maybe [ResourceShareAssociation]) Source #
An array of objects that contain information about the updated associations for this resource share.
disassociateResourceShareResponse_httpStatus :: Lens' DisassociateResourceShareResponse Int Source #
The response's http status code.
DisassociateResourceSharePermission
disassociateResourceSharePermission_clientToken :: Lens' DisassociateResourceSharePermission (Maybe Text) Source #
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
disassociateResourceSharePermission_resourceShareArn :: Lens' DisassociateResourceSharePermission Text Source #
The Amazon Resoure Name (ARN) of the resource share from which you want to disassociate a permission.
disassociateResourceSharePermission_permissionArn :: Lens' DisassociateResourceSharePermission Text Source #
The Amazon Resoure Name (ARN) of the permission to disassociate from the resource share. Changes to permissions take effect immediately.
disassociateResourceSharePermissionResponse_clientToken :: Lens' DisassociateResourceSharePermissionResponse (Maybe Text) Source #
The idempotency identifier associated with this request. If you want to
repeat the same operation in an idempotent manner then you must include
this value in the clientToken
request parameter of that later call.
All other parameters must also have the same values that you used in the
first call.
disassociateResourceSharePermissionResponse_returnValue :: Lens' DisassociateResourceSharePermissionResponse (Maybe Bool) Source #
A return value of true
indicates that the request succeeded. A value
of false
indicates that the request failed.
disassociateResourceSharePermissionResponse_httpStatus :: Lens' DisassociateResourceSharePermissionResponse Int Source #
The response's http status code.
EnableSharingWithAwsOrganization
enableSharingWithAwsOrganizationResponse_returnValue :: Lens' EnableSharingWithAwsOrganizationResponse (Maybe Bool) Source #
A return value of true
indicates that the request succeeded. A value
of false
indicates that the request failed.
enableSharingWithAwsOrganizationResponse_httpStatus :: Lens' EnableSharingWithAwsOrganizationResponse Int Source #
The response's http status code.
GetPermission
getPermission_permissionVersion :: Lens' GetPermission (Maybe Int) Source #
Specifies identifier for the version of the RAM permission to retrieve. If you don't specify this parameter, the operation retrieves the default version.
getPermission_permissionArn :: Lens' GetPermission Text Source #
Specifies the Amazon Resoure Name (ARN) of the permission whose contents you want to retrieve. To find the ARN for a permission, use either the ListPermissions operation or go to the Permissions library page in the RAM console and then choose the name of the permission. The ARN is displayed on the detail page.
getPermissionResponse_permission :: Lens' GetPermissionResponse (Maybe ResourceSharePermissionDetail) Source #
An object that contains information about the permission.
getPermissionResponse_httpStatus :: Lens' GetPermissionResponse Int Source #
The response's http status code.
GetResourcePolicies
getResourcePolicies_maxResults :: Lens' GetResourcePolicies (Maybe Natural) Source #
Specifies the total number of results that you want included on each
page of the response. If you do not include this parameter, it defaults
to a value that is specific to the operation. If additional items exist
beyond the number you specify, the NextToken
response element is
returned with a value (not null). Include the specified value as the
NextToken
request parameter in the next call to the operation to get
the next part of the results. Note that the service might return fewer
results than the maximum even when there are more results available. You
should check NextToken
after every operation to ensure that you
receive all of the results.
getResourcePolicies_nextToken :: Lens' GetResourcePolicies (Maybe Text) Source #
Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
getResourcePolicies_principal :: Lens' GetResourcePolicies (Maybe Text) Source #
Specifies the principal.
getResourcePolicies_resourceArns :: Lens' GetResourcePolicies [Text] Source #
Specifies the Amazon Resource Names (ARNs) of the resources whose policies you want to retrieve.
getResourcePoliciesResponse_nextToken :: Lens' GetResourcePoliciesResponse (Maybe Text) Source #
If present, this value indicates that more output is available than is
included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next
part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the
last page of results.
getResourcePoliciesResponse_policies :: Lens' GetResourcePoliciesResponse (Maybe [Text]) Source #
An array of resource policy documents in JSON format.
getResourcePoliciesResponse_httpStatus :: Lens' GetResourcePoliciesResponse Int Source #
The response's http status code.
GetResourceShareAssociations
getResourceShareAssociations_associationStatus :: Lens' GetResourceShareAssociations (Maybe ResourceShareAssociationStatus) Source #
Specifies that you want to retrieve only associations with this status.
getResourceShareAssociations_maxResults :: Lens' GetResourceShareAssociations (Maybe Natural) Source #
Specifies the total number of results that you want included on each
page of the response. If you do not include this parameter, it defaults
to a value that is specific to the operation. If additional items exist
beyond the number you specify, the NextToken
response element is
returned with a value (not null). Include the specified value as the
NextToken
request parameter in the next call to the operation to get
the next part of the results. Note that the service might return fewer
results than the maximum even when there are more results available. You
should check NextToken
after every operation to ensure that you
receive all of the results.
getResourceShareAssociations_nextToken :: Lens' GetResourceShareAssociations (Maybe Text) Source #
Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
getResourceShareAssociations_principal :: Lens' GetResourceShareAssociations (Maybe Text) Source #
Specifies the ID of the principal whose resource shares you want to retrieve. This can be an Amazon Web Services account ID, an organization ID, an organizational unit ID, or the Amazon Resoure Name (ARN) of an individual IAM user or role.
You cannot specify this parameter if the association type is RESOURCE
.
getResourceShareAssociations_resourceArn :: Lens' GetResourceShareAssociations (Maybe Text) Source #
Specifies the Amazon Resoure Name (ARN) of the resource whose resource shares you want to retrieve.
You cannot specify this parameter if the association type is
PRINCIPAL
.
getResourceShareAssociations_resourceShareArns :: Lens' GetResourceShareAssociations (Maybe [Text]) Source #
Specifies a list of Amazon Resource Names (ARNs) of the resource share whose associations you want to retrieve.
getResourceShareAssociations_associationType :: Lens' GetResourceShareAssociations ResourceShareAssociationType Source #
Specifies whether you want to retrieve the associations that involve a specified resource or principal.
PRINCIPAL
– list the principals that are associated with the specified resource share.RESOURCE
– list the resources that are associated with the specified resource share.
getResourceShareAssociationsResponse_nextToken :: Lens' GetResourceShareAssociationsResponse (Maybe Text) Source #
If present, this value indicates that more output is available than is
included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next
part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the
last page of results.
getResourceShareAssociationsResponse_resourceShareAssociations :: Lens' GetResourceShareAssociationsResponse (Maybe [ResourceShareAssociation]) Source #
An array of objects that contain the details about the associations.
getResourceShareAssociationsResponse_httpStatus :: Lens' GetResourceShareAssociationsResponse Int Source #
The response's http status code.
GetResourceShareInvitations
getResourceShareInvitations_maxResults :: Lens' GetResourceShareInvitations (Maybe Natural) Source #
Specifies the total number of results that you want included on each
page of the response. If you do not include this parameter, it defaults
to a value that is specific to the operation. If additional items exist
beyond the number you specify, the NextToken
response element is
returned with a value (not null). Include the specified value as the
NextToken
request parameter in the next call to the operation to get
the next part of the results. Note that the service might return fewer
results than the maximum even when there are more results available. You
should check NextToken
after every operation to ensure that you
receive all of the results.
getResourceShareInvitations_nextToken :: Lens' GetResourceShareInvitations (Maybe Text) Source #
Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
getResourceShareInvitations_resourceShareArns :: Lens' GetResourceShareInvitations (Maybe [Text]) Source #
Specifies that you want details about invitations only for the resource shares described by this list of Amazon Resource Names (ARNs)
getResourceShareInvitations_resourceShareInvitationArns :: Lens' GetResourceShareInvitations (Maybe [Text]) Source #
Specifies the Amazon Resource Names (ARNs) of the resource share invitations you want information about.
getResourceShareInvitationsResponse_nextToken :: Lens' GetResourceShareInvitationsResponse (Maybe Text) Source #
If present, this value indicates that more output is available than is
included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next
part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the
last page of results.
getResourceShareInvitationsResponse_resourceShareInvitations :: Lens' GetResourceShareInvitationsResponse (Maybe [ResourceShareInvitation]) Source #
An array of objects that contain the details about the invitations.
getResourceShareInvitationsResponse_httpStatus :: Lens' GetResourceShareInvitationsResponse Int Source #
The response's http status code.
GetResourceShares
getResourceShares_maxResults :: Lens' GetResourceShares (Maybe Natural) Source #
Specifies the total number of results that you want included on each
page of the response. If you do not include this parameter, it defaults
to a value that is specific to the operation. If additional items exist
beyond the number you specify, the NextToken
response element is
returned with a value (not null). Include the specified value as the
NextToken
request parameter in the next call to the operation to get
the next part of the results. Note that the service might return fewer
results than the maximum even when there are more results available. You
should check NextToken
after every operation to ensure that you
receive all of the results.
getResourceShares_name :: Lens' GetResourceShares (Maybe Text) Source #
Specifies the name of an individual resource share that you want to retrieve details about.
getResourceShares_nextToken :: Lens' GetResourceShares (Maybe Text) Source #
Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
getResourceShares_permissionArn :: Lens' GetResourceShares (Maybe Text) Source #
Specifies that you want to retrieve details of only those resource shares that use the RAM permission with this Amazon Resoure Name (ARN).
getResourceShares_resourceShareArns :: Lens' GetResourceShares (Maybe [Text]) Source #
Specifies the Amazon Resource Names (ARNs) of individual resource shares that you want information about.
getResourceShares_resourceShareStatus :: Lens' GetResourceShares (Maybe ResourceShareStatus) Source #
Specifies that you want to retrieve details of only those resource shares that have this status.
getResourceShares_tagFilters :: Lens' GetResourceShares (Maybe [TagFilter]) Source #
Specifies that you want to retrieve details of only those resource shares that match the specified tag keys and values.
getResourceShares_resourceOwner :: Lens' GetResourceShares ResourceOwner Source #
Specifies that you want to retrieve details of only those resource shares that match the following:
SELF
– resource shares that your account shares with other accountsOTHER-ACCOUNTS
– resource shares that other accounts share with your account
getResourceSharesResponse_nextToken :: Lens' GetResourceSharesResponse (Maybe Text) Source #
If present, this value indicates that more output is available than is
included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next
part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the
last page of results.
getResourceSharesResponse_resourceShares :: Lens' GetResourceSharesResponse (Maybe [ResourceShare]) Source #
An array of objects that contain the information about the resource shares.
getResourceSharesResponse_httpStatus :: Lens' GetResourceSharesResponse Int Source #
The response's http status code.
ListPendingInvitationResources
listPendingInvitationResources_maxResults :: Lens' ListPendingInvitationResources (Maybe Natural) Source #
Specifies the total number of results that you want included on each
page of the response. If you do not include this parameter, it defaults
to a value that is specific to the operation. If additional items exist
beyond the number you specify, the NextToken
response element is
returned with a value (not null). Include the specified value as the
NextToken
request parameter in the next call to the operation to get
the next part of the results. Note that the service might return fewer
results than the maximum even when there are more results available. You
should check NextToken
after every operation to ensure that you
receive all of the results.
listPendingInvitationResources_nextToken :: Lens' ListPendingInvitationResources (Maybe Text) Source #
Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
listPendingInvitationResources_resourceRegionScope :: Lens' ListPendingInvitationResources (Maybe ResourceRegionScopeFilter) Source #
Specifies that you want the results to include only resources that have the specified scope.
ALL
– the results include both global and regional resources or resource types.GLOBAL
– the results include only global resources or resource types.REGIONAL
– the results include only regional resources or resource types.
The default value is ALL
.
listPendingInvitationResources_resourceShareInvitationArn :: Lens' ListPendingInvitationResources Text Source #
Specifies the Amazon Resoure Name (ARN) of the invitation. You can use GetResourceShareInvitations to find the ARN of the invitation.
listPendingInvitationResourcesResponse_nextToken :: Lens' ListPendingInvitationResourcesResponse (Maybe Text) Source #
If present, this value indicates that more output is available than is
included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next
part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the
last page of results.
listPendingInvitationResourcesResponse_resources :: Lens' ListPendingInvitationResourcesResponse (Maybe [Resource]) Source #
An array of objects that contain the information about the resources included the specified resource share.
listPendingInvitationResourcesResponse_httpStatus :: Lens' ListPendingInvitationResourcesResponse Int Source #
The response's http status code.
ListPermissionVersions
listPermissionVersions_maxResults :: Lens' ListPermissionVersions (Maybe Natural) Source #
Specifies the total number of results that you want included on each
page of the response. If you do not include this parameter, it defaults
to a value that is specific to the operation. If additional items exist
beyond the number you specify, the NextToken
response element is
returned with a value (not null). Include the specified value as the
NextToken
request parameter in the next call to the operation to get
the next part of the results. Note that the service might return fewer
results than the maximum even when there are more results available. You
should check NextToken
after every operation to ensure that you
receive all of the results.
listPermissionVersions_nextToken :: Lens' ListPermissionVersions (Maybe Text) Source #
Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
listPermissionVersions_permissionArn :: Lens' ListPermissionVersions Text Source #
Specifies the
Amazon Resoure Name (ARN)
of the RAM permission whose versions you want to list. You can use the
permissionVersion
parameter on the AssociateResourceSharePermission
operation to specify a non-default version to attach.
listPermissionVersionsResponse_nextToken :: Lens' ListPermissionVersionsResponse (Maybe Text) Source #
If present, this value indicates that more output is available than is
included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next
part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the
last page of results.
listPermissionVersionsResponse_permissions :: Lens' ListPermissionVersionsResponse (Maybe [ResourceSharePermissionSummary]) Source #
An array of objects that contain details for each of the available versions.
listPermissionVersionsResponse_httpStatus :: Lens' ListPermissionVersionsResponse Int Source #
The response's http status code.
ListPermissions
listPermissions_maxResults :: Lens' ListPermissions (Maybe Natural) Source #
Specifies the total number of results that you want included on each
page of the response. If you do not include this parameter, it defaults
to a value that is specific to the operation. If additional items exist
beyond the number you specify, the NextToken
response element is
returned with a value (not null). Include the specified value as the
NextToken
request parameter in the next call to the operation to get
the next part of the results. Note that the service might return fewer
results than the maximum even when there are more results available. You
should check NextToken
after every operation to ensure that you
receive all of the results.
listPermissions_nextToken :: Lens' ListPermissions (Maybe Text) Source #
Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
listPermissions_resourceType :: Lens' ListPermissions (Maybe Text) Source #
Specifies that you want to list permissions for only the specified
resource type. For example, to list only permissions that apply to EC2
subnets, specify ec2:Subnet
. You can use the ListResourceTypes
operation to get the specific string required.
listPermissionsResponse_nextToken :: Lens' ListPermissionsResponse (Maybe Text) Source #
If present, this value indicates that more output is available than is
included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next
part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the
last page of results.
listPermissionsResponse_permissions :: Lens' ListPermissionsResponse (Maybe [ResourceSharePermissionSummary]) Source #
An array of objects with information about the permissions.
listPermissionsResponse_httpStatus :: Lens' ListPermissionsResponse Int Source #
The response's http status code.
ListPrincipals
listPrincipals_maxResults :: Lens' ListPrincipals (Maybe Natural) Source #
Specifies the total number of results that you want included on each
page of the response. If you do not include this parameter, it defaults
to a value that is specific to the operation. If additional items exist
beyond the number you specify, the NextToken
response element is
returned with a value (not null). Include the specified value as the
NextToken
request parameter in the next call to the operation to get
the next part of the results. Note that the service might return fewer
results than the maximum even when there are more results available. You
should check NextToken
after every operation to ensure that you
receive all of the results.
listPrincipals_nextToken :: Lens' ListPrincipals (Maybe Text) Source #
Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
listPrincipals_principals :: Lens' ListPrincipals (Maybe [Text]) Source #
Specifies that you want to list information for only the listed principals.
You can include the following values:
- An Amazon Web Services account ID, for example:
123456789012
- An
Amazon Resoure Name (ARN)
of an organization in Organizations, for example:
organizations::123456789012:organization/o-exampleorgid
- An ARN of an organizational unit (OU) in Organizations, for example:
organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123
- An ARN of an IAM role, for example:
iam::123456789012:role/rolename
- An ARN of an IAM user, for example:
iam::123456789012user/username
Not all resource types can be shared with IAM roles and users. For more information, see Sharing with IAM roles and users in the Resource Access Manager User Guide.
listPrincipals_resourceArn :: Lens' ListPrincipals (Maybe Text) Source #
Specifies that you want to list principal information for the resource share with the specified Amazon Resoure Name (ARN).
listPrincipals_resourceShareArns :: Lens' ListPrincipals (Maybe [Text]) Source #
Specifies that you want to list information for only principals associated with the resource shares specified by a list the Amazon Resource Names (ARNs).
listPrincipals_resourceType :: Lens' ListPrincipals (Maybe Text) Source #
Specifies that you want to list information for only principals associated with resource shares that include the specified resource type.
For a list of valid values, query the ListResourceTypes operation.
listPrincipals_resourceOwner :: Lens' ListPrincipals ResourceOwner Source #
Specifies that you want to list information for only resource shares that match the following:
SELF
– principals that your account is sharing resources withOTHER-ACCOUNTS
– principals that are sharing resources with your account
listPrincipalsResponse_nextToken :: Lens' ListPrincipalsResponse (Maybe Text) Source #
If present, this value indicates that more output is available than is
included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next
part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the
last page of results.
listPrincipalsResponse_principals :: Lens' ListPrincipalsResponse (Maybe [Principal]) Source #
An array of objects that contain the details about the principals.
listPrincipalsResponse_httpStatus :: Lens' ListPrincipalsResponse Int Source #
The response's http status code.
ListResourceSharePermissions
listResourceSharePermissions_maxResults :: Lens' ListResourceSharePermissions (Maybe Natural) Source #
Specifies the total number of results that you want included on each
page of the response. If you do not include this parameter, it defaults
to a value that is specific to the operation. If additional items exist
beyond the number you specify, the NextToken
response element is
returned with a value (not null). Include the specified value as the
NextToken
request parameter in the next call to the operation to get
the next part of the results. Note that the service might return fewer
results than the maximum even when there are more results available. You
should check NextToken
after every operation to ensure that you
receive all of the results.
listResourceSharePermissions_nextToken :: Lens' ListResourceSharePermissions (Maybe Text) Source #
Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
listResourceSharePermissions_resourceShareArn :: Lens' ListResourceSharePermissions Text Source #
Specifies the Amazon Resoure Name (ARN) of the resource share for which you want to retrieve the associated permissions.
listResourceSharePermissionsResponse_nextToken :: Lens' ListResourceSharePermissionsResponse (Maybe Text) Source #
If present, this value indicates that more output is available than is
included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next
part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the
last page of results.
listResourceSharePermissionsResponse_permissions :: Lens' ListResourceSharePermissionsResponse (Maybe [ResourceSharePermissionSummary]) Source #
An array of objects that describe the permissions associated with the resource share.
listResourceSharePermissionsResponse_httpStatus :: Lens' ListResourceSharePermissionsResponse Int Source #
The response's http status code.
ListResourceTypes
listResourceTypes_maxResults :: Lens' ListResourceTypes (Maybe Natural) Source #
Specifies the total number of results that you want included on each
page of the response. If you do not include this parameter, it defaults
to a value that is specific to the operation. If additional items exist
beyond the number you specify, the NextToken
response element is
returned with a value (not null). Include the specified value as the
NextToken
request parameter in the next call to the operation to get
the next part of the results. Note that the service might return fewer
results than the maximum even when there are more results available. You
should check NextToken
after every operation to ensure that you
receive all of the results.
listResourceTypes_nextToken :: Lens' ListResourceTypes (Maybe Text) Source #
Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
listResourceTypes_resourceRegionScope :: Lens' ListResourceTypes (Maybe ResourceRegionScopeFilter) Source #
Specifies that you want the results to include only resources that have the specified scope.
ALL
– the results include both global and regional resources or resource types.GLOBAL
– the results include only global resources or resource types.REGIONAL
– the results include only regional resources or resource types.
The default value is ALL
.
listResourceTypesResponse_nextToken :: Lens' ListResourceTypesResponse (Maybe Text) Source #
If present, this value indicates that more output is available than is
included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next
part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the
last page of results.
listResourceTypesResponse_resourceTypes :: Lens' ListResourceTypesResponse (Maybe [ServiceNameAndResourceType]) Source #
An array of objects that contain information about the resource types that can be shared using RAM.
listResourceTypesResponse_httpStatus :: Lens' ListResourceTypesResponse Int Source #
The response's http status code.
ListResources
listResources_maxResults :: Lens' ListResources (Maybe Natural) Source #
Specifies the total number of results that you want included on each
page of the response. If you do not include this parameter, it defaults
to a value that is specific to the operation. If additional items exist
beyond the number you specify, the NextToken
response element is
returned with a value (not null). Include the specified value as the
NextToken
request parameter in the next call to the operation to get
the next part of the results. Note that the service might return fewer
results than the maximum even when there are more results available. You
should check NextToken
after every operation to ensure that you
receive all of the results.
listResources_nextToken :: Lens' ListResources (Maybe Text) Source #
Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
listResources_principal :: Lens' ListResources (Maybe Text) Source #
Specifies that you want to list only the resource shares that are associated with the specified principal.
listResources_resourceArns :: Lens' ListResources (Maybe [Text]) Source #
Specifies that you want to list only the resource shares that include resources with the specified Amazon Resource Names (ARNs).
listResources_resourceRegionScope :: Lens' ListResources (Maybe ResourceRegionScopeFilter) Source #
Specifies that you want the results to include only resources that have the specified scope.
ALL
– the results include both global and regional resources or resource types.GLOBAL
– the results include only global resources or resource types.REGIONAL
– the results include only regional resources or resource types.
The default value is ALL
.
listResources_resourceShareArns :: Lens' ListResources (Maybe [Text]) Source #
Specifies that you want to list only resources in the resource shares identified by the specified Amazon Resource Names (ARNs).
listResources_resourceType :: Lens' ListResources (Maybe Text) Source #
Specifies that you want to list only the resource shares that include resources of the specified resource type.
For valid values, query the ListResourceTypes operation.
listResources_resourceOwner :: Lens' ListResources ResourceOwner Source #
Specifies that you want to list only the resource shares that match the following:
SELF
– resources that your account shares with other accountsOTHER-ACCOUNTS
– resources that other accounts share with your account
listResourcesResponse_nextToken :: Lens' ListResourcesResponse (Maybe Text) Source #
If present, this value indicates that more output is available than is
included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next
part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the
last page of results.
listResourcesResponse_resources :: Lens' ListResourcesResponse (Maybe [Resource]) Source #
An array of objects that contain information about the resources.
listResourcesResponse_httpStatus :: Lens' ListResourcesResponse Int Source #
The response's http status code.
PromoteResourceShareCreatedFromPolicy
promoteResourceShareCreatedFromPolicy_resourceShareArn :: Lens' PromoteResourceShareCreatedFromPolicy Text Source #
Specifies the Amazon Resoure Name (ARN) of the resource share to promote.
promoteResourceShareCreatedFromPolicyResponse_returnValue :: Lens' PromoteResourceShareCreatedFromPolicyResponse (Maybe Bool) Source #
A return value of true
indicates that the request succeeded. A value
of false
indicates that the request failed.
promoteResourceShareCreatedFromPolicyResponse_httpStatus :: Lens' PromoteResourceShareCreatedFromPolicyResponse Int Source #
The response's http status code.
RejectResourceShareInvitation
rejectResourceShareInvitation_clientToken :: Lens' RejectResourceShareInvitation (Maybe Text) Source #
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
rejectResourceShareInvitation_resourceShareInvitationArn :: Lens' RejectResourceShareInvitation Text Source #
Specifies the Amazon Resoure Name (ARN) of the invitation that you want to reject.
rejectResourceShareInvitationResponse_clientToken :: Lens' RejectResourceShareInvitationResponse (Maybe Text) Source #
The idempotency identifier associated with this request. If you want to
repeat the same operation in an idempotent manner then you must include
this value in the clientToken
request parameter of that later call.
All other parameters must also have the same values that you used in the
first call.
rejectResourceShareInvitationResponse_resourceShareInvitation :: Lens' RejectResourceShareInvitationResponse (Maybe ResourceShareInvitation) Source #
An object that contains the details about the rejected invitation.
rejectResourceShareInvitationResponse_httpStatus :: Lens' RejectResourceShareInvitationResponse Int Source #
The response's http status code.
TagResource
tagResource_resourceShareArn :: Lens' TagResource Text Source #
Specifies the Amazon Resoure Name (ARN) of the resource share that you want to add tags to.
tagResource_tags :: Lens' TagResource [Tag] Source #
A list of one or more tag key and value pairs. The tag key must be present and not be an empty string. The tag value must be present but can be an empty string.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int Source #
The response's http status code.
UntagResource
untagResource_resourceShareArn :: Lens' UntagResource Text Source #
Specifies the Amazon Resoure Name (ARN) of the resource share that you want to remove tags from. The tags are removed from the resource share, not the resources in the resource share.
untagResource_tagKeys :: Lens' UntagResource [Text] Source #
Specifies a list of one or more tag keys that you want to remove.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int Source #
The response's http status code.
UpdateResourceShare
updateResourceShare_allowExternalPrincipals :: Lens' UpdateResourceShare (Maybe Bool) Source #
Specifies whether principals outside your organization in Organizations can be associated with a resource share.
updateResourceShare_clientToken :: Lens' UpdateResourceShare (Maybe Text) Source #
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
updateResourceShare_name :: Lens' UpdateResourceShare (Maybe Text) Source #
If specified, the new name that you want to attach to the resource share.
updateResourceShare_resourceShareArn :: Lens' UpdateResourceShare Text Source #
Specifies the Amazon Resoure Name (ARN) of the resource share that you want to modify.
updateResourceShareResponse_clientToken :: Lens' UpdateResourceShareResponse (Maybe Text) Source #
The idempotency identifier associated with this request. If you want to
repeat the same operation in an idempotent manner then you must include
this value in the clientToken
request parameter of that later call.
All other parameters must also have the same values that you used in the
first call.
updateResourceShareResponse_resourceShare :: Lens' UpdateResourceShareResponse (Maybe ResourceShare) Source #
Information about the resource share.
updateResourceShareResponse_httpStatus :: Lens' UpdateResourceShareResponse Int Source #
The response's http status code.
Types
Principal
principal_creationTime :: Lens' Principal (Maybe UTCTime) Source #
The date and time when the principal was associated with the resource share.
principal_external :: Lens' Principal (Maybe Bool) Source #
Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.
principal_lastUpdatedTime :: Lens' Principal (Maybe UTCTime) Source #
The date and time when the association was last updated.
principal_resourceShareArn :: Lens' Principal (Maybe Text) Source #
The Amazon Resoure Name (ARN) of a resource share the principal is associated with.
Resource
resource_arn :: Lens' Resource (Maybe Text) Source #
The Amazon Resoure Name (ARN) of the resource.
resource_creationTime :: Lens' Resource (Maybe UTCTime) Source #
The date and time when the resource was associated with the resource share.
resource_lastUpdatedTime :: Lens' Resource (Maybe UTCTime) Source #
The date an time when the association was last updated.
resource_resourceGroupArn :: Lens' Resource (Maybe Text) Source #
The Amazon Resoure Name (ARN) of the resource group. This value is available only if the resource is part of a resource group.
resource_resourceRegionScope :: Lens' Resource (Maybe ResourceRegionScope) Source #
Specifies the scope of visibility of this resource:
- REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
- GLOBAL – The resource can be accessed from any Amazon Web Services Region.
resource_resourceShareArn :: Lens' Resource (Maybe Text) Source #
The Amazon Resoure Name (ARN) of the resource share this resource is associated with.
resource_status :: Lens' Resource (Maybe ResourceStatus) Source #
The current status of the resource.
resource_statusMessage :: Lens' Resource (Maybe Text) Source #
A message about the status of the resource.
resource_type :: Lens' Resource (Maybe Text) Source #
The resource type. This takes the form of:
service-code
:resource-code
ResourceShare
resourceShare_allowExternalPrincipals :: Lens' ResourceShare (Maybe Bool) Source #
Indicates whether principals outside your organization in Organizations can be associated with a resource share.
resourceShare_creationTime :: Lens' ResourceShare (Maybe UTCTime) Source #
The date and time when the resource share was created.
resourceShare_featureSet :: Lens' ResourceShare (Maybe ResourceShareFeatureSet) Source #
Indicates how the resource share was created. Possible values include:
CREATED_FROM_POLICY
- Indicates that the resource share was created from an Identity and Access Management (IAM) resource-based permission policy attached to the resource. This type of resource share is visible only to the Amazon Web Services account that created it. You can't modify it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy.PROMOTING_TO_STANDARD
- The resource share is in the process of being promoted. For more information, see PromoteResourceShareCreatedFromPolicy.STANDARD
- Indicates that the resource share was created in RAM using the console or APIs. These resource shares are visible to all principals you share the resource share with. You can modify these resource shares in RAM using the console or APIs.
resourceShare_lastUpdatedTime :: Lens' ResourceShare (Maybe UTCTime) Source #
The date and time when the resource share was last updated.
resourceShare_name :: Lens' ResourceShare (Maybe Text) Source #
The name of the resource share.
resourceShare_owningAccountId :: Lens' ResourceShare (Maybe Text) Source #
The ID of the Amazon Web Services account that owns the resource share.
resourceShare_resourceShareArn :: Lens' ResourceShare (Maybe Text) Source #
The Amazon Resoure Name (ARN) of the resource share
resourceShare_status :: Lens' ResourceShare (Maybe ResourceShareStatus) Source #
The current status of the resource share.
resourceShare_statusMessage :: Lens' ResourceShare (Maybe Text) Source #
A message about the status of the resource share.
resourceShare_tags :: Lens' ResourceShare (Maybe [Tag]) Source #
The tag key and value pairs attached to the resource share.
ResourceShareAssociation
resourceShareAssociation_associatedEntity :: Lens' ResourceShareAssociation (Maybe Text) Source #
The associated entity. This can be either of the following:
- For a resource association, this is the Amazon Resoure Name (ARN) of the resource.
For principal associations, this is one of the following:
- The ID of an Amazon Web Services account
- The Amazon Resoure Name (ARN) of an organization in Organizations
- The ARN of an organizational unit (OU) in Organizations
- The ARN of an IAM role
- The ARN of an IAM user
resourceShareAssociation_associationType :: Lens' ResourceShareAssociation (Maybe ResourceShareAssociationType) Source #
The type of entity included in this association.
resourceShareAssociation_creationTime :: Lens' ResourceShareAssociation (Maybe UTCTime) Source #
The date and time when the association was created.
resourceShareAssociation_external :: Lens' ResourceShareAssociation (Maybe Bool) Source #
Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.
resourceShareAssociation_lastUpdatedTime :: Lens' ResourceShareAssociation (Maybe UTCTime) Source #
The date and time when the association was last updated.
resourceShareAssociation_resourceShareArn :: Lens' ResourceShareAssociation (Maybe Text) Source #
The Amazon Resoure Name (ARN) of the resource share.
resourceShareAssociation_resourceShareName :: Lens' ResourceShareAssociation (Maybe Text) Source #
The name of the resource share.
resourceShareAssociation_status :: Lens' ResourceShareAssociation (Maybe ResourceShareAssociationStatus) Source #
The current status of the association.
resourceShareAssociation_statusMessage :: Lens' ResourceShareAssociation (Maybe Text) Source #
A message about the status of the association.
ResourceShareInvitation
resourceShareInvitation_invitationTimestamp :: Lens' ResourceShareInvitation (Maybe UTCTime) Source #
The date and time when the invitation was sent.
resourceShareInvitation_receiverAccountId :: Lens' ResourceShareInvitation (Maybe Text) Source #
The ID of the Amazon Web Services account that received the invitation.
resourceShareInvitation_receiverArn :: Lens' ResourceShareInvitation (Maybe Text) Source #
The Amazon Resoure Name (ARN) of the IAM user or role that received the invitation.
resourceShareInvitation_resourceShareArn :: Lens' ResourceShareInvitation (Maybe Text) Source #
The Amazon Resoure Name (ARN) of the resource share
resourceShareInvitation_resourceShareAssociations :: Lens' ResourceShareInvitation (Maybe [ResourceShareAssociation]) Source #
To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.
resourceShareInvitation_resourceShareInvitationArn :: Lens' ResourceShareInvitation (Maybe Text) Source #
The Amazon Resoure Name (ARN) of the invitation.
resourceShareInvitation_resourceShareName :: Lens' ResourceShareInvitation (Maybe Text) Source #
The name of the resource share.
resourceShareInvitation_senderAccountId :: Lens' ResourceShareInvitation (Maybe Text) Source #
The ID of the Amazon Web Services account that sent the invitation.
resourceShareInvitation_status :: Lens' ResourceShareInvitation (Maybe ResourceShareInvitationStatus) Source #
The current status of the invitation.
ResourceSharePermissionDetail
resourceSharePermissionDetail_arn :: Lens' ResourceSharePermissionDetail (Maybe Text) Source #
The Amazon Resoure Name (ARN) of this RAM permission.
resourceSharePermissionDetail_creationTime :: Lens' ResourceSharePermissionDetail (Maybe UTCTime) Source #
The date and time when the permission was created.
resourceSharePermissionDetail_defaultVersion :: Lens' ResourceSharePermissionDetail (Maybe Bool) Source #
Specifies whether the version of the permission represented in this structure is the default version for this permission.
resourceSharePermissionDetail_isResourceTypeDefault :: Lens' ResourceSharePermissionDetail (Maybe Bool) Source #
Specifies whether the version of the permission represented in this structure is the default version for all resources of this resource type.
resourceSharePermissionDetail_lastUpdatedTime :: Lens' ResourceSharePermissionDetail (Maybe UTCTime) Source #
The date and time when the permission was last updated.
resourceSharePermissionDetail_name :: Lens' ResourceSharePermissionDetail (Maybe Text) Source #
The name of this permission.
resourceSharePermissionDetail_permission :: Lens' ResourceSharePermissionDetail (Maybe Text) Source #
The permission's effect and actions in JSON format. The effect
indicates whether the specified actions are allowed or denied. The
actions
list the operations to which the principal is granted or
denied access.
resourceSharePermissionDetail_resourceType :: Lens' ResourceSharePermissionDetail (Maybe Text) Source #
The resource type to which this permission applies.
resourceSharePermissionDetail_version :: Lens' ResourceSharePermissionDetail (Maybe Text) Source #
The version of the permission represented in this structure.
ResourceSharePermissionSummary
resourceSharePermissionSummary_arn :: Lens' ResourceSharePermissionSummary (Maybe Text) Source #
The Amazon Resoure Name (ARN) of the permission you want information about.
resourceSharePermissionSummary_creationTime :: Lens' ResourceSharePermissionSummary (Maybe UTCTime) Source #
The date and time when the permission was created.
resourceSharePermissionSummary_defaultVersion :: Lens' ResourceSharePermissionSummary (Maybe Bool) Source #
Specifies whether the version of the permission represented in this structure is the default version for this permission.
resourceSharePermissionSummary_isResourceTypeDefault :: Lens' ResourceSharePermissionSummary (Maybe Bool) Source #
Specifies whether the version of the permission represented in this structure is the default version for all resources of this resource type.
resourceSharePermissionSummary_lastUpdatedTime :: Lens' ResourceSharePermissionSummary (Maybe UTCTime) Source #
The date and time when the permission was last updated.
resourceSharePermissionSummary_name :: Lens' ResourceSharePermissionSummary (Maybe Text) Source #
The name of this permission.
resourceSharePermissionSummary_resourceType :: Lens' ResourceSharePermissionSummary (Maybe Text) Source #
The type of resource to which this permission applies.
resourceSharePermissionSummary_status :: Lens' ResourceSharePermissionSummary (Maybe Text) Source #
The current status of the permission.
resourceSharePermissionSummary_version :: Lens' ResourceSharePermissionSummary (Maybe Text) Source #
The version of the permission represented in this structure.
ServiceNameAndResourceType
serviceNameAndResourceType_resourceRegionScope :: Lens' ServiceNameAndResourceType (Maybe ResourceRegionScope) Source #
Specifies the scope of visibility of resources of this type:
- REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
- GLOBAL – The resource can be accessed from any Amazon Web Services Region.
serviceNameAndResourceType_resourceType :: Lens' ServiceNameAndResourceType (Maybe Text) Source #
The type of the resource.
serviceNameAndResourceType_serviceName :: Lens' ServiceNameAndResourceType (Maybe Text) Source #
The name of the Amazon Web Services service to which resources of this type belong.
Tag
tag_key :: Lens' Tag (Maybe Text) Source #
The key, or name, attached to the tag. Every tag must have a key. Key names are case sensitive.
tag_value :: Lens' Tag (Maybe Text) Source #
The string value attached to the tag. The value can be an empty string. Key values are case sensitive.