Skip to content

Commit 1312268

Browse files
author
awstools
committed
feat(client-lightsail): This release adds support for Amazon Lightsail instances to switch between dual-stack or IPv4 only and IPv6-only public IP address types.
1 parent 076c64e commit 1312268

20 files changed

+272
-186
lines changed

clients/client-lightsail/src/commands/CloseInstancePublicPortsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface CloseInstancePublicPortsCommandOutput extends CloseInstancePubl
4141
* portInfo: { // PortInfo
4242
* fromPort: Number("int"),
4343
* toPort: Number("int"),
44-
* protocol: "tcp" || "all" || "udp" || "icmp",
44+
* protocol: "tcp" || "all" || "udp" || "icmp" || "icmpv6",
4545
* cidrs: [ // StringList
4646
* "STRING_VALUE",
4747
* ],

clients/client-lightsail/src/commands/CreateDiskFromSnapshotCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ export interface CreateDiskFromSnapshotCommandOutput extends CreateDiskFromSnaps
2828

2929
/**
3030
* <p>Creates a block storage disk from a manual or automatic snapshot of a disk. The resulting
31-
* disk can be attached to an Amazon Lightsail instance in the same Availability Zone (<code>us-east-2a</code>).</p>
31+
* disk can be attached to an Amazon Lightsail instance in the same Availability Zone
32+
* (<code>us-east-2a</code>).</p>
3233
* <p>The <code>create disk from snapshot</code> operation supports tag-based access control via
3334
* request tags and resource tags applied to the resource identified by <code>disk snapshot
3435
* name</code>. For more information, see the <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags">Amazon Lightsail Developer Guide</a>.</p>

clients/client-lightsail/src/commands/CreateDistributionCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
8080
* },
8181
* ],
8282
* bundleId: "STRING_VALUE", // required
83-
* ipAddressType: "dualstack" || "ipv4",
83+
* ipAddressType: "dualstack" || "ipv4" || "ipv6",
8484
* tags: [ // TagList
8585
* { // Tag
8686
* key: "STRING_VALUE",
@@ -154,7 +154,7 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
154154
* // },
155155
* // ],
156156
* // ableToUpdateBundle: true || false,
157-
* // ipAddressType: "dualstack" || "ipv4",
157+
* // ipAddressType: "dualstack" || "ipv4" || "ipv6",
158158
* // tags: [ // TagList
159159
* // { // Tag
160160
* // key: "STRING_VALUE",

clients/client-lightsail/src/commands/CreateInstancesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export interface CreateInstancesCommandOutput extends CreateInstancesResult, __M
6464
* },
6565
* },
6666
* ],
67-
* ipAddressType: "dualstack" || "ipv4",
67+
* ipAddressType: "dualstack" || "ipv4" || "ipv6",
6868
* };
6969
* const command = new CreateInstancesCommand(input);
7070
* const response = await client.send(command);

clients/client-lightsail/src/commands/CreateInstancesFromSnapshotCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export interface CreateInstancesFromSnapshotCommandOutput extends CreateInstance
7373
* },
7474
* },
7575
* ],
76-
* ipAddressType: "dualstack" || "ipv4",
76+
* ipAddressType: "dualstack" || "ipv4" || "ipv6",
7777
* sourceInstanceName: "STRING_VALUE",
7878
* restoreDate: "STRING_VALUE",
7979
* useLatestRestorableAutoSnapshot: true || false,

clients/client-lightsail/src/commands/CreateLoadBalancerCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface CreateLoadBalancerCommandOutput extends CreateLoadBalancerResul
5656
* value: "STRING_VALUE",
5757
* },
5858
* ],
59-
* ipAddressType: "dualstack" || "ipv4",
59+
* ipAddressType: "dualstack" || "ipv4" || "ipv6",
6060
* tlsPolicyName: "STRING_VALUE",
6161
* };
6262
* const command = new CreateLoadBalancerCommand(input);

clients/client-lightsail/src/commands/GetDistributionsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export interface GetDistributionsCommandOutput extends GetDistributionsResult, _
104104
* // },
105105
* // ],
106106
* // ableToUpdateBundle: true || false,
107-
* // ipAddressType: "dualstack" || "ipv4",
107+
* // ipAddressType: "dualstack" || "ipv4" || "ipv6",
108108
* // tags: [ // TagList
109109
* // { // Tag
110110
* // key: "STRING_VALUE",

clients/client-lightsail/src/commands/GetInstanceCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export interface GetInstanceCommandOutput extends GetInstanceResult, __MetadataB
7676
* // ipv6Addresses: [ // Ipv6AddressList
7777
* // "STRING_VALUE",
7878
* // ],
79-
* // ipAddressType: "dualstack" || "ipv4",
79+
* // ipAddressType: "dualstack" || "ipv4" || "ipv6",
8080
* // hardware: { // InstanceHardware
8181
* // cpuCount: Number("int"),
8282
* // disks: [ // DiskList
@@ -128,7 +128,7 @@ export interface GetInstanceCommandOutput extends GetInstanceResult, __MetadataB
128128
* // { // InstancePortInfo
129129
* // fromPort: Number("int"),
130130
* // toPort: Number("int"),
131-
* // protocol: "tcp" || "all" || "udp" || "icmp",
131+
* // protocol: "tcp" || "all" || "udp" || "icmp" || "icmpv6",
132132
* // accessFrom: "STRING_VALUE",
133133
* // accessType: "Public" || "Private",
134134
* // commonName: "STRING_VALUE",

clients/client-lightsail/src/commands/GetInstancePortStatesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export interface GetInstancePortStatesCommandOutput extends GetInstancePortState
4545
* // { // InstancePortState
4646
* // fromPort: Number("int"),
4747
* // toPort: Number("int"),
48-
* // protocol: "tcp" || "all" || "udp" || "icmp",
48+
* // protocol: "tcp" || "all" || "udp" || "icmp" || "icmpv6",
4949
* // state: "open" || "closed",
5050
* // cidrs: [ // StringList
5151
* // "STRING_VALUE",

clients/client-lightsail/src/commands/GetInstancesCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export interface GetInstancesCommandOutput extends GetInstancesResult, __Metadat
7777
* // ipv6Addresses: [ // Ipv6AddressList
7878
* // "STRING_VALUE",
7979
* // ],
80-
* // ipAddressType: "dualstack" || "ipv4",
80+
* // ipAddressType: "dualstack" || "ipv4" || "ipv6",
8181
* // hardware: { // InstanceHardware
8282
* // cpuCount: Number("int"),
8383
* // disks: [ // DiskList
@@ -129,7 +129,7 @@ export interface GetInstancesCommandOutput extends GetInstancesResult, __Metadat
129129
* // { // InstancePortInfo
130130
* // fromPort: Number("int"),
131131
* // toPort: Number("int"),
132-
* // protocol: "tcp" || "all" || "udp" || "icmp",
132+
* // protocol: "tcp" || "all" || "udp" || "icmp" || "icmpv6",
133133
* // accessFrom: "STRING_VALUE",
134134
* // accessType: "Public" || "Private",
135135
* // commonName: "STRING_VALUE",

clients/client-lightsail/src/commands/GetLoadBalancerCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export interface GetLoadBalancerCommandOutput extends GetLoadBalancerResult, __M
8080
* // configurationOptions: { // LoadBalancerConfigurationOptions
8181
* // "<keys>": "STRING_VALUE",
8282
* // },
83-
* // ipAddressType: "dualstack" || "ipv4",
83+
* // ipAddressType: "dualstack" || "ipv4" || "ipv6",
8484
* // httpsRedirectionEnabled: true || false,
8585
* // tlsPolicyName: "STRING_VALUE",
8686
* // },

clients/client-lightsail/src/commands/GetLoadBalancersCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export interface GetLoadBalancersCommandOutput extends GetLoadBalancersResult, _
8181
* // configurationOptions: { // LoadBalancerConfigurationOptions
8282
* // "<keys>": "STRING_VALUE",
8383
* // },
84-
* // ipAddressType: "dualstack" || "ipv4",
84+
* // ipAddressType: "dualstack" || "ipv4" || "ipv6",
8585
* // httpsRedirectionEnabled: true || false,
8686
* // tlsPolicyName: "STRING_VALUE",
8787
* // },

clients/client-lightsail/src/commands/GetSetupHistoryCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ export interface GetSetupHistoryCommandInput extends GetSetupHistoryRequest {}
2727
export interface GetSetupHistoryCommandOutput extends GetSetupHistoryResult, __MetadataBearer {}
2828

2929
/**
30-
* <p>Returns detailed information for five of the most recent <code>SetupInstanceHttps</code> requests that were ran on the target instance.</p>
30+
* <p>Returns detailed information for five of the most recent <code>SetupInstanceHttps</code>
31+
* requests that were ran on the target instance.</p>
3132
* @example
3233
* Use a bare-bones client and the command you need to make an API call.
3334
* ```javascript

clients/client-lightsail/src/commands/OpenInstancePublicPortsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface OpenInstancePublicPortsCommandOutput extends OpenInstancePublic
4242
* portInfo: { // PortInfo
4343
* fromPort: Number("int"),
4444
* toPort: Number("int"),
45-
* protocol: "tcp" || "all" || "udp" || "icmp",
45+
* protocol: "tcp" || "all" || "udp" || "icmp" || "icmpv6",
4646
* cidrs: [ // StringList
4747
* "STRING_VALUE",
4848
* ],

clients/client-lightsail/src/commands/PutInstancePublicPortsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface PutInstancePublicPortsCommandOutput extends PutInstancePublicPo
4747
* { // PortInfo
4848
* fromPort: Number("int"),
4949
* toPort: Number("int"),
50-
* protocol: "tcp" || "all" || "udp" || "icmp",
50+
* protocol: "tcp" || "all" || "udp" || "icmp" || "icmpv6",
5151
* cidrs: [ // StringList
5252
* "STRING_VALUE",
5353
* ],

clients/client-lightsail/src/commands/SetIpAddressTypeCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ export interface SetIpAddressTypeCommandOutput extends SetIpAddressTypeResult, _
4040
* const input = { // SetIpAddressTypeRequest
4141
* resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket", // required
4242
* resourceName: "STRING_VALUE", // required
43-
* ipAddressType: "dualstack" || "ipv4", // required
43+
* ipAddressType: "dualstack" || "ipv4" || "ipv6", // required
44+
* acceptBundleUpdate: true || false,
4445
* };
4546
* const command = new SetIpAddressTypeCommand(input);
4647
* const response = await client.send(command);

clients/client-lightsail/src/commands/SetupInstanceHttpsCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export interface SetupInstanceHttpsCommandOutput extends SetupInstanceHttpsResul
3333
/**
3434
* <p>Creates an SSL/TLS certificate that secures traffic for your website. After the
3535
* certificate is created, it is installed on the specified Lightsail instance.</p>
36-
* <p>If you provide more than one domain name in the request, at least one name must be less than or equal to 63 characters in length.</p>
36+
* <p>If you provide more than one domain name in the request, at least one name must be less
37+
* than or equal to 63 characters in length.</p>
3738
* @example
3839
* Use a bare-bones client and the command you need to make an API call.
3940
* ```javascript

0 commit comments

Comments
 (0)