Skip to content

Type definitions#

Index > VPCLattice > Type definitions

Auto-generated documentation for VPCLattice type annotations stubs module mypy-boto3-vpc-lattice.

AccessLogSubscriptionSummaryTypeDef#

# AccessLogSubscriptionSummaryTypeDef definition

class AccessLogSubscriptionSummaryTypeDef(TypedDict):
    arn: str,
    createdAt: datetime,
    destinationArn: str,
    id: str,
    lastUpdatedAt: datetime,
    resourceArn: str,
    resourceId: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

RuleUpdateFailureTypeDef#

# RuleUpdateFailureTypeDef definition

class RuleUpdateFailureTypeDef(TypedDict):
    failureCode: NotRequired[str],
    failureMessage: NotRequired[str],
    ruleIdentifier: NotRequired[str],

CreateAccessLogSubscriptionRequestRequestTypeDef#

# CreateAccessLogSubscriptionRequestRequestTypeDef definition

class CreateAccessLogSubscriptionRequestRequestTypeDef(TypedDict):
    destinationArn: str,
    resourceIdentifier: str,
    clientToken: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],

CreateServiceNetworkRequestRequestTypeDef#

# CreateServiceNetworkRequestRequestTypeDef definition

class CreateServiceNetworkRequestRequestTypeDef(TypedDict):
    name: str,
    authType: NotRequired[AuthTypeType],  # (1)
    clientToken: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
  1. See AuthTypeType

CreateServiceNetworkServiceAssociationRequestRequestTypeDef#

# CreateServiceNetworkServiceAssociationRequestRequestTypeDef definition

class CreateServiceNetworkServiceAssociationRequestRequestTypeDef(TypedDict):
    serviceIdentifier: str,
    serviceNetworkIdentifier: str,
    clientToken: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],

DnsEntryTypeDef#

# DnsEntryTypeDef definition

class DnsEntryTypeDef(TypedDict):
    domainName: NotRequired[str],
    hostedZoneId: NotRequired[str],

CreateServiceNetworkVpcAssociationRequestRequestTypeDef#

# CreateServiceNetworkVpcAssociationRequestRequestTypeDef definition

class CreateServiceNetworkVpcAssociationRequestRequestTypeDef(TypedDict):
    serviceNetworkIdentifier: str,
    vpcIdentifier: str,
    clientToken: NotRequired[str],
    securityGroupIds: NotRequired[Sequence[str]],
    tags: NotRequired[Mapping[str, str]],

CreateServiceRequestRequestTypeDef#

# CreateServiceRequestRequestTypeDef definition

class CreateServiceRequestRequestTypeDef(TypedDict):
    name: str,
    authType: NotRequired[AuthTypeType],  # (1)
    certificateArn: NotRequired[str],
    clientToken: NotRequired[str],
    customDomainName: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
  1. See AuthTypeType

DeleteAccessLogSubscriptionRequestRequestTypeDef#

# DeleteAccessLogSubscriptionRequestRequestTypeDef definition

class DeleteAccessLogSubscriptionRequestRequestTypeDef(TypedDict):
    accessLogSubscriptionIdentifier: str,

DeleteAuthPolicyRequestRequestTypeDef#

# DeleteAuthPolicyRequestRequestTypeDef definition

class DeleteAuthPolicyRequestRequestTypeDef(TypedDict):
    resourceIdentifier: str,

DeleteListenerRequestRequestTypeDef#

# DeleteListenerRequestRequestTypeDef definition

class DeleteListenerRequestRequestTypeDef(TypedDict):
    listenerIdentifier: str,
    serviceIdentifier: str,

DeleteResourcePolicyRequestRequestTypeDef#

# DeleteResourcePolicyRequestRequestTypeDef definition

class DeleteResourcePolicyRequestRequestTypeDef(TypedDict):
    resourceArn: str,

DeleteRuleRequestRequestTypeDef#

# DeleteRuleRequestRequestTypeDef definition

class DeleteRuleRequestRequestTypeDef(TypedDict):
    listenerIdentifier: str,
    ruleIdentifier: str,
    serviceIdentifier: str,

DeleteServiceNetworkRequestRequestTypeDef#

# DeleteServiceNetworkRequestRequestTypeDef definition

class DeleteServiceNetworkRequestRequestTypeDef(TypedDict):
    serviceNetworkIdentifier: str,

DeleteServiceNetworkServiceAssociationRequestRequestTypeDef#

# DeleteServiceNetworkServiceAssociationRequestRequestTypeDef definition

class DeleteServiceNetworkServiceAssociationRequestRequestTypeDef(TypedDict):
    serviceNetworkServiceAssociationIdentifier: str,

DeleteServiceNetworkVpcAssociationRequestRequestTypeDef#

# DeleteServiceNetworkVpcAssociationRequestRequestTypeDef definition

class DeleteServiceNetworkVpcAssociationRequestRequestTypeDef(TypedDict):
    serviceNetworkVpcAssociationIdentifier: str,

DeleteServiceRequestRequestTypeDef#

# DeleteServiceRequestRequestTypeDef definition

class DeleteServiceRequestRequestTypeDef(TypedDict):
    serviceIdentifier: str,

DeleteTargetGroupRequestRequestTypeDef#

# DeleteTargetGroupRequestRequestTypeDef definition

class DeleteTargetGroupRequestRequestTypeDef(TypedDict):
    targetGroupIdentifier: str,

TargetTypeDef#

# TargetTypeDef definition

class TargetTypeDef(TypedDict):
    id: str,
    port: NotRequired[int],

TargetFailureTypeDef#

# TargetFailureTypeDef definition

class TargetFailureTypeDef(TypedDict):
    failureCode: NotRequired[str],
    failureMessage: NotRequired[str],
    id: NotRequired[str],
    port: NotRequired[int],

FixedResponseActionTypeDef#

# FixedResponseActionTypeDef definition

class FixedResponseActionTypeDef(TypedDict):
    statusCode: int,

WeightedTargetGroupTypeDef#

# WeightedTargetGroupTypeDef definition

class WeightedTargetGroupTypeDef(TypedDict):
    targetGroupIdentifier: str,
    weight: NotRequired[int],

GetAccessLogSubscriptionRequestRequestTypeDef#

# GetAccessLogSubscriptionRequestRequestTypeDef definition

class GetAccessLogSubscriptionRequestRequestTypeDef(TypedDict):
    accessLogSubscriptionIdentifier: str,

GetAuthPolicyRequestRequestTypeDef#

# GetAuthPolicyRequestRequestTypeDef definition

class GetAuthPolicyRequestRequestTypeDef(TypedDict):
    resourceIdentifier: str,

GetListenerRequestRequestTypeDef#

# GetListenerRequestRequestTypeDef definition

class GetListenerRequestRequestTypeDef(TypedDict):
    listenerIdentifier: str,
    serviceIdentifier: str,

GetResourcePolicyRequestRequestTypeDef#

# GetResourcePolicyRequestRequestTypeDef definition

class GetResourcePolicyRequestRequestTypeDef(TypedDict):
    resourceArn: str,

GetRuleRequestRequestTypeDef#

# GetRuleRequestRequestTypeDef definition

class GetRuleRequestRequestTypeDef(TypedDict):
    listenerIdentifier: str,
    ruleIdentifier: str,
    serviceIdentifier: str,

GetServiceNetworkRequestRequestTypeDef#

# GetServiceNetworkRequestRequestTypeDef definition

class GetServiceNetworkRequestRequestTypeDef(TypedDict):
    serviceNetworkIdentifier: str,

GetServiceNetworkServiceAssociationRequestRequestTypeDef#

# GetServiceNetworkServiceAssociationRequestRequestTypeDef definition

class GetServiceNetworkServiceAssociationRequestRequestTypeDef(TypedDict):
    serviceNetworkServiceAssociationIdentifier: str,

GetServiceNetworkVpcAssociationRequestRequestTypeDef#

# GetServiceNetworkVpcAssociationRequestRequestTypeDef definition

class GetServiceNetworkVpcAssociationRequestRequestTypeDef(TypedDict):
    serviceNetworkVpcAssociationIdentifier: str,

GetServiceRequestRequestTypeDef#

# GetServiceRequestRequestTypeDef definition

class GetServiceRequestRequestTypeDef(TypedDict):
    serviceIdentifier: str,

GetTargetGroupRequestRequestTypeDef#

# GetTargetGroupRequestRequestTypeDef definition

class GetTargetGroupRequestRequestTypeDef(TypedDict):
    targetGroupIdentifier: str,

HeaderMatchTypeTypeDef#

# HeaderMatchTypeTypeDef definition

class HeaderMatchTypeTypeDef(TypedDict):
    contains: NotRequired[str],
    exact: NotRequired[str],
    prefix: NotRequired[str],

MatcherTypeDef#

# MatcherTypeDef definition

class MatcherTypeDef(TypedDict):
    httpCode: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListAccessLogSubscriptionsRequestRequestTypeDef#

# ListAccessLogSubscriptionsRequestRequestTypeDef definition

class ListAccessLogSubscriptionsRequestRequestTypeDef(TypedDict):
    resourceIdentifier: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListListenersRequestRequestTypeDef#

# ListListenersRequestRequestTypeDef definition

class ListListenersRequestRequestTypeDef(TypedDict):
    serviceIdentifier: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListenerSummaryTypeDef#

# ListenerSummaryTypeDef definition

class ListenerSummaryTypeDef(TypedDict):
    arn: NotRequired[str],
    createdAt: NotRequired[datetime],
    id: NotRequired[str],
    lastUpdatedAt: NotRequired[datetime],
    name: NotRequired[str],
    port: NotRequired[int],
    protocol: NotRequired[ListenerProtocolType],  # (1)
  1. See ListenerProtocolType

ListRulesRequestRequestTypeDef#

# ListRulesRequestRequestTypeDef definition

class ListRulesRequestRequestTypeDef(TypedDict):
    listenerIdentifier: str,
    serviceIdentifier: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

RuleSummaryTypeDef#

# RuleSummaryTypeDef definition

class RuleSummaryTypeDef(TypedDict):
    arn: NotRequired[str],
    createdAt: NotRequired[datetime],
    id: NotRequired[str],
    isDefault: NotRequired[bool],
    lastUpdatedAt: NotRequired[datetime],
    name: NotRequired[str],
    priority: NotRequired[int],

ListServiceNetworkServiceAssociationsRequestRequestTypeDef#

# ListServiceNetworkServiceAssociationsRequestRequestTypeDef definition

class ListServiceNetworkServiceAssociationsRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    serviceIdentifier: NotRequired[str],
    serviceNetworkIdentifier: NotRequired[str],

ListServiceNetworkVpcAssociationsRequestRequestTypeDef#

# ListServiceNetworkVpcAssociationsRequestRequestTypeDef definition

class ListServiceNetworkVpcAssociationsRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    serviceNetworkIdentifier: NotRequired[str],
    vpcIdentifier: NotRequired[str],

ServiceNetworkVpcAssociationSummaryTypeDef#

# ServiceNetworkVpcAssociationSummaryTypeDef definition

class ServiceNetworkVpcAssociationSummaryTypeDef(TypedDict):
    arn: NotRequired[str],
    createdAt: NotRequired[datetime],
    createdBy: NotRequired[str],
    id: NotRequired[str],
    lastUpdatedAt: NotRequired[datetime],
    serviceNetworkArn: NotRequired[str],
    serviceNetworkId: NotRequired[str],
    serviceNetworkName: NotRequired[str],
    status: NotRequired[ServiceNetworkVpcAssociationStatusType],  # (1)
    vpcId: NotRequired[str],
  1. See ServiceNetworkVpcAssociationStatusType

ListServiceNetworksRequestRequestTypeDef#

# ListServiceNetworksRequestRequestTypeDef definition

class ListServiceNetworksRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ServiceNetworkSummaryTypeDef#

# ServiceNetworkSummaryTypeDef definition

class ServiceNetworkSummaryTypeDef(TypedDict):
    arn: NotRequired[str],
    createdAt: NotRequired[datetime],
    id: NotRequired[str],
    lastUpdatedAt: NotRequired[datetime],
    name: NotRequired[str],
    numberOfAssociatedServices: NotRequired[int],
    numberOfAssociatedVPCs: NotRequired[int],

ListServicesRequestRequestTypeDef#

# ListServicesRequestRequestTypeDef definition

class ListServicesRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

ListTargetGroupsRequestRequestTypeDef#

# ListTargetGroupsRequestRequestTypeDef definition

class ListTargetGroupsRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    targetGroupType: NotRequired[TargetGroupTypeType],  # (1)
    vpcIdentifier: NotRequired[str],
  1. See TargetGroupTypeType

TargetGroupSummaryTypeDef#

# TargetGroupSummaryTypeDef definition

class TargetGroupSummaryTypeDef(TypedDict):
    arn: NotRequired[str],
    createdAt: NotRequired[datetime],
    id: NotRequired[str],
    ipAddressType: NotRequired[IpAddressTypeType],  # (1)
    lambdaEventStructureVersion: NotRequired[LambdaEventStructureVersionType],  # (2)
    lastUpdatedAt: NotRequired[datetime],
    name: NotRequired[str],
    port: NotRequired[int],
    protocol: NotRequired[TargetGroupProtocolType],  # (3)
    serviceArns: NotRequired[List[str]],
    status: NotRequired[TargetGroupStatusType],  # (4)
    type: NotRequired[TargetGroupTypeType],  # (5)
    vpcIdentifier: NotRequired[str],
  1. See IpAddressTypeType
  2. See LambdaEventStructureVersionType
  3. See TargetGroupProtocolType
  4. See TargetGroupStatusType
  5. See TargetGroupTypeType

TargetSummaryTypeDef#

# TargetSummaryTypeDef definition

class TargetSummaryTypeDef(TypedDict):
    id: NotRequired[str],
    port: NotRequired[int],
    reasonCode: NotRequired[str],
    status: NotRequired[TargetStatusType],  # (1)
  1. See TargetStatusType

PathMatchTypeTypeDef#

# PathMatchTypeTypeDef definition

class PathMatchTypeTypeDef(TypedDict):
    exact: NotRequired[str],
    prefix: NotRequired[str],

PutAuthPolicyRequestRequestTypeDef#

# PutAuthPolicyRequestRequestTypeDef definition

class PutAuthPolicyRequestRequestTypeDef(TypedDict):
    policy: str,
    resourceIdentifier: str,

PutResourcePolicyRequestRequestTypeDef#

# PutResourcePolicyRequestRequestTypeDef definition

class PutResourcePolicyRequestRequestTypeDef(TypedDict):
    policy: str,
    resourceArn: str,

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: