Skip to content

Type definitions#

Index > ServiceDiscovery > Type definitions

Auto-generated documentation for ServiceDiscovery type annotations stubs module types-boto3-servicediscovery.

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

HealthCheckConfigTypeDef#

# HealthCheckConfigTypeDef definition

class HealthCheckConfigTypeDef(TypedDict):
    Type: HealthCheckTypeType,  # (1)
    ResourcePath: NotRequired[str],
    FailureThreshold: NotRequired[int],
  1. See HealthCheckTypeType

HealthCheckCustomConfigTypeDef#

# HealthCheckCustomConfigTypeDef definition

class HealthCheckCustomConfigTypeDef(TypedDict):
    FailureThreshold: NotRequired[int],

DeleteNamespaceRequestRequestTypeDef#

# DeleteNamespaceRequestRequestTypeDef definition

class DeleteNamespaceRequestRequestTypeDef(TypedDict):
    Id: str,

DeleteServiceAttributesRequestRequestTypeDef#

# DeleteServiceAttributesRequestRequestTypeDef definition

class DeleteServiceAttributesRequestRequestTypeDef(TypedDict):
    ServiceId: str,
    Attributes: Sequence[str],

DeleteServiceRequestRequestTypeDef#

# DeleteServiceRequestRequestTypeDef definition

class DeleteServiceRequestRequestTypeDef(TypedDict):
    Id: str,

DeregisterInstanceRequestRequestTypeDef#

# DeregisterInstanceRequestRequestTypeDef definition

class DeregisterInstanceRequestRequestTypeDef(TypedDict):
    ServiceId: str,
    InstanceId: str,

DiscoverInstancesRequestRequestTypeDef#

# DiscoverInstancesRequestRequestTypeDef definition

class DiscoverInstancesRequestRequestTypeDef(TypedDict):
    NamespaceName: str,
    ServiceName: str,
    MaxResults: NotRequired[int],
    QueryParameters: NotRequired[Mapping[str, str]],
    OptionalParameters: NotRequired[Mapping[str, str]],
    HealthStatus: NotRequired[HealthStatusFilterType],  # (1)
  1. See HealthStatusFilterType

HttpInstanceSummaryTypeDef#

# HttpInstanceSummaryTypeDef definition

class HttpInstanceSummaryTypeDef(TypedDict):
    InstanceId: NotRequired[str],
    NamespaceName: NotRequired[str],
    ServiceName: NotRequired[str],
    HealthStatus: NotRequired[HealthStatusType],  # (1)
    Attributes: NotRequired[dict[str, str]],
  1. See HealthStatusType

DiscoverInstancesRevisionRequestRequestTypeDef#

# DiscoverInstancesRevisionRequestRequestTypeDef definition

class DiscoverInstancesRevisionRequestRequestTypeDef(TypedDict):
    NamespaceName: str,
    ServiceName: str,

DnsRecordTypeDef#

# DnsRecordTypeDef definition

class DnsRecordTypeDef(TypedDict):
    Type: RecordTypeType,  # (1)
    TTL: int,
  1. See RecordTypeType

SOATypeDef#

# SOATypeDef definition

class SOATypeDef(TypedDict):
    TTL: int,

GetInstanceRequestRequestTypeDef#

# GetInstanceRequestRequestTypeDef definition

class GetInstanceRequestRequestTypeDef(TypedDict):
    ServiceId: str,
    InstanceId: str,

InstanceTypeDef#

# InstanceTypeDef definition

class InstanceTypeDef(TypedDict):
    Id: str,
    CreatorRequestId: NotRequired[str],
    Attributes: NotRequired[dict[str, str]],

GetInstancesHealthStatusRequestRequestTypeDef#

# GetInstancesHealthStatusRequestRequestTypeDef definition

class GetInstancesHealthStatusRequestRequestTypeDef(TypedDict):
    ServiceId: str,
    Instances: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

GetNamespaceRequestRequestTypeDef#

# GetNamespaceRequestRequestTypeDef definition

class GetNamespaceRequestRequestTypeDef(TypedDict):
    Id: str,

GetOperationRequestRequestTypeDef#

# GetOperationRequestRequestTypeDef definition

class GetOperationRequestRequestTypeDef(TypedDict):
    OperationId: str,

OperationTypeDef#

# OperationTypeDef definition

class OperationTypeDef(TypedDict):
    Id: NotRequired[str],
    Type: NotRequired[OperationTypeType],  # (1)
    Status: NotRequired[OperationStatusType],  # (2)
    ErrorMessage: NotRequired[str],
    ErrorCode: NotRequired[str],
    CreateDate: NotRequired[datetime],
    UpdateDate: NotRequired[datetime],
    Targets: NotRequired[dict[OperationTargetTypeType, str]],  # (3)
  1. See OperationTypeType
  2. See OperationStatusType
  3. See OperationTargetTypeType

GetServiceAttributesRequestRequestTypeDef#

# GetServiceAttributesRequestRequestTypeDef definition

class GetServiceAttributesRequestRequestTypeDef(TypedDict):
    ServiceId: str,

ServiceAttributesTypeDef#

# ServiceAttributesTypeDef definition

class ServiceAttributesTypeDef(TypedDict):
    ServiceArn: NotRequired[str],
    Attributes: NotRequired[dict[str, str]],

GetServiceRequestRequestTypeDef#

# GetServiceRequestRequestTypeDef definition

class GetServiceRequestRequestTypeDef(TypedDict):
    Id: str,

HttpNamespaceChangeTypeDef#

# HttpNamespaceChangeTypeDef definition

class HttpNamespaceChangeTypeDef(TypedDict):
    Description: str,

HttpPropertiesTypeDef#

# HttpPropertiesTypeDef definition

class HttpPropertiesTypeDef(TypedDict):
    HttpName: NotRequired[str],

InstanceSummaryTypeDef#

# InstanceSummaryTypeDef definition

class InstanceSummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Attributes: NotRequired[dict[str, str]],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListInstancesRequestRequestTypeDef#

# ListInstancesRequestRequestTypeDef definition

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

NamespaceFilterTypeDef#

# NamespaceFilterTypeDef definition

class NamespaceFilterTypeDef(TypedDict):
    Name: NamespaceFilterNameType,  # (1)
    Values: Sequence[str],
    Condition: NotRequired[FilterConditionType],  # (2)
  1. See NamespaceFilterNameType
  2. See FilterConditionType

OperationFilterTypeDef#

# OperationFilterTypeDef definition

class OperationFilterTypeDef(TypedDict):
    Name: OperationFilterNameType,  # (1)
    Values: Sequence[str],
    Condition: NotRequired[FilterConditionType],  # (2)
  1. See OperationFilterNameType
  2. See FilterConditionType

OperationSummaryTypeDef#

# OperationSummaryTypeDef definition

class OperationSummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Status: NotRequired[OperationStatusType],  # (1)
  1. See OperationStatusType

ServiceFilterTypeDef#

# ServiceFilterTypeDef definition

class ServiceFilterTypeDef(TypedDict):
    Name: ServiceFilterNameType,  # (1)
    Values: Sequence[str],
    Condition: NotRequired[FilterConditionType],  # (2)
  1. See ServiceFilterNameType
  2. See FilterConditionType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,

SOAChangeTypeDef#

# SOAChangeTypeDef definition

class SOAChangeTypeDef(TypedDict):
    TTL: int,

RegisterInstanceRequestRequestTypeDef#

# RegisterInstanceRequestRequestTypeDef definition

class RegisterInstanceRequestRequestTypeDef(TypedDict):
    ServiceId: str,
    InstanceId: str,
    Attributes: Mapping[str, str],
    CreatorRequestId: NotRequired[str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,
    TagKeys: Sequence[str],

UpdateInstanceCustomHealthStatusRequestRequestTypeDef#

# UpdateInstanceCustomHealthStatusRequestRequestTypeDef definition

class UpdateInstanceCustomHealthStatusRequestRequestTypeDef(TypedDict):
    ServiceId: str,
    InstanceId: str,
    Status: CustomHealthStatusType,  # (1)
  1. See CustomHealthStatusType

UpdateServiceAttributesRequestRequestTypeDef#

# UpdateServiceAttributesRequestRequestTypeDef definition

class UpdateServiceAttributesRequestRequestTypeDef(TypedDict):
    ServiceId: str,
    Attributes: Mapping[str, str],

CreateHttpNamespaceRequestRequestTypeDef#

# CreateHttpNamespaceRequestRequestTypeDef definition

class CreateHttpNamespaceRequestRequestTypeDef(TypedDict):
    Name: str,
    CreatorRequestId: NotRequired[str],
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CreateHttpNamespaceResponseTypeDef#

# CreateHttpNamespaceResponseTypeDef definition

class CreateHttpNamespaceResponseTypeDef(TypedDict):
    OperationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreatePrivateDnsNamespaceResponseTypeDef#

# CreatePrivateDnsNamespaceResponseTypeDef definition

class CreatePrivateDnsNamespaceResponseTypeDef(TypedDict):
    OperationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreatePublicDnsNamespaceResponseTypeDef#

# CreatePublicDnsNamespaceResponseTypeDef definition

class CreatePublicDnsNamespaceResponseTypeDef(TypedDict):
    OperationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteNamespaceResponseTypeDef#

# DeleteNamespaceResponseTypeDef definition

class DeleteNamespaceResponseTypeDef(TypedDict):
    OperationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeregisterInstanceResponseTypeDef#

# DeregisterInstanceResponseTypeDef definition

class DeregisterInstanceResponseTypeDef(TypedDict):
    OperationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DiscoverInstancesRevisionResponseTypeDef#

# DiscoverInstancesRevisionResponseTypeDef definition

class DiscoverInstancesRevisionResponseTypeDef(TypedDict):
    InstancesRevision: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetInstancesHealthStatusResponseTypeDef#

# GetInstancesHealthStatusResponseTypeDef definition

class GetInstancesHealthStatusResponseTypeDef(TypedDict):
    Status: dict[str, HealthStatusType],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See HealthStatusType
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: list[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

RegisterInstanceResponseTypeDef#

# RegisterInstanceResponseTypeDef definition

class RegisterInstanceResponseTypeDef(TypedDict):
    OperationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateHttpNamespaceResponseTypeDef#

# UpdateHttpNamespaceResponseTypeDef definition

class UpdateHttpNamespaceResponseTypeDef(TypedDict):
    OperationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdatePrivateDnsNamespaceResponseTypeDef#

# UpdatePrivateDnsNamespaceResponseTypeDef definition

class UpdatePrivateDnsNamespaceResponseTypeDef(TypedDict):
    OperationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdatePublicDnsNamespaceResponseTypeDef#

# UpdatePublicDnsNamespaceResponseTypeDef definition

class UpdatePublicDnsNamespaceResponseTypeDef(TypedDict):
    OperationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateServiceResponseTypeDef#

# UpdateServiceResponseTypeDef definition

class UpdateServiceResponseTypeDef(TypedDict):
    OperationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DiscoverInstancesResponseTypeDef#

# DiscoverInstancesResponseTypeDef definition

class DiscoverInstancesResponseTypeDef(TypedDict):
    Instances: list[HttpInstanceSummaryTypeDef],  # (1)
    InstancesRevision: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HttpInstanceSummaryTypeDef
  2. See ResponseMetadataTypeDef

DnsConfigChangeTypeDef#

# DnsConfigChangeTypeDef definition

class DnsConfigChangeTypeDef(TypedDict):
    DnsRecords: Sequence[DnsRecordTypeDef],  # (1)
  1. See DnsRecordTypeDef

DnsConfigOutputTypeDef#

# DnsConfigOutputTypeDef definition

class DnsConfigOutputTypeDef(TypedDict):
    DnsRecords: list[DnsRecordTypeDef],  # (2)
    NamespaceId: NotRequired[str],
    RoutingPolicy: NotRequired[RoutingPolicyType],  # (1)
  1. See RoutingPolicyType
  2. See DnsRecordTypeDef

DnsConfigTypeDef#

# DnsConfigTypeDef definition

class DnsConfigTypeDef(TypedDict):
    DnsRecords: Sequence[DnsRecordTypeDef],  # (2)
    NamespaceId: NotRequired[str],
    RoutingPolicy: NotRequired[RoutingPolicyType],  # (1)
  1. See RoutingPolicyType
  2. See DnsRecordTypeDef

DnsPropertiesTypeDef#

# DnsPropertiesTypeDef definition

class DnsPropertiesTypeDef(TypedDict):
    HostedZoneId: NotRequired[str],
    SOA: NotRequired[SOATypeDef],  # (1)
  1. See SOATypeDef

PrivateDnsPropertiesMutableTypeDef#

# PrivateDnsPropertiesMutableTypeDef definition

class PrivateDnsPropertiesMutableTypeDef(TypedDict):
    SOA: SOATypeDef,  # (1)
  1. See SOATypeDef

PublicDnsPropertiesMutableTypeDef#

# PublicDnsPropertiesMutableTypeDef definition

class PublicDnsPropertiesMutableTypeDef(TypedDict):
    SOA: SOATypeDef,  # (1)
  1. See SOATypeDef

GetInstanceResponseTypeDef#

# GetInstanceResponseTypeDef definition

class GetInstanceResponseTypeDef(TypedDict):
    Instance: InstanceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceTypeDef
  2. See ResponseMetadataTypeDef

GetOperationResponseTypeDef#

# GetOperationResponseTypeDef definition

class GetOperationResponseTypeDef(TypedDict):
    Operation: OperationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See OperationTypeDef
  2. See ResponseMetadataTypeDef

GetServiceAttributesResponseTypeDef#

# GetServiceAttributesResponseTypeDef definition

class GetServiceAttributesResponseTypeDef(TypedDict):
    ServiceAttributes: ServiceAttributesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ServiceAttributesTypeDef
  2. See ResponseMetadataTypeDef

UpdateHttpNamespaceRequestRequestTypeDef#

# UpdateHttpNamespaceRequestRequestTypeDef definition

class UpdateHttpNamespaceRequestRequestTypeDef(TypedDict):
    Id: str,
    Namespace: HttpNamespaceChangeTypeDef,  # (1)
    UpdaterRequestId: NotRequired[str],
  1. See HttpNamespaceChangeTypeDef

ListInstancesResponseTypeDef#

# ListInstancesResponseTypeDef definition

class ListInstancesResponseTypeDef(TypedDict):
    Instances: list[InstanceSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See InstanceSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListInstancesRequestPaginateTypeDef#

# ListInstancesRequestPaginateTypeDef definition

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

ListNamespacesRequestPaginateTypeDef#

# ListNamespacesRequestPaginateTypeDef definition

class ListNamespacesRequestPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[NamespaceFilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See NamespaceFilterTypeDef
  2. See PaginatorConfigTypeDef

ListNamespacesRequestRequestTypeDef#

# ListNamespacesRequestRequestTypeDef definition

class ListNamespacesRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    Filters: NotRequired[Sequence[NamespaceFilterTypeDef]],  # (1)
  1. See NamespaceFilterTypeDef

ListOperationsRequestPaginateTypeDef#

# ListOperationsRequestPaginateTypeDef definition

class ListOperationsRequestPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[OperationFilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See OperationFilterTypeDef
  2. See PaginatorConfigTypeDef

ListOperationsRequestRequestTypeDef#

# ListOperationsRequestRequestTypeDef definition

class ListOperationsRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    Filters: NotRequired[Sequence[OperationFilterTypeDef]],  # (1)
  1. See OperationFilterTypeDef

ListOperationsResponseTypeDef#

# ListOperationsResponseTypeDef definition

class ListOperationsResponseTypeDef(TypedDict):
    Operations: list[OperationSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See OperationSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListServicesRequestPaginateTypeDef#

# ListServicesRequestPaginateTypeDef definition

class ListServicesRequestPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[ServiceFilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ServiceFilterTypeDef
  2. See PaginatorConfigTypeDef

ListServicesRequestRequestTypeDef#

# ListServicesRequestRequestTypeDef definition

class ListServicesRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    Filters: NotRequired[Sequence[ServiceFilterTypeDef]],  # (1)
  1. See ServiceFilterTypeDef

PrivateDnsPropertiesMutableChangeTypeDef#

# PrivateDnsPropertiesMutableChangeTypeDef definition

class PrivateDnsPropertiesMutableChangeTypeDef(TypedDict):
    SOA: SOAChangeTypeDef,  # (1)
  1. See SOAChangeTypeDef

PublicDnsPropertiesMutableChangeTypeDef#

# PublicDnsPropertiesMutableChangeTypeDef definition

class PublicDnsPropertiesMutableChangeTypeDef(TypedDict):
    SOA: SOAChangeTypeDef,  # (1)
  1. See SOAChangeTypeDef

ServiceChangeTypeDef#

# ServiceChangeTypeDef definition

class ServiceChangeTypeDef(TypedDict):
    Description: NotRequired[str],
    DnsConfig: NotRequired[DnsConfigChangeTypeDef],  # (1)
    HealthCheckConfig: NotRequired[HealthCheckConfigTypeDef],  # (2)
  1. See DnsConfigChangeTypeDef
  2. See HealthCheckConfigTypeDef

ServiceSummaryTypeDef#

# ServiceSummaryTypeDef definition

class ServiceSummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Arn: NotRequired[str],
    Name: NotRequired[str],
    Type: NotRequired[ServiceTypeType],  # (1)
    Description: NotRequired[str],
    InstanceCount: NotRequired[int],
    DnsConfig: NotRequired[DnsConfigOutputTypeDef],  # (2)
    HealthCheckConfig: NotRequired[HealthCheckConfigTypeDef],  # (3)
    HealthCheckCustomConfig: NotRequired[HealthCheckCustomConfigTypeDef],  # (4)
    CreateDate: NotRequired[datetime],
  1. See ServiceTypeType
  2. See DnsConfigOutputTypeDef
  3. See HealthCheckConfigTypeDef
  4. See HealthCheckCustomConfigTypeDef

ServiceTypeDef#

# ServiceTypeDef definition

class ServiceTypeDef(TypedDict):
    Id: NotRequired[str],
    Arn: NotRequired[str],
    Name: NotRequired[str],
    NamespaceId: NotRequired[str],
    Description: NotRequired[str],
    InstanceCount: NotRequired[int],
    DnsConfig: NotRequired[DnsConfigOutputTypeDef],  # (1)
    Type: NotRequired[ServiceTypeType],  # (2)
    HealthCheckConfig: NotRequired[HealthCheckConfigTypeDef],  # (3)
    HealthCheckCustomConfig: NotRequired[HealthCheckCustomConfigTypeDef],  # (4)
    CreateDate: NotRequired[datetime],
    CreatorRequestId: NotRequired[str],
  1. See DnsConfigOutputTypeDef
  2. See ServiceTypeType
  3. See HealthCheckConfigTypeDef
  4. See HealthCheckCustomConfigTypeDef

CreateServiceRequestRequestTypeDef#

# CreateServiceRequestRequestTypeDef definition

class CreateServiceRequestRequestTypeDef(TypedDict):
    Name: str,
    NamespaceId: NotRequired[str],
    CreatorRequestId: NotRequired[str],
    Description: NotRequired[str],
    DnsConfig: NotRequired[DnsConfigTypeDef],  # (1)
    HealthCheckConfig: NotRequired[HealthCheckConfigTypeDef],  # (2)
    HealthCheckCustomConfig: NotRequired[HealthCheckCustomConfigTypeDef],  # (3)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (4)
    Type: NotRequired[ServiceTypeOptionType],  # (5)
  1. See DnsConfigTypeDef
  2. See HealthCheckConfigTypeDef
  3. See HealthCheckCustomConfigTypeDef
  4. See TagTypeDef
  5. See ServiceTypeOptionType

NamespacePropertiesTypeDef#

# NamespacePropertiesTypeDef definition

class NamespacePropertiesTypeDef(TypedDict):
    DnsProperties: NotRequired[DnsPropertiesTypeDef],  # (1)
    HttpProperties: NotRequired[HttpPropertiesTypeDef],  # (2)
  1. See DnsPropertiesTypeDef
  2. See HttpPropertiesTypeDef

PrivateDnsNamespacePropertiesTypeDef#

# PrivateDnsNamespacePropertiesTypeDef definition

class PrivateDnsNamespacePropertiesTypeDef(TypedDict):
    DnsProperties: PrivateDnsPropertiesMutableTypeDef,  # (1)
  1. See PrivateDnsPropertiesMutableTypeDef

PublicDnsNamespacePropertiesTypeDef#

# PublicDnsNamespacePropertiesTypeDef definition

class PublicDnsNamespacePropertiesTypeDef(TypedDict):
    DnsProperties: PublicDnsPropertiesMutableTypeDef,  # (1)
  1. See PublicDnsPropertiesMutableTypeDef

PrivateDnsNamespacePropertiesChangeTypeDef#

# PrivateDnsNamespacePropertiesChangeTypeDef definition

class PrivateDnsNamespacePropertiesChangeTypeDef(TypedDict):
    DnsProperties: PrivateDnsPropertiesMutableChangeTypeDef,  # (1)
  1. See PrivateDnsPropertiesMutableChangeTypeDef

PublicDnsNamespacePropertiesChangeTypeDef#

# PublicDnsNamespacePropertiesChangeTypeDef definition

class PublicDnsNamespacePropertiesChangeTypeDef(TypedDict):
    DnsProperties: PublicDnsPropertiesMutableChangeTypeDef,  # (1)
  1. See PublicDnsPropertiesMutableChangeTypeDef

UpdateServiceRequestRequestTypeDef#

# UpdateServiceRequestRequestTypeDef definition

class UpdateServiceRequestRequestTypeDef(TypedDict):
    Id: str,
    Service: ServiceChangeTypeDef,  # (1)
  1. See ServiceChangeTypeDef

ListServicesResponseTypeDef#

# ListServicesResponseTypeDef definition

class ListServicesResponseTypeDef(TypedDict):
    Services: list[ServiceSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ServiceSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreateServiceResponseTypeDef#

# CreateServiceResponseTypeDef definition

class CreateServiceResponseTypeDef(TypedDict):
    Service: ServiceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ServiceTypeDef
  2. See ResponseMetadataTypeDef

GetServiceResponseTypeDef#

# GetServiceResponseTypeDef definition

class GetServiceResponseTypeDef(TypedDict):
    Service: ServiceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ServiceTypeDef
  2. See ResponseMetadataTypeDef

NamespaceSummaryTypeDef#

# NamespaceSummaryTypeDef definition

class NamespaceSummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Arn: NotRequired[str],
    Name: NotRequired[str],
    Type: NotRequired[NamespaceTypeType],  # (1)
    Description: NotRequired[str],
    ServiceCount: NotRequired[int],
    Properties: NotRequired[NamespacePropertiesTypeDef],  # (2)
    CreateDate: NotRequired[datetime],
  1. See NamespaceTypeType
  2. See NamespacePropertiesTypeDef

NamespaceTypeDef#

# NamespaceTypeDef definition

class NamespaceTypeDef(TypedDict):
    Id: NotRequired[str],
    Arn: NotRequired[str],
    Name: NotRequired[str],
    Type: NotRequired[NamespaceTypeType],  # (1)
    Description: NotRequired[str],
    ServiceCount: NotRequired[int],
    Properties: NotRequired[NamespacePropertiesTypeDef],  # (2)
    CreateDate: NotRequired[datetime],
    CreatorRequestId: NotRequired[str],
  1. See NamespaceTypeType
  2. See NamespacePropertiesTypeDef

CreatePrivateDnsNamespaceRequestRequestTypeDef#

# CreatePrivateDnsNamespaceRequestRequestTypeDef definition

class CreatePrivateDnsNamespaceRequestRequestTypeDef(TypedDict):
    Name: str,
    Vpc: str,
    CreatorRequestId: NotRequired[str],
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    Properties: NotRequired[PrivateDnsNamespacePropertiesTypeDef],  # (2)
  1. See TagTypeDef
  2. See PrivateDnsNamespacePropertiesTypeDef

CreatePublicDnsNamespaceRequestRequestTypeDef#

# CreatePublicDnsNamespaceRequestRequestTypeDef definition

class CreatePublicDnsNamespaceRequestRequestTypeDef(TypedDict):
    Name: str,
    CreatorRequestId: NotRequired[str],
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    Properties: NotRequired[PublicDnsNamespacePropertiesTypeDef],  # (2)
  1. See TagTypeDef
  2. See PublicDnsNamespacePropertiesTypeDef

PrivateDnsNamespaceChangeTypeDef#

# PrivateDnsNamespaceChangeTypeDef definition

class PrivateDnsNamespaceChangeTypeDef(TypedDict):
    Description: NotRequired[str],
    Properties: NotRequired[PrivateDnsNamespacePropertiesChangeTypeDef],  # (1)
  1. See PrivateDnsNamespacePropertiesChangeTypeDef

PublicDnsNamespaceChangeTypeDef#

# PublicDnsNamespaceChangeTypeDef definition

class PublicDnsNamespaceChangeTypeDef(TypedDict):
    Description: NotRequired[str],
    Properties: NotRequired[PublicDnsNamespacePropertiesChangeTypeDef],  # (1)
  1. See PublicDnsNamespacePropertiesChangeTypeDef

ListNamespacesResponseTypeDef#

# ListNamespacesResponseTypeDef definition

class ListNamespacesResponseTypeDef(TypedDict):
    Namespaces: list[NamespaceSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See NamespaceSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetNamespaceResponseTypeDef#

# GetNamespaceResponseTypeDef definition

class GetNamespaceResponseTypeDef(TypedDict):
    Namespace: NamespaceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NamespaceTypeDef
  2. See ResponseMetadataTypeDef

UpdatePrivateDnsNamespaceRequestRequestTypeDef#

# UpdatePrivateDnsNamespaceRequestRequestTypeDef definition

class UpdatePrivateDnsNamespaceRequestRequestTypeDef(TypedDict):
    Id: str,
    Namespace: PrivateDnsNamespaceChangeTypeDef,  # (1)
    UpdaterRequestId: NotRequired[str],
  1. See PrivateDnsNamespaceChangeTypeDef

UpdatePublicDnsNamespaceRequestRequestTypeDef#

# UpdatePublicDnsNamespaceRequestRequestTypeDef definition

class UpdatePublicDnsNamespaceRequestRequestTypeDef(TypedDict):
    Id: str,
    Namespace: PublicDnsNamespaceChangeTypeDef,  # (1)
    UpdaterRequestId: NotRequired[str],
  1. See PublicDnsNamespaceChangeTypeDef