Skip to content

Type definitions#

Index > CloudWatchObservabilityAccessManager > Type definitions

Auto-generated documentation for CloudWatchObservabilityAccessManager type annotations stubs module mypy-boto3-oam.

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

CreateSinkInputRequestTypeDef#

# CreateSinkInputRequestTypeDef definition

class CreateSinkInputRequestTypeDef(TypedDict):
    Name: str,
    Tags: NotRequired[Mapping[str, str]],

DeleteLinkInputRequestTypeDef#

# DeleteLinkInputRequestTypeDef definition

class DeleteLinkInputRequestTypeDef(TypedDict):
    Identifier: str,

DeleteSinkInputRequestTypeDef#

# DeleteSinkInputRequestTypeDef definition

class DeleteSinkInputRequestTypeDef(TypedDict):
    Identifier: str,

GetLinkInputRequestTypeDef#

# GetLinkInputRequestTypeDef definition

class GetLinkInputRequestTypeDef(TypedDict):
    Identifier: str,

GetSinkInputRequestTypeDef#

# GetSinkInputRequestTypeDef definition

class GetSinkInputRequestTypeDef(TypedDict):
    Identifier: str,

GetSinkPolicyInputRequestTypeDef#

# GetSinkPolicyInputRequestTypeDef definition

class GetSinkPolicyInputRequestTypeDef(TypedDict):
    SinkIdentifier: str,

LogGroupConfigurationTypeDef#

# LogGroupConfigurationTypeDef definition

class LogGroupConfigurationTypeDef(TypedDict):
    Filter: str,

MetricConfigurationTypeDef#

# MetricConfigurationTypeDef definition

class MetricConfigurationTypeDef(TypedDict):
    Filter: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListAttachedLinksInputRequestTypeDef#

# ListAttachedLinksInputRequestTypeDef definition

class ListAttachedLinksInputRequestTypeDef(TypedDict):
    SinkIdentifier: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListAttachedLinksItemTypeDef#

# ListAttachedLinksItemTypeDef definition

class ListAttachedLinksItemTypeDef(TypedDict):
    Label: NotRequired[str],
    LinkArn: NotRequired[str],
    ResourceTypes: NotRequired[List[str]],

ListLinksInputRequestTypeDef#

# ListLinksInputRequestTypeDef definition

class ListLinksInputRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListLinksItemTypeDef#

# ListLinksItemTypeDef definition

class ListLinksItemTypeDef(TypedDict):
    Arn: NotRequired[str],
    Id: NotRequired[str],
    Label: NotRequired[str],
    ResourceTypes: NotRequired[List[str]],
    SinkArn: NotRequired[str],

ListSinksInputRequestTypeDef#

# ListSinksInputRequestTypeDef definition

class ListSinksInputRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListSinksItemTypeDef#

# ListSinksItemTypeDef definition

class ListSinksItemTypeDef(TypedDict):
    Arn: NotRequired[str],
    Id: NotRequired[str],
    Name: NotRequired[str],

ListTagsForResourceInputRequestTypeDef#

# ListTagsForResourceInputRequestTypeDef definition

class ListTagsForResourceInputRequestTypeDef(TypedDict):
    ResourceArn: str,

PutSinkPolicyInputRequestTypeDef#

# PutSinkPolicyInputRequestTypeDef definition

class PutSinkPolicyInputRequestTypeDef(TypedDict):
    Policy: str,
    SinkIdentifier: str,

TagResourceInputRequestTypeDef#

# TagResourceInputRequestTypeDef definition

class TagResourceInputRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Mapping[str, str],

UntagResourceInputRequestTypeDef#

# UntagResourceInputRequestTypeDef definition

class UntagResourceInputRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

CreateSinkOutputTypeDef#

# CreateSinkOutputTypeDef definition

class CreateSinkOutputTypeDef(TypedDict):
    Arn: str,
    Id: str,
    Name: str,
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetSinkOutputTypeDef#

# GetSinkOutputTypeDef definition

class GetSinkOutputTypeDef(TypedDict):
    Arn: str,
    Id: str,
    Name: str,
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetSinkPolicyOutputTypeDef#

# GetSinkPolicyOutputTypeDef definition

class GetSinkPolicyOutputTypeDef(TypedDict):
    Policy: str,
    SinkArn: str,
    SinkId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTagsForResourceOutputTypeDef#

# ListTagsForResourceOutputTypeDef definition

class ListTagsForResourceOutputTypeDef(TypedDict):
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PutSinkPolicyOutputTypeDef#

# PutSinkPolicyOutputTypeDef definition

class PutSinkPolicyOutputTypeDef(TypedDict):
    Policy: str,
    SinkArn: str,
    SinkId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

LinkConfigurationTypeDef#

# LinkConfigurationTypeDef definition

class LinkConfigurationTypeDef(TypedDict):
    LogGroupConfiguration: NotRequired[LogGroupConfigurationTypeDef],  # (1)
    MetricConfiguration: NotRequired[MetricConfigurationTypeDef],  # (2)
  1. See LogGroupConfigurationTypeDef
  2. See MetricConfigurationTypeDef

ListAttachedLinksInputListAttachedLinksPaginateTypeDef#

# ListAttachedLinksInputListAttachedLinksPaginateTypeDef definition

class ListAttachedLinksInputListAttachedLinksPaginateTypeDef(TypedDict):
    SinkIdentifier: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListLinksInputListLinksPaginateTypeDef#

# ListLinksInputListLinksPaginateTypeDef definition

class ListLinksInputListLinksPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListSinksInputListSinksPaginateTypeDef#

# ListSinksInputListSinksPaginateTypeDef definition

class ListSinksInputListSinksPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListAttachedLinksOutputTypeDef#

# ListAttachedLinksOutputTypeDef definition

class ListAttachedLinksOutputTypeDef(TypedDict):
    Items: List[ListAttachedLinksItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ListAttachedLinksItemTypeDef
  2. See ResponseMetadataTypeDef

ListLinksOutputTypeDef#

# ListLinksOutputTypeDef definition

class ListLinksOutputTypeDef(TypedDict):
    Items: List[ListLinksItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ListLinksItemTypeDef
  2. See ResponseMetadataTypeDef

ListSinksOutputTypeDef#

# ListSinksOutputTypeDef definition

class ListSinksOutputTypeDef(TypedDict):
    Items: List[ListSinksItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ListSinksItemTypeDef
  2. See ResponseMetadataTypeDef

CreateLinkInputRequestTypeDef#

# CreateLinkInputRequestTypeDef definition

class CreateLinkInputRequestTypeDef(TypedDict):
    LabelTemplate: str,
    ResourceTypes: Sequence[ResourceTypeType],  # (1)
    SinkIdentifier: str,
    LinkConfiguration: NotRequired[LinkConfigurationTypeDef],  # (2)
    Tags: NotRequired[Mapping[str, str]],
  1. See ResourceTypeType
  2. See LinkConfigurationTypeDef

CreateLinkOutputTypeDef#

# CreateLinkOutputTypeDef definition

class CreateLinkOutputTypeDef(TypedDict):
    Arn: str,
    Id: str,
    Label: str,
    LabelTemplate: str,
    LinkConfiguration: LinkConfigurationTypeDef,  # (1)
    ResourceTypes: List[str],
    SinkArn: str,
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LinkConfigurationTypeDef
  2. See ResponseMetadataTypeDef

GetLinkOutputTypeDef#

# GetLinkOutputTypeDef definition

class GetLinkOutputTypeDef(TypedDict):
    Arn: str,
    Id: str,
    Label: str,
    LabelTemplate: str,
    LinkConfiguration: LinkConfigurationTypeDef,  # (1)
    ResourceTypes: List[str],
    SinkArn: str,
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LinkConfigurationTypeDef
  2. See ResponseMetadataTypeDef

UpdateLinkInputRequestTypeDef#

# UpdateLinkInputRequestTypeDef definition

class UpdateLinkInputRequestTypeDef(TypedDict):
    Identifier: str,
    ResourceTypes: Sequence[ResourceTypeType],  # (1)
    LinkConfiguration: NotRequired[LinkConfigurationTypeDef],  # (2)
  1. See ResourceTypeType
  2. See LinkConfigurationTypeDef

UpdateLinkOutputTypeDef#

# UpdateLinkOutputTypeDef definition

class UpdateLinkOutputTypeDef(TypedDict):
    Arn: str,
    Id: str,
    Label: str,
    LabelTemplate: str,
    LinkConfiguration: LinkConfigurationTypeDef,  # (1)
    ResourceTypes: List[str],
    SinkArn: str,
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LinkConfigurationTypeDef
  2. See ResponseMetadataTypeDef