amazonka-ec2-1.2.0: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.Types

Contents

Description

 

Synopsis

Service Configuration

eC2 :: Service Source

API version '2015-04-15' of the Amazon Elastic Compute Cloud SDK configuration.

Errors

AccountAttributeName

AddressStatus

ArchitectureValues

AttachmentStatus

AvailabilityZoneState

BatchState

BundleTaskState

CancelBatchErrorCode

CancelSpotInstanceRequestState

ContainerFormat

ConversionTaskState

CurrencyCodeValues

DatafeedSubscriptionState

DeviceType

DiskImageFormat

DomainType

EventCode

EventType

ExportEnvironment

ExportTaskState

FlowLogsResourceType

GatewayType

HypervisorType

ImageAttributeName

ImageState

ImageTypeValues

InstanceAttributeName

InstanceLifecycleType

InstanceStateName

InstanceType

ListingState

ListingStatus

MonitoringState

MoveStatus

NetworkInterfaceAttribute

NetworkInterfaceStatus

OfferingTypeValues

PermissionGroup

PlacementGroupState

PlacementStrategy

PlatformValues

ProductCodeValues

RIProductDescription

RecurringChargeFrequency

ReportInstanceReasonCodes

ReportStatusType

ReservedInstanceState

ResetImageAttributeName

ResourceType

RouteOrigin

RouteState

RuleAction

ShutdownBehavior

SnapshotAttributeName

SnapshotState

SpotInstanceState

SpotInstanceType

State

StatusName

StatusType

SubnetState

SummaryStatus

TelemetryStatus

Tenancy

TrafficType

VPCAttributeName

VPCPeeringConnectionStateReasonCode

VPCState

VPNState

VPNStaticRouteSource

VirtualizationType

VolumeAttachmentState

VolumeAttributeName

VolumeState

VolumeStatusInfoStatus

VolumeStatusName

VolumeType

AccountAttribute

accountAttribute :: AccountAttribute Source

Creates a value of AccountAttribute with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aaAttributeValues :: Lens' AccountAttribute [AccountAttributeValue] Source

One or more values for the account attribute.

aaAttributeName :: Lens' AccountAttribute (Maybe Text) Source

The name of the account attribute.

AccountAttributeValue

accountAttributeValue :: AccountAttributeValue Source

Creates a value of AccountAttributeValue with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ActiveInstance

activeInstance :: ActiveInstance Source

Creates a value of ActiveInstance with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aiInstanceId :: Lens' ActiveInstance (Maybe Text) Source

The ID of the instance.

aiSpotInstanceRequestId :: Lens' ActiveInstance (Maybe Text) Source

The ID of the Spot Instance request.

Address

data Address Source

Describes an Elastic IP address.

See: address smart constructor.

address :: Address Source

Creates a value of Address with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aInstanceId :: Lens' Address (Maybe Text) Source

The ID of the instance that the address is associated with (if any).

aAssociationId :: Lens' Address (Maybe Text) Source

The ID representing the association of the address with an instance in a VPC.

aNetworkInterfaceOwnerId :: Lens' Address (Maybe Text) Source

The ID of the AWS account that owns the network interface.

aAllocationId :: Lens' Address (Maybe Text) Source

The ID representing the allocation of the address for use with EC2-VPC.

aDomain :: Lens' Address (Maybe DomainType) Source

Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

aNetworkInterfaceId :: Lens' Address (Maybe Text) Source

The ID of the network interface.

aPrivateIPAddress :: Lens' Address (Maybe Text) Source

The private IP address associated with the Elastic IP address.

aPublicIP :: Lens' Address (Maybe Text) Source

The Elastic IP address.

AttributeBooleanValue

attributeBooleanValue :: AttributeBooleanValue Source

Creates a value of AttributeBooleanValue with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

abvValue :: Lens' AttributeBooleanValue (Maybe Bool) Source

Valid values are true or false.

AttributeValue

attributeValue :: AttributeValue Source

Creates a value of AttributeValue with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

avValue :: Lens' AttributeValue (Maybe Text) Source

Valid values are case-sensitive and vary by action.

AvailabilityZone

availabilityZone :: AvailabilityZone Source

Creates a value of AvailabilityZone with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

azRegionName :: Lens' AvailabilityZone (Maybe Text) Source

The name of the region.

azState :: Lens' AvailabilityZone (Maybe AvailabilityZoneState) Source

The state of the Availability Zone (available | impaired | unavailable).

azZoneName :: Lens' AvailabilityZone (Maybe Text) Source

The name of the Availability Zone.

azMessages :: Lens' AvailabilityZone [AvailabilityZoneMessage] Source

Any messages about the Availability Zone.

AvailabilityZoneMessage

availabilityZoneMessage :: AvailabilityZoneMessage Source

Creates a value of AvailabilityZoneMessage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

azmMessage :: Lens' AvailabilityZoneMessage (Maybe Text) Source

The message about the Availability Zone.

BlobAttributeValue

blobAttributeValue :: BlobAttributeValue Source

Creates a value of BlobAttributeValue with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

bavValue :: Lens' BlobAttributeValue (Maybe ByteString) Source

Undocumented member.

Note: This Lens automatically encodes and decodes Base64 data, despite what the AWS documentation might say. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.

BlockDeviceMapping

blockDeviceMapping Source

Creates a value of BlockDeviceMapping with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

bdmVirtualName :: Lens' BlockDeviceMapping (Maybe Text) Source

The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1.The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

bdmNoDevice :: Lens' BlockDeviceMapping (Maybe Text) Source

Suppresses the specified device included in the block device mapping of the AMI.

bdmEBS :: Lens' BlockDeviceMapping (Maybe EBSBlockDevice) Source

Parameters used to automatically set up EBS volumes when the instance is launched.

bdmDeviceName :: Lens' BlockDeviceMapping Text Source

The device name exposed to the instance (for example, '\/dev\/sdh' or xvdh).

BundleTask

bundleTask Source

Creates a value of BundleTask with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

btBundleTaskError :: Lens' BundleTask (Maybe BundleTaskError) Source

If the task fails, a description of the error.

btBundleId :: Lens' BundleTask Text Source

The ID of the bundle task.

btInstanceId :: Lens' BundleTask Text Source

The ID of the instance associated with this bundle task.

btProgress :: Lens' BundleTask Text Source

The level of task completion, as a percent (for example, 20%).

btStartTime :: Lens' BundleTask UTCTime Source

The time this task started.

btState :: Lens' BundleTask BundleTaskState Source

The state of the task.

btStorage :: Lens' BundleTask Storage Source

The Amazon S3 storage locations.

btUpdateTime :: Lens' BundleTask UTCTime Source

The time of the most recent update for the task.

BundleTaskError

bundleTaskError :: BundleTaskError Source

Creates a value of BundleTaskError with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

CancelSpotFleetRequestsError

cancelSpotFleetRequestsError Source

Creates a value of CancelSpotFleetRequestsError with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

csfreMessage :: Lens' CancelSpotFleetRequestsError Text Source

The description for the error code.

CancelSpotFleetRequestsErrorItem

cancelSpotFleetRequestsErrorItem Source

Creates a value of CancelSpotFleetRequestsErrorItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

CancelSpotFleetRequestsSuccessItem

CancelledSpotInstanceRequest

cancelledSpotInstanceRequest :: CancelledSpotInstanceRequest Source

Creates a value of CancelledSpotInstanceRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ClassicLinkInstance

classicLinkInstance :: ClassicLinkInstance Source

Creates a value of ClassicLinkInstance with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cliTags :: Lens' ClassicLinkInstance [Tag] Source

Any tags assigned to the instance.

ClientData

data ClientData Source

Describes the client-specific data.

See: clientData smart constructor.

clientData :: ClientData Source

Creates a value of ClientData with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cdUploadStart :: Lens' ClientData (Maybe UTCTime) Source

The time that the disk upload starts.

cdUploadSize :: Lens' ClientData (Maybe Double) Source

The size of the uploaded disk image, in GiB.

cdUploadEnd :: Lens' ClientData (Maybe UTCTime) Source

The time that the disk upload ends.

cdComment :: Lens' ClientData (Maybe Text) Source

A user-defined comment about the disk upload.

ConversionTask

conversionTask Source

Creates a value of ConversionTask with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ctImportInstance :: Lens' ConversionTask (Maybe ImportInstanceTaskDetails) Source

If the task is for importing an instance, this contains information about the import instance task.

ctStatusMessage :: Lens' ConversionTask (Maybe Text) Source

The status message related to the conversion task.

ctImportVolume :: Lens' ConversionTask (Maybe ImportVolumeTaskDetails) Source

If the task is for importing a volume, this contains information about the import volume task.

ctExpirationTime :: Lens' ConversionTask (Maybe Text) Source

The time when the task expires. If the upload isn't complete before the expiration time, we automatically cancel the task.

ctTags :: Lens' ConversionTask [Tag] Source

Any tags assigned to the task.

ctConversionTaskId :: Lens' ConversionTask Text Source

The ID of the conversion task.

ctState :: Lens' ConversionTask ConversionTaskState Source

The state of the conversion task.

CreateVolumePermission

createVolumePermission :: CreateVolumePermission Source

Creates a value of CreateVolumePermission with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cvpGroup :: Lens' CreateVolumePermission (Maybe PermissionGroup) Source

The specific group that is to be added or removed from a volume's list of create volume permissions.

cvpUserId :: Lens' CreateVolumePermission (Maybe Text) Source

The specific AWS account ID that is to be added or removed from a volume's list of create volume permissions.

CreateVolumePermissionModifications

createVolumePermissionModifications :: CreateVolumePermissionModifications Source

Creates a value of CreateVolumePermissionModifications with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cvpmRemove :: Lens' CreateVolumePermissionModifications [CreateVolumePermission] Source

Removes a specific AWS account ID or group from a volume's list of create volume permissions.

cvpmAdd :: Lens' CreateVolumePermissionModifications [CreateVolumePermission] Source

Adds a specific AWS account ID or group to a volume's list of create volume permissions.

CustomerGateway

customerGateway Source

Creates a value of CustomerGateway with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cgTags :: Lens' CustomerGateway [Tag] Source

Any tags assigned to the customer gateway.

cgBGPASN :: Lens' CustomerGateway Text Source

The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).

cgCustomerGatewayId :: Lens' CustomerGateway Text Source

The ID of the customer gateway.

cgIPAddress :: Lens' CustomerGateway Text Source

The Internet-routable IP address of the customer gateway's outside interface.

cgState :: Lens' CustomerGateway Text Source

The current state of the customer gateway ('pending | available | deleting | deleted').

cgType :: Lens' CustomerGateway Text Source

The type of VPN connection the customer gateway supports ('ipsec.1').

DHCPConfiguration

dhcpConfiguration :: DHCPConfiguration Source

Creates a value of DHCPConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dcValues :: Lens' DHCPConfiguration [AttributeValue] Source

One or more values for the DHCP option.

dcKey :: Lens' DHCPConfiguration (Maybe Text) Source

The name of a DHCP option.

DHCPOptions

dhcpOptions :: DHCPOptions Source

Creates a value of DHCPOptions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

doDHCPConfigurations :: Lens' DHCPOptions [DHCPConfiguration] Source

One or more DHCP options in the set.

doDHCPOptionsId :: Lens' DHCPOptions (Maybe Text) Source

The ID of the set of DHCP options.

doTags :: Lens' DHCPOptions [Tag] Source

Any tags assigned to the DHCP options set.

DiskImage

data DiskImage Source

Describes a disk image.

See: diskImage smart constructor.

diskImage :: DiskImage Source

Creates a value of DiskImage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

diImage :: Lens' DiskImage (Maybe DiskImageDetail) Source

Information about the disk image.

diVolume :: Lens' DiskImage (Maybe VolumeDetail) Source

Information about the volume.

diDescription :: Lens' DiskImage (Maybe Text) Source

A description of the disk image.

DiskImageDescription

diskImageDescription Source

Creates a value of DiskImageDescription with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dChecksum :: Lens' DiskImageDescription (Maybe Text) Source

The checksum computed for the disk image.

dSize :: Lens' DiskImageDescription Integer Source

The size of the disk image, in GiB.

dImportManifestURL :: Lens' DiskImageDescription Text Source

A presigned URL for the import manifest stored in Amazon S3. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.

DiskImageDetail

diskImageDetail Source

Creates a value of DiskImageDetail with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

didBytes :: Lens' DiskImageDetail Integer Source

The size of the disk image, in GiB.

didImportManifestURL :: Lens' DiskImageDetail Text Source

A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.

DiskImageVolumeDescription

diskImageVolumeDescription Source

Creates a value of DiskImageVolumeDescription with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

divdSize :: Lens' DiskImageVolumeDescription (Maybe Integer) Source

The size of the volume, in GiB.

EBSBlockDevice

ebsBlockDevice :: EBSBlockDevice Source

Creates a value of EBSBlockDevice with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ebdDeleteOnTermination :: Lens' EBSBlockDevice (Maybe Bool) Source

Indicates whether the EBS volume is deleted on instance termination.

ebdVolumeSize :: Lens' EBSBlockDevice (Maybe Int) Source

The size of the volume, in GiB.

Constraints: '1-1024' for standard volumes, '1-16384' for gp2 volumes, and '4-16384' for io1 volumes. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size.

Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.

ebdIOPS :: Lens' EBSBlockDevice (Maybe Int) Source

The number of I/O operations per second (IOPS) that the volume supports. For Provisioned IOPS (SSD) volumes, this represents the number of IOPS that are provisioned for the volume. For General Purpose (SSD) volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. For more information on General Purpose (SSD) baseline performance, I/O credits, and bursting, see Amazon EBS Volume Types in the Amazon Elastic Compute Cloud User Guide.

Constraint: Range is 100 to 20000 for Provisioned IOPS (SSD) volumes and 3 to 10000 for General Purpose (SSD) volumes.

Condition: This parameter is required for requests to create io1 volumes; it is not used in requests to create standard or gp2 volumes.

ebdEncrypted :: Lens' EBSBlockDevice (Maybe Bool) Source

Indicates whether the EBS volume is encrypted. Encrypted Amazon EBS volumes may only be attached to instances that support Amazon EBS encryption.

ebdVolumeType :: Lens' EBSBlockDevice (Maybe VolumeType) Source

The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, and standard for Magnetic volumes.

Default: standard

ebdSnapshotId :: Lens' EBSBlockDevice (Maybe Text) Source

The ID of the snapshot.

EBSInstanceBlockDevice

ebsInstanceBlockDevice :: EBSInstanceBlockDevice Source

Creates a value of EBSInstanceBlockDevice with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

eibdDeleteOnTermination :: Lens' EBSInstanceBlockDevice (Maybe Bool) Source

Indicates whether the volume is deleted on instance termination.

eibdAttachTime :: Lens' EBSInstanceBlockDevice (Maybe UTCTime) Source

The time stamp when the attachment initiated.

EBSInstanceBlockDeviceSpecification

ebsInstanceBlockDeviceSpecification :: EBSInstanceBlockDeviceSpecification Source

Creates a value of EBSInstanceBlockDeviceSpecification with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

eibdsDeleteOnTermination :: Lens' EBSInstanceBlockDeviceSpecification (Maybe Bool) Source

Indicates whether the volume is deleted on instance termination.

EventInformation

eventInformation :: EventInformation Source

Creates a value of EventInformation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

eiInstanceId :: Lens' EventInformation (Maybe Text) Source

The ID of the instance. This information is available only for instanceChange events.

eiEventDescription :: Lens' EventInformation (Maybe Text) Source

The description of the event.

eiEventSubType :: Lens' EventInformation (Maybe Text) Source

The event.

The following are the error events.

  • iamFleetRoleInvalid - Spot fleet did not have the required permissions either to launch or terminate an instance.
  • spotFleetRequestConfigurationInvalid - The configuration is not valid. For more information, see the description.
  • spotInstanceCountLimitExceeded - You've reached the limit on the number of Spot Instances that you can launch.

The following are the fleetRequestChange events.

  • active - The Spot fleet has been validated and Amazon EC2 is attempting to maintain the target number of running Spot Instances.
  • cancelled - The Spot fleet is canceled and has no running Spot Instances. The Spot fleet will be deleted two days after its instances were terminated.
  • cancelled_running - The Spot fleet is canceled and will not launch additional Spot Instances, but its existing Spot Instances will continue to run until they are interrupted or terminated.
  • cancelled_terminating - The Spot fleet is canceled and its Spot Instances are terminating.
  • expired - The Spot fleet request has expired. A subsequent event indicates that the instances were terminated, if the request was created with terminateInstancesWithExpiration set.
  • price_update - The bid price for a launch configuration was adjusted because it was too high. This change is permanent.
  • submitted - The Spot fleet request is being evaluated and Amazon EC2 is preparing to launch the target number of Spot Instances.

The following are the instanceChange events.

  • launched - A bid was fulfilled and a new instance was launched.
  • terminated - An instance was terminated by the user.

ExportTask

data ExportTask Source

Describes an instance export task.

See: exportTask smart constructor.

etDescription :: Lens' ExportTask Text Source

A description of the resource being exported.

etExportTaskId :: Lens' ExportTask Text Source

The ID of the export task.

etExportToS3Task :: Lens' ExportTask ExportToS3Task Source

Information about the export task.

etInstanceExportDetails :: Lens' ExportTask InstanceExportDetails Source

Information about the instance to export.

etState :: Lens' ExportTask ExportTaskState Source

The state of the export task.

etStatusMessage :: Lens' ExportTask Text Source

The status message related to the export task.

ExportToS3Task

data ExportToS3Task Source

Describes the format and location for an instance export task.

See: exportToS3Task smart constructor.

exportToS3Task :: ExportToS3Task Source

Creates a value of ExportToS3Task with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

etstS3Key :: Lens' ExportToS3Task (Maybe Text) Source

The encryption key for your S3 bucket.

etstContainerFormat :: Lens' ExportToS3Task (Maybe ContainerFormat) Source

The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.

etstS3Bucket :: Lens' ExportToS3Task (Maybe Text) Source

The S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACP permissions to the AWS account 'vm-import-export\'amazon.com'.

etstDiskImageFormat :: Lens' ExportToS3Task (Maybe DiskImageFormat) Source

The format for the exported image.

ExportToS3TaskSpecification

exportToS3TaskSpecification :: ExportToS3TaskSpecification Source

Creates a value of ExportToS3TaskSpecification with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

etstsContainerFormat :: Lens' ExportToS3TaskSpecification (Maybe ContainerFormat) Source

The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.

etstsS3Prefix :: Lens' ExportToS3TaskSpecification (Maybe Text) Source

The image is written to a single object in the S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.

etstsS3Bucket :: Lens' ExportToS3TaskSpecification (Maybe Text) Source

The S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACP permissions to the AWS account 'vm-import-export\'amazon.com'.

Filter

data Filter Source

A filter name and value pair that is used to return a more specific list of results. Filters can be used to match a set of resources by various criteria, such as tags, attributes, or IDs.

See: filter' smart constructor.

filter' Source

Arguments

:: Text

fName

-> Filter 

Creates a value of Filter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fValues :: Lens' Filter [Text] Source

One or more filter values. Filter values are case-sensitive.

fName :: Lens' Filter Text Source

The name of the filter. Filter names are case-sensitive.

FlowLog

data FlowLog Source

Describes a flow log.

See: flowLog smart constructor.

flowLog :: FlowLog Source

Creates a value of FlowLog with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

flCreationTime :: Lens' FlowLog (Maybe UTCTime) Source

The date and time the flow log was created.

flResourceId :: Lens' FlowLog (Maybe Text) Source

The ID of the resource on which the flow log was created.

flFlowLogStatus :: Lens' FlowLog (Maybe Text) Source

The status of the flow log (ACTIVE).

flTrafficType :: Lens' FlowLog (Maybe TrafficType) Source

The type of traffic captured for the flow log.

flDeliverLogsStatus :: Lens' FlowLog (Maybe Text) Source

The status of the logs delivery (SUCCESS | FAILED).

flDeliverLogsErrorMessage :: Lens' FlowLog (Maybe Text) Source

Information about the error that occurred. 'Rate limited' indicates that CloudWatch logs throttling has been applied for one or more network interfaces. 'Access error' indicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs. 'Unknown error' indicates an internal error.

flDeliverLogsPermissionARN :: Lens' FlowLog (Maybe Text) Source

The ARN of the IAM role that posts logs to CloudWatch Logs.

flLogGroupName :: Lens' FlowLog (Maybe Text) Source

The name of the flow log group.

flFlowLogId :: Lens' FlowLog (Maybe Text) Source

The flow log ID.

GroupIdentifier

groupIdentifier :: GroupIdentifier Source

Creates a value of GroupIdentifier with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

giGroupId :: Lens' GroupIdentifier (Maybe Text) Source

The ID of the security group.

giGroupName :: Lens' GroupIdentifier (Maybe Text) Source

The name of the security group.

HistoryRecord

data HistoryRecord Source

Describes an event in the history of the Spot fleet request.

See: historyRecord smart constructor.

historyRecord Source

Creates a value of HistoryRecord with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

hrTimestamp :: Lens' HistoryRecord UTCTime Source

The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

hrEventType :: Lens' HistoryRecord EventType Source

The event type.

  • error - Indicates an error with the Spot fleet request.
  • fleetRequestChange - Indicates a change in the status or configuration of the Spot fleet request.
  • instanceChange - Indicates that an instance was launched or terminated.

IAMInstanceProfile

iamInstanceProfile :: IAMInstanceProfile Source

Creates a value of IAMInstanceProfile with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

iapARN :: Lens' IAMInstanceProfile (Maybe Text) Source

The Amazon Resource Name (ARN) of the instance profile.

iapId :: Lens' IAMInstanceProfile (Maybe Text) Source

The ID of the instance profile.

IAMInstanceProfileSpecification

iamInstanceProfileSpecification :: IAMInstanceProfileSpecification Source

Creates a value of IAMInstanceProfileSpecification with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

iapsARN :: Lens' IAMInstanceProfileSpecification (Maybe Text) Source

The Amazon Resource Name (ARN) of the instance profile.

iapsName :: Lens' IAMInstanceProfileSpecification (Maybe Text) Source

The name of the instance profile.

ICMPTypeCode

icmpTypeCode :: ICMPTypeCode Source

Creates a value of ICMPTypeCode with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

itcCode :: Lens' ICMPTypeCode (Maybe Int) Source

The ICMP type. A value of -1 means all types.

itcType :: Lens' ICMPTypeCode (Maybe Int) Source

The ICMP code. A value of -1 means all codes for the specified ICMP type.

IPPermission

ipPermission Source

Creates a value of IPPermission with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ipFromPort :: Lens' IPPermission (Maybe Int) Source

The start of port range for the TCP and UDP protocols, or an ICMP type number. A value of '-1' indicates all ICMP types.

ipUserIdGroupPairs :: Lens' IPPermission [UserIdGroupPair] Source

One or more security group and AWS account ID pairs.

ipPrefixListIds :: Lens' IPPermission [PrefixListId] Source

(Valid for AuthorizeSecurityGroupEgress, RevokeSecurityGroupEgress and DescribeSecurityGroups only) One or more prefix list IDs for an AWS service. In an AuthorizeSecurityGroupEgress request, this is the AWS service that you want to access through a VPC endpoint from instances associated with the security group.

ipToPort :: Lens' IPPermission (Maybe Int) Source

The end of port range for the TCP and UDP protocols, or an ICMP code. A value of '-1' indicates all ICMP codes for the specified ICMP type.

ipIPRanges :: Lens' IPPermission [IPRange] Source

One or more IP ranges.

ipIPProtocol :: Lens' IPPermission Text Source

The protocol.

When you call DescribeSecurityGroups, the protocol value returned is the number. Exception: For TCP, UDP, and ICMP, the value returned is the name (for example, tcp, udp, or icmp). For a list of protocol numbers, see Protocol Numbers. (VPC only) When you call AuthorizeSecurityGroupIngress, you can use '-1' to specify all.

IPRange

data IPRange Source

Describes an IP range.

See: ipRange smart constructor.

ipRange Source

Arguments

:: Text

irCIdRIP

-> IPRange 

Creates a value of IPRange with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

irCIdRIP :: Lens' IPRange Text Source

The CIDR range. You can either specify a CIDR range or a source security group, not both.

Image

data Image Source

Describes an image.

See: image smart constructor.

iPlatform :: Lens' Image (Maybe PlatformValues) Source

The value is Windows for Windows AMIs; otherwise blank.

iImageOwnerAlias :: Lens' Image (Maybe Text) Source

The AWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner.

iRAMDiskId :: Lens' Image (Maybe Text) Source

The RAM disk associated with the image, if any. Only applicable for machine images.

iKernelId :: Lens' Image (Maybe Text) Source

The kernel associated with the image, if any. Only applicable for machine images.

iRootDeviceName :: Lens' Image (Maybe Text) Source

The device name of the root device (for example, '\/dev\/sda1' or '\/dev\/xvda').

iSRIOVNetSupport :: Lens' Image (Maybe Text) Source

Specifies whether enhanced networking is enabled.

iName :: Lens' Image (Maybe Text) Source

The name of the AMI that was provided during image creation.

iCreationDate :: Lens' Image (Maybe Text) Source

The date and time the image was created.

iProductCodes :: Lens' Image [ProductCode] Source

Any product codes associated with the AMI.

iStateReason :: Lens' Image (Maybe StateReason) Source

The reason for the state change.

iBlockDeviceMappings :: Lens' Image [BlockDeviceMapping] Source

Any block device mapping entries.

iDescription :: Lens' Image (Maybe Text) Source

The description of the AMI that was provided during image creation.

iTags :: Lens' Image [Tag] Source

Any tags assigned to the image.

iImageId :: Lens' Image Text Source

The ID of the AMI.

iImageLocation :: Lens' Image Text Source

The location of the AMI.

iState :: Lens' Image ImageState Source

The current state of the AMI. If the state is available, the image is successfully registered and can be used to launch an instance.

iOwnerId :: Lens' Image Text Source

The AWS account ID of the image owner.

iPublic :: Lens' Image Bool Source

Indicates whether the image has public launch permissions. The value is true if this image has public launch permissions or false if it has only implicit and explicit launch permissions.

iArchitecture :: Lens' Image ArchitectureValues Source

The architecture of the image.

iRootDeviceType :: Lens' Image DeviceType Source

The type of root device used by the AMI. The AMI can use an EBS volume or an instance store volume.

iVirtualizationType :: Lens' Image VirtualizationType Source

The type of virtualization of the AMI.

iHypervisor :: Lens' Image HypervisorType Source

The hypervisor type of the image.

ImageDiskContainer

imageDiskContainer :: ImageDiskContainer Source

Creates a value of ImageDiskContainer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

idcURL :: Lens' ImageDiskContainer (Maybe Text) Source

The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an Amazon S3 URL (s3://..)

idcFormat :: Lens' ImageDiskContainer (Maybe Text) Source

The format of the disk image being imported.

Valid values: RAW | VHD | VMDK | OVA

idcDeviceName :: Lens' ImageDiskContainer (Maybe Text) Source

The block device mapping for the disk.

idcUserBucket :: Lens' ImageDiskContainer (Maybe UserBucket) Source

The S3 bucket for the disk image.

idcDescription :: Lens' ImageDiskContainer (Maybe Text) Source

The description of the disk image.

idcSnapshotId :: Lens' ImageDiskContainer (Maybe Text) Source

The ID of the EBS snapshot to be used for importing the snapshot.

ImportImageTask

importImageTask :: ImportImageTask Source

Creates a value of ImportImageTask with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

iitStatus :: Lens' ImportImageTask (Maybe Text) Source

A brief status for the import image task.

iitHypervisor :: Lens' ImportImageTask (Maybe Text) Source

The target hypervisor for the import task.

Valid values: xen

iitPlatform :: Lens' ImportImageTask (Maybe Text) Source

The description string for the import image task.

iitProgress :: Lens' ImportImageTask (Maybe Text) Source

The percentage of progress of the import image task.

iitLicenseType :: Lens' ImportImageTask (Maybe Text) Source

The license type of the virtual machine.

iitSnapshotDetails :: Lens' ImportImageTask [SnapshotDetail] Source

Information about the snapshots.

iitStatusMessage :: Lens' ImportImageTask (Maybe Text) Source

A descriptive status message for the import image task.

iitImageId :: Lens' ImportImageTask (Maybe Text) Source

The ID of the Amazon Machine Image (AMI) of the imported virtual machine.

iitImportTaskId :: Lens' ImportImageTask (Maybe Text) Source

The ID of the import image task.

iitArchitecture :: Lens' ImportImageTask (Maybe Text) Source

The architecture of the virtual machine.

Valid values: i386 | x86_64

iitDescription :: Lens' ImportImageTask (Maybe Text) Source

A description of the import task.

ImportInstanceLaunchSpecification

iilsGroupNames :: Lens' ImportInstanceLaunchSpecification [Text] Source

One or more security group names.

iilsSubnetId :: Lens' ImportInstanceLaunchSpecification (Maybe Text) Source

EC2-VPC
The ID of the subnet in which to launch the instance.

iilsGroupIds :: Lens' ImportInstanceLaunchSpecification [Text] Source

One or more security group IDs.

iilsInstanceType :: Lens' ImportInstanceLaunchSpecification (Maybe InstanceType) Source

The instance type. For more information about the instance types that you can import, see Before You Get Started in the Amazon Elastic Compute Cloud User Guide.

iilsUserData :: Lens' ImportInstanceLaunchSpecification (Maybe UserData) Source

The Base64-encoded MIME user data to be made available to the instance.

iilsMonitoring :: Lens' ImportInstanceLaunchSpecification (Maybe Bool) Source

Indicates whether monitoring is enabled.

iilsInstanceInitiatedShutdownBehavior :: Lens' ImportInstanceLaunchSpecification (Maybe ShutdownBehavior) Source

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

iilsPrivateIPAddress :: Lens' ImportInstanceLaunchSpecification (Maybe Text) Source

EC2-VPC
An available IP address from the IP address range of the subnet.

iilsPlacement :: Lens' ImportInstanceLaunchSpecification (Maybe Placement) Source

The placement information for the instance.

ImportInstanceTaskDetails

importInstanceTaskDetails :: ImportInstanceTaskDetails Source

Creates a value of ImportInstanceTaskDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ImportInstanceVolumeDetailItem

iivdiStatusMessage :: Lens' ImportInstanceVolumeDetailItem (Maybe Text) Source

The status information or errors related to the disk image.

iivdiAvailabilityZone :: Lens' ImportInstanceVolumeDetailItem Text Source

The Availability Zone where the resulting instance will reside.

iivdiStatus :: Lens' ImportInstanceVolumeDetailItem Text Source

The status of the import of this particular disk image.

ImportSnapshotTask

importSnapshotTask :: ImportSnapshotTask Source

Creates a value of ImportSnapshotTask with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

istImportTaskId :: Lens' ImportSnapshotTask (Maybe Text) Source

The ID of the import snapshot task.

istDescription :: Lens' ImportSnapshotTask (Maybe Text) Source

A description of the import snapshot task.

ImportVolumeTaskDetails

ivtdDescription :: Lens' ImportVolumeTaskDetails (Maybe Text) Source

The description you provided when starting the import volume task.

ivtdBytesConverted :: Lens' ImportVolumeTaskDetails Integer Source

The number of bytes converted so far.

ivtdAvailabilityZone :: Lens' ImportVolumeTaskDetails Text Source

The Availability Zone where the resulting volume will reside.

Instance

data Instance Source

Describes an instance.

See: instance' smart constructor.

insPublicDNSName :: Lens' Instance (Maybe Text) Source

The public DNS name assigned to the instance. This name is not available until the instance enters the running state.

insPlatform :: Lens' Instance (Maybe PlatformValues) Source

The value is Windows for Windows instances; otherwise blank.

insSecurityGroups :: Lens' Instance [GroupIdentifier] Source

One or more security groups for the instance.

insClientToken :: Lens' Instance (Maybe Text) Source

The idempotency token you provided when you launched the instance.

insSourceDestCheck :: Lens' Instance (Maybe Bool) Source

Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

insVPCId :: Lens' Instance (Maybe Text) Source

The ID of the VPC in which the instance is running.

insNetworkInterfaces :: Lens' Instance [InstanceNetworkInterface] Source

EC2-VPC
One or more network interfaces for the instance.

insKeyName :: Lens' Instance (Maybe Text) Source

The name of the key pair, if this instance was launched with an associated key pair.

insRAMDiskId :: Lens' Instance (Maybe Text) Source

The RAM disk associated with this instance.

insKernelId :: Lens' Instance (Maybe Text) Source

The kernel associated with this instance.

insSubnetId :: Lens' Instance (Maybe Text) Source

The ID of the subnet in which the instance is running.

insRootDeviceName :: Lens' Instance (Maybe Text) Source

The root device name (for example, '\/dev\/sda1' or '\/dev\/xvda').

insEBSOptimized :: Lens' Instance (Maybe Bool) Source

Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

insSRIOVNetSupport :: Lens' Instance (Maybe Text) Source

Specifies whether enhanced networking is enabled.

insStateTransitionReason :: Lens' Instance (Maybe Text) Source

The reason for the most recent state transition. This might be an empty string.

insIAMInstanceProfile :: Lens' Instance (Maybe IAMInstanceProfile) Source

The IAM instance profile associated with the instance.

insInstanceLifecycle :: Lens' Instance (Maybe InstanceLifecycleType) Source

Indicates whether this is a Spot Instance.

insPrivateIPAddress :: Lens' Instance (Maybe Text) Source

The private IP address assigned to the instance.

insProductCodes :: Lens' Instance [ProductCode] Source

The product codes attached to this instance.

insSpotInstanceRequestId :: Lens' Instance (Maybe Text) Source

The ID of the Spot Instance request.

insPrivateDNSName :: Lens' Instance (Maybe Text) Source

The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

insStateReason :: Lens' Instance (Maybe StateReason) Source

The reason for the most recent state transition.

insBlockDeviceMappings :: Lens' Instance [InstanceBlockDeviceMapping] Source

Any block device mapping entries for the instance.

insPublicIPAddress :: Lens' Instance (Maybe Text) Source

The public IP address assigned to the instance.

insTags :: Lens' Instance [Tag] Source

Any tags assigned to the instance.

insInstanceId :: Lens' Instance Text Source

The ID of the instance.

insImageId :: Lens' Instance Text Source

The ID of the AMI used to launch the instance.

insAMILaunchIndex :: Lens' Instance Int Source

The AMI launch index, which can be used to find this instance in the launch group.

insLaunchTime :: Lens' Instance UTCTime Source

The time the instance was launched.

insPlacement :: Lens' Instance Placement Source

The location where the instance launched.

insMonitoring :: Lens' Instance Monitoring Source

The monitoring information for the instance.

insArchitecture :: Lens' Instance ArchitectureValues Source

The architecture of the image.

insRootDeviceType :: Lens' Instance DeviceType Source

The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

insVirtualizationType :: Lens' Instance VirtualizationType Source

The virtualization type of the instance.

insHypervisor :: Lens' Instance HypervisorType Source

The hypervisor type of the instance.

insState :: Lens' Instance InstanceState Source

The current state of the instance.

InstanceBlockDeviceMapping

instanceBlockDeviceMapping :: InstanceBlockDeviceMapping Source

Creates a value of InstanceBlockDeviceMapping with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ibdmEBS :: Lens' InstanceBlockDeviceMapping (Maybe EBSInstanceBlockDevice) Source

Parameters used to automatically set up EBS volumes when the instance is launched.

ibdmDeviceName :: Lens' InstanceBlockDeviceMapping (Maybe Text) Source

The device name exposed to the instance (for example, '\/dev\/sdh' or xvdh).

InstanceBlockDeviceMappingSpecification

instanceBlockDeviceMappingSpecification :: InstanceBlockDeviceMappingSpecification Source

Creates a value of InstanceBlockDeviceMappingSpecification with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ibdmsNoDevice :: Lens' InstanceBlockDeviceMappingSpecification (Maybe Text) Source

suppress the specified device included in the block device mapping.

ibdmsEBS :: Lens' InstanceBlockDeviceMappingSpecification (Maybe EBSInstanceBlockDeviceSpecification) Source

Parameters used to automatically set up EBS volumes when the instance is launched.

ibdmsDeviceName :: Lens' InstanceBlockDeviceMappingSpecification (Maybe Text) Source

The device name exposed to the instance (for example, '\/dev\/sdh' or xvdh).

InstanceCount

instanceCount :: InstanceCount Source

Creates a value of InstanceCount with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

icState :: Lens' InstanceCount (Maybe ListingState) Source

The states of the listed Reserved Instances.

icInstanceCount :: Lens' InstanceCount (Maybe Int) Source

The number of listed Reserved Instances in the state specified by the state.

InstanceExportDetails

instanceExportDetails :: InstanceExportDetails Source

Creates a value of InstanceExportDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

iedInstanceId :: Lens' InstanceExportDetails (Maybe Text) Source

The ID of the resource being exported.

InstanceMonitoring

instanceMonitoring :: InstanceMonitoring Source

Creates a value of InstanceMonitoring with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

InstanceNetworkInterface

iniPrivateIPAddresses :: Lens' InstanceNetworkInterface [InstancePrivateIPAddress] Source

The private IP addresses associated with the network interface.

iniSourceDestCheck :: Lens' InstanceNetworkInterface (Maybe Bool) Source

Indicates whether to validate network traffic to or from this network interface.

iniOwnerId :: Lens' InstanceNetworkInterface (Maybe Text) Source

The ID of the AWS account that created the network interface.

iniPrivateIPAddress :: Lens' InstanceNetworkInterface (Maybe Text) Source

The IP address of the network interface within the subnet.

iniAssociation :: Lens' InstanceNetworkInterface (Maybe InstanceNetworkInterfaceAssociation) Source

The association information for an Elastic IP associated with the network interface.

InstanceNetworkInterfaceAssociation

instanceNetworkInterfaceAssociation :: InstanceNetworkInterfaceAssociation Source

Creates a value of InstanceNetworkInterfaceAssociation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

iniaIPOwnerId :: Lens' InstanceNetworkInterfaceAssociation (Maybe Text) Source

The ID of the owner of the Elastic IP address.

iniaPublicIP :: Lens' InstanceNetworkInterfaceAssociation (Maybe Text) Source

The public IP address or Elastic IP address bound to the network interface.

InstanceNetworkInterfaceAttachment

instanceNetworkInterfaceAttachment :: InstanceNetworkInterfaceAttachment Source

Creates a value of InstanceNetworkInterfaceAttachment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

iniaDeleteOnTermination :: Lens' InstanceNetworkInterfaceAttachment (Maybe Bool) Source

Indicates whether the network interface is deleted when the instance is terminated.

iniaAttachmentId :: Lens' InstanceNetworkInterfaceAttachment (Maybe Text) Source

The ID of the network interface attachment.

iniaAttachTime :: Lens' InstanceNetworkInterfaceAttachment (Maybe UTCTime) Source

The time stamp when the attachment initiated.

iniaDeviceIndex :: Lens' InstanceNetworkInterfaceAttachment (Maybe Int) Source

The index of the device on the instance for the network interface attachment.

InstanceNetworkInterfaceSpecification

inisPrivateIPAddresses :: Lens' InstanceNetworkInterfaceSpecification [PrivateIPAddressSpecification] Source

One or more private IP addresses to assign to the network interface. Only one private IP address can be designated as primary.

inisDeleteOnTermination :: Lens' InstanceNetworkInterfaceSpecification (Maybe Bool) Source

If set to true, the interface is deleted when the instance is terminated. You can specify true only if creating a new network interface when launching an instance.

inisGroups :: Lens' InstanceNetworkInterfaceSpecification [Text] Source

The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance.

inisAssociatePublicIPAddress :: Lens' InstanceNetworkInterfaceSpecification (Maybe Bool) Source

Indicates whether to assign a public IP address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.

inisSubnetId :: Lens' InstanceNetworkInterfaceSpecification (Maybe Text) Source

The ID of the subnet associated with the network string. Applies only if creating a network interface when launching an instance.

inisPrivateIPAddress :: Lens' InstanceNetworkInterfaceSpecification (Maybe Text) Source

The private IP address of the network interface. Applies only if creating a network interface when launching an instance.

inisSecondaryPrivateIPAddressCount :: Lens' InstanceNetworkInterfaceSpecification (Maybe Int) Source

The number of secondary private IP addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option.

inisDeviceIndex :: Lens' InstanceNetworkInterfaceSpecification (Maybe Int) Source

The index of the device on the instance for the network interface attachment. If you are specifying a network interface in a RunInstances request, you must provide the device index.

inisDescription :: Lens' InstanceNetworkInterfaceSpecification (Maybe Text) Source

The description of the network interface. Applies only if creating a network interface when launching an instance.

InstancePrivateIPAddress

instancePrivateIPAddress :: InstancePrivateIPAddress Source

Creates a value of InstancePrivateIPAddress with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ipiaPrimary :: Lens' InstancePrivateIPAddress (Maybe Bool) Source

Indicates whether this IP address is the primary private IP address of the network interface.

ipiaPrivateIPAddress :: Lens' InstancePrivateIPAddress (Maybe Text) Source

The private IP address of the network interface.

ipiaAssociation :: Lens' InstancePrivateIPAddress (Maybe InstanceNetworkInterfaceAssociation) Source

The association information for an Elastic IP address for the network interface.

InstanceState

instanceState Source

Creates a value of InstanceState with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

isName :: Lens' InstanceState InstanceStateName Source

The current state of the instance.

isCode :: Lens' InstanceState Int Source

The low byte represents the state. The high byte is an opaque internal value and should be ignored.

  • '0' : pending
  • '16' : running
  • '32' : 'shutting-down'
  • '48' : terminated
  • '64' : stopping
  • '80' : stopped

InstanceStateChange

instanceStateChange :: InstanceStateChange Source

Creates a value of InstanceStateChange with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

iscCurrentState :: Lens' InstanceStateChange (Maybe InstanceState) Source

The current state of the instance.

iscPreviousState :: Lens' InstanceStateChange (Maybe InstanceState) Source

The previous state of the instance.

InstanceStatus

instanceStatus :: InstanceStatus Source

Creates a value of InstanceStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

isInstanceId :: Lens' InstanceStatus (Maybe Text) Source

The ID of the instance.

isSystemStatus :: Lens' InstanceStatus (Maybe InstanceStatusSummary) Source

Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.

isAvailabilityZone :: Lens' InstanceStatus (Maybe Text) Source

The Availability Zone of the instance.

isEvents :: Lens' InstanceStatus [InstanceStatusEvent] Source

Any scheduled events associated with the instance.

isInstanceStatus :: Lens' InstanceStatus (Maybe InstanceStatusSummary) Source

Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.

isInstanceState :: Lens' InstanceStatus (Maybe InstanceState) Source

The intended state of the instance. DescribeInstanceStatus requires that an instance be in the running state.

InstanceStatusDetails

instanceStatusDetails :: InstanceStatusDetails Source

Creates a value of InstanceStatusDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

isdImpairedSince :: Lens' InstanceStatusDetails (Maybe UTCTime) Source

The time when a status check failed. For an instance that was launched and impaired, this is the time when the instance was launched.

isdName :: Lens' InstanceStatusDetails (Maybe StatusName) Source

The type of instance status.

InstanceStatusEvent

instanceStatusEvent :: InstanceStatusEvent Source

Creates a value of InstanceStatusEvent with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

iseNotBefore :: Lens' InstanceStatusEvent (Maybe UTCTime) Source

The earliest scheduled start time for the event.

iseDescription :: Lens' InstanceStatusEvent (Maybe Text) Source

A description of the event.

After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].

iseNotAfter :: Lens' InstanceStatusEvent (Maybe UTCTime) Source

The latest scheduled end time for the event.

InstanceStatusSummary

instanceStatusSummary Source

Creates a value of InstanceStatusSummary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

issDetails :: Lens' InstanceStatusSummary [InstanceStatusDetails] Source

The system instance health or application instance health.

InternetGateway

internetGateway Source

Creates a value of InternetGateway with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

igAttachments :: Lens' InternetGateway [InternetGatewayAttachment] Source

Any VPCs attached to the Internet gateway.

igTags :: Lens' InternetGateway [Tag] Source

Any tags assigned to the Internet gateway.

igInternetGatewayId :: Lens' InternetGateway Text Source

The ID of the Internet gateway.

InternetGatewayAttachment

internetGatewayAttachment Source

Creates a value of InternetGatewayAttachment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

igaState :: Lens' InternetGatewayAttachment AttachmentStatus Source

The current state of the attachment.

KeyPairInfo

keyPairInfo :: KeyPairInfo Source

Creates a value of KeyPairInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

kpiKeyFingerprint :: Lens' KeyPairInfo (Maybe Text) Source

If you used CreateKeyPair to create the key pair, this is the SHA-1 digest of the DER encoded private key. If you used ImportKeyPair to provide AWS the public key, this is the MD5 public key fingerprint as specified in section 4 of RFC4716.

kpiKeyName :: Lens' KeyPairInfo (Maybe Text) Source

The name of the key pair.

LaunchPermission

launchPermission :: LaunchPermission Source

Creates a value of LaunchPermission with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

LaunchPermissionModifications

launchPermissionModifications :: LaunchPermissionModifications Source

Creates a value of LaunchPermissionModifications with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lpmRemove :: Lens' LaunchPermissionModifications [LaunchPermission] Source

The AWS account ID to remove from the list of launch permissions for the AMI.

lpmAdd :: Lens' LaunchPermissionModifications [LaunchPermission] Source

The AWS account ID to add to the list of launch permissions for the AMI.

LaunchSpecification

lsSecurityGroups :: Lens' LaunchSpecification [GroupIdentifier] Source

One or more security groups. To request an instance in a nondefault VPC, you must specify the ID of the security group. To request an instance in EC2-Classic or a default VPC, you can specify the name or the ID of the security group.

lsKeyName :: Lens' LaunchSpecification (Maybe Text) Source

The name of the key pair.

lsSubnetId :: Lens' LaunchSpecification (Maybe Text) Source

The ID of the subnet in which to launch the instance.

lsEBSOptimized :: Lens' LaunchSpecification (Maybe Bool) Source

Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Default: false

lsUserData :: Lens' LaunchSpecification (Maybe Text) Source

The Base64-encoded MIME user data to make available to the instances.

lsBlockDeviceMappings :: Lens' LaunchSpecification [BlockDeviceMapping] Source

One or more block device mapping entries.

lsPlacement :: Lens' LaunchSpecification (Maybe SpotPlacement) Source

The placement information for the instance.

Monitoring

data Monitoring Source

Describes the monitoring for the instance.

See: monitoring smart constructor.

monitoring :: Monitoring Source

Creates a value of Monitoring with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mState :: Lens' Monitoring (Maybe MonitoringState) Source

Indicates whether monitoring is enabled for the instance.

MovingAddressStatus

movingAddressStatus :: MovingAddressStatus Source

Creates a value of MovingAddressStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

masMoveStatus :: Lens' MovingAddressStatus (Maybe MoveStatus) Source

The status of the Elastic IP address that's being moved to the EC2-VPC platform, or restored to the EC2-Classic platform.

NetworkACL

networkACL :: NetworkACL Source

Creates a value of NetworkACL with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

naEntries :: Lens' NetworkACL [NetworkACLEntry] Source

One or more entries (rules) in the network ACL.

naNetworkACLId :: Lens' NetworkACL (Maybe Text) Source

The ID of the network ACL.

naVPCId :: Lens' NetworkACL (Maybe Text) Source

The ID of the VPC for the network ACL.

naAssociations :: Lens' NetworkACL [NetworkACLAssociation] Source

Any associations between the network ACL and one or more subnets

naIsDefault :: Lens' NetworkACL (Maybe Bool) Source

Indicates whether this is the default network ACL for the VPC.

naTags :: Lens' NetworkACL [Tag] Source

Any tags assigned to the network ACL.

NetworkACLAssociation

networkACLAssociation :: NetworkACLAssociation Source

Creates a value of NetworkACLAssociation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

naaNetworkACLAssociationId :: Lens' NetworkACLAssociation (Maybe Text) Source

The ID of the association between a network ACL and a subnet.

NetworkACLEntry

networkACLEntry :: NetworkACLEntry Source

Creates a value of NetworkACLEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

naeICMPTypeCode :: Lens' NetworkACLEntry (Maybe ICMPTypeCode) Source

ICMP protocol: The ICMP type and code.

naeRuleNumber :: Lens' NetworkACLEntry (Maybe Int) Source

The rule number for the entry. ACL entries are processed in ascending order by rule number.

naeRuleAction :: Lens' NetworkACLEntry (Maybe RuleAction) Source

Indicates whether to allow or deny the traffic that matches the rule.

naeProtocol :: Lens' NetworkACLEntry (Maybe Text) Source

The protocol. A value of '-1' means all protocols.

naePortRange :: Lens' NetworkACLEntry (Maybe PortRange) Source

TCP or UDP protocols: The range of ports the rule applies to.

naeCIdRBlock :: Lens' NetworkACLEntry (Maybe Text) Source

The network range to allow or deny, in CIDR notation.

naeEgress :: Lens' NetworkACLEntry (Maybe Bool) Source

Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).

NetworkInterface

niPrivateIPAddresses :: Lens' NetworkInterface [NetworkInterfacePrivateIPAddress] Source

The private IP addresses associated with the network interface.

niStatus :: Lens' NetworkInterface (Maybe NetworkInterfaceStatus) Source

The status of the network interface.

niGroups :: Lens' NetworkInterface [GroupIdentifier] Source

Any security groups for the network interface.

niSourceDestCheck :: Lens' NetworkInterface (Maybe Bool) Source

Indicates whether traffic to or from the instance is validated.

niTagSet :: Lens' NetworkInterface [Tag] Source

Any tags assigned to the network interface.

niRequesterManaged :: Lens' NetworkInterface (Maybe Bool) Source

Indicates whether the network interface is being managed by AWS.

niNetworkInterfaceId :: Lens' NetworkInterface (Maybe Text) Source

The ID of the network interface.

niSubnetId :: Lens' NetworkInterface (Maybe Text) Source

The ID of the subnet.

niOwnerId :: Lens' NetworkInterface (Maybe Text) Source

The AWS account ID of the owner of the network interface.

niPrivateIPAddress :: Lens' NetworkInterface (Maybe Text) Source

The IP address of the network interface within the subnet.

niRequesterId :: Lens' NetworkInterface (Maybe Text) Source

The ID of the entity that launched the instance on your behalf (for example, AWS Management Console or Auto Scaling).

niAssociation :: Lens' NetworkInterface (Maybe NetworkInterfaceAssociation) Source

The association information for an Elastic IP associated with the network interface.

NetworkInterfaceAssociation

networkInterfaceAssociation :: NetworkInterfaceAssociation Source

Creates a value of NetworkInterfaceAssociation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

niaIPOwnerId :: Lens' NetworkInterfaceAssociation (Maybe Text) Source

The ID of the Elastic IP address owner.

niaPublicIP :: Lens' NetworkInterfaceAssociation (Maybe Text) Source

The address of the Elastic IP address bound to the network interface.

NetworkInterfaceAttachment

networkInterfaceAttachment :: NetworkInterfaceAttachment Source

Creates a value of NetworkInterfaceAttachment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

niaDeleteOnTermination :: Lens' NetworkInterfaceAttachment (Maybe Bool) Source

Indicates whether the network interface is deleted when the instance is terminated.

niaAttachmentId :: Lens' NetworkInterfaceAttachment (Maybe Text) Source

The ID of the network interface attachment.

niaInstanceOwnerId :: Lens' NetworkInterfaceAttachment (Maybe Text) Source

The AWS account ID of the owner of the instance.

niaAttachTime :: Lens' NetworkInterfaceAttachment (Maybe UTCTime) Source

The timestamp indicating when the attachment initiated.

niaDeviceIndex :: Lens' NetworkInterfaceAttachment (Maybe Int) Source

The device index of the network interface attachment on the instance.

NetworkInterfaceAttachmentChanges

networkInterfaceAttachmentChanges :: NetworkInterfaceAttachmentChanges Source

Creates a value of NetworkInterfaceAttachmentChanges with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

niacDeleteOnTermination :: Lens' NetworkInterfaceAttachmentChanges (Maybe Bool) Source

Indicates whether the network interface is deleted when the instance is terminated.

niacAttachmentId :: Lens' NetworkInterfaceAttachmentChanges (Maybe Text) Source

The ID of the network interface attachment.

NetworkInterfacePrivateIPAddress

networkInterfacePrivateIPAddress :: NetworkInterfacePrivateIPAddress Source

Creates a value of NetworkInterfacePrivateIPAddress with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

nipiaPrimary :: Lens' NetworkInterfacePrivateIPAddress (Maybe Bool) Source

Indicates whether this IP address is the primary private IP address of the network interface.

nipiaAssociation :: Lens' NetworkInterfacePrivateIPAddress (Maybe NetworkInterfaceAssociation) Source

The association information for an Elastic IP address associated with the network interface.

NewDHCPConfiguration

newDHCPConfiguration :: NewDHCPConfiguration Source

Creates a value of NewDHCPConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Placement

data Placement Source

Describes the placement for the instance.

See: placement smart constructor.

placement :: Placement Source

Creates a value of Placement with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pAvailabilityZone :: Lens' Placement (Maybe Text) Source

The Availability Zone of the instance.

pTenancy :: Lens' Placement (Maybe Tenancy) Source

The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.

pGroupName :: Lens' Placement (Maybe Text) Source

The name of the placement group the instance is in (for cluster compute instances).

PlacementGroup

placementGroup :: PlacementGroup Source

Creates a value of PlacementGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pgState :: Lens' PlacementGroup (Maybe PlacementGroupState) Source

The state of the placement group.

pgGroupName :: Lens' PlacementGroup (Maybe Text) Source

The name of the placement group.

PortRange

portRange :: PortRange Source

Creates a value of PortRange with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

prTo :: Lens' PortRange (Maybe Int) Source

The last port in the range.

prFrom :: Lens' PortRange (Maybe Int) Source

The first port in the range.

PrefixList

data PrefixList Source

Describes prefixes for AWS services.

See: prefixList smart constructor.

prefixList :: PrefixList Source

Creates a value of PrefixList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

plCIdRs :: Lens' PrefixList [Text] Source

The IP address range of the AWS service.

plPrefixListId :: Lens' PrefixList (Maybe Text) Source

The ID of the prefix.

plPrefixListName :: Lens' PrefixList (Maybe Text) Source

The name of the prefix.

PrefixListId

prefixListId :: PrefixListId Source

Creates a value of PrefixListId with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

PriceSchedule

priceSchedule :: PriceSchedule Source

Creates a value of PriceSchedule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

psCurrencyCode :: Lens' PriceSchedule (Maybe CurrencyCodeValues) Source

The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD.

psTerm :: Lens' PriceSchedule (Maybe Integer) Source

The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.

psActive :: Lens' PriceSchedule (Maybe Bool) Source

The current price schedule, as determined by the term remaining for the Reserved Instance in the listing.

A specific price schedule is always in effect, but only one price schedule can be active at any time. Take, for example, a Reserved Instance listing that has five months remaining in its term. When you specify price schedules for five months and two months, this means that schedule 1, covering the first three months of the remaining term, will be active during months 5, 4, and 3. Then schedule 2, covering the last two months of the term, will be active for months 2 and 1.

psPrice :: Lens' PriceSchedule (Maybe Double) Source

The fixed price for the term.

PriceScheduleSpecification

priceScheduleSpecification :: PriceScheduleSpecification Source

Creates a value of PriceScheduleSpecification with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pssCurrencyCode :: Lens' PriceScheduleSpecification (Maybe CurrencyCodeValues) Source

The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD.

pssTerm :: Lens' PriceScheduleSpecification (Maybe Integer) Source

The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.

pssPrice :: Lens' PriceScheduleSpecification (Maybe Double) Source

The fixed price for the term.

PricingDetail

pricingDetail :: PricingDetail Source

Creates a value of PricingDetail with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pdCount :: Lens' PricingDetail (Maybe Int) Source

The number of instances available for the price.

pdPrice :: Lens' PricingDetail (Maybe Double) Source

The price per instance.

PrivateIPAddressSpecification

privateIPAddressSpecification Source

Creates a value of PrivateIPAddressSpecification with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

piasPrimary :: Lens' PrivateIPAddressSpecification (Maybe Bool) Source

Indicates whether the private IP address is the primary private IP address. Only one IP address can be designated as primary.

ProductCode

productCode :: ProductCode Source

Creates a value of ProductCode with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

PropagatingVGW

data PropagatingVGW Source

Describes a virtual private gateway propagating route.

See: propagatingVGW smart constructor.

propagatingVGW :: PropagatingVGW Source

Creates a value of PropagatingVGW with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pvGatewayId :: Lens' PropagatingVGW (Maybe Text) Source

The ID of the virtual private gateway (VGW).

RecurringCharge

recurringCharge :: RecurringCharge Source

Creates a value of RecurringCharge with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rcFrequency :: Lens' RecurringCharge (Maybe RecurringChargeFrequency) Source

The frequency of the recurring charge.

rcAmount :: Lens' RecurringCharge (Maybe Double) Source

The amount of the recurring charge.

RegionInfo

regionInfo :: RegionInfo Source

Creates a value of RegionInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

riRegionName :: Lens' RegionInfo (Maybe Text) Source

The name of the region.

riEndpoint :: Lens' RegionInfo (Maybe Text) Source

The region service endpoint.

RequestSpotLaunchSpecification

rslsSubnetId :: Lens' RequestSpotLaunchSpecification (Maybe Text) Source

The ID of the subnet in which to launch the instance.

rslsEBSOptimized :: Lens' RequestSpotLaunchSpecification (Maybe Bool) Source

Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Default: false

rslsUserData :: Lens' RequestSpotLaunchSpecification (Maybe Text) Source

The Base64-encoded MIME user data to make available to the instances.

rslsPlacement :: Lens' RequestSpotLaunchSpecification (Maybe SpotPlacement) Source

The placement information for the instance.

Reservation

reservation Source

Creates a value of Reservation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rGroups :: Lens' Reservation [GroupIdentifier] Source

One or more security groups.

rInstances :: Lens' Reservation [Instance] Source

One or more instances.

rRequesterId :: Lens' Reservation (Maybe Text) Source

The ID of the requester that launched the instances on your behalf (for example, AWS Management Console or Auto Scaling).

rReservationId :: Lens' Reservation Text Source

The ID of the reservation.

rOwnerId :: Lens' Reservation Text Source

The ID of the AWS account that owns the reservation.

ReservedInstanceLimitPrice

reservedInstanceLimitPrice :: ReservedInstanceLimitPrice Source

Creates a value of ReservedInstanceLimitPrice with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rilpAmount :: Lens' ReservedInstanceLimitPrice (Maybe Double) Source

Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).

rilpCurrencyCode :: Lens' ReservedInstanceLimitPrice (Maybe CurrencyCodeValues) Source

The currency in which the limitPrice amount is specified. At this time, the only supported currency is USD.

ReservedInstances

riState :: Lens' ReservedInstances (Maybe ReservedInstanceState) Source

The state of the Reserved Instance purchase.

riCurrencyCode :: Lens' ReservedInstances (Maybe CurrencyCodeValues) Source

The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

riInstanceCount :: Lens' ReservedInstances (Maybe Int) Source

The number of Reserved Instances purchased.

riProductDescription :: Lens' ReservedInstances (Maybe RIProductDescription) Source

The Reserved Instance product platform description.

riStart :: Lens' ReservedInstances (Maybe UTCTime) Source

The date and time the Reserved Instance started.

riInstanceType :: Lens' ReservedInstances (Maybe InstanceType) Source

The instance type on which the Reserved Instance can be used.

riAvailabilityZone :: Lens' ReservedInstances (Maybe Text) Source

The Availability Zone in which the Reserved Instance can be used.

riEnd :: Lens' ReservedInstances (Maybe UTCTime) Source

The time when the Reserved Instance expires.

riOfferingType :: Lens' ReservedInstances (Maybe OfferingTypeValues) Source

The Reserved Instance offering type.

riUsagePrice :: Lens' ReservedInstances (Maybe Double) Source

The usage price of the Reserved Instance, per hour.

riRecurringCharges :: Lens' ReservedInstances [RecurringCharge] Source

The recurring charge tag assigned to the resource.

riInstanceTenancy :: Lens' ReservedInstances (Maybe Tenancy) Source

The tenancy of the reserved instance.

riFixedPrice :: Lens' ReservedInstances (Maybe Double) Source

The purchase price of the Reserved Instance.

riReservedInstancesId :: Lens' ReservedInstances (Maybe Text) Source

The ID of the Reserved Instance.

riDuration :: Lens' ReservedInstances (Maybe Integer) Source

The duration of the Reserved Instance, in seconds.

riTags :: Lens' ReservedInstances [Tag] Source

Any tags assigned to the resource.

ReservedInstancesConfiguration

reservedInstancesConfiguration :: ReservedInstancesConfiguration Source

Creates a value of ReservedInstancesConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ricPlatform :: Lens' ReservedInstancesConfiguration (Maybe Text) Source

The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

ricInstanceCount :: Lens' ReservedInstancesConfiguration (Maybe Int) Source

The number of modified Reserved Instances.

ricInstanceType :: Lens' ReservedInstancesConfiguration (Maybe InstanceType) Source

The instance type for the modified Reserved Instances.

ricAvailabilityZone :: Lens' ReservedInstancesConfiguration (Maybe Text) Source

The Availability Zone for the modified Reserved Instances.

ReservedInstancesId

reservedInstancesId :: ReservedInstancesId Source

Creates a value of ReservedInstancesId with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

riiReservedInstancesId :: Lens' ReservedInstancesId (Maybe Text) Source

The ID of the Reserved Instance.

ReservedInstancesListing

rilStatus :: Lens' ReservedInstancesListing (Maybe ListingStatus) Source

The status of the Reserved Instance listing.

rilClientToken :: Lens' ReservedInstancesListing (Maybe Text) Source

A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.

rilUpdateDate :: Lens' ReservedInstancesListing (Maybe UTCTime) Source

The last modified timestamp of the listing.

rilCreateDate :: Lens' ReservedInstancesListing (Maybe UTCTime) Source

The time the listing was created.

rilPriceSchedules :: Lens' ReservedInstancesListing [PriceSchedule] Source

The price of the Reserved Instance listing.

rilStatusMessage :: Lens' ReservedInstancesListing (Maybe Text) Source

The reason for the current status of the Reserved Instance listing. The response can be blank.

rilInstanceCounts :: Lens' ReservedInstancesListing [InstanceCount] Source

The number of instances in this state.

rilReservedInstancesListingId :: Lens' ReservedInstancesListing (Maybe Text) Source

The ID of the Reserved Instance listing.

rilTags :: Lens' ReservedInstancesListing [Tag] Source

Any tags assigned to the resource.

ReservedInstancesModification

rimModificationResults :: Lens' ReservedInstancesModification [ReservedInstancesModificationResult] Source

Contains target configurations along with their corresponding new Reserved Instance IDs.

rimStatus :: Lens' ReservedInstancesModification (Maybe Text) Source

The status of the Reserved Instances modification request.

rimClientToken :: Lens' ReservedInstancesModification (Maybe Text) Source

A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.

rimUpdateDate :: Lens' ReservedInstancesModification (Maybe UTCTime) Source

The time when the modification request was last updated.

rimCreateDate :: Lens' ReservedInstancesModification (Maybe UTCTime) Source

The time when the modification request was created.

rimEffectiveDate :: Lens' ReservedInstancesModification (Maybe UTCTime) Source

The time for the modification to become effective.

rimReservedInstancesModificationId :: Lens' ReservedInstancesModification (Maybe Text) Source

A unique ID for the Reserved Instance modification.

ReservedInstancesModificationResult

reservedInstancesModificationResult :: ReservedInstancesModificationResult Source

Creates a value of ReservedInstancesModificationResult with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rimrReservedInstancesId :: Lens' ReservedInstancesModificationResult (Maybe Text) Source

The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.

rimrTargetConfiguration :: Lens' ReservedInstancesModificationResult (Maybe ReservedInstancesConfiguration) Source

The target Reserved Instances configurations supplied as part of the modification request.

ReservedInstancesOffering

rioMarketplace :: Lens' ReservedInstancesOffering (Maybe Bool) Source

Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, this is true.

rioCurrencyCode :: Lens' ReservedInstancesOffering (Maybe CurrencyCodeValues) Source

The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

rioProductDescription :: Lens' ReservedInstancesOffering (Maybe RIProductDescription) Source

The Reserved Instance product platform description.

rioInstanceType :: Lens' ReservedInstancesOffering (Maybe InstanceType) Source

The instance type on which the Reserved Instance can be used.

rioAvailabilityZone :: Lens' ReservedInstancesOffering (Maybe Text) Source

The Availability Zone in which the Reserved Instance can be used.

rioPricingDetails :: Lens' ReservedInstancesOffering [PricingDetail] Source

The pricing details of the Reserved Instance offering.

rioUsagePrice :: Lens' ReservedInstancesOffering (Maybe Double) Source

The usage price of the Reserved Instance, per hour.

rioRecurringCharges :: Lens' ReservedInstancesOffering [RecurringCharge] Source

The recurring charge tag assigned to the resource.

rioReservedInstancesOfferingId :: Lens' ReservedInstancesOffering (Maybe Text) Source

The ID of the Reserved Instance offering.

rioInstanceTenancy :: Lens' ReservedInstancesOffering (Maybe Tenancy) Source

The tenancy of the reserved instance.

rioFixedPrice :: Lens' ReservedInstancesOffering (Maybe Double) Source

The purchase price of the Reserved Instance.

rioDuration :: Lens' ReservedInstancesOffering (Maybe Integer) Source

The duration of the Reserved Instance, in seconds.

Route

data Route Source

Describes a route in a route table.

See: route smart constructor.

route :: Route Source

Creates a value of Route with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rInstanceId :: Lens' Route (Maybe Text) Source

The ID of a NAT instance in your VPC.

rOrigin :: Lens' Route (Maybe RouteOrigin) Source

Describes how the route was created.

  • CreateRouteTable indicates that route was automatically created when the route table was created.
  • CreateRoute indicates that the route was manually added to the route table.
  • EnableVgwRoutePropagation indicates that the route was propagated by route propagation.

rVPCPeeringConnectionId :: Lens' Route (Maybe Text) Source

The ID of the VPC peering connection.

rState :: Lens' Route (Maybe RouteState) Source

The state of the route. The blackhole state indicates that the route's target isn't available (for example, the specified gateway isn't attached to the VPC, or the specified NAT instance has been terminated).

rNetworkInterfaceId :: Lens' Route (Maybe Text) Source

The ID of the network interface.

rGatewayId :: Lens' Route (Maybe Text) Source

The ID of a gateway attached to your VPC.

rInstanceOwnerId :: Lens' Route (Maybe Text) Source

The AWS account ID of the owner of the instance.

rDestinationPrefixListId :: Lens' Route (Maybe Text) Source

The prefix of the AWS service.

rDestinationCIdRBlock :: Lens' Route (Maybe Text) Source

The CIDR block used for the destination match.

RouteTable

routeTable :: RouteTable Source

Creates a value of RouteTable with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rtRoutes :: Lens' RouteTable [Route] Source

The routes in the route table.

rtRouteTableId :: Lens' RouteTable (Maybe Text) Source

The ID of the route table.

rtVPCId :: Lens' RouteTable (Maybe Text) Source

The ID of the VPC.

rtPropagatingVGWs :: Lens' RouteTable [PropagatingVGW] Source

Any virtual private gateway (VGW) propagating routes.

rtAssociations :: Lens' RouteTable [RouteTableAssociation] Source

The associations between the route table and one or more subnets.

rtTags :: Lens' RouteTable [Tag] Source

Any tags assigned to the route table.

RouteTableAssociation

routeTableAssociation :: RouteTableAssociation Source

Creates a value of RouteTableAssociation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rtaRouteTableAssociationId :: Lens' RouteTableAssociation (Maybe Text) Source

The ID of the association between a route table and a subnet.

rtaMain :: Lens' RouteTableAssociation (Maybe Bool) Source

Indicates whether this is the main route table.

rtaSubnetId :: Lens' RouteTableAssociation (Maybe Text) Source

The ID of the subnet. A subnet ID is not returned for an implicit association.

RunInstancesMonitoringEnabled

runInstancesMonitoringEnabled Source

Creates a value of RunInstancesMonitoringEnabled with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rimeEnabled :: Lens' RunInstancesMonitoringEnabled Bool Source

Indicates whether monitoring is enabled for the instance.

S3Storage

data S3Storage Source

Describes the storage parameters for S3 and S3 buckets for an instance store-backed AMI.

See: s3Storage smart constructor.

s3Storage :: S3Storage Source

Creates a value of S3Storage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ssPrefix :: Lens' S3Storage (Maybe Text) Source

The beginning of the file name of the AMI.

ssUploadPolicy :: Lens' S3Storage (Maybe ByteString) Source

A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.

Note: This Lens automatically encodes and decodes Base64 data, despite what the AWS documentation might say. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.

ssBucket :: Lens' S3Storage (Maybe Text) Source

The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.

ssUploadPolicySignature :: Lens' S3Storage (Maybe Text) Source

The signature of the Base64 encoded JSON document.

ssAWSAccessKeyId :: Lens' S3Storage (Maybe Text) Source

The access key ID of the owner of the bucket. Before you specify a value for your access key ID, review and follow the guidance in Best Practices for Managing AWS Access Keys.

SecurityGroup

securityGroup Source

Creates a value of SecurityGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sgVPCId :: Lens' SecurityGroup (Maybe Text) Source

EC2-VPC
The ID of the VPC for the security group.

sgIPPermissions :: Lens' SecurityGroup [IPPermission] Source

One or more inbound rules associated with the security group.

sgIPPermissionsEgress :: Lens' SecurityGroup [IPPermission] Source

EC2-VPC
One or more outbound rules associated with the security group.

sgTags :: Lens' SecurityGroup [Tag] Source

Any tags assigned to the security group.

sgOwnerId :: Lens' SecurityGroup Text Source

The AWS account ID of the owner of the security group.

sgGroupId :: Lens' SecurityGroup Text Source

The ID of the security group.

sgGroupName :: Lens' SecurityGroup Text Source

The name of the security group.

sgDescription :: Lens' SecurityGroup Text Source

A description of the security group.

Snapshot

data Snapshot Source

Describes a snapshot.

See: snapshot smart constructor.

sOwnerAlias :: Lens' Snapshot (Maybe Text) Source

The AWS account alias (for example, amazon, self) or AWS account ID that owns the snapshot.

sKMSKeyId :: Lens' Snapshot (Maybe Text) Source

The full ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the volume encryption key for the parent volume.

sTags :: Lens' Snapshot [Tag] Source

Any tags assigned to the snapshot.

sSnapshotId :: Lens' Snapshot Text Source

The ID of the snapshot.

sOwnerId :: Lens' Snapshot Text Source

The AWS account ID of the EBS snapshot owner.

sVolumeId :: Lens' Snapshot Text Source

The ID of the volume.

sVolumeSize :: Lens' Snapshot Int Source

The size of the volume, in GiB.

sDescription :: Lens' Snapshot Text Source

The description for the snapshot.

sStartTime :: Lens' Snapshot UTCTime Source

The time stamp when the snapshot was initiated.

sProgress :: Lens' Snapshot Text Source

The progress of the snapshot, as a percentage.

sState :: Lens' Snapshot SnapshotState Source

The snapshot state.

sEncrypted :: Lens' Snapshot Bool Source

Indicates whether the snapshot is encrypted.

SnapshotDetail

data SnapshotDetail Source

Describes the snapshot created from the imported disk.

See: snapshotDetail smart constructor.

snapshotDetail :: SnapshotDetail Source

Creates a value of SnapshotDetail with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sdStatus :: Lens' SnapshotDetail (Maybe Text) Source

A brief status of the snapshot creation.

sdProgress :: Lens' SnapshotDetail (Maybe Text) Source

The percentage of progress for the task.

sdURL :: Lens' SnapshotDetail (Maybe Text) Source

The URL used to access the disk image.

sdFormat :: Lens' SnapshotDetail (Maybe Text) Source

The format of the disk image from which the snapshot is created.

sdDeviceName :: Lens' SnapshotDetail (Maybe Text) Source

The block device mapping for the snapshot.

sdDiskImageSize :: Lens' SnapshotDetail (Maybe Double) Source

The size of the disk in the snapshot, in GiB.

sdStatusMessage :: Lens' SnapshotDetail (Maybe Text) Source

A detailed status message for the snapshot creation.

sdDescription :: Lens' SnapshotDetail (Maybe Text) Source

A description for the snapshot.

sdSnapshotId :: Lens' SnapshotDetail (Maybe Text) Source

The snapshot ID of the disk being imported.

SnapshotDiskContainer

snapshotDiskContainer :: SnapshotDiskContainer Source

Creates a value of SnapshotDiskContainer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sdcURL :: Lens' SnapshotDiskContainer (Maybe Text) Source

The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).

sdcFormat :: Lens' SnapshotDiskContainer (Maybe Text) Source

The format of the disk image being imported.

Valid values: RAW | VHD | VMDK | OVA

sdcDescription :: Lens' SnapshotDiskContainer (Maybe Text) Source

The description of the disk image being imported.

SnapshotTaskDetail

snapshotTaskDetail :: SnapshotTaskDetail Source

Creates a value of SnapshotTaskDetail with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

stdStatus :: Lens' SnapshotTaskDetail (Maybe Text) Source

A brief status for the import snapshot task.

stdProgress :: Lens' SnapshotTaskDetail (Maybe Text) Source

The percentage of completion for the import snapshot task.

stdURL :: Lens' SnapshotTaskDetail (Maybe Text) Source

The URL of the disk image from which the snapshot is created.

stdFormat :: Lens' SnapshotTaskDetail (Maybe Text) Source

The format of the disk image from which the snapshot is created.

stdUserBucket :: Lens' SnapshotTaskDetail (Maybe UserBucketDetails) Source

The S3 bucket for the disk image.

stdDiskImageSize :: Lens' SnapshotTaskDetail (Maybe Double) Source

The size of the disk in the snapshot, in GiB.

stdStatusMessage :: Lens' SnapshotTaskDetail (Maybe Text) Source

A detailed status message for the import snapshot task.

stdDescription :: Lens' SnapshotTaskDetail (Maybe Text) Source

The description of the snapshot.

stdSnapshotId :: Lens' SnapshotTaskDetail (Maybe Text) Source

The snapshot ID of the disk being imported.

SpotDatafeedSubscription

spotDatafeedSubscription :: SpotDatafeedSubscription Source

Creates a value of SpotDatafeedSubscription with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sdsState :: Lens' SpotDatafeedSubscription (Maybe DatafeedSubscriptionState) Source

The state of the Spot Instance data feed subscription.

sdsPrefix :: Lens' SpotDatafeedSubscription (Maybe Text) Source

The prefix that is prepended to data feed files.

sdsBucket :: Lens' SpotDatafeedSubscription (Maybe Text) Source

The Amazon S3 bucket where the Spot Instance data feed is located.

sdsOwnerId :: Lens' SpotDatafeedSubscription (Maybe Text) Source

The AWS account ID of the account.

sdsFault :: Lens' SpotDatafeedSubscription (Maybe SpotInstanceStateFault) Source

The fault codes for the Spot Instance request, if any.

SpotFleetLaunchSpecification

sflsSecurityGroups :: Lens' SpotFleetLaunchSpecification [GroupIdentifier] Source

One or more security groups. To request an instance in a nondefault VPC, you must specify the ID of the security group. To request an instance in EC2-Classic or a default VPC, you can specify the name or the ID of the security group.

sflsSubnetId :: Lens' SpotFleetLaunchSpecification (Maybe Text) Source

The ID of the subnet in which to launch the instance.

sflsEBSOptimized :: Lens' SpotFleetLaunchSpecification (Maybe Bool) Source

Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Default: false

sflsUserData :: Lens' SpotFleetLaunchSpecification (Maybe Text) Source

The Base64-encoded MIME user data to make available to the instances.

sflsMonitoring :: Lens' SpotFleetLaunchSpecification (Maybe SpotFleetMonitoring) Source

Enable or disable monitoring for the instance.

SpotFleetMonitoring

spotFleetMonitoring :: SpotFleetMonitoring Source

Creates a value of SpotFleetMonitoring with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sfmEnabled :: Lens' SpotFleetMonitoring (Maybe Bool) Source

Enables monitoring for the instance.

Default: false

SpotFleetRequestConfig

sfrcSpotFleetRequestId :: Lens' SpotFleetRequestConfig Text Source

The ID of the Spot fleet request.

sfrcSpotFleetRequestConfig :: Lens' SpotFleetRequestConfig SpotFleetRequestConfigData Source

Information about the configuration of the Spot fleet request.

SpotFleetRequestConfigData

sfrcdClientToken :: Lens' SpotFleetRequestConfigData (Maybe Text) Source

A unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency.

sfrcdValidUntil :: Lens' SpotFleetRequestConfigData (Maybe UTCTime) Source

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new Spot Instance requests are placed or enabled to fulfill the request.

sfrcdTerminateInstancesWithExpiration :: Lens' SpotFleetRequestConfigData (Maybe Bool) Source

Indicates whether running instances should be terminated when the Spot fleet request expires.

sfrcdValidFrom :: Lens' SpotFleetRequestConfigData (Maybe UTCTime) Source

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

sfrcdSpotPrice :: Lens' SpotFleetRequestConfigData Text Source

The maximum hourly price (bid) for any Spot Instance launched to fulfill the request.

sfrcdTargetCapacity :: Lens' SpotFleetRequestConfigData Int Source

The maximum number of Spot Instances to launch.

sfrcdIAMFleetRole :: Lens' SpotFleetRequestConfigData Text Source

Grants the Spot fleet service permission to terminate instances on your behalf when you cancel a Spot fleet request using CancelSpotFleetRequests or when the Spot fleet request expires, if you set terminateInstancesWithExpiration.

sfrcdLaunchSpecifications :: Lens' SpotFleetRequestConfigData (NonEmpty SpotFleetLaunchSpecification) Source

Information about the launch specifications for the instances.

SpotInstanceRequest

sirInstanceId :: Lens' SpotInstanceRequest (Maybe Text) Source

The instance ID, if an instance has been launched to fulfill the Spot Instance request.

sirStatus :: Lens' SpotInstanceRequest (Maybe SpotInstanceStatus) Source

The status code and status message describing the Spot Instance request.

sirState :: Lens' SpotInstanceRequest (Maybe SpotInstanceState) Source

The state of the Spot Instance request. Spot bid status information can help you track your Spot Instance requests. For more information, see Spot Bid Status in the Amazon Elastic Compute Cloud User Guide.

sirProductDescription :: Lens' SpotInstanceRequest (Maybe RIProductDescription) Source

The product description associated with the Spot Instance.

sirSpotPrice :: Lens' SpotInstanceRequest (Maybe Text) Source

The maximum hourly price (bid) for any Spot Instance launched to fulfill the request.

sirAvailabilityZoneGroup :: Lens' SpotInstanceRequest (Maybe Text) Source

The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.

sirLaunchSpecification :: Lens' SpotInstanceRequest (Maybe LaunchSpecification) Source

Additional information for launching instances.

sirLaunchedAvailabilityZone :: Lens' SpotInstanceRequest (Maybe Text) Source

The Availability Zone in which the bid is launched.

sirValidUntil :: Lens' SpotInstanceRequest (Maybe UTCTime) Source

The end date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). If this is a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date is reached.

sirFault :: Lens' SpotInstanceRequest (Maybe SpotInstanceStateFault) Source

The fault codes for the Spot Instance request, if any.

sirLaunchGroup :: Lens' SpotInstanceRequest (Maybe Text) Source

The instance launch group. Launch groups are Spot Instances that launch together and terminate together.

sirSpotInstanceRequestId :: Lens' SpotInstanceRequest (Maybe Text) Source

The ID of the Spot Instance request.

sirType :: Lens' SpotInstanceRequest (Maybe SpotInstanceType) Source

The Spot Instance request type.

sirValidFrom :: Lens' SpotInstanceRequest (Maybe UTCTime) Source

The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). If this is a one-time request, the request becomes active at this date and time and remains active until all instances launch, the request expires, or the request is canceled. If the request is persistent, the request becomes active at this date and time and remains active until it expires or is canceled.

sirTags :: Lens' SpotInstanceRequest [Tag] Source

Any tags assigned to the resource.

sirCreateTime :: Lens' SpotInstanceRequest (Maybe UTCTime) Source

The date and time when the Spot Instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

SpotInstanceStateFault

spotInstanceStateFault :: SpotInstanceStateFault Source

Creates a value of SpotInstanceStateFault with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sisfCode :: Lens' SpotInstanceStateFault (Maybe Text) Source

The reason code for the Spot Instance state change.

sisfMessage :: Lens' SpotInstanceStateFault (Maybe Text) Source

The message for the Spot Instance state change.

SpotInstanceStatus

spotInstanceStatus :: SpotInstanceStatus Source

Creates a value of SpotInstanceStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sisUpdateTime :: Lens' SpotInstanceStatus (Maybe UTCTime) Source

The date and time of the most recent status update, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

sisMessage :: Lens' SpotInstanceStatus (Maybe Text) Source

The description for the status code.

SpotPlacement

spotPlacement :: SpotPlacement Source

Creates a value of SpotPlacement with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

spGroupName :: Lens' SpotPlacement (Maybe Text) Source

The name of the placement group (for cluster instances).

SpotPrice

data SpotPrice Source

Describes the maximum hourly price (bid) for any Spot Instance launched to fulfill the request.

See: spotPrice smart constructor.

spotPrice :: SpotPrice Source

Creates a value of SpotPrice with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sProductDescription :: Lens' SpotPrice (Maybe RIProductDescription) Source

A general description of the AMI.

sSpotPrice :: Lens' SpotPrice (Maybe Text) Source

The maximum price (bid) that you are willing to pay for a Spot Instance.

sAvailabilityZone :: Lens' SpotPrice (Maybe Text) Source

The Availability Zone.

sTimestamp :: Lens' SpotPrice (Maybe UTCTime) Source

The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

StateReason

stateReason :: StateReason Source

Creates a value of StateReason with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

srCode :: Lens' StateReason (Maybe Text) Source

The reason code for the state change.

srMessage :: Lens' StateReason (Maybe Text) Source

The message for the state change.

Storage

data Storage Source

Describes the storage location for an instance store-backed AMI.

See: storage smart constructor.

storage :: Storage Source

Creates a value of Storage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sS3 :: Lens' Storage (Maybe S3Storage) Source

An Amazon S3 storage location.

Subnet

data Subnet Source

Describes a subnet.

See: subnet smart constructor.

subTags :: Lens' Subnet [Tag] Source

Any tags assigned to the subnet.

subAvailabilityZone :: Lens' Subnet Text Source

The Availability Zone of the subnet.

subAvailableIPAddressCount :: Lens' Subnet Int Source

The number of unused IP addresses in the subnet. Note that the IP addresses for any stopped instances are considered unavailable.

subCIdRBlock :: Lens' Subnet Text Source

The CIDR block assigned to the subnet.

subDefaultForAz :: Lens' Subnet Bool Source

Indicates whether this is the default subnet for the Availability Zone.

subMapPublicIPOnLaunch :: Lens' Subnet Bool Source

Indicates whether instances launched in this subnet receive a public IP address.

subState :: Lens' Subnet SubnetState Source

The current state of the subnet.

subSubnetId :: Lens' Subnet Text Source

The ID of the subnet.

subVPCId :: Lens' Subnet Text Source

The ID of the VPC the subnet is in.

Tag

data Tag Source

Describes a tag.

See: tag smart constructor.

tag Source

Arguments

:: Text

tagKey

-> Text

tagValue

-> Tag 

Creates a value of Tag with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tagKey :: Lens' Tag Text Source

The key of the tag.

Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with 'aws:'

tagValue :: Lens' Tag Text Source

The value of the tag.

Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters.

TagDescription

tagDescription Source

Creates a value of TagDescription with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tdResourceId :: Lens' TagDescription Text Source

The ID of the resource. For example, 'ami-1a2b3c4d'.

UnsuccessfulItem

data UnsuccessfulItem Source

Information about items that were not successfully processed in a batch call.

See: unsuccessfulItem smart constructor.

unsuccessfulItem Source

Creates a value of UnsuccessfulItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

uiResourceId :: Lens' UnsuccessfulItem (Maybe Text) Source

The ID of the resource.

UnsuccessfulItemError

unsuccessfulItemError Source

Creates a value of UnsuccessfulItemError with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

uieMessage :: Lens' UnsuccessfulItemError Text Source

The error message accompanying the error code.

UserBucket

data UserBucket Source

Describes the S3 bucket for the disk image.

See: userBucket smart constructor.

userBucket :: UserBucket Source

Creates a value of UserBucket with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ubS3Key :: Lens' UserBucket (Maybe Text) Source

The key for the disk image.

ubS3Bucket :: Lens' UserBucket (Maybe Text) Source

The name of the S3 bucket where the disk image is located.

UserBucketDetails

userBucketDetails :: UserBucketDetails Source

Creates a value of UserBucketDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ubdS3Key :: Lens' UserBucketDetails (Maybe Text) Source

The key from which the disk image was created.

ubdS3Bucket :: Lens' UserBucketDetails (Maybe Text) Source

The S3 bucket from which the disk image was created.

UserData

data UserData Source

Describes the user data to be made available to an instance.

See: userData smart constructor.

userData :: UserData Source

Creates a value of UserData with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

udData :: Lens' UserData (Maybe Text) Source

The Base64-encoded MIME user data for the instance.

UserIdGroupPair

userIdGroupPair :: UserIdGroupPair Source

Creates a value of UserIdGroupPair with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

uigpUserId :: Lens' UserIdGroupPair (Maybe Text) Source

The ID of an AWS account. EC2-Classic only.

uigpGroupId :: Lens' UserIdGroupPair (Maybe Text) Source

The ID of the security group.

uigpGroupName :: Lens' UserIdGroupPair (Maybe Text) Source

The name of the security group. In a request, use this parameter for a security group in EC2-Classic or a default VPC only. For a security group in a nondefault VPC, use GroupId.

VGWTelemetry

vgwTelemetry :: VGWTelemetry Source

Creates a value of VGWTelemetry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vtStatus :: Lens' VGWTelemetry (Maybe TelemetryStatus) Source

The status of the VPN tunnel.

vtOutsideIPAddress :: Lens' VGWTelemetry (Maybe Text) Source

The Internet-routable IP address of the virtual private gateway's outside interface.

vtLastStatusChange :: Lens' VGWTelemetry (Maybe UTCTime) Source

The date and time of the last change in status.

vtAcceptedRouteCount :: Lens' VGWTelemetry (Maybe Int) Source

The number of accepted routes.

vtStatusMessage :: Lens' VGWTelemetry (Maybe Text) Source

If an error occurs, a description of the error.

VPC

data VPC Source

Describes a VPC.

See: vpc smart constructor.

vpc Source

Creates a value of VPC with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vpcTags :: Lens' VPC [Tag] Source

Any tags assigned to the VPC.

vpcCIdRBlock :: Lens' VPC Text Source

The CIDR block for the VPC.

vpcDHCPOptionsId :: Lens' VPC Text Source

The ID of the set of DHCP options you've associated with the VPC (or 'default' if the default options are associated with the VPC).

vpcInstanceTenancy :: Lens' VPC Tenancy Source

The allowed tenancy of instances launched into the VPC.

vpcIsDefault :: Lens' VPC Bool Source

Indicates whether the VPC is the default VPC.

vpcState :: Lens' VPC VPCState Source

The current state of the VPC.

vpcVPCId :: Lens' VPC Text Source

The ID of the VPC.

VPCAttachment

data VPCAttachment Source

Describes an attachment between a virtual private gateway and a VPC.

See: vpcAttachment smart constructor.

vpcAttachment :: VPCAttachment Source

Creates a value of VPCAttachment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vaState :: Lens' VPCAttachment (Maybe AttachmentStatus) Source

The current state of the attachment.

vaVPCId :: Lens' VPCAttachment (Maybe Text) Source

The ID of the VPC.

VPCClassicLink

vpcClassicLink :: VPCClassicLink Source

Creates a value of VPCClassicLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vclVPCId :: Lens' VPCClassicLink (Maybe Text) Source

The ID of the VPC.

vclTags :: Lens' VPCClassicLink [Tag] Source

Any tags assigned to the VPC.

vclClassicLinkEnabled :: Lens' VPCClassicLink (Maybe Bool) Source

Indicates whether the VPC is enabled for ClassicLink.

VPCEndpoint

vpcEndpoint :: VPCEndpoint Source

Creates a value of VPCEndpoint with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vePolicyDocument :: Lens' VPCEndpoint (Maybe Text) Source

The policy document associated with the endpoint.

veState :: Lens' VPCEndpoint (Maybe State) Source

The state of the VPC endpoint.

veVPCId :: Lens' VPCEndpoint (Maybe Text) Source

The ID of the VPC to which the endpoint is associated.

veCreationTimestamp :: Lens' VPCEndpoint (Maybe UTCTime) Source

The date and time the VPC endpoint was created.

veServiceName :: Lens' VPCEndpoint (Maybe Text) Source

The name of the AWS service to which the endpoint is associated.

veVPCEndpointId :: Lens' VPCEndpoint (Maybe Text) Source

The ID of the VPC endpoint.

veRouteTableIds :: Lens' VPCEndpoint [Text] Source

One or more route tables associated with the endpoint.

VPCPeeringConnection

vpcPeeringConnection :: VPCPeeringConnection Source

Creates a value of VPCPeeringConnection with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vpcpcVPCPeeringConnectionId :: Lens' VPCPeeringConnection (Maybe Text) Source

The ID of the VPC peering connection.

vpcpcExpirationTime :: Lens' VPCPeeringConnection (Maybe UTCTime) Source

The time that an unaccepted VPC peering connection will expire.

vpcpcTags :: Lens' VPCPeeringConnection [Tag] Source

Any tags assigned to the resource.

VPCPeeringConnectionStateReason

vpcPeeringConnectionStateReason :: VPCPeeringConnectionStateReason Source

Creates a value of VPCPeeringConnectionStateReason with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vpcsrMessage :: Lens' VPCPeeringConnectionStateReason (Maybe Text) Source

A message that provides more information about the status, if applicable.

VPCPeeringConnectionVPCInfo

vpcPeeringConnectionVPCInfo :: VPCPeeringConnectionVPCInfo Source

Creates a value of VPCPeeringConnectionVPCInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vpcviOwnerId :: Lens' VPCPeeringConnectionVPCInfo (Maybe Text) Source

The AWS account ID of the VPC owner.

VPNConnection

vcRoutes :: Lens' VPNConnection [VPNStaticRoute] Source

The static routes associated with the VPN connection.

vcVPNGatewayId :: Lens' VPNConnection (Maybe Text) Source

The ID of the virtual private gateway at the AWS side of the VPN connection.

vcVGWTelemetry :: Lens' VPNConnection [VGWTelemetry] Source

Information about the VPN tunnel.

vcTags :: Lens' VPNConnection [Tag] Source

Any tags assigned to the VPN connection.

vcVPNConnectionId :: Lens' VPNConnection Text Source

The ID of the VPN connection.

vcCustomerGatewayId :: Lens' VPNConnection Text Source

The ID of the customer gateway at your end of the VPN connection.

vcCustomerGatewayConfiguration :: Lens' VPNConnection Text Source

The configuration information for the VPN connection's customer gateway (in the native XML format). This element is always present in the CreateVpnConnection response; however, it's present in the DescribeVpnConnections response only if the VPN connection is in the pending or available state.

vcState :: Lens' VPNConnection VPNState Source

The current state of the VPN connection.

vcType :: Lens' VPNConnection GatewayType Source

The type of VPN connection.

VPNConnectionOptions

vpnConnectionOptions :: VPNConnectionOptions Source

Creates a value of VPNConnectionOptions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vcoStaticRoutesOnly :: Lens' VPNConnectionOptions (Maybe Bool) Source

Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.

VPNConnectionOptionsSpecification

vpnConnectionOptionsSpecification :: VPNConnectionOptionsSpecification Source

Creates a value of VPNConnectionOptionsSpecification with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vcosStaticRoutesOnly :: Lens' VPNConnectionOptionsSpecification (Maybe Bool) Source

Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.

VPNGateway

data VPNGateway Source

Describes a virtual private gateway.

See: vpnGateway smart constructor.

vpnGateway :: VPNGateway Source

Creates a value of VPNGateway with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vgVPCAttachments :: Lens' VPNGateway [VPCAttachment] Source

Any VPCs attached to the virtual private gateway.

vgState :: Lens' VPNGateway (Maybe VPNState) Source

The current state of the virtual private gateway.

vgVPNGatewayId :: Lens' VPNGateway (Maybe Text) Source

The ID of the virtual private gateway.

vgAvailabilityZone :: Lens' VPNGateway (Maybe Text) Source

The Availability Zone where the virtual private gateway was created.

vgType :: Lens' VPNGateway (Maybe GatewayType) Source

The type of VPN connection the virtual private gateway supports.

vgTags :: Lens' VPNGateway [Tag] Source

Any tags assigned to the virtual private gateway.

VPNStaticRoute

vpnStaticRoute :: VPNStaticRoute Source

Creates a value of VPNStaticRoute with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vsrState :: Lens' VPNStaticRoute (Maybe VPNState) Source

The current state of the static route.

vsrSource :: Lens' VPNStaticRoute (Maybe VPNStaticRouteSource) Source

Indicates how the routes were provided.

vsrDestinationCIdRBlock :: Lens' VPNStaticRoute (Maybe Text) Source

The CIDR block associated with the local subnet of the customer data center.

Volume

data Volume Source

Describes a volume.

See: volume smart constructor.

volume Source

Creates a value of Volume with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vAttachments :: Lens' Volume [VolumeAttachment] Source

Information about the volume attachments.

vIOPS :: Lens' Volume (Maybe Int) Source

The number of I/O operations per second (IOPS) that the volume supports. For Provisioned IOPS (SSD) volumes, this represents the number of IOPS that are provisioned for the volume. For General Purpose (SSD) volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. For more information on General Purpose (SSD) baseline performance, I/O credits, and bursting, see Amazon EBS Volume Types in the Amazon Elastic Compute Cloud User Guide.

Constraint: Range is 100 to 20000 for Provisioned IOPS (SSD) volumes and 3 to 10000 for General Purpose (SSD) volumes.

Condition: This parameter is required for requests to create io1 volumes; it is not used in requests to create standard or gp2 volumes.

vKMSKeyId :: Lens' Volume (Maybe Text) Source

The full ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the volume encryption key for the volume.

vTags :: Lens' Volume [Tag] Source

Any tags assigned to the volume.

vAvailabilityZone :: Lens' Volume Text Source

The Availability Zone for the volume.

vCreateTime :: Lens' Volume UTCTime Source

The time stamp when volume creation was initiated.

vEncrypted :: Lens' Volume Bool Source

Indicates whether the volume will be encrypted.

vSize :: Lens' Volume Int Source

The size of the volume, in GiBs.

vSnapshotId :: Lens' Volume Text Source

The snapshot from which the volume was created, if applicable.

vState :: Lens' Volume VolumeState Source

The volume state.

vVolumeId :: Lens' Volume Text Source

The ID of the volume.

vVolumeType :: Lens' Volume VolumeType Source

The volume type. This can be gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, or standard for Magnetic volumes.

VolumeAttachment

volumeAttachment :: VolumeAttachment Source

Creates a value of VolumeAttachment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

volInstanceId :: Lens' VolumeAttachment (Maybe Text) Source

The ID of the instance.

volDeleteOnTermination :: Lens' VolumeAttachment (Maybe Bool) Source

Indicates whether the EBS volume is deleted on instance termination.

volState :: Lens' VolumeAttachment (Maybe VolumeAttachmentState) Source

The attachment state of the volume.

volAttachTime :: Lens' VolumeAttachment (Maybe UTCTime) Source

The time stamp when the attachment initiated.

VolumeDetail

volumeDetail Source

Arguments

:: Integer

vdSize

-> VolumeDetail 

Creates a value of VolumeDetail with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vdSize :: Lens' VolumeDetail Integer Source

The size of the volume, in GiB.

VolumeStatusAction

volumeStatusAction :: VolumeStatusAction Source

Creates a value of VolumeStatusAction with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vsaEventType :: Lens' VolumeStatusAction (Maybe Text) Source

The event type associated with this operation.

vsaCode :: Lens' VolumeStatusAction (Maybe Text) Source

The code identifying the operation, for example, 'enable-volume-io'.

vsaDescription :: Lens' VolumeStatusAction (Maybe Text) Source

A description of the operation.

vsaEventId :: Lens' VolumeStatusAction (Maybe Text) Source

The ID of the event associated with this operation.

VolumeStatusDetails

volumeStatusDetails :: VolumeStatusDetails Source

Creates a value of VolumeStatusDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vsdStatus :: Lens' VolumeStatusDetails (Maybe Text) Source

The intended status of the volume status.

vsdName :: Lens' VolumeStatusDetails (Maybe VolumeStatusName) Source

The name of the volume status.

VolumeStatusEvent

volumeStatusEvent :: VolumeStatusEvent Source

Creates a value of VolumeStatusEvent with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vseNotBefore :: Lens' VolumeStatusEvent (Maybe UTCTime) Source

The earliest start time of the event.

vseEventType :: Lens' VolumeStatusEvent (Maybe Text) Source

The type of this event.

vseDescription :: Lens' VolumeStatusEvent (Maybe Text) Source

A description of the event.

vseNotAfter :: Lens' VolumeStatusEvent (Maybe UTCTime) Source

The latest end time of the event.

VolumeStatusInfo

volumeStatusInfo :: VolumeStatusInfo Source

Creates a value of VolumeStatusInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vsiDetails :: Lens' VolumeStatusInfo [VolumeStatusDetails] Source

The details of the volume status.

VolumeStatusItem

volumeStatusItem :: VolumeStatusItem Source

Creates a value of VolumeStatusItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vsiActions :: Lens' VolumeStatusItem [VolumeStatusAction] Source

The details of the operation.

vsiAvailabilityZone :: Lens' VolumeStatusItem (Maybe Text) Source

The Availability Zone of the volume.

vsiEvents :: Lens' VolumeStatusItem [VolumeStatusEvent] Source

A list of events associated with the volume.