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],
- 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],
AutoSnapshotAddOnRequestTypeDef
Usage Example
from mypy_boto3_lightsail.type_defs import AutoSnapshotAddOnRequestTypeDef
def get_value() -> AutoSnapshotAddOnRequestTypeDef:
return {
"snapshotTimeOfDay": ...,
}
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)
- 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)
- See RegionNameType
AllocateStaticIpRequestRequestTypeDef
Usage Example
from mypy_boto3_lightsail.type_defs import AllocateStaticIpRequestRequestTypeDef
def get_value() -> AllocateStaticIpRequestRequestTypeDef:
return {
"staticIpName": ...,
}
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": ...,
}
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)
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": ...,
}
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": ...,
}
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)
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)
- See BehaviorEnumType
CacheBehaviorTypeDef
Usage Example
from mypy_boto3_lightsail.type_defs import CacheBehaviorTypeDef
def get_value() -> CacheBehaviorTypeDef:
return {
"behavior": ...,
}
- 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]],
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)
- See ForwardValuesType
- 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]],
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],
DestinationInfoTypeDef
Usage Example
from mypy_boto3_lightsail.type_defs import DestinationInfoTypeDef
def get_value() -> DestinationInfoTypeDef:
return {
"id": ...,
}
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)
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],
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],
- See RegionNameType
CreateBucketAccessKeyRequestRequestTypeDef
Usage Example
from mypy_boto3_lightsail.type_defs import CreateBucketAccessKeyRequestRequestTypeDef
def get_value() -> CreateBucketAccessKeyRequestRequestTypeDef:
return {
"bucketName": ...,
}
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],
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,
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)
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": ...,
}
DeleteAutoSnapshotRequestRequestTypeDef
Usage Example
from mypy_boto3_lightsail.type_defs import DeleteAutoSnapshotRequestRequestTypeDef
def get_value() -> DeleteAutoSnapshotRequestRequestTypeDef:
return {
"resourceName": ...,
"date": ...,
}
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": ...,
}
DeleteContactMethodRequestRequestTypeDef
Usage Example
from mypy_boto3_lightsail.type_defs import DeleteContactMethodRequestRequestTypeDef
def get_value() -> DeleteContactMethodRequestRequestTypeDef:
return {
"protocol": ...,
}
Definition
class DeleteContactMethodRequestRequestTypeDef(TypedDict):
protocol: ContactProtocolType, # (1)
DeleteContainerImageRequestRequestTypeDef
Usage Example
from mypy_boto3_lightsail.type_defs import DeleteContainerImageRequestRequestTypeDef
def get_value() -> DeleteContainerImageRequestRequestTypeDef:
return {
"serviceName": ...,
"image": ...,
}
DeleteContainerServiceRequestRequestTypeDef
Usage Example
from mypy_boto3_lightsail.type_defs import DeleteContainerServiceRequestRequestTypeDef
def get_value() -> DeleteContainerServiceRequestRequestTypeDef:
return {
"serviceName": ...,
}
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": ...,
}
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": ...,
}
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": ...,
}
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": ...,
}
DeleteLoadBalancerRequestRequestTypeDef
Usage Example
from mypy_boto3_lightsail.type_defs import DeleteLoadBalancerRequestRequestTypeDef
def get_value() -> DeleteLoadBalancerRequestRequestTypeDef:
return {
"loadBalancerName": ...,
}
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": ...,
}
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": ...,
}
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,
- 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": ...,
}
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],
DnsRecordCreationStateTypeDef
Usage Example
from mypy_boto3_lightsail.type_defs import DnsRecordCreationStateTypeDef
def get_value() -> DnsRecordCreationStateTypeDef:
return {
"code": ...,
}
Definition
class DnsRecordCreationStateTypeDef(TypedDict):
code: NotRequired[DnsRecordCreationStateCodeType], # (1)
message: NotRequired[str],
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": ...,
}
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": ...,
}
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": ...,
}
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],