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