Type definitions#
Index > CodeStarNotifications > Type definitions
Auto-generated documentation for CodeStarNotifications type annotations stubs module mypy-boto3-codestar-notifications.
TargetTypeDef#
# TargetTypeDef definition
class TargetTypeDef(TypedDict):
TargetType: NotRequired[str],
TargetAddress: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
DeleteNotificationRuleRequestRequestTypeDef#
# DeleteNotificationRuleRequestRequestTypeDef definition
class DeleteNotificationRuleRequestRequestTypeDef(TypedDict):
Arn: str,
DeleteTargetRequestRequestTypeDef#
# DeleteTargetRequestRequestTypeDef definition
class DeleteTargetRequestRequestTypeDef(TypedDict):
TargetAddress: str,
ForceUnsubscribeAll: NotRequired[bool],
DescribeNotificationRuleRequestRequestTypeDef#
# DescribeNotificationRuleRequestRequestTypeDef definition
class DescribeNotificationRuleRequestRequestTypeDef(TypedDict):
Arn: str,
EventTypeSummaryTypeDef#
# EventTypeSummaryTypeDef definition
class EventTypeSummaryTypeDef(TypedDict):
EventTypeId: NotRequired[str],
ServiceName: NotRequired[str],
EventTypeName: NotRequired[str],
ResourceType: NotRequired[str],
TargetSummaryTypeDef#
# TargetSummaryTypeDef definition
class TargetSummaryTypeDef(TypedDict):
TargetAddress: NotRequired[str],
TargetType: NotRequired[str],
TargetStatus: NotRequired[TargetStatusType], # (1)
- See TargetStatusType
ListEventTypesFilterTypeDef#
# ListEventTypesFilterTypeDef definition
class ListEventTypesFilterTypeDef(TypedDict):
Name: ListEventTypesFilterNameType, # (1)
Value: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListNotificationRulesFilterTypeDef#
# ListNotificationRulesFilterTypeDef definition
class ListNotificationRulesFilterTypeDef(TypedDict):
Name: ListNotificationRulesFilterNameType, # (1)
Value: str,
NotificationRuleSummaryTypeDef#
# NotificationRuleSummaryTypeDef definition
class NotificationRuleSummaryTypeDef(TypedDict):
Id: NotRequired[str],
Arn: NotRequired[str],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
Arn: str,
ListTargetsFilterTypeDef#
# ListTargetsFilterTypeDef definition
class ListTargetsFilterTypeDef(TypedDict):
Name: ListTargetsFilterNameType, # (1)
Value: str,
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
Arn: str,
Tags: Mapping[str, str],
UnsubscribeRequestRequestTypeDef#
# UnsubscribeRequestRequestTypeDef definition
class UnsubscribeRequestRequestTypeDef(TypedDict):
Arn: str,
TargetAddress: str,
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
Arn: str,
TagKeys: Sequence[str],
CreateNotificationRuleRequestRequestTypeDef#
# CreateNotificationRuleRequestRequestTypeDef definition
class CreateNotificationRuleRequestRequestTypeDef(TypedDict):
Name: str,
EventTypeIds: Sequence[str],
Resource: str,
Targets: Sequence[TargetTypeDef], # (1)
DetailType: DetailTypeType, # (2)
ClientRequestToken: NotRequired[str],
Tags: NotRequired[Mapping[str, str]],
Status: NotRequired[NotificationRuleStatusType], # (3)
- See TargetTypeDef
- See DetailTypeType
- See NotificationRuleStatusType
SubscribeRequestRequestTypeDef#
# SubscribeRequestRequestTypeDef definition
class SubscribeRequestRequestTypeDef(TypedDict):
Arn: str,
Target: TargetTypeDef, # (1)
ClientRequestToken: NotRequired[str],
- See TargetTypeDef
UpdateNotificationRuleRequestRequestTypeDef#
# UpdateNotificationRuleRequestRequestTypeDef definition
class UpdateNotificationRuleRequestRequestTypeDef(TypedDict):
Arn: str,
Name: NotRequired[str],
Status: NotRequired[NotificationRuleStatusType], # (1)
EventTypeIds: NotRequired[Sequence[str]],
Targets: NotRequired[Sequence[TargetTypeDef]], # (2)
DetailType: NotRequired[DetailTypeType], # (3)
- See NotificationRuleStatusType
- See TargetTypeDef
- See DetailTypeType
CreateNotificationRuleResultTypeDef#
# CreateNotificationRuleResultTypeDef definition
class CreateNotificationRuleResultTypeDef(TypedDict):
Arn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteNotificationRuleResultTypeDef#
# DeleteNotificationRuleResultTypeDef definition
class DeleteNotificationRuleResultTypeDef(TypedDict):
Arn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListTagsForResourceResultTypeDef#
# ListTagsForResourceResultTypeDef definition
class ListTagsForResourceResultTypeDef(TypedDict):
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
SubscribeResultTypeDef#
# SubscribeResultTypeDef definition
class SubscribeResultTypeDef(TypedDict):
Arn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
TagResourceResultTypeDef#
# TagResourceResultTypeDef definition
class TagResourceResultTypeDef(TypedDict):
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UnsubscribeResultTypeDef#
# UnsubscribeResultTypeDef definition
class UnsubscribeResultTypeDef(TypedDict):
Arn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListEventTypesResultTypeDef#
# ListEventTypesResultTypeDef definition
class ListEventTypesResultTypeDef(TypedDict):
EventTypes: List[EventTypeSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
DescribeNotificationRuleResultTypeDef#
# DescribeNotificationRuleResultTypeDef definition
class DescribeNotificationRuleResultTypeDef(TypedDict):
Arn: str,
Name: str,
EventTypes: List[EventTypeSummaryTypeDef], # (1)
Resource: str,
Targets: List[TargetSummaryTypeDef], # (2)
DetailType: DetailTypeType, # (3)
CreatedBy: str,
Status: NotificationRuleStatusType, # (4)
CreatedTimestamp: datetime,
LastModifiedTimestamp: datetime,
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See EventTypeSummaryTypeDef
- See TargetSummaryTypeDef
- See DetailTypeType
- See NotificationRuleStatusType
- See ResponseMetadataTypeDef
ListTargetsResultTypeDef#
# ListTargetsResultTypeDef definition
class ListTargetsResultTypeDef(TypedDict):
Targets: List[TargetSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListEventTypesRequestRequestTypeDef#
# ListEventTypesRequestRequestTypeDef definition
class ListEventTypesRequestRequestTypeDef(TypedDict):
Filters: NotRequired[Sequence[ListEventTypesFilterTypeDef]], # (1)
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListEventTypesRequestListEventTypesPaginateTypeDef#
# ListEventTypesRequestListEventTypesPaginateTypeDef definition
class ListEventTypesRequestListEventTypesPaginateTypeDef(TypedDict):
Filters: NotRequired[Sequence[ListEventTypesFilterTypeDef]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListNotificationRulesRequestListNotificationRulesPaginateTypeDef#
# ListNotificationRulesRequestListNotificationRulesPaginateTypeDef definition
class ListNotificationRulesRequestListNotificationRulesPaginateTypeDef(TypedDict):
Filters: NotRequired[Sequence[ListNotificationRulesFilterTypeDef]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListNotificationRulesRequestRequestTypeDef#
# ListNotificationRulesRequestRequestTypeDef definition
class ListNotificationRulesRequestRequestTypeDef(TypedDict):
Filters: NotRequired[Sequence[ListNotificationRulesFilterTypeDef]], # (1)
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListNotificationRulesResultTypeDef#
# ListNotificationRulesResultTypeDef definition
class ListNotificationRulesResultTypeDef(TypedDict):
NotificationRules: List[NotificationRuleSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListTargetsRequestListTargetsPaginateTypeDef#
# ListTargetsRequestListTargetsPaginateTypeDef definition
class ListTargetsRequestListTargetsPaginateTypeDef(TypedDict):
Filters: NotRequired[Sequence[ListTargetsFilterTypeDef]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListTargetsRequestRequestTypeDef#
# ListTargetsRequestRequestTypeDef definition
class ListTargetsRequestRequestTypeDef(TypedDict):
Filters: NotRequired[Sequence[ListTargetsFilterTypeDef]], # (1)
NextToken: NotRequired[str],
MaxResults: NotRequired[int],