Type definitions#
Auto-generated documentation for RAM type annotations stubs module mypy-boto3-ram.
AcceptResourceShareInvitationRequestRequestTypeDef#
# AcceptResourceShareInvitationRequestRequestTypeDef definition
class AcceptResourceShareInvitationRequestRequestTypeDef(TypedDict):
resourceShareInvitationArn: str,
clientToken: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
AssociateResourceSharePermissionRequestRequestTypeDef#
# AssociateResourceSharePermissionRequestRequestTypeDef definition
class AssociateResourceSharePermissionRequestRequestTypeDef(TypedDict):
resourceShareArn: str,
permissionArn: str,
replace: NotRequired[bool],
clientToken: NotRequired[str],
permissionVersion: NotRequired[int],
AssociateResourceShareRequestRequestTypeDef#
# AssociateResourceShareRequestRequestTypeDef definition
class AssociateResourceShareRequestRequestTypeDef(TypedDict):
resourceShareArn: str,
resourceArns: NotRequired[Sequence[str]],
principals: NotRequired[Sequence[str]],
clientToken: NotRequired[str],
sources: NotRequired[Sequence[str]],
ResourceShareAssociationTypeDef#
# ResourceShareAssociationTypeDef definition
class ResourceShareAssociationTypeDef(TypedDict):
resourceShareArn: NotRequired[str],
resourceShareName: NotRequired[str],
associatedEntity: NotRequired[str],
associationType: NotRequired[ResourceShareAssociationTypeType], # (1)
status: NotRequired[ResourceShareAssociationStatusType], # (2)
statusMessage: NotRequired[str],
creationTime: NotRequired[datetime],
lastUpdatedTime: NotRequired[datetime],
external: NotRequired[bool],
AssociatedPermissionTypeDef#
# AssociatedPermissionTypeDef definition
class AssociatedPermissionTypeDef(TypedDict):
arn: NotRequired[str],
permissionVersion: NotRequired[str],
defaultVersion: NotRequired[bool],
resourceType: NotRequired[str],
status: NotRequired[str],
featureSet: NotRequired[PermissionFeatureSetType], # (1)
lastUpdatedTime: NotRequired[datetime],
resourceShareArn: NotRequired[str],
TagTypeDef#
# TagTypeDef definition
class TagTypeDef(TypedDict):
key: NotRequired[str],
value: NotRequired[str],
CreatePermissionVersionRequestRequestTypeDef#
# CreatePermissionVersionRequestRequestTypeDef definition
class CreatePermissionVersionRequestRequestTypeDef(TypedDict):
permissionArn: str,
policyTemplate: str,
clientToken: NotRequired[str],
DeletePermissionRequestRequestTypeDef#
# DeletePermissionRequestRequestTypeDef definition
class DeletePermissionRequestRequestTypeDef(TypedDict):
permissionArn: str,
clientToken: NotRequired[str],
DeletePermissionVersionRequestRequestTypeDef#
# DeletePermissionVersionRequestRequestTypeDef definition
class DeletePermissionVersionRequestRequestTypeDef(TypedDict):
permissionArn: str,
permissionVersion: int,
clientToken: NotRequired[str],
DeleteResourceShareRequestRequestTypeDef#
# DeleteResourceShareRequestRequestTypeDef definition
class DeleteResourceShareRequestRequestTypeDef(TypedDict):
resourceShareArn: str,
clientToken: NotRequired[str],
DisassociateResourceSharePermissionRequestRequestTypeDef#
# DisassociateResourceSharePermissionRequestRequestTypeDef definition
class DisassociateResourceSharePermissionRequestRequestTypeDef(TypedDict):
resourceShareArn: str,
permissionArn: str,
clientToken: NotRequired[str],
DisassociateResourceShareRequestRequestTypeDef#
# DisassociateResourceShareRequestRequestTypeDef definition
class DisassociateResourceShareRequestRequestTypeDef(TypedDict):
resourceShareArn: str,
resourceArns: NotRequired[Sequence[str]],
principals: NotRequired[Sequence[str]],
clientToken: NotRequired[str],
sources: NotRequired[Sequence[str]],
GetPermissionRequestRequestTypeDef#
# GetPermissionRequestRequestTypeDef definition
class GetPermissionRequestRequestTypeDef(TypedDict):
permissionArn: str,
permissionVersion: NotRequired[int],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
GetResourcePoliciesRequestRequestTypeDef#
# GetResourcePoliciesRequestRequestTypeDef definition
class GetResourcePoliciesRequestRequestTypeDef(TypedDict):
resourceArns: Sequence[str],
principal: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
GetResourceShareAssociationsRequestRequestTypeDef#
# GetResourceShareAssociationsRequestRequestTypeDef definition
class GetResourceShareAssociationsRequestRequestTypeDef(TypedDict):
associationType: ResourceShareAssociationTypeType, # (1)
resourceShareArns: NotRequired[Sequence[str]],
resourceArn: NotRequired[str],
principal: NotRequired[str],
associationStatus: NotRequired[ResourceShareAssociationStatusType], # (2)
nextToken: NotRequired[str],
maxResults: NotRequired[int],
GetResourceShareInvitationsRequestRequestTypeDef#
# GetResourceShareInvitationsRequestRequestTypeDef definition
class GetResourceShareInvitationsRequestRequestTypeDef(TypedDict):
resourceShareInvitationArns: NotRequired[Sequence[str]],
resourceShareArns: NotRequired[Sequence[str]],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
TagFilterTypeDef#
# TagFilterTypeDef definition
class TagFilterTypeDef(TypedDict):
tagKey: NotRequired[str],
tagValues: NotRequired[Sequence[str]],
ListPendingInvitationResourcesRequestRequestTypeDef#
# ListPendingInvitationResourcesRequestRequestTypeDef definition
class ListPendingInvitationResourcesRequestRequestTypeDef(TypedDict):
resourceShareInvitationArn: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
resourceRegionScope: NotRequired[ResourceRegionScopeFilterType], # (1)
ResourceTypeDef#
# ResourceTypeDef definition
class ResourceTypeDef(TypedDict):
arn: NotRequired[str],
type: NotRequired[str],
resourceShareArn: NotRequired[str],
resourceGroupArn: NotRequired[str],
status: NotRequired[ResourceStatusType], # (1)
statusMessage: NotRequired[str],
creationTime: NotRequired[datetime],
lastUpdatedTime: NotRequired[datetime],
resourceRegionScope: NotRequired[ResourceRegionScopeType], # (2)
ListPermissionAssociationsRequestRequestTypeDef#
# ListPermissionAssociationsRequestRequestTypeDef definition
class ListPermissionAssociationsRequestRequestTypeDef(TypedDict):
permissionArn: NotRequired[str],
permissionVersion: NotRequired[int],
associationStatus: NotRequired[ResourceShareAssociationStatusType], # (1)
resourceType: NotRequired[str],
featureSet: NotRequired[PermissionFeatureSetType], # (2)
defaultVersion: NotRequired[bool],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ListPermissionVersionsRequestRequestTypeDef#
# ListPermissionVersionsRequestRequestTypeDef definition
class ListPermissionVersionsRequestRequestTypeDef(TypedDict):
permissionArn: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ListPermissionsRequestRequestTypeDef#
# ListPermissionsRequestRequestTypeDef definition
class ListPermissionsRequestRequestTypeDef(TypedDict):
resourceType: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
permissionType: NotRequired[PermissionTypeFilterType], # (1)
ListPrincipalsRequestRequestTypeDef#
# ListPrincipalsRequestRequestTypeDef definition
class ListPrincipalsRequestRequestTypeDef(TypedDict):
resourceOwner: ResourceOwnerType, # (1)
resourceArn: NotRequired[str],
principals: NotRequired[Sequence[str]],
resourceType: NotRequired[str],
resourceShareArns: NotRequired[Sequence[str]],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
PrincipalTypeDef#
# PrincipalTypeDef definition
class PrincipalTypeDef(TypedDict):
id: NotRequired[str],
resourceShareArn: NotRequired[str],
creationTime: NotRequired[datetime],
lastUpdatedTime: NotRequired[datetime],
external: NotRequired[bool],
ListReplacePermissionAssociationsWorkRequestRequestTypeDef#
# ListReplacePermissionAssociationsWorkRequestRequestTypeDef definition
class ListReplacePermissionAssociationsWorkRequestRequestTypeDef(TypedDict):
workIds: NotRequired[Sequence[str]],
status: NotRequired[ReplacePermissionAssociationsWorkStatusType], # (1)
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ReplacePermissionAssociationsWorkTypeDef#
# ReplacePermissionAssociationsWorkTypeDef definition
class ReplacePermissionAssociationsWorkTypeDef(TypedDict):
id: NotRequired[str],
fromPermissionArn: NotRequired[str],
fromPermissionVersion: NotRequired[str],
toPermissionArn: NotRequired[str],
toPermissionVersion: NotRequired[str],
status: NotRequired[ReplacePermissionAssociationsWorkStatusType], # (1)
statusMessage: NotRequired[str],
creationTime: NotRequired[datetime],
lastUpdatedTime: NotRequired[datetime],
ListResourceSharePermissionsRequestRequestTypeDef#
# ListResourceSharePermissionsRequestRequestTypeDef definition
class ListResourceSharePermissionsRequestRequestTypeDef(TypedDict):
resourceShareArn: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ListResourceTypesRequestRequestTypeDef#
# ListResourceTypesRequestRequestTypeDef definition
class ListResourceTypesRequestRequestTypeDef(TypedDict):
nextToken: NotRequired[str],
maxResults: NotRequired[int],
resourceRegionScope: NotRequired[ResourceRegionScopeFilterType], # (1)
ServiceNameAndResourceTypeTypeDef#
# ServiceNameAndResourceTypeTypeDef definition
class ServiceNameAndResourceTypeTypeDef(TypedDict):
resourceType: NotRequired[str],
serviceName: NotRequired[str],
resourceRegionScope: NotRequired[ResourceRegionScopeType], # (1)
ListResourcesRequestRequestTypeDef#
# ListResourcesRequestRequestTypeDef definition
class ListResourcesRequestRequestTypeDef(TypedDict):
resourceOwner: ResourceOwnerType, # (1)
principal: NotRequired[str],
resourceType: NotRequired[str],
resourceArns: NotRequired[Sequence[str]],
resourceShareArns: NotRequired[Sequence[str]],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
resourceRegionScope: NotRequired[ResourceRegionScopeFilterType], # (2)
PromotePermissionCreatedFromPolicyRequestRequestTypeDef#
# PromotePermissionCreatedFromPolicyRequestRequestTypeDef definition
class PromotePermissionCreatedFromPolicyRequestRequestTypeDef(TypedDict):
permissionArn: str,
name: str,
clientToken: NotRequired[str],
PromoteResourceShareCreatedFromPolicyRequestRequestTypeDef#
# PromoteResourceShareCreatedFromPolicyRequestRequestTypeDef definition
class PromoteResourceShareCreatedFromPolicyRequestRequestTypeDef(TypedDict):
resourceShareArn: str,
RejectResourceShareInvitationRequestRequestTypeDef#
# RejectResourceShareInvitationRequestRequestTypeDef definition
class RejectResourceShareInvitationRequestRequestTypeDef(TypedDict):
resourceShareInvitationArn: str,
clientToken: NotRequired[str],
ReplacePermissionAssociationsRequestRequestTypeDef#
# ReplacePermissionAssociationsRequestRequestTypeDef definition
class ReplacePermissionAssociationsRequestRequestTypeDef(TypedDict):
fromPermissionArn: str,
toPermissionArn: str,
fromPermissionVersion: NotRequired[int],
clientToken: NotRequired[str],
SetDefaultPermissionVersionRequestRequestTypeDef#
# SetDefaultPermissionVersionRequestRequestTypeDef definition
class SetDefaultPermissionVersionRequestRequestTypeDef(TypedDict):
permissionArn: str,
permissionVersion: int,
clientToken: NotRequired[str],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
tagKeys: Sequence[str],
resourceShareArn: NotRequired[str],
resourceArn: NotRequired[str],
UpdateResourceShareRequestRequestTypeDef#
# UpdateResourceShareRequestRequestTypeDef definition
class UpdateResourceShareRequestRequestTypeDef(TypedDict):
resourceShareArn: str,
name: NotRequired[str],
allowExternalPrincipals: NotRequired[bool],
clientToken: NotRequired[str],
AssociateResourceSharePermissionResponseTypeDef#
# AssociateResourceSharePermissionResponseTypeDef definition
class AssociateResourceSharePermissionResponseTypeDef(TypedDict):
returnValue: bool,
clientToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeletePermissionResponseTypeDef#
# DeletePermissionResponseTypeDef definition
class DeletePermissionResponseTypeDef(TypedDict):
returnValue: bool,
clientToken: str,
permissionStatus: PermissionStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeletePermissionVersionResponseTypeDef#
# DeletePermissionVersionResponseTypeDef definition
class DeletePermissionVersionResponseTypeDef(TypedDict):
returnValue: bool,
clientToken: str,
permissionStatus: PermissionStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteResourceShareResponseTypeDef#
# DeleteResourceShareResponseTypeDef definition
class DeleteResourceShareResponseTypeDef(TypedDict):
returnValue: bool,
clientToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DisassociateResourceSharePermissionResponseTypeDef#
# DisassociateResourceSharePermissionResponseTypeDef definition
class DisassociateResourceSharePermissionResponseTypeDef(TypedDict):
returnValue: bool,
clientToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EnableSharingWithAwsOrganizationResponseTypeDef#
# EnableSharingWithAwsOrganizationResponseTypeDef definition
class EnableSharingWithAwsOrganizationResponseTypeDef(TypedDict):
returnValue: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetResourcePoliciesResponseTypeDef#
# GetResourcePoliciesResponseTypeDef definition
class GetResourcePoliciesResponseTypeDef(TypedDict):
policies: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
PromoteResourceShareCreatedFromPolicyResponseTypeDef#
# PromoteResourceShareCreatedFromPolicyResponseTypeDef definition
class PromoteResourceShareCreatedFromPolicyResponseTypeDef(TypedDict):
returnValue: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
SetDefaultPermissionVersionResponseTypeDef#
# SetDefaultPermissionVersionResponseTypeDef definition
class SetDefaultPermissionVersionResponseTypeDef(TypedDict):
returnValue: bool,
clientToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
AssociateResourceShareResponseTypeDef#
# AssociateResourceShareResponseTypeDef definition
class AssociateResourceShareResponseTypeDef(TypedDict):
resourceShareAssociations: List[ResourceShareAssociationTypeDef], # (1)
clientToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DisassociateResourceShareResponseTypeDef#
# DisassociateResourceShareResponseTypeDef definition
class DisassociateResourceShareResponseTypeDef(TypedDict):
resourceShareAssociations: List[ResourceShareAssociationTypeDef], # (1)
clientToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetResourceShareAssociationsResponseTypeDef#
# GetResourceShareAssociationsResponseTypeDef definition
class GetResourceShareAssociationsResponseTypeDef(TypedDict):
resourceShareAssociations: List[ResourceShareAssociationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ResourceShareInvitationTypeDef#
# ResourceShareInvitationTypeDef definition
class ResourceShareInvitationTypeDef(TypedDict):
resourceShareInvitationArn: NotRequired[str],
resourceShareName: NotRequired[str],
resourceShareArn: NotRequired[str],
senderAccountId: NotRequired[str],
receiverAccountId: NotRequired[str],
invitationTimestamp: NotRequired[datetime],
status: NotRequired[ResourceShareInvitationStatusType], # (1)
resourceShareAssociations: NotRequired[List[ResourceShareAssociationTypeDef]], # (2)
receiverArn: NotRequired[str],
ListPermissionAssociationsResponseTypeDef#
# ListPermissionAssociationsResponseTypeDef definition
class ListPermissionAssociationsResponseTypeDef(TypedDict):
permissions: List[AssociatedPermissionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
CreatePermissionRequestRequestTypeDef#
# CreatePermissionRequestRequestTypeDef definition
class CreatePermissionRequestRequestTypeDef(TypedDict):
name: str,
resourceType: str,
policyTemplate: str,
clientToken: NotRequired[str],
tags: NotRequired[Sequence[TagTypeDef]], # (1)
- See TagTypeDef
CreateResourceShareRequestRequestTypeDef#
# CreateResourceShareRequestRequestTypeDef definition
class CreateResourceShareRequestRequestTypeDef(TypedDict):
name: str,
resourceArns: NotRequired[Sequence[str]],
principals: NotRequired[Sequence[str]],
tags: NotRequired[Sequence[TagTypeDef]], # (1)
allowExternalPrincipals: NotRequired[bool],
clientToken: NotRequired[str],
permissionArns: NotRequired[Sequence[str]],
sources: NotRequired[Sequence[str]],
- See TagTypeDef
ResourceSharePermissionDetailTypeDef#
# ResourceSharePermissionDetailTypeDef definition
class ResourceSharePermissionDetailTypeDef(TypedDict):
arn: NotRequired[str],
version: NotRequired[str],
defaultVersion: NotRequired[bool],
name: NotRequired[str],
resourceType: NotRequired[str],
permission: NotRequired[str],
creationTime: NotRequired[datetime],
lastUpdatedTime: NotRequired[datetime],
isResourceTypeDefault: NotRequired[bool],
permissionType: NotRequired[PermissionTypeType], # (1)
featureSet: NotRequired[PermissionFeatureSetType], # (2)
status: NotRequired[PermissionStatusType], # (3)
tags: NotRequired[List[TagTypeDef]], # (4)
- See PermissionTypeType
- See PermissionFeatureSetType
- See PermissionStatusType
- See TagTypeDef
ResourceSharePermissionSummaryTypeDef#
# ResourceSharePermissionSummaryTypeDef definition
class ResourceSharePermissionSummaryTypeDef(TypedDict):
arn: NotRequired[str],
version: NotRequired[str],
defaultVersion: NotRequired[bool],
name: NotRequired[str],
resourceType: NotRequired[str],
status: NotRequired[str],
creationTime: NotRequired[datetime],
lastUpdatedTime: NotRequired[datetime],
isResourceTypeDefault: NotRequired[bool],
permissionType: NotRequired[PermissionTypeType], # (1)
featureSet: NotRequired[PermissionFeatureSetType], # (2)
tags: NotRequired[List[TagTypeDef]], # (3)
- See PermissionTypeType
- See PermissionFeatureSetType
- See TagTypeDef
ResourceShareTypeDef#
# ResourceShareTypeDef definition
class ResourceShareTypeDef(TypedDict):
resourceShareArn: NotRequired[str],
name: NotRequired[str],
owningAccountId: NotRequired[str],
allowExternalPrincipals: NotRequired[bool],
status: NotRequired[ResourceShareStatusType], # (1)
statusMessage: NotRequired[str],
tags: NotRequired[List[TagTypeDef]], # (2)
creationTime: NotRequired[datetime],
lastUpdatedTime: NotRequired[datetime],
featureSet: NotRequired[ResourceShareFeatureSetType], # (3)
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
tags: Sequence[TagTypeDef], # (1)
resourceShareArn: NotRequired[str],
resourceArn: NotRequired[str],
- See TagTypeDef
GetResourcePoliciesRequestGetResourcePoliciesPaginateTypeDef#
# GetResourcePoliciesRequestGetResourcePoliciesPaginateTypeDef definition
class GetResourcePoliciesRequestGetResourcePoliciesPaginateTypeDef(TypedDict):
resourceArns: Sequence[str],
principal: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
GetResourceShareAssociationsRequestGetResourceShareAssociationsPaginateTypeDef#
# GetResourceShareAssociationsRequestGetResourceShareAssociationsPaginateTypeDef definition
class GetResourceShareAssociationsRequestGetResourceShareAssociationsPaginateTypeDef(TypedDict):
associationType: ResourceShareAssociationTypeType, # (1)
resourceShareArns: NotRequired[Sequence[str]],
resourceArn: NotRequired[str],
principal: NotRequired[str],
associationStatus: NotRequired[ResourceShareAssociationStatusType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
- See ResourceShareAssociationTypeType
- See ResourceShareAssociationStatusType
- See PaginatorConfigTypeDef
GetResourceShareInvitationsRequestGetResourceShareInvitationsPaginateTypeDef#
# GetResourceShareInvitationsRequestGetResourceShareInvitationsPaginateTypeDef definition
class GetResourceShareInvitationsRequestGetResourceShareInvitationsPaginateTypeDef(TypedDict):
resourceShareInvitationArns: NotRequired[Sequence[str]],
resourceShareArns: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListPrincipalsRequestListPrincipalsPaginateTypeDef#
# ListPrincipalsRequestListPrincipalsPaginateTypeDef definition
class ListPrincipalsRequestListPrincipalsPaginateTypeDef(TypedDict):
resourceOwner: ResourceOwnerType, # (1)
resourceArn: NotRequired[str],
principals: NotRequired[Sequence[str]],
resourceType: NotRequired[str],
resourceShareArns: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListResourcesRequestListResourcesPaginateTypeDef#
# ListResourcesRequestListResourcesPaginateTypeDef definition
class ListResourcesRequestListResourcesPaginateTypeDef(TypedDict):
resourceOwner: ResourceOwnerType, # (1)
principal: NotRequired[str],
resourceType: NotRequired[str],
resourceArns: NotRequired[Sequence[str]],
resourceShareArns: NotRequired[Sequence[str]],
resourceRegionScope: NotRequired[ResourceRegionScopeFilterType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
GetResourceSharesRequestGetResourceSharesPaginateTypeDef#
# GetResourceSharesRequestGetResourceSharesPaginateTypeDef definition
class GetResourceSharesRequestGetResourceSharesPaginateTypeDef(TypedDict):
resourceOwner: ResourceOwnerType, # (1)
resourceShareArns: NotRequired[Sequence[str]],
resourceShareStatus: NotRequired[ResourceShareStatusType], # (2)
name: NotRequired[str],
tagFilters: NotRequired[Sequence[TagFilterTypeDef]], # (3)
permissionArn: NotRequired[str],
permissionVersion: NotRequired[int],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (4)
GetResourceSharesRequestRequestTypeDef#
# GetResourceSharesRequestRequestTypeDef definition
class GetResourceSharesRequestRequestTypeDef(TypedDict):
resourceOwner: ResourceOwnerType, # (1)
resourceShareArns: NotRequired[Sequence[str]],
resourceShareStatus: NotRequired[ResourceShareStatusType], # (2)
name: NotRequired[str],
tagFilters: NotRequired[Sequence[TagFilterTypeDef]], # (3)
nextToken: NotRequired[str],
maxResults: NotRequired[int],
permissionArn: NotRequired[str],
permissionVersion: NotRequired[int],
- See ResourceOwnerType
- See ResourceShareStatusType
- See TagFilterTypeDef
ListPendingInvitationResourcesResponseTypeDef#
# ListPendingInvitationResourcesResponseTypeDef definition
class ListPendingInvitationResourcesResponseTypeDef(TypedDict):
resources: List[ResourceTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListResourcesResponseTypeDef#
# ListResourcesResponseTypeDef definition
class ListResourcesResponseTypeDef(TypedDict):
resources: List[ResourceTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListPrincipalsResponseTypeDef#
# ListPrincipalsResponseTypeDef definition
class ListPrincipalsResponseTypeDef(TypedDict):
principals: List[PrincipalTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListReplacePermissionAssociationsWorkResponseTypeDef#
# ListReplacePermissionAssociationsWorkResponseTypeDef definition
class ListReplacePermissionAssociationsWorkResponseTypeDef(TypedDict):
replacePermissionAssociationsWorks: List[ReplacePermissionAssociationsWorkTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ReplacePermissionAssociationsResponseTypeDef#
# ReplacePermissionAssociationsResponseTypeDef definition
class ReplacePermissionAssociationsResponseTypeDef(TypedDict):
replacePermissionAssociationsWork: ReplacePermissionAssociationsWorkTypeDef, # (1)
clientToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListResourceTypesResponseTypeDef#
# ListResourceTypesResponseTypeDef definition
class ListResourceTypesResponseTypeDef(TypedDict):
resourceTypes: List[ServiceNameAndResourceTypeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
AcceptResourceShareInvitationResponseTypeDef#
# AcceptResourceShareInvitationResponseTypeDef definition
class AcceptResourceShareInvitationResponseTypeDef(TypedDict):
resourceShareInvitation: ResourceShareInvitationTypeDef, # (1)
clientToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetResourceShareInvitationsResponseTypeDef#
# GetResourceShareInvitationsResponseTypeDef definition
class GetResourceShareInvitationsResponseTypeDef(TypedDict):
resourceShareInvitations: List[ResourceShareInvitationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
RejectResourceShareInvitationResponseTypeDef#
# RejectResourceShareInvitationResponseTypeDef definition
class RejectResourceShareInvitationResponseTypeDef(TypedDict):
resourceShareInvitation: ResourceShareInvitationTypeDef, # (1)
clientToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreatePermissionVersionResponseTypeDef#
# CreatePermissionVersionResponseTypeDef definition
class CreatePermissionVersionResponseTypeDef(TypedDict):
permission: ResourceSharePermissionDetailTypeDef, # (1)
clientToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetPermissionResponseTypeDef#
# GetPermissionResponseTypeDef definition
class GetPermissionResponseTypeDef(TypedDict):
permission: ResourceSharePermissionDetailTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreatePermissionResponseTypeDef#
# CreatePermissionResponseTypeDef definition
class CreatePermissionResponseTypeDef(TypedDict):
permission: ResourceSharePermissionSummaryTypeDef, # (1)
clientToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListPermissionVersionsResponseTypeDef#
# ListPermissionVersionsResponseTypeDef definition
class ListPermissionVersionsResponseTypeDef(TypedDict):
permissions: List[ResourceSharePermissionSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListPermissionsResponseTypeDef#
# ListPermissionsResponseTypeDef definition
class ListPermissionsResponseTypeDef(TypedDict):
permissions: List[ResourceSharePermissionSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListResourceSharePermissionsResponseTypeDef#
# ListResourceSharePermissionsResponseTypeDef definition
class ListResourceSharePermissionsResponseTypeDef(TypedDict):
permissions: List[ResourceSharePermissionSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
PromotePermissionCreatedFromPolicyResponseTypeDef#
# PromotePermissionCreatedFromPolicyResponseTypeDef definition
class PromotePermissionCreatedFromPolicyResponseTypeDef(TypedDict):
permission: ResourceSharePermissionSummaryTypeDef, # (1)
clientToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateResourceShareResponseTypeDef#
# CreateResourceShareResponseTypeDef definition
class CreateResourceShareResponseTypeDef(TypedDict):
resourceShare: ResourceShareTypeDef, # (1)
clientToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetResourceSharesResponseTypeDef#
# GetResourceSharesResponseTypeDef definition
class GetResourceSharesResponseTypeDef(TypedDict):
resourceShares: List[ResourceShareTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
UpdateResourceShareResponseTypeDef#
# UpdateResourceShareResponseTypeDef definition
class UpdateResourceShareResponseTypeDef(TypedDict):
resourceShare: ResourceShareTypeDef, # (1)
clientToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)