Skip to content

Typed dictionaries

Index > Lightsail > Typed dictionaries

Auto-generated documentation for Lightsail type annotations stubs module mypy-boto3-lightsail.

AccessKeyLastUsedTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import AccessKeyLastUsedTypeDef

def get_value() -> AccessKeyLastUsedTypeDef:
    return {
        "lastUsedDate": ...,
    }
Definition
class AccessKeyLastUsedTypeDef(TypedDict):
    lastUsedDate: NotRequired[datetime],
    region: NotRequired[str],
    serviceName: NotRequired[str],

AccessRulesTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import AccessRulesTypeDef

def get_value() -> AccessRulesTypeDef:
    return {
        "getObject": ...,
    }
Definition
class AccessRulesTypeDef(TypedDict):
    getObject: NotRequired[AccessTypeType],  # (1)
    allowPublicOverrides: NotRequired[bool],
  1. See AccessTypeType

AccountLevelBpaSyncTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import AccountLevelBpaSyncTypeDef

def get_value() -> AccountLevelBpaSyncTypeDef:
    return {
        "status": ...,
    }
Definition
class AccountLevelBpaSyncTypeDef(TypedDict):
    status: NotRequired[AccountLevelBpaSyncStatusType],  # (1)
    lastSyncedAt: NotRequired[datetime],
    message: NotRequired[BPAStatusMessageType],  # (2)
    bpaImpactsLightsail: NotRequired[bool],
  1. See AccountLevelBpaSyncStatusType
  2. See BPAStatusMessageType

AutoSnapshotAddOnRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import AutoSnapshotAddOnRequestTypeDef

def get_value() -> AutoSnapshotAddOnRequestTypeDef:
    return {
        "snapshotTimeOfDay": ...,
    }
Definition
class AutoSnapshotAddOnRequestTypeDef(TypedDict):
    snapshotTimeOfDay: NotRequired[str],

AddOnTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import AddOnTypeDef

def get_value() -> AddOnTypeDef:
    return {
        "name": ...,
    }
Definition
class AddOnTypeDef(TypedDict):
    name: NotRequired[str],
    status: NotRequired[str],
    snapshotTimeOfDay: NotRequired[str],
    nextSnapshotTimeOfDay: NotRequired[str],

MonitoredResourceInfoTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import MonitoredResourceInfoTypeDef

def get_value() -> MonitoredResourceInfoTypeDef:
    return {
        "arn": ...,
    }
Definition
class MonitoredResourceInfoTypeDef(TypedDict):
    arn: NotRequired[str],
    name: NotRequired[str],
    resourceType: NotRequired[ResourceTypeType],  # (1)
  1. See ResourceTypeType

ResourceLocationTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import ResourceLocationTypeDef

def get_value() -> ResourceLocationTypeDef:
    return {
        "availabilityZone": ...,
    }
Definition
class ResourceLocationTypeDef(TypedDict):
    availabilityZone: NotRequired[str],
    regionName: NotRequired[RegionNameType],  # (1)
  1. See RegionNameType

AllocateStaticIpRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import AllocateStaticIpRequestRequestTypeDef

def get_value() -> AllocateStaticIpRequestRequestTypeDef:
    return {
        "staticIpName": ...,
    }
Definition
class AllocateStaticIpRequestRequestTypeDef(TypedDict):
    staticIpName: str,

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

AttachCertificateToDistributionRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import AttachCertificateToDistributionRequestRequestTypeDef

def get_value() -> AttachCertificateToDistributionRequestRequestTypeDef:
    return {
        "distributionName": ...,
        "certificateName": ...,
    }
Definition
class AttachCertificateToDistributionRequestRequestTypeDef(TypedDict):
    distributionName: str,
    certificateName: str,

AttachDiskRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import AttachDiskRequestRequestTypeDef

def get_value() -> AttachDiskRequestRequestTypeDef:
    return {
        "diskName": ...,
        "instanceName": ...,
        "diskPath": ...,
    }
Definition
class AttachDiskRequestRequestTypeDef(TypedDict):
    diskName: str,
    instanceName: str,
    diskPath: str,

AttachInstancesToLoadBalancerRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import AttachInstancesToLoadBalancerRequestRequestTypeDef

def get_value() -> AttachInstancesToLoadBalancerRequestRequestTypeDef:
    return {
        "loadBalancerName": ...,
        "instanceNames": ...,
    }
Definition
class AttachInstancesToLoadBalancerRequestRequestTypeDef(TypedDict):
    loadBalancerName: str,
    instanceNames: Sequence[str],

AttachLoadBalancerTlsCertificateRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import AttachLoadBalancerTlsCertificateRequestRequestTypeDef

def get_value() -> AttachLoadBalancerTlsCertificateRequestRequestTypeDef:
    return {
        "loadBalancerName": ...,
        "certificateName": ...,
    }
Definition
class AttachLoadBalancerTlsCertificateRequestRequestTypeDef(TypedDict):
    loadBalancerName: str,
    certificateName: str,

AttachStaticIpRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import AttachStaticIpRequestRequestTypeDef

def get_value() -> AttachStaticIpRequestRequestTypeDef:
    return {
        "staticIpName": ...,
        "instanceName": ...,
    }
Definition
class AttachStaticIpRequestRequestTypeDef(TypedDict):
    staticIpName: str,
    instanceName: str,

AttachedDiskTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import AttachedDiskTypeDef

def get_value() -> AttachedDiskTypeDef:
    return {
        "path": ...,
    }
Definition
class AttachedDiskTypeDef(TypedDict):
    path: NotRequired[str],
    sizeInGb: NotRequired[int],

AvailabilityZoneTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import AvailabilityZoneTypeDef

def get_value() -> AvailabilityZoneTypeDef:
    return {
        "zoneName": ...,
    }
Definition
class AvailabilityZoneTypeDef(TypedDict):
    zoneName: NotRequired[str],
    state: NotRequired[str],

BlueprintTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import BlueprintTypeDef

def get_value() -> BlueprintTypeDef:
    return {
        "blueprintId": ...,
    }
Definition
class BlueprintTypeDef(TypedDict):
    blueprintId: NotRequired[str],
    name: NotRequired[str],
    group: NotRequired[str],
    type: NotRequired[BlueprintTypeType],  # (1)
    description: NotRequired[str],
    isActive: NotRequired[bool],
    minPower: NotRequired[int],
    version: NotRequired[str],
    versionCode: NotRequired[str],
    productUrl: NotRequired[str],
    licenseUrl: NotRequired[str],
    platform: NotRequired[InstancePlatformType],  # (2)
  1. See BlueprintTypeType
  2. See InstancePlatformType

BucketAccessLogConfigTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import BucketAccessLogConfigTypeDef

def get_value() -> BucketAccessLogConfigTypeDef:
    return {
        "enabled": ...,
    }
Definition
class BucketAccessLogConfigTypeDef(TypedDict):
    enabled: bool,
    destination: NotRequired[str],
    prefix: NotRequired[str],

BucketBundleTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import BucketBundleTypeDef

def get_value() -> BucketBundleTypeDef:
    return {
        "bundleId": ...,
    }
Definition
class BucketBundleTypeDef(TypedDict):
    bundleId: NotRequired[str],
    name: NotRequired[str],
    price: NotRequired[float],
    storagePerMonthInGb: NotRequired[int],
    transferPerMonthInGb: NotRequired[int],
    isActive: NotRequired[bool],

BucketStateTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import BucketStateTypeDef

def get_value() -> BucketStateTypeDef:
    return {
        "code": ...,
    }
Definition
class BucketStateTypeDef(TypedDict):
    code: NotRequired[str],
    message: NotRequired[str],

ResourceReceivingAccessTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import ResourceReceivingAccessTypeDef

def get_value() -> ResourceReceivingAccessTypeDef:
    return {
        "name": ...,
    }
Definition
class ResourceReceivingAccessTypeDef(TypedDict):
    name: NotRequired[str],
    resourceType: NotRequired[str],

TagTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "key": ...,
    }
Definition
class TagTypeDef(TypedDict):
    key: NotRequired[str],
    value: NotRequired[str],

BundleTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import BundleTypeDef

def get_value() -> BundleTypeDef:
    return {
        "price": ...,
    }
Definition
class BundleTypeDef(TypedDict):
    price: NotRequired[float],
    cpuCount: NotRequired[int],
    diskSizeInGb: NotRequired[int],
    bundleId: NotRequired[str],
    instanceType: NotRequired[str],
    isActive: NotRequired[bool],
    name: NotRequired[str],
    power: NotRequired[int],
    ramSizeInGb: NotRequired[float],
    transferPerMonthInGb: NotRequired[int],
    supportedPlatforms: NotRequired[List[InstancePlatformType]],  # (1)
  1. See InstancePlatformType

CacheBehaviorPerPathTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import CacheBehaviorPerPathTypeDef

def get_value() -> CacheBehaviorPerPathTypeDef:
    return {
        "path": ...,
    }
Definition
class CacheBehaviorPerPathTypeDef(TypedDict):
    path: NotRequired[str],
    behavior: NotRequired[BehaviorEnumType],  # (1)
  1. See BehaviorEnumType

CacheBehaviorTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import CacheBehaviorTypeDef

def get_value() -> CacheBehaviorTypeDef:
    return {
        "behavior": ...,
    }
Definition
class CacheBehaviorTypeDef(TypedDict):
    behavior: NotRequired[BehaviorEnumType],  # (1)
  1. See BehaviorEnumType

CookieObjectTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import CookieObjectTypeDef

def get_value() -> CookieObjectTypeDef:
    return {
        "option": ...,
    }
Definition
class CookieObjectTypeDef(TypedDict):
    option: NotRequired[ForwardValuesType],  # (1)
    cookiesAllowList: NotRequired[Sequence[str]],
  1. See ForwardValuesType

HeaderObjectTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import HeaderObjectTypeDef

def get_value() -> HeaderObjectTypeDef:
    return {
        "option": ...,
    }
Definition
class HeaderObjectTypeDef(TypedDict):
    option: NotRequired[ForwardValuesType],  # (1)
    headersAllowList: NotRequired[Sequence[HeaderEnumType]],  # (2)
  1. See ForwardValuesType
  2. See HeaderEnumType

QueryStringObjectTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import QueryStringObjectTypeDef

def get_value() -> QueryStringObjectTypeDef:
    return {
        "option": ...,
    }
Definition
class QueryStringObjectTypeDef(TypedDict):
    option: NotRequired[bool],
    queryStringsAllowList: NotRequired[Sequence[str]],

PortInfoTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import PortInfoTypeDef

def get_value() -> PortInfoTypeDef:
    return {
        "fromPort": ...,
    }
Definition
class PortInfoTypeDef(TypedDict):
    fromPort: NotRequired[int],
    toPort: NotRequired[int],
    protocol: NotRequired[NetworkProtocolType],  # (1)
    cidrs: NotRequired[Sequence[str]],
    ipv6Cidrs: NotRequired[Sequence[str]],
    cidrListAliases: NotRequired[Sequence[str]],
  1. See NetworkProtocolType

CloudFormationStackRecordSourceInfoTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import CloudFormationStackRecordSourceInfoTypeDef

def get_value() -> CloudFormationStackRecordSourceInfoTypeDef:
    return {
        "resourceType": ...,
    }
Definition
class CloudFormationStackRecordSourceInfoTypeDef(TypedDict):
    resourceType: NotRequired[CloudFormationStackRecordSourceTypeType],  # (1)
    name: NotRequired[str],
    arn: NotRequired[str],
  1. See CloudFormationStackRecordSourceTypeType

DestinationInfoTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DestinationInfoTypeDef

def get_value() -> DestinationInfoTypeDef:
    return {
        "id": ...,
    }
Definition
class DestinationInfoTypeDef(TypedDict):
    id: NotRequired[str],
    service: NotRequired[str],

ContainerImageTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import ContainerImageTypeDef

def get_value() -> ContainerImageTypeDef:
    return {
        "image": ...,
    }
Definition
class ContainerImageTypeDef(TypedDict):
    image: NotRequired[str],
    digest: NotRequired[str],
    createdAt: NotRequired[datetime],

ContainerTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import ContainerTypeDef

def get_value() -> ContainerTypeDef:
    return {
        "image": ...,
    }
Definition
class ContainerTypeDef(TypedDict):
    image: NotRequired[str],
    command: NotRequired[Sequence[str]],
    environment: NotRequired[Mapping[str, str]],
    ports: NotRequired[Mapping[str, ContainerServiceProtocolType]],  # (1)
  1. See ContainerServiceProtocolType

ContainerServiceECRImagePullerRoleRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import ContainerServiceECRImagePullerRoleRequestTypeDef

def get_value() -> ContainerServiceECRImagePullerRoleRequestTypeDef:
    return {
        "isActive": ...,
    }
Definition
class ContainerServiceECRImagePullerRoleRequestTypeDef(TypedDict):
    isActive: NotRequired[bool],

ContainerServiceECRImagePullerRoleTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import ContainerServiceECRImagePullerRoleTypeDef

def get_value() -> ContainerServiceECRImagePullerRoleTypeDef:
    return {
        "isActive": ...,
    }
Definition
class ContainerServiceECRImagePullerRoleTypeDef(TypedDict):
    isActive: NotRequired[bool],
    principalArn: NotRequired[str],

ContainerServiceHealthCheckConfigTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import ContainerServiceHealthCheckConfigTypeDef

def get_value() -> ContainerServiceHealthCheckConfigTypeDef:
    return {
        "healthyThreshold": ...,
    }
Definition
class ContainerServiceHealthCheckConfigTypeDef(TypedDict):
    healthyThreshold: NotRequired[int],
    unhealthyThreshold: NotRequired[int],
    timeoutSeconds: NotRequired[int],
    intervalSeconds: NotRequired[int],
    path: NotRequired[str],
    successCodes: NotRequired[str],

ContainerServiceLogEventTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import ContainerServiceLogEventTypeDef

def get_value() -> ContainerServiceLogEventTypeDef:
    return {
        "createdAt": ...,
    }
Definition
class ContainerServiceLogEventTypeDef(TypedDict):
    createdAt: NotRequired[datetime],
    message: NotRequired[str],

ContainerServicePowerTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import ContainerServicePowerTypeDef

def get_value() -> ContainerServicePowerTypeDef:
    return {
        "powerId": ...,
    }
Definition
class ContainerServicePowerTypeDef(TypedDict):
    powerId: NotRequired[str],
    price: NotRequired[float],
    cpuCount: NotRequired[float],
    ramSizeInGb: NotRequired[float],
    name: NotRequired[str],
    isActive: NotRequired[bool],

ContainerServiceRegistryLoginTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import ContainerServiceRegistryLoginTypeDef

def get_value() -> ContainerServiceRegistryLoginTypeDef:
    return {
        "username": ...,
    }
Definition
class ContainerServiceRegistryLoginTypeDef(TypedDict):
    username: NotRequired[str],
    password: NotRequired[str],
    expiresAt: NotRequired[datetime],
    registry: NotRequired[str],

ContainerServiceStateDetailTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import ContainerServiceStateDetailTypeDef

def get_value() -> ContainerServiceStateDetailTypeDef:
    return {
        "code": ...,
    }
Definition
class ContainerServiceStateDetailTypeDef(TypedDict):
    code: NotRequired[ContainerServiceStateDetailCodeType],  # (1)
    message: NotRequired[str],
  1. See ContainerServiceStateDetailCodeType

CopySnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import CopySnapshotRequestRequestTypeDef

def get_value() -> CopySnapshotRequestRequestTypeDef:
    return {
        "targetSnapshotName": ...,
        "sourceRegion": ...,
    }
Definition
class CopySnapshotRequestRequestTypeDef(TypedDict):
    targetSnapshotName: str,
    sourceRegion: RegionNameType,  # (1)
    sourceSnapshotName: NotRequired[str],
    sourceResourceName: NotRequired[str],
    restoreDate: NotRequired[str],
    useLatestRestorableAutoSnapshot: NotRequired[bool],
  1. See RegionNameType

CreateBucketAccessKeyRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import CreateBucketAccessKeyRequestRequestTypeDef

def get_value() -> CreateBucketAccessKeyRequestRequestTypeDef:
    return {
        "bucketName": ...,
    }
Definition
class CreateBucketAccessKeyRequestRequestTypeDef(TypedDict):
    bucketName: str,

InstanceEntryTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import InstanceEntryTypeDef

def get_value() -> InstanceEntryTypeDef:
    return {
        "sourceName": ...,
        "instanceType": ...,
        "portInfoSource": ...,
        "availabilityZone": ...,
    }
Definition
class InstanceEntryTypeDef(TypedDict):
    sourceName: str,
    instanceType: str,
    portInfoSource: PortInfoSourceTypeType,  # (1)
    availabilityZone: str,
    userData: NotRequired[str],
  1. See PortInfoSourceTypeType

CreateContactMethodRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import CreateContactMethodRequestRequestTypeDef

def get_value() -> CreateContactMethodRequestRequestTypeDef:
    return {
        "protocol": ...,
        "contactEndpoint": ...,
    }
Definition
class CreateContactMethodRequestRequestTypeDef(TypedDict):
    protocol: ContactProtocolType,  # (1)
    contactEndpoint: str,
  1. See ContactProtocolType

InputOriginTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import InputOriginTypeDef

def get_value() -> InputOriginTypeDef:
    return {
        "name": ...,
    }
Definition
class InputOriginTypeDef(TypedDict):
    name: NotRequired[str],
    regionName: NotRequired[RegionNameType],  # (1)
    protocolPolicy: NotRequired[OriginProtocolPolicyEnumType],  # (2)
  1. See RegionNameType
  2. See OriginProtocolPolicyEnumType

DomainEntryTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DomainEntryTypeDef

def get_value() -> DomainEntryTypeDef:
    return {
        "id": ...,
    }
Definition
class DomainEntryTypeDef(TypedDict):
    id: NotRequired[str],
    name: NotRequired[str],
    target: NotRequired[str],
    isAlias: NotRequired[bool],
    type: NotRequired[str],
    options: NotRequired[Mapping[str, str]],

DiskMapTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DiskMapTypeDef

def get_value() -> DiskMapTypeDef:
    return {
        "originalDiskPath": ...,
    }
Definition
class DiskMapTypeDef(TypedDict):
    originalDiskPath: NotRequired[str],
    newDiskName: NotRequired[str],

DeleteAlarmRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteAlarmRequestRequestTypeDef

def get_value() -> DeleteAlarmRequestRequestTypeDef:
    return {
        "alarmName": ...,
    }
Definition
class DeleteAlarmRequestRequestTypeDef(TypedDict):
    alarmName: str,

DeleteAutoSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteAutoSnapshotRequestRequestTypeDef

def get_value() -> DeleteAutoSnapshotRequestRequestTypeDef:
    return {
        "resourceName": ...,
        "date": ...,
    }
Definition
class DeleteAutoSnapshotRequestRequestTypeDef(TypedDict):
    resourceName: str,
    date: str,

DeleteBucketAccessKeyRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteBucketAccessKeyRequestRequestTypeDef

def get_value() -> DeleteBucketAccessKeyRequestRequestTypeDef:
    return {
        "bucketName": ...,
        "accessKeyId": ...,
    }
Definition
class DeleteBucketAccessKeyRequestRequestTypeDef(TypedDict):
    bucketName: str,
    accessKeyId: str,

DeleteBucketRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteBucketRequestRequestTypeDef

def get_value() -> DeleteBucketRequestRequestTypeDef:
    return {
        "bucketName": ...,
    }
Definition
class DeleteBucketRequestRequestTypeDef(TypedDict):
    bucketName: str,
    forceDelete: NotRequired[bool],

DeleteCertificateRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteCertificateRequestRequestTypeDef

def get_value() -> DeleteCertificateRequestRequestTypeDef:
    return {
        "certificateName": ...,
    }
Definition
class DeleteCertificateRequestRequestTypeDef(TypedDict):
    certificateName: str,

DeleteContactMethodRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteContactMethodRequestRequestTypeDef

def get_value() -> DeleteContactMethodRequestRequestTypeDef:
    return {
        "protocol": ...,
    }
Definition
class DeleteContactMethodRequestRequestTypeDef(TypedDict):
    protocol: ContactProtocolType,  # (1)
  1. See ContactProtocolType

DeleteContainerImageRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteContainerImageRequestRequestTypeDef

def get_value() -> DeleteContainerImageRequestRequestTypeDef:
    return {
        "serviceName": ...,
        "image": ...,
    }
Definition
class DeleteContainerImageRequestRequestTypeDef(TypedDict):
    serviceName: str,
    image: str,

DeleteContainerServiceRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteContainerServiceRequestRequestTypeDef

def get_value() -> DeleteContainerServiceRequestRequestTypeDef:
    return {
        "serviceName": ...,
    }
Definition
class DeleteContainerServiceRequestRequestTypeDef(TypedDict):
    serviceName: str,

DeleteDiskRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteDiskRequestRequestTypeDef

def get_value() -> DeleteDiskRequestRequestTypeDef:
    return {
        "diskName": ...,
    }
Definition
class DeleteDiskRequestRequestTypeDef(TypedDict):
    diskName: str,
    forceDeleteAddOns: NotRequired[bool],

DeleteDiskSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteDiskSnapshotRequestRequestTypeDef

def get_value() -> DeleteDiskSnapshotRequestRequestTypeDef:
    return {
        "diskSnapshotName": ...,
    }
Definition
class DeleteDiskSnapshotRequestRequestTypeDef(TypedDict):
    diskSnapshotName: str,

DeleteDistributionRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteDistributionRequestRequestTypeDef

def get_value() -> DeleteDistributionRequestRequestTypeDef:
    return {
        "distributionName": ...,
    }
Definition
class DeleteDistributionRequestRequestTypeDef(TypedDict):
    distributionName: NotRequired[str],

DeleteDomainRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteDomainRequestRequestTypeDef

def get_value() -> DeleteDomainRequestRequestTypeDef:
    return {
        "domainName": ...,
    }
Definition
class DeleteDomainRequestRequestTypeDef(TypedDict):
    domainName: str,

DeleteInstanceRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteInstanceRequestRequestTypeDef

def get_value() -> DeleteInstanceRequestRequestTypeDef:
    return {
        "instanceName": ...,
    }
Definition
class DeleteInstanceRequestRequestTypeDef(TypedDict):
    instanceName: str,
    forceDeleteAddOns: NotRequired[bool],

DeleteInstanceSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteInstanceSnapshotRequestRequestTypeDef

def get_value() -> DeleteInstanceSnapshotRequestRequestTypeDef:
    return {
        "instanceSnapshotName": ...,
    }
Definition
class DeleteInstanceSnapshotRequestRequestTypeDef(TypedDict):
    instanceSnapshotName: str,

DeleteKeyPairRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteKeyPairRequestRequestTypeDef

def get_value() -> DeleteKeyPairRequestRequestTypeDef:
    return {
        "keyPairName": ...,
    }
Definition
class DeleteKeyPairRequestRequestTypeDef(TypedDict):
    keyPairName: str,
    expectedFingerprint: NotRequired[str],

DeleteKnownHostKeysRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteKnownHostKeysRequestRequestTypeDef

def get_value() -> DeleteKnownHostKeysRequestRequestTypeDef:
    return {
        "instanceName": ...,
    }
Definition
class DeleteKnownHostKeysRequestRequestTypeDef(TypedDict):
    instanceName: str,

DeleteLoadBalancerRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteLoadBalancerRequestRequestTypeDef

def get_value() -> DeleteLoadBalancerRequestRequestTypeDef:
    return {
        "loadBalancerName": ...,
    }
Definition
class DeleteLoadBalancerRequestRequestTypeDef(TypedDict):
    loadBalancerName: str,

DeleteLoadBalancerTlsCertificateRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteLoadBalancerTlsCertificateRequestRequestTypeDef

def get_value() -> DeleteLoadBalancerTlsCertificateRequestRequestTypeDef:
    return {
        "loadBalancerName": ...,
        "certificateName": ...,
    }
Definition
class DeleteLoadBalancerTlsCertificateRequestRequestTypeDef(TypedDict):
    loadBalancerName: str,
    certificateName: str,
    force: NotRequired[bool],

DeleteRelationalDatabaseRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteRelationalDatabaseRequestRequestTypeDef

def get_value() -> DeleteRelationalDatabaseRequestRequestTypeDef:
    return {
        "relationalDatabaseName": ...,
    }
Definition
class DeleteRelationalDatabaseRequestRequestTypeDef(TypedDict):
    relationalDatabaseName: str,
    skipFinalSnapshot: NotRequired[bool],
    finalRelationalDatabaseSnapshotName: NotRequired[str],

DeleteRelationalDatabaseSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DeleteRelationalDatabaseSnapshotRequestRequestTypeDef

def get_value() -> DeleteRelationalDatabaseSnapshotRequestRequestTypeDef:
    return {
        "relationalDatabaseSnapshotName": ...,
    }
Definition
class DeleteRelationalDatabaseSnapshotRequestRequestTypeDef(TypedDict):
    relationalDatabaseSnapshotName: str,

DetachCertificateFromDistributionRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DetachCertificateFromDistributionRequestRequestTypeDef

def get_value() -> DetachCertificateFromDistributionRequestRequestTypeDef:
    return {
        "distributionName": ...,
    }
Definition
class DetachCertificateFromDistributionRequestRequestTypeDef(TypedDict):
    distributionName: str,

DetachDiskRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DetachDiskRequestRequestTypeDef

def get_value() -> DetachDiskRequestRequestTypeDef:
    return {
        "diskName": ...,
    }
Definition
class DetachDiskRequestRequestTypeDef(TypedDict):
    diskName: str,

DetachInstancesFromLoadBalancerRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DetachInstancesFromLoadBalancerRequestRequestTypeDef

def get_value() -> DetachInstancesFromLoadBalancerRequestRequestTypeDef:
    return {
        "loadBalancerName": ...,
        "instanceNames": ...,
    }
Definition
class DetachInstancesFromLoadBalancerRequestRequestTypeDef(TypedDict):
    loadBalancerName: str,
    instanceNames: Sequence[str],

DetachStaticIpRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DetachStaticIpRequestRequestTypeDef

def get_value() -> DetachStaticIpRequestRequestTypeDef:
    return {
        "staticIpName": ...,
    }
Definition
class DetachStaticIpRequestRequestTypeDef(TypedDict):
    staticIpName: str,

DisableAddOnRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DisableAddOnRequestRequestTypeDef

def get_value() -> DisableAddOnRequestRequestTypeDef:
    return {
        "addOnType": ...,
        "resourceName": ...,
    }
Definition
class DisableAddOnRequestRequestTypeDef(TypedDict):
    addOnType: AddOnTypeType,  # (1)
    resourceName: str,
  1. See AddOnTypeType

DiskInfoTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DiskInfoTypeDef

def get_value() -> DiskInfoTypeDef:
    return {
        "name": ...,
    }
Definition
class DiskInfoTypeDef(TypedDict):
    name: NotRequired[str],
    path: NotRequired[str],
    sizeInGb: NotRequired[int],
    isSystemDisk: NotRequired[bool],

DiskSnapshotInfoTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DiskSnapshotInfoTypeDef

def get_value() -> DiskSnapshotInfoTypeDef:
    return {
        "sizeInGb": ...,
    }
Definition
class DiskSnapshotInfoTypeDef(TypedDict):
    sizeInGb: NotRequired[int],

DistributionBundleTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import DistributionBundleTypeDef

def get_value() -> DistributionBundleTypeDef:
    return {
        "bundleId": ...,
    }
Definition
class DistributionBundleTypeDef(TypedDict):
    bundleId: NotRequired[str],
    name: NotRequired[str],
    price: NotRequired[float],
    transferPerMonthInGb: NotRequired[int],
    isActive: NotRequired[bool],

ResourceRecordTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import ResourceRecordTypeDef

def get_value() -> ResourceRecordTypeDef:
    return {
        "name": ...,
    }
Definition
class ResourceRecordTypeDef(TypedDict):
    name: NotRequired[str],
    type: NotRequired[str],
    value: NotRequired[str],

ExportSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import ExportSnapshotRequestRequestTypeDef

def get_value() -> ExportSnapshotRequestRequestTypeDef:
    return {
        "sourceSnapshotName": ...,
    }
Definition
class ExportSnapshotRequestRequestTypeDef(TypedDict):
    sourceSnapshotName: str,

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

GetActiveNamesRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetActiveNamesRequestRequestTypeDef

def get_value() -> GetActiveNamesRequestRequestTypeDef:
    return {
        "pageToken": ...,
    }
Definition
class GetActiveNamesRequestRequestTypeDef(TypedDict):
    pageToken: NotRequired[str],

GetAlarmsRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetAlarmsRequestRequestTypeDef

def get_value() -> GetAlarmsRequestRequestTypeDef:
    return {
        "alarmName": ...,
    }
Definition
class GetAlarmsRequestRequestTypeDef(TypedDict):
    alarmName: NotRequired[str],
    pageToken: NotRequired[str],
    monitoredResourceName: NotRequired[str],

GetAutoSnapshotsRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetAutoSnapshotsRequestRequestTypeDef

def get_value() -> GetAutoSnapshotsRequestRequestTypeDef:
    return {
        "resourceName": ...,
    }
Definition
class GetAutoSnapshotsRequestRequestTypeDef(TypedDict):
    resourceName: str,

GetBlueprintsRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetBlueprintsRequestRequestTypeDef

def get_value() -> GetBlueprintsRequestRequestTypeDef:
    return {
        "includeInactive": ...,
    }
Definition
class GetBlueprintsRequestRequestTypeDef(TypedDict):
    includeInactive: NotRequired[bool],
    pageToken: NotRequired[str],

GetBucketAccessKeysRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetBucketAccessKeysRequestRequestTypeDef

def get_value() -> GetBucketAccessKeysRequestRequestTypeDef:
    return {
        "bucketName": ...,
    }
Definition
class GetBucketAccessKeysRequestRequestTypeDef(TypedDict):
    bucketName: str,

GetBucketBundlesRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetBucketBundlesRequestRequestTypeDef

def get_value() -> GetBucketBundlesRequestRequestTypeDef:
    return {
        "includeInactive": ...,
    }
Definition
class GetBucketBundlesRequestRequestTypeDef(TypedDict):
    includeInactive: NotRequired[bool],

GetBucketMetricDataRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetBucketMetricDataRequestRequestTypeDef

def get_value() -> GetBucketMetricDataRequestRequestTypeDef:
    return {
        "bucketName": ...,
        "metricName": ...,
        "startTime": ...,
        "endTime": ...,
        "period": ...,
        "statistics": ...,
        "unit": ...,
    }
Definition
class GetBucketMetricDataRequestRequestTypeDef(TypedDict):
    bucketName: str,
    metricName: BucketMetricNameType,  # (1)
    startTime: Union[datetime, str],
    endTime: Union[datetime, str],
    period: int,
    statistics: Sequence[MetricStatisticType],  # (2)
    unit: MetricUnitType,  # (3)
  1. See BucketMetricNameType
  2. See MetricStatisticType
  3. See MetricUnitType

MetricDatapointTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import MetricDatapointTypeDef

def get_value() -> MetricDatapointTypeDef:
    return {
        "average": ...,
    }
Definition
class MetricDatapointTypeDef(TypedDict):
    average: NotRequired[float],
    maximum: NotRequired[float],
    minimum: NotRequired[float],
    sampleCount: NotRequired[float],
    sum: NotRequired[float],
    timestamp: NotRequired[datetime],
    unit: NotRequired[MetricUnitType],  # (1)
  1. See MetricUnitType

GetBucketsRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetBucketsRequestRequestTypeDef

def get_value() -> GetBucketsRequestRequestTypeDef:
    return {
        "bucketName": ...,
    }
Definition
class GetBucketsRequestRequestTypeDef(TypedDict):
    bucketName: NotRequired[str],
    pageToken: NotRequired[str],
    includeConnectedResources: NotRequired[bool],

GetBundlesRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetBundlesRequestRequestTypeDef

def get_value() -> GetBundlesRequestRequestTypeDef:
    return {
        "includeInactive": ...,
    }
Definition
class GetBundlesRequestRequestTypeDef(TypedDict):
    includeInactive: NotRequired[bool],
    pageToken: NotRequired[str],

GetCertificatesRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetCertificatesRequestRequestTypeDef

def get_value() -> GetCertificatesRequestRequestTypeDef:
    return {
        "certificateStatuses": ...,
    }
Definition
class GetCertificatesRequestRequestTypeDef(TypedDict):
    certificateStatuses: NotRequired[Sequence[CertificateStatusType]],  # (1)
    includeCertificateDetails: NotRequired[bool],
    certificateName: NotRequired[str],
  1. See CertificateStatusType

GetCloudFormationStackRecordsRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetCloudFormationStackRecordsRequestRequestTypeDef

def get_value() -> GetCloudFormationStackRecordsRequestRequestTypeDef:
    return {
        "pageToken": ...,
    }
Definition
class GetCloudFormationStackRecordsRequestRequestTypeDef(TypedDict):
    pageToken: NotRequired[str],

GetContactMethodsRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetContactMethodsRequestRequestTypeDef

def get_value() -> GetContactMethodsRequestRequestTypeDef:
    return {
        "protocols": ...,
    }
Definition
class GetContactMethodsRequestRequestTypeDef(TypedDict):
    protocols: NotRequired[Sequence[ContactProtocolType]],  # (1)
  1. See ContactProtocolType

GetContainerImagesRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetContainerImagesRequestRequestTypeDef

def get_value() -> GetContainerImagesRequestRequestTypeDef:
    return {
        "serviceName": ...,
    }
Definition
class GetContainerImagesRequestRequestTypeDef(TypedDict):
    serviceName: str,

GetContainerLogRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetContainerLogRequestRequestTypeDef

def get_value() -> GetContainerLogRequestRequestTypeDef:
    return {
        "serviceName": ...,
        "containerName": ...,
    }
Definition
class GetContainerLogRequestRequestTypeDef(TypedDict):
    serviceName: str,
    containerName: str,
    startTime: NotRequired[Union[datetime, str]],
    endTime: NotRequired[Union[datetime, str]],
    filterPattern: NotRequired[str],
    pageToken: NotRequired[str],

GetContainerServiceDeploymentsRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetContainerServiceDeploymentsRequestRequestTypeDef

def get_value() -> GetContainerServiceDeploymentsRequestRequestTypeDef:
    return {
        "serviceName": ...,
    }
Definition
class GetContainerServiceDeploymentsRequestRequestTypeDef(TypedDict):
    serviceName: str,

GetContainerServiceMetricDataRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetContainerServiceMetricDataRequestRequestTypeDef

def get_value() -> GetContainerServiceMetricDataRequestRequestTypeDef:
    return {
        "serviceName": ...,
        "metricName": ...,
        "startTime": ...,
        "endTime": ...,
        "period": ...,
        "statistics": ...,
    }
Definition
class GetContainerServiceMetricDataRequestRequestTypeDef(TypedDict):
    serviceName: str,
    metricName: ContainerServiceMetricNameType,  # (1)
    startTime: Union[datetime, str],
    endTime: Union[datetime, str],
    period: int,
    statistics: Sequence[MetricStatisticType],  # (2)
  1. See ContainerServiceMetricNameType
  2. See MetricStatisticType

GetContainerServicesRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetContainerServicesRequestRequestTypeDef

def get_value() -> GetContainerServicesRequestRequestTypeDef:
    return {
        "serviceName": ...,
    }
Definition
class GetContainerServicesRequestRequestTypeDef(TypedDict):
    serviceName: NotRequired[str],

GetDiskRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetDiskRequestRequestTypeDef

def get_value() -> GetDiskRequestRequestTypeDef:
    return {
        "diskName": ...,
    }
Definition
class GetDiskRequestRequestTypeDef(TypedDict):
    diskName: str,

GetDiskSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetDiskSnapshotRequestRequestTypeDef

def get_value() -> GetDiskSnapshotRequestRequestTypeDef:
    return {
        "diskSnapshotName": ...,
    }
Definition
class GetDiskSnapshotRequestRequestTypeDef(TypedDict):
    diskSnapshotName: str,

GetDiskSnapshotsRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetDiskSnapshotsRequestRequestTypeDef

def get_value() -> GetDiskSnapshotsRequestRequestTypeDef:
    return {
        "pageToken": ...,
    }
Definition
class GetDiskSnapshotsRequestRequestTypeDef(TypedDict):
    pageToken: NotRequired[str],

GetDisksRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetDisksRequestRequestTypeDef

def get_value() -> GetDisksRequestRequestTypeDef:
    return {
        "pageToken": ...,
    }
Definition
class GetDisksRequestRequestTypeDef(TypedDict):
    pageToken: NotRequired[str],

GetDistributionLatestCacheResetRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetDistributionLatestCacheResetRequestRequestTypeDef

def get_value() -> GetDistributionLatestCacheResetRequestRequestTypeDef:
    return {
        "distributionName": ...,
    }
Definition
class GetDistributionLatestCacheResetRequestRequestTypeDef(TypedDict):
    distributionName: NotRequired[str],

GetDistributionMetricDataRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetDistributionMetricDataRequestRequestTypeDef

def get_value() -> GetDistributionMetricDataRequestRequestTypeDef:
    return {
        "distributionName": ...,
        "metricName": ...,
        "startTime": ...,
        "endTime": ...,
        "period": ...,
        "unit": ...,
        "statistics": ...,
    }
Definition
class GetDistributionMetricDataRequestRequestTypeDef(TypedDict):
    distributionName: str,
    metricName: DistributionMetricNameType,  # (1)
    startTime: Union[datetime, str],
    endTime: Union[datetime, str],
    period: int,
    unit: MetricUnitType,  # (2)
    statistics: Sequence[MetricStatisticType],  # (3)
  1. See DistributionMetricNameType
  2. See MetricUnitType
  3. See MetricStatisticType

GetDistributionsRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetDistributionsRequestRequestTypeDef

def get_value() -> GetDistributionsRequestRequestTypeDef:
    return {
        "distributionName": ...,
    }
Definition
class GetDistributionsRequestRequestTypeDef(TypedDict):
    distributionName: NotRequired[str],
    pageToken: NotRequired[str],

GetDomainRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetDomainRequestRequestTypeDef

def get_value() -> GetDomainRequestRequestTypeDef:
    return {
        "domainName": ...,
    }
Definition
class GetDomainRequestRequestTypeDef(TypedDict):
    domainName: str,

GetDomainsRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetDomainsRequestRequestTypeDef

def get_value() -> GetDomainsRequestRequestTypeDef:
    return {
        "pageToken": ...,
    }
Definition
class GetDomainsRequestRequestTypeDef(TypedDict):
    pageToken: NotRequired[str],

GetExportSnapshotRecordsRequestRequestTypeDef

Usage Example
from mypy_boto3_lightsail.type_defs import GetExportSnapshotRecordsRequestRequestTypeDef

def get_value() -> GetExportSnapshotRecordsRequestRequestTypeDef:
    return {
        "pageToken":