@aws-sdk/client-lightsail 3.577.0 → 3.581.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +3 -1
- package/dist-es/models/models_0.js +2 -0
- package/dist-types/commands/CloseInstancePublicPortsCommand.d.ts +1 -1
- package/dist-types/commands/CreateDiskFromSnapshotCommand.d.ts +2 -1
- package/dist-types/commands/CreateDistributionCommand.d.ts +2 -2
- package/dist-types/commands/CreateInstancesCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstancesFromSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionsCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceCommand.d.ts +2 -2
- package/dist-types/commands/GetInstancePortStatesCommand.d.ts +1 -1
- package/dist-types/commands/GetInstancesCommand.d.ts +2 -2
- package/dist-types/commands/GetLoadBalancerCommand.d.ts +1 -1
- package/dist-types/commands/GetLoadBalancersCommand.d.ts +1 -1
- package/dist-types/commands/GetSetupHistoryCommand.d.ts +2 -1
- package/dist-types/commands/OpenInstancePublicPortsCommand.d.ts +1 -1
- package/dist-types/commands/PutInstancePublicPortsCommand.d.ts +1 -1
- package/dist-types/commands/SetIpAddressTypeCommand.d.ts +2 -1
- package/dist-types/commands/SetupInstanceHttpsCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +76 -55
- package/dist-types/models/models_1.d.ts +84 -42
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -926,6 +926,7 @@ var CertificateProvider = {
|
|
|
926
926
|
var NetworkProtocol = {
|
|
927
927
|
ALL: "all",
|
|
928
928
|
ICMP: "icmp",
|
|
929
|
+
ICMPV6: "icmpv6",
|
|
929
930
|
TCP: "tcp",
|
|
930
931
|
UDP: "udp"
|
|
931
932
|
};
|
|
@@ -1007,7 +1008,8 @@ var PortInfoSourceType = {
|
|
|
1007
1008
|
};
|
|
1008
1009
|
var IpAddressType = {
|
|
1009
1010
|
DUALSTACK: "dualstack",
|
|
1010
|
-
IPV4: "ipv4"
|
|
1011
|
+
IPV4: "ipv4",
|
|
1012
|
+
IPV6: "ipv6"
|
|
1011
1013
|
};
|
|
1012
1014
|
var OriginProtocolPolicyEnum = {
|
|
1013
1015
|
HTTPOnly: "http-only",
|
|
@@ -432,6 +432,7 @@ export const CertificateProvider = {
|
|
|
432
432
|
export const NetworkProtocol = {
|
|
433
433
|
ALL: "all",
|
|
434
434
|
ICMP: "icmp",
|
|
435
|
+
ICMPV6: "icmpv6",
|
|
435
436
|
TCP: "tcp",
|
|
436
437
|
UDP: "udp",
|
|
437
438
|
};
|
|
@@ -514,6 +515,7 @@ export const PortInfoSourceType = {
|
|
|
514
515
|
export const IpAddressType = {
|
|
515
516
|
DUALSTACK: "dualstack",
|
|
516
517
|
IPV4: "ipv4",
|
|
518
|
+
IPV6: "ipv6",
|
|
517
519
|
};
|
|
518
520
|
export const OriginProtocolPolicyEnum = {
|
|
519
521
|
HTTPOnly: "http-only",
|
|
@@ -40,7 +40,7 @@ declare const CloseInstancePublicPortsCommand_base: {
|
|
|
40
40
|
* portInfo: { // PortInfo
|
|
41
41
|
* fromPort: Number("int"),
|
|
42
42
|
* toPort: Number("int"),
|
|
43
|
-
* protocol: "tcp" || "all" || "udp" || "icmp",
|
|
43
|
+
* protocol: "tcp" || "all" || "udp" || "icmp" || "icmpv6",
|
|
44
44
|
* cidrs: [ // StringList
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
@@ -27,7 +27,8 @@ declare const CreateDiskFromSnapshotCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Creates a block storage disk from a manual or automatic snapshot of a disk. The resulting
|
|
30
|
-
* disk can be attached to an Amazon Lightsail instance in the same Availability Zone
|
|
30
|
+
* disk can be attached to an Amazon Lightsail instance in the same Availability Zone
|
|
31
|
+
* (<code>us-east-2a</code>).</p>
|
|
31
32
|
* <p>The <code>create disk from snapshot</code> operation supports tag-based access control via
|
|
32
33
|
* request tags and resource tags applied to the resource identified by <code>disk snapshot
|
|
33
34
|
* 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>
|
|
@@ -79,7 +79,7 @@ declare const CreateDistributionCommand_base: {
|
|
|
79
79
|
* },
|
|
80
80
|
* ],
|
|
81
81
|
* bundleId: "STRING_VALUE", // required
|
|
82
|
-
* ipAddressType: "dualstack" || "ipv4",
|
|
82
|
+
* ipAddressType: "dualstack" || "ipv4" || "ipv6",
|
|
83
83
|
* tags: [ // TagList
|
|
84
84
|
* { // Tag
|
|
85
85
|
* key: "STRING_VALUE",
|
|
@@ -153,7 +153,7 @@ declare const CreateDistributionCommand_base: {
|
|
|
153
153
|
* // },
|
|
154
154
|
* // ],
|
|
155
155
|
* // ableToUpdateBundle: true || false,
|
|
156
|
-
* // ipAddressType: "dualstack" || "ipv4",
|
|
156
|
+
* // ipAddressType: "dualstack" || "ipv4" || "ipv6",
|
|
157
157
|
* // tags: [ // TagList
|
|
158
158
|
* // { // Tag
|
|
159
159
|
* // key: "STRING_VALUE",
|
|
@@ -63,7 +63,7 @@ declare const CreateInstancesCommand_base: {
|
|
|
63
63
|
* },
|
|
64
64
|
* },
|
|
65
65
|
* ],
|
|
66
|
-
* ipAddressType: "dualstack" || "ipv4",
|
|
66
|
+
* ipAddressType: "dualstack" || "ipv4" || "ipv6",
|
|
67
67
|
* };
|
|
68
68
|
* const command = new CreateInstancesCommand(input);
|
|
69
69
|
* const response = await client.send(command);
|
|
@@ -72,7 +72,7 @@ declare const CreateInstancesFromSnapshotCommand_base: {
|
|
|
72
72
|
* },
|
|
73
73
|
* },
|
|
74
74
|
* ],
|
|
75
|
-
* ipAddressType: "dualstack" || "ipv4",
|
|
75
|
+
* ipAddressType: "dualstack" || "ipv4" || "ipv6",
|
|
76
76
|
* sourceInstanceName: "STRING_VALUE",
|
|
77
77
|
* restoreDate: "STRING_VALUE",
|
|
78
78
|
* useLatestRestorableAutoSnapshot: true || false,
|
|
@@ -55,7 +55,7 @@ declare const CreateLoadBalancerCommand_base: {
|
|
|
55
55
|
* value: "STRING_VALUE",
|
|
56
56
|
* },
|
|
57
57
|
* ],
|
|
58
|
-
* ipAddressType: "dualstack" || "ipv4",
|
|
58
|
+
* ipAddressType: "dualstack" || "ipv4" || "ipv6",
|
|
59
59
|
* tlsPolicyName: "STRING_VALUE",
|
|
60
60
|
* };
|
|
61
61
|
* const command = new CreateLoadBalancerCommand(input);
|
|
@@ -103,7 +103,7 @@ declare const GetDistributionsCommand_base: {
|
|
|
103
103
|
* // },
|
|
104
104
|
* // ],
|
|
105
105
|
* // ableToUpdateBundle: true || false,
|
|
106
|
-
* // ipAddressType: "dualstack" || "ipv4",
|
|
106
|
+
* // ipAddressType: "dualstack" || "ipv4" || "ipv6",
|
|
107
107
|
* // tags: [ // TagList
|
|
108
108
|
* // { // Tag
|
|
109
109
|
* // key: "STRING_VALUE",
|
|
@@ -75,7 +75,7 @@ declare const GetInstanceCommand_base: {
|
|
|
75
75
|
* // ipv6Addresses: [ // Ipv6AddressList
|
|
76
76
|
* // "STRING_VALUE",
|
|
77
77
|
* // ],
|
|
78
|
-
* // ipAddressType: "dualstack" || "ipv4",
|
|
78
|
+
* // ipAddressType: "dualstack" || "ipv4" || "ipv6",
|
|
79
79
|
* // hardware: { // InstanceHardware
|
|
80
80
|
* // cpuCount: Number("int"),
|
|
81
81
|
* // disks: [ // DiskList
|
|
@@ -127,7 +127,7 @@ declare const GetInstanceCommand_base: {
|
|
|
127
127
|
* // { // InstancePortInfo
|
|
128
128
|
* // fromPort: Number("int"),
|
|
129
129
|
* // toPort: Number("int"),
|
|
130
|
-
* // protocol: "tcp" || "all" || "udp" || "icmp",
|
|
130
|
+
* // protocol: "tcp" || "all" || "udp" || "icmp" || "icmpv6",
|
|
131
131
|
* // accessFrom: "STRING_VALUE",
|
|
132
132
|
* // accessType: "Public" || "Private",
|
|
133
133
|
* // commonName: "STRING_VALUE",
|
|
@@ -44,7 +44,7 @@ declare const GetInstancePortStatesCommand_base: {
|
|
|
44
44
|
* // { // InstancePortState
|
|
45
45
|
* // fromPort: Number("int"),
|
|
46
46
|
* // toPort: Number("int"),
|
|
47
|
-
* // protocol: "tcp" || "all" || "udp" || "icmp",
|
|
47
|
+
* // protocol: "tcp" || "all" || "udp" || "icmp" || "icmpv6",
|
|
48
48
|
* // state: "open" || "closed",
|
|
49
49
|
* // cidrs: [ // StringList
|
|
50
50
|
* // "STRING_VALUE",
|
|
@@ -76,7 +76,7 @@ declare const GetInstancesCommand_base: {
|
|
|
76
76
|
* // ipv6Addresses: [ // Ipv6AddressList
|
|
77
77
|
* // "STRING_VALUE",
|
|
78
78
|
* // ],
|
|
79
|
-
* // ipAddressType: "dualstack" || "ipv4",
|
|
79
|
+
* // ipAddressType: "dualstack" || "ipv4" || "ipv6",
|
|
80
80
|
* // hardware: { // InstanceHardware
|
|
81
81
|
* // cpuCount: Number("int"),
|
|
82
82
|
* // disks: [ // DiskList
|
|
@@ -128,7 +128,7 @@ declare const GetInstancesCommand_base: {
|
|
|
128
128
|
* // { // InstancePortInfo
|
|
129
129
|
* // fromPort: Number("int"),
|
|
130
130
|
* // toPort: Number("int"),
|
|
131
|
-
* // protocol: "tcp" || "all" || "udp" || "icmp",
|
|
131
|
+
* // protocol: "tcp" || "all" || "udp" || "icmp" || "icmpv6",
|
|
132
132
|
* // accessFrom: "STRING_VALUE",
|
|
133
133
|
* // accessType: "Public" || "Private",
|
|
134
134
|
* // commonName: "STRING_VALUE",
|
|
@@ -79,7 +79,7 @@ declare const GetLoadBalancerCommand_base: {
|
|
|
79
79
|
* // configurationOptions: { // LoadBalancerConfigurationOptions
|
|
80
80
|
* // "<keys>": "STRING_VALUE",
|
|
81
81
|
* // },
|
|
82
|
-
* // ipAddressType: "dualstack" || "ipv4",
|
|
82
|
+
* // ipAddressType: "dualstack" || "ipv4" || "ipv6",
|
|
83
83
|
* // httpsRedirectionEnabled: true || false,
|
|
84
84
|
* // tlsPolicyName: "STRING_VALUE",
|
|
85
85
|
* // },
|
|
@@ -80,7 +80,7 @@ declare const GetLoadBalancersCommand_base: {
|
|
|
80
80
|
* // configurationOptions: { // LoadBalancerConfigurationOptions
|
|
81
81
|
* // "<keys>": "STRING_VALUE",
|
|
82
82
|
* // },
|
|
83
|
-
* // ipAddressType: "dualstack" || "ipv4",
|
|
83
|
+
* // ipAddressType: "dualstack" || "ipv4" || "ipv6",
|
|
84
84
|
* // httpsRedirectionEnabled: true || false,
|
|
85
85
|
* // tlsPolicyName: "STRING_VALUE",
|
|
86
86
|
* // },
|
|
@@ -26,7 +26,8 @@ declare const GetSetupHistoryCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Returns detailed information for five of the most recent <code>SetupInstanceHttps</code>
|
|
29
|
+
* <p>Returns detailed information for five of the most recent <code>SetupInstanceHttps</code>
|
|
30
|
+
* requests that were ran on the target instance.</p>
|
|
30
31
|
* @example
|
|
31
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
33
|
* ```javascript
|
|
@@ -41,7 +41,7 @@ declare const OpenInstancePublicPortsCommand_base: {
|
|
|
41
41
|
* portInfo: { // PortInfo
|
|
42
42
|
* fromPort: Number("int"),
|
|
43
43
|
* toPort: Number("int"),
|
|
44
|
-
* protocol: "tcp" || "all" || "udp" || "icmp",
|
|
44
|
+
* protocol: "tcp" || "all" || "udp" || "icmp" || "icmpv6",
|
|
45
45
|
* cidrs: [ // StringList
|
|
46
46
|
* "STRING_VALUE",
|
|
47
47
|
* ],
|
|
@@ -46,7 +46,7 @@ declare const PutInstancePublicPortsCommand_base: {
|
|
|
46
46
|
* { // PortInfo
|
|
47
47
|
* fromPort: Number("int"),
|
|
48
48
|
* toPort: Number("int"),
|
|
49
|
-
* protocol: "tcp" || "all" || "udp" || "icmp",
|
|
49
|
+
* protocol: "tcp" || "all" || "udp" || "icmp" || "icmpv6",
|
|
50
50
|
* cidrs: [ // StringList
|
|
51
51
|
* "STRING_VALUE",
|
|
52
52
|
* ],
|
|
@@ -39,7 +39,8 @@ declare const SetIpAddressTypeCommand_base: {
|
|
|
39
39
|
* const input = { // SetIpAddressTypeRequest
|
|
40
40
|
* resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket", // required
|
|
41
41
|
* resourceName: "STRING_VALUE", // required
|
|
42
|
-
* ipAddressType: "dualstack" || "ipv4", // required
|
|
42
|
+
* ipAddressType: "dualstack" || "ipv4" || "ipv6", // required
|
|
43
|
+
* acceptBundleUpdate: true || false,
|
|
43
44
|
* };
|
|
44
45
|
* const command = new SetIpAddressTypeCommand(input);
|
|
45
46
|
* const response = await client.send(command);
|
|
@@ -28,7 +28,8 @@ declare const SetupInstanceHttpsCommand_base: {
|
|
|
28
28
|
/**
|
|
29
29
|
* <p>Creates an SSL/TLS certificate that secures traffic for your website. After the
|
|
30
30
|
* certificate is created, it is installed on the specified Lightsail instance.</p>
|
|
31
|
-
* <p>If you provide more than one domain name in the request, at least one name must be less
|
|
31
|
+
* <p>If you provide more than one domain name in the request, at least one name must be less
|
|
32
|
+
* than or equal to 63 characters in length.</p>
|
|
32
33
|
* @example
|
|
33
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
35
|
* ```javascript
|
|
@@ -1531,8 +1531,8 @@ export type BlueprintType = (typeof BlueprintType)[keyof typeof BlueprintType];
|
|
|
1531
1531
|
*/
|
|
1532
1532
|
export interface Blueprint {
|
|
1533
1533
|
/**
|
|
1534
|
-
* <p>The ID for the virtual private server image (<code>
|
|
1535
|
-
* <code>
|
|
1534
|
+
* <p>The ID for the virtual private server image (<code>app_wordpress_x_x</code> or
|
|
1535
|
+
* <code>app_lamp_x_x</code>).</p>
|
|
1536
1536
|
* @public
|
|
1537
1537
|
*/
|
|
1538
1538
|
blueprintId?: string;
|
|
@@ -1574,7 +1574,7 @@ export interface Blueprint {
|
|
|
1574
1574
|
minPower?: number;
|
|
1575
1575
|
/**
|
|
1576
1576
|
* <p>The version number of the operating system, application, or stack (
|
|
1577
|
-
*
|
|
1577
|
+
* <code>2016.03.0</code>).</p>
|
|
1578
1578
|
* @public
|
|
1579
1579
|
*/
|
|
1580
1580
|
version?: string;
|
|
@@ -1888,12 +1888,12 @@ export interface Bundle {
|
|
|
1888
1888
|
*/
|
|
1889
1889
|
diskSizeInGb?: number;
|
|
1890
1890
|
/**
|
|
1891
|
-
* <p>The bundle ID (<code>
|
|
1891
|
+
* <p>The bundle ID (<code>micro_x_x</code>).</p>
|
|
1892
1892
|
* @public
|
|
1893
1893
|
*/
|
|
1894
1894
|
bundleId?: string;
|
|
1895
1895
|
/**
|
|
1896
|
-
* <p>The
|
|
1896
|
+
* <p>The instance type (<code>micro</code>).</p>
|
|
1897
1897
|
* @public
|
|
1898
1898
|
*/
|
|
1899
1899
|
instanceType?: string;
|
|
@@ -1908,11 +1908,11 @@ export interface Bundle {
|
|
|
1908
1908
|
*/
|
|
1909
1909
|
name?: string;
|
|
1910
1910
|
/**
|
|
1911
|
-
* <p>A numeric value that represents the power of the bundle (<code>500</code>). You can
|
|
1912
|
-
*
|
|
1913
|
-
*
|
|
1914
|
-
*
|
|
1915
|
-
*
|
|
1911
|
+
* <p>A numeric value that represents the power of the bundle (<code>500</code>). You can use
|
|
1912
|
+
* the bundle's power value in conjunction with a blueprint's minimum power value to determine
|
|
1913
|
+
* whether the blueprint will run on the bundle. For example, you need a bundle with a power
|
|
1914
|
+
* value of 500 or more to create an instance that uses a blueprint with a minimum power value of
|
|
1915
|
+
* 500.</p>
|
|
1916
1916
|
* @public
|
|
1917
1917
|
*/
|
|
1918
1918
|
power?: number;
|
|
@@ -1943,7 +1943,8 @@ export interface Bundle {
|
|
|
1943
1943
|
*/
|
|
1944
1944
|
supportedAppCategories?: AppCategory[];
|
|
1945
1945
|
/**
|
|
1946
|
-
* <p>An integer that indicates the public ipv4 address count included in the bundle, the value
|
|
1946
|
+
* <p>An integer that indicates the public ipv4 address count included in the bundle, the value
|
|
1947
|
+
* is either 0 or 1.</p>
|
|
1947
1948
|
* @public
|
|
1948
1949
|
*/
|
|
1949
1950
|
publicIpv4AddressCount?: number;
|
|
@@ -2557,8 +2558,8 @@ export interface Certificate {
|
|
|
2557
2558
|
*/
|
|
2558
2559
|
serialNumber?: string;
|
|
2559
2560
|
/**
|
|
2560
|
-
* <p>An array of strings that specify the alternate domains (<code>example2.com</code>)
|
|
2561
|
-
*
|
|
2561
|
+
* <p>An array of strings that specify the alternate domains (<code>example2.com</code>) and
|
|
2562
|
+
* subdomains (<code>blog.example.com</code>) of the certificate.</p>
|
|
2562
2563
|
* @public
|
|
2563
2564
|
*/
|
|
2564
2565
|
subjectAlternativeNames?: string[];
|
|
@@ -2757,6 +2758,7 @@ export interface CertificateSummary {
|
|
|
2757
2758
|
export declare const NetworkProtocol: {
|
|
2758
2759
|
readonly ALL: "all";
|
|
2759
2760
|
readonly ICMP: "icmp";
|
|
2761
|
+
readonly ICMPV6: "icmpv6";
|
|
2760
2762
|
readonly TCP: "tcp";
|
|
2761
2763
|
readonly UDP: "udp";
|
|
2762
2764
|
};
|
|
@@ -2851,6 +2853,13 @@ export interface PortInfo {
|
|
|
2851
2853
|
* type using the <code>fromPort</code> parameter, and ICMP code using the
|
|
2852
2854
|
* <code>toPort</code> parameter.</p>
|
|
2853
2855
|
* </li>
|
|
2856
|
+
* <li>
|
|
2857
|
+
* <p>
|
|
2858
|
+
* <code>icmp6</code> - Internet Control Message Protocol (ICMP) for IPv6. When you
|
|
2859
|
+
* specify <code>icmp6</code> as the <code>protocol</code>, you must specify the ICMP type
|
|
2860
|
+
* using the <code>fromPort</code> parameter, and ICMP code using the <code>toPort</code>
|
|
2861
|
+
* parameter.</p>
|
|
2862
|
+
* </li>
|
|
2854
2863
|
* </ul>
|
|
2855
2864
|
* @public
|
|
2856
2865
|
*/
|
|
@@ -4145,8 +4154,8 @@ export interface CreateCertificateRequest {
|
|
|
4145
4154
|
*/
|
|
4146
4155
|
domainName: string | undefined;
|
|
4147
4156
|
/**
|
|
4148
|
-
* <p>An array of strings that specify the alternate domains (<code>example2.com</code>)
|
|
4149
|
-
*
|
|
4157
|
+
* <p>An array of strings that specify the alternate domains (<code>example2.com</code>) and
|
|
4158
|
+
* subdomains (<code>blog.example.com</code>) for the certificate.</p>
|
|
4150
4159
|
* <p>You can specify a maximum of nine alternate domains (in addition to the primary domain
|
|
4151
4160
|
* name).</p>
|
|
4152
4161
|
* <p>Wildcard domain entries (<code>*.example.com</code>) are not supported.</p>
|
|
@@ -4530,8 +4539,8 @@ export interface CreateDiskRequest {
|
|
|
4530
4539
|
*/
|
|
4531
4540
|
diskName: string | undefined;
|
|
4532
4541
|
/**
|
|
4533
|
-
* <p>The Availability Zone where you want to create the disk (<code>us-east-2a</code>).
|
|
4534
|
-
*
|
|
4542
|
+
* <p>The Availability Zone where you want to create the disk (<code>us-east-2a</code>). Use the
|
|
4543
|
+
* same Availability Zone as the Lightsail instance to which you want to attach the
|
|
4535
4544
|
* disk.</p>
|
|
4536
4545
|
* <p>Use the <code>get regions</code> operation to list the Availability Zones where
|
|
4537
4546
|
* Lightsail is currently available.</p>
|
|
@@ -4576,8 +4585,8 @@ export interface CreateDiskFromSnapshotRequest {
|
|
|
4576
4585
|
*/
|
|
4577
4586
|
diskName: string | undefined;
|
|
4578
4587
|
/**
|
|
4579
|
-
* <p>The name of the disk snapshot (<code>my-snapshot</code>) from which to create the
|
|
4580
|
-
*
|
|
4588
|
+
* <p>The name of the disk snapshot (<code>my-snapshot</code>) from which to create the new
|
|
4589
|
+
* storage disk.</p>
|
|
4581
4590
|
* <p>Constraint:</p>
|
|
4582
4591
|
* <ul>
|
|
4583
4592
|
* <li>
|
|
@@ -4590,8 +4599,8 @@ export interface CreateDiskFromSnapshotRequest {
|
|
|
4590
4599
|
*/
|
|
4591
4600
|
diskSnapshotName?: string;
|
|
4592
4601
|
/**
|
|
4593
|
-
* <p>The Availability Zone where you want to create the disk (<code>us-east-2a</code>).
|
|
4594
|
-
*
|
|
4602
|
+
* <p>The Availability Zone where you want to create the disk (<code>us-east-2a</code>). Choose
|
|
4603
|
+
* the same Availability Zone as the Lightsail instance where you want to create the
|
|
4595
4604
|
* disk.</p>
|
|
4596
4605
|
* <p>Use the GetRegions operation to list the Availability Zones where Lightsail is currently
|
|
4597
4606
|
* available.</p>
|
|
@@ -4697,14 +4706,14 @@ export interface CreateDiskSnapshotRequest {
|
|
|
4697
4706
|
*/
|
|
4698
4707
|
diskName?: string;
|
|
4699
4708
|
/**
|
|
4700
|
-
* <p>The name of the destination disk snapshot (<code>my-disk-snapshot</code>) based on
|
|
4701
|
-
*
|
|
4709
|
+
* <p>The name of the destination disk snapshot (<code>my-disk-snapshot</code>) based on the
|
|
4710
|
+
* source disk.</p>
|
|
4702
4711
|
* @public
|
|
4703
4712
|
*/
|
|
4704
4713
|
diskSnapshotName: string | undefined;
|
|
4705
4714
|
/**
|
|
4706
|
-
* <p>The unique name of the source instance (<code>Amazon_Linux-512MB-Virginia-1</code>).
|
|
4707
|
-
*
|
|
4715
|
+
* <p>The unique name of the source instance (<code>Amazon_Linux-512MB-Virginia-1</code>). When
|
|
4716
|
+
* this is defined, a snapshot of the instance's system volume is created.</p>
|
|
4708
4717
|
* <note>
|
|
4709
4718
|
* <p>This parameter cannot be defined together with the <code>disk name</code> parameter. The
|
|
4710
4719
|
* <code>instance name</code> and <code>disk name</code> parameters are mutually
|
|
@@ -4738,6 +4747,7 @@ export interface CreateDiskSnapshotResult {
|
|
|
4738
4747
|
export declare const IpAddressType: {
|
|
4739
4748
|
readonly DUALSTACK: "dualstack";
|
|
4740
4749
|
readonly IPV4: "ipv4";
|
|
4750
|
+
readonly IPV6: "ipv6";
|
|
4741
4751
|
};
|
|
4742
4752
|
/**
|
|
4743
4753
|
* @public
|
|
@@ -4758,9 +4768,9 @@ export type OriginProtocolPolicyEnum = (typeof OriginProtocolPolicyEnum)[keyof t
|
|
|
4758
4768
|
/**
|
|
4759
4769
|
* <p>Describes the origin resource of an Amazon Lightsail content delivery network (CDN)
|
|
4760
4770
|
* distribution.</p>
|
|
4761
|
-
* <p>An origin can be a Lightsail instance, bucket, container service, or load balancer. A
|
|
4762
|
-
* content from an origin, caches it, and serves it to viewers via a worldwide
|
|
4763
|
-
* servers.</p>
|
|
4771
|
+
* <p>An origin can be a Lightsail instance, bucket, container service, or load balancer. A
|
|
4772
|
+
* distribution pulls content from an origin, caches it, and serves it to viewers via a worldwide
|
|
4773
|
+
* network of edge servers.</p>
|
|
4764
4774
|
* @public
|
|
4765
4775
|
*/
|
|
4766
4776
|
export interface InputOrigin {
|
|
@@ -4781,8 +4791,9 @@ export interface InputOrigin {
|
|
|
4781
4791
|
*/
|
|
4782
4792
|
protocolPolicy?: OriginProtocolPolicyEnum;
|
|
4783
4793
|
/**
|
|
4784
|
-
* <p>The amount of time, in seconds, that the distribution waits for a response after
|
|
4785
|
-
*
|
|
4794
|
+
* <p>The amount of time, in seconds, that the distribution waits for a response after
|
|
4795
|
+
* forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60
|
|
4796
|
+
* seconds, and the default (if you don't specify otherwise) is 30 seconds.</p>
|
|
4786
4797
|
* @public
|
|
4787
4798
|
*/
|
|
4788
4799
|
responseTimeout?: number;
|
|
@@ -4857,7 +4868,8 @@ export interface CreateDistributionRequest {
|
|
|
4857
4868
|
tags?: Tag[];
|
|
4858
4869
|
/**
|
|
4859
4870
|
* <p>The name of the SSL/TLS certificate that you want to attach to the distribution.</p>
|
|
4860
|
-
* <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetCertificates.html">GetCertificates</a>
|
|
4871
|
+
* <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetCertificates.html">GetCertificates</a>
|
|
4872
|
+
* action to get a list of certificate names that you can specify.</p>
|
|
4861
4873
|
* @public
|
|
4862
4874
|
*/
|
|
4863
4875
|
certificateName?: string;
|
|
@@ -4898,8 +4910,9 @@ export interface Origin {
|
|
|
4898
4910
|
*/
|
|
4899
4911
|
protocolPolicy?: OriginProtocolPolicyEnum;
|
|
4900
4912
|
/**
|
|
4901
|
-
* <p>The amount of time, in seconds, that the distribution waits for a response after
|
|
4902
|
-
*
|
|
4913
|
+
* <p>The amount of time, in seconds, that the distribution waits for a response after
|
|
4914
|
+
* forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60
|
|
4915
|
+
* seconds, and the default (if you don't specify otherwise) is 30 seconds.</p>
|
|
4903
4916
|
* @public
|
|
4904
4917
|
*/
|
|
4905
4918
|
responseTimeout?: number;
|
|
@@ -5026,7 +5039,8 @@ export interface LightsailDistribution {
|
|
|
5026
5039
|
*/
|
|
5027
5040
|
tags?: Tag[];
|
|
5028
5041
|
/**
|
|
5029
|
-
* <p>The minimum TLS protocol version that the distribution can use to communicate with
|
|
5042
|
+
* <p>The minimum TLS protocol version that the distribution can use to communicate with
|
|
5043
|
+
* viewers.</p>
|
|
5030
5044
|
* @public
|
|
5031
5045
|
*/
|
|
5032
5046
|
viewerMinimumTlsProtocolVersion?: string;
|
|
@@ -5090,7 +5104,8 @@ export interface DomainEntry {
|
|
|
5090
5104
|
*/
|
|
5091
5105
|
name?: string;
|
|
5092
5106
|
/**
|
|
5093
|
-
* <p>The target IP address (<code>192.0.2.0</code>), or AWS name server
|
|
5107
|
+
* <p>The target IP address (<code>192.0.2.0</code>), or AWS name server
|
|
5108
|
+
* (<code>ns-111.awsdns-22.com.</code>).</p>
|
|
5094
5109
|
* <p>For Lightsail load balancers, the value looks like
|
|
5095
5110
|
* <code>ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com</code>. For
|
|
5096
5111
|
* Lightsail distributions, the value looks like <code>exampled1182ne.cloudfront.net</code>.
|
|
@@ -5314,8 +5329,8 @@ export interface CreateInstancesRequest {
|
|
|
5314
5329
|
*/
|
|
5315
5330
|
customImageName?: string;
|
|
5316
5331
|
/**
|
|
5317
|
-
* <p>The ID for a virtual private server image (<code>
|
|
5318
|
-
* <code>
|
|
5332
|
+
* <p>The ID for a virtual private server image (<code>app_wordpress_x_x</code> or
|
|
5333
|
+
* <code>app_lamp_x_x</code>). Use the <code>get blueprints</code> operation to return a list
|
|
5319
5334
|
* of available images (or <i>blueprints</i>).</p>
|
|
5320
5335
|
* <note>
|
|
5321
5336
|
* <p>Use active blueprints when creating new instances. Inactive blueprints are listed to
|
|
@@ -5328,7 +5343,7 @@ export interface CreateInstancesRequest {
|
|
|
5328
5343
|
blueprintId: string | undefined;
|
|
5329
5344
|
/**
|
|
5330
5345
|
* <p>The bundle of specification information for your virtual private server (or
|
|
5331
|
-
* <i>instance</i>), including the pricing plan (<code>
|
|
5346
|
+
* <i>instance</i>), including the pricing plan (<code>medium_x_x</code>).</p>
|
|
5332
5347
|
* @public
|
|
5333
5348
|
*/
|
|
5334
5349
|
bundleId: string | undefined;
|
|
@@ -5362,8 +5377,8 @@ export interface CreateInstancesRequest {
|
|
|
5362
5377
|
addOns?: AddOnRequest[];
|
|
5363
5378
|
/**
|
|
5364
5379
|
* <p>The IP address type for the instance.</p>
|
|
5365
|
-
* <p>The possible values are <code>ipv4</code> for IPv4 only,
|
|
5366
|
-
* IPv4 and IPv6.</p>
|
|
5380
|
+
* <p>The possible values are <code>ipv4</code> for IPv4 only, <code>ipv6</code> for IPv6 only,
|
|
5381
|
+
* and <code>dualstack</code> for IPv4 and IPv6.</p>
|
|
5367
5382
|
* <p>The default value is <code>dualstack</code>.</p>
|
|
5368
5383
|
* @public
|
|
5369
5384
|
*/
|
|
@@ -5419,7 +5434,7 @@ export interface CreateInstancesFromSnapshotRequest {
|
|
|
5419
5434
|
instanceSnapshotName?: string;
|
|
5420
5435
|
/**
|
|
5421
5436
|
* <p>The bundle of specification information for your virtual private server (or
|
|
5422
|
-
* <i>instance</i>), including the pricing plan (<code>
|
|
5437
|
+
* <i>instance</i>), including the pricing plan (<code>micro_x_x</code>).</p>
|
|
5423
5438
|
* @public
|
|
5424
5439
|
*/
|
|
5425
5440
|
bundleId: string | undefined;
|
|
@@ -5453,8 +5468,8 @@ export interface CreateInstancesFromSnapshotRequest {
|
|
|
5453
5468
|
addOns?: AddOnRequest[];
|
|
5454
5469
|
/**
|
|
5455
5470
|
* <p>The IP address type for the instance.</p>
|
|
5456
|
-
* <p>The possible values are <code>ipv4</code> for IPv4 only,
|
|
5457
|
-
* IPv4 and IPv6.</p>
|
|
5471
|
+
* <p>The possible values are <code>ipv4</code> for IPv4 only, <code>ipv6</code> for IPv6 only,
|
|
5472
|
+
* and <code>dualstack</code> for IPv4 and IPv6.</p>
|
|
5458
5473
|
* <p>The default value is <code>dualstack</code>.</p>
|
|
5459
5474
|
* @public
|
|
5460
5475
|
*/
|
|
@@ -5587,7 +5602,8 @@ export interface KeyPair {
|
|
|
5587
5602
|
*/
|
|
5588
5603
|
name?: string;
|
|
5589
5604
|
/**
|
|
5590
|
-
* <p>The Amazon Resource Name (ARN) of the key pair
|
|
5605
|
+
* <p>The Amazon Resource Name (ARN) of the key pair
|
|
5606
|
+
* (<code>arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE</code>).</p>
|
|
5591
5607
|
* @public
|
|
5592
5608
|
*/
|
|
5593
5609
|
arn?: string;
|
|
@@ -5682,7 +5698,8 @@ export interface CreateLoadBalancerRequest {
|
|
|
5682
5698
|
*/
|
|
5683
5699
|
certificateName?: string;
|
|
5684
5700
|
/**
|
|
5685
|
-
* <p>The domain name with which your certificate is associated
|
|
5701
|
+
* <p>The domain name with which your certificate is associated
|
|
5702
|
+
* (<code>example.com</code>).</p>
|
|
5686
5703
|
* <p>If you specify <code>certificateDomainName</code>, then <code>certificateName</code> is
|
|
5687
5704
|
* required (and vice-versa).</p>
|
|
5688
5705
|
* @public
|
|
@@ -5690,7 +5707,7 @@ export interface CreateLoadBalancerRequest {
|
|
|
5690
5707
|
certificateDomainName?: string;
|
|
5691
5708
|
/**
|
|
5692
5709
|
* <p>The optional alternative domains and subdomains to use with your SSL/TLS certificate
|
|
5693
|
-
*
|
|
5710
|
+
* (<code>www.example.com</code>, <code>example.com</code>, <code>m.example.com</code>,
|
|
5694
5711
|
* <code>blog.example.com</code>).</p>
|
|
5695
5712
|
* @public
|
|
5696
5713
|
*/
|
|
@@ -5703,8 +5720,8 @@ export interface CreateLoadBalancerRequest {
|
|
|
5703
5720
|
tags?: Tag[];
|
|
5704
5721
|
/**
|
|
5705
5722
|
* <p>The IP address type for the load balancer.</p>
|
|
5706
|
-
* <p>The possible values are <code>ipv4</code> for IPv4 only,
|
|
5707
|
-
* IPv4 and IPv6.</p>
|
|
5723
|
+
* <p>The possible values are <code>ipv4</code> for IPv4 only, <code>ipv6</code> for IPv6 only,
|
|
5724
|
+
* and <code>dualstack</code> for IPv4 and IPv6.</p>
|
|
5708
5725
|
* <p>The default value is <code>dualstack</code>.</p>
|
|
5709
5726
|
* @public
|
|
5710
5727
|
*/
|
|
@@ -5756,7 +5773,8 @@ export interface CreateLoadBalancerTlsCertificateRequest {
|
|
|
5756
5773
|
/**
|
|
5757
5774
|
* <p>An array of strings listing alternative domains and subdomains for your SSL/TLS
|
|
5758
5775
|
* certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9
|
|
5759
|
-
* alternative names (in addition to the 1 primary domain). We do not support wildcards
|
|
5776
|
+
* alternative names (in addition to the 1 primary domain). We do not support wildcards
|
|
5777
|
+
* (<code>*.example.com</code>).</p>
|
|
5760
5778
|
* @public
|
|
5761
5779
|
*/
|
|
5762
5780
|
certificateAlternativeNames?: string[];
|
|
@@ -6746,7 +6764,8 @@ export interface DetachCertificateFromDistributionResult {
|
|
|
6746
6764
|
*/
|
|
6747
6765
|
export interface DetachDiskRequest {
|
|
6748
6766
|
/**
|
|
6749
|
-
* <p>The unique name of the disk you want to detach from your instance
|
|
6767
|
+
* <p>The unique name of the disk you want to detach from your instance
|
|
6768
|
+
* (<code>my-disk</code>).</p>
|
|
6750
6769
|
* @public
|
|
6751
6770
|
*/
|
|
6752
6771
|
diskName: string | undefined;
|
|
@@ -7310,7 +7329,8 @@ export interface Domain {
|
|
|
7310
7329
|
*/
|
|
7311
7330
|
name?: string;
|
|
7312
7331
|
/**
|
|
7313
|
-
* <p>The Amazon Resource Name (ARN) of the domain recordset
|
|
7332
|
+
* <p>The Amazon Resource Name (ARN) of the domain recordset
|
|
7333
|
+
* (<code>arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE</code>).</p>
|
|
7314
7334
|
* @public
|
|
7315
7335
|
*/
|
|
7316
7336
|
arn?: string;
|
|
@@ -7432,12 +7452,12 @@ export interface ExportSnapshotResult {
|
|
|
7432
7452
|
*/
|
|
7433
7453
|
export interface InstanceSnapshotInfo {
|
|
7434
7454
|
/**
|
|
7435
|
-
* <p>The bundle ID from which the source instance was created (<code>
|
|
7455
|
+
* <p>The bundle ID from which the source instance was created (<code>micro_x_x</code>).</p>
|
|
7436
7456
|
* @public
|
|
7437
7457
|
*/
|
|
7438
7458
|
fromBundleId?: string;
|
|
7439
7459
|
/**
|
|
7440
|
-
* <p>The blueprint ID from which the source instance (<code>
|
|
7460
|
+
* <p>The blueprint ID from which the source instance (<code>amazon_linux_2023</code>).</p>
|
|
7441
7461
|
* @public
|
|
7442
7462
|
*/
|
|
7443
7463
|
fromBlueprintId?: string;
|
|
@@ -7466,7 +7486,7 @@ export type ExportSnapshotRecordSourceType = (typeof ExportSnapshotRecordSourceT
|
|
|
7466
7486
|
export interface ExportSnapshotRecordSourceInfo {
|
|
7467
7487
|
/**
|
|
7468
7488
|
* <p>The Lightsail resource type (<code>InstanceSnapshot</code> or
|
|
7469
|
-
*
|
|
7489
|
+
* <code>DiskSnapshot</code>).</p>
|
|
7470
7490
|
* @public
|
|
7471
7491
|
*/
|
|
7472
7492
|
resourceType?: ExportSnapshotRecordSourceType;
|
|
@@ -7648,7 +7668,8 @@ export interface GetAutoSnapshotsResult {
|
|
|
7648
7668
|
*/
|
|
7649
7669
|
resourceName?: string;
|
|
7650
7670
|
/**
|
|
7651
|
-
* <p>The resource type of the automatic snapshot. The possible values are
|
|
7671
|
+
* <p>The resource type of the automatic snapshot. The possible values are
|
|
7672
|
+
* <code>Instance</code>, and <code>Disk</code>.</p>
|
|
7652
7673
|
* @public
|
|
7653
7674
|
*/
|
|
7654
7675
|
resourceType?: ResourceType;
|
|
@@ -816,6 +816,13 @@ export interface InstancePortInfo {
|
|
|
816
816
|
* type using the <code>fromPort</code> parameter, and ICMP code using the
|
|
817
817
|
* <code>toPort</code> parameter.</p>
|
|
818
818
|
* </li>
|
|
819
|
+
* <li>
|
|
820
|
+
* <p>
|
|
821
|
+
* <code>icmp6</code> - Internet Control Message Protocol (ICMP) for IPv6. When you
|
|
822
|
+
* specify <code>icmp6</code> as the <code>protocol</code>, you must specify the ICMP type
|
|
823
|
+
* using the <code>fromPort</code> parameter, and ICMP code using the <code>toPort</code>
|
|
824
|
+
* parameter.</p>
|
|
825
|
+
* </li>
|
|
819
826
|
* </ul>
|
|
820
827
|
* @public
|
|
821
828
|
*/
|
|
@@ -916,12 +923,13 @@ export interface InstanceState {
|
|
|
916
923
|
*/
|
|
917
924
|
export interface Instance {
|
|
918
925
|
/**
|
|
919
|
-
* <p>The name the user gave the instance (<code>
|
|
926
|
+
* <p>The name the user gave the instance (<code>Amazon_Linux_2023-1</code>).</p>
|
|
920
927
|
* @public
|
|
921
928
|
*/
|
|
922
929
|
name?: string;
|
|
923
930
|
/**
|
|
924
|
-
* <p>The Amazon Resource Name (ARN) of the instance
|
|
931
|
+
* <p>The Amazon Resource Name (ARN) of the instance
|
|
932
|
+
* (<code>arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE</code>).</p>
|
|
925
933
|
* @public
|
|
926
934
|
*/
|
|
927
935
|
arn?: string;
|
|
@@ -933,8 +941,8 @@ export interface Instance {
|
|
|
933
941
|
*/
|
|
934
942
|
supportCode?: string;
|
|
935
943
|
/**
|
|
936
|
-
* <p>The timestamp when the instance was created (<code>1479734909.17</code>) in Unix
|
|
937
|
-
*
|
|
944
|
+
* <p>The timestamp when the instance was created (<code>1479734909.17</code>) in Unix time
|
|
945
|
+
* format.</p>
|
|
938
946
|
* @public
|
|
939
947
|
*/
|
|
940
948
|
createdAt?: Date;
|
|
@@ -955,17 +963,17 @@ export interface Instance {
|
|
|
955
963
|
*/
|
|
956
964
|
tags?: Tag[];
|
|
957
965
|
/**
|
|
958
|
-
* <p>The blueprint ID (<code>
|
|
966
|
+
* <p>The blueprint ID (<code>amazon_linux_2023</code>).</p>
|
|
959
967
|
* @public
|
|
960
968
|
*/
|
|
961
969
|
blueprintId?: string;
|
|
962
970
|
/**
|
|
963
|
-
* <p>The friendly name of the blueprint (<code>Amazon Linux</code>).</p>
|
|
971
|
+
* <p>The friendly name of the blueprint (<code>Amazon Linux 2023</code>).</p>
|
|
964
972
|
* @public
|
|
965
973
|
*/
|
|
966
974
|
blueprintName?: string;
|
|
967
975
|
/**
|
|
968
|
-
* <p>The bundle for the instance (<code>
|
|
976
|
+
* <p>The bundle for the instance (<code>micro_x_x</code>).</p>
|
|
969
977
|
* @public
|
|
970
978
|
*/
|
|
971
979
|
bundleId?: string;
|
|
@@ -996,8 +1004,8 @@ export interface Instance {
|
|
|
996
1004
|
ipv6Addresses?: string[];
|
|
997
1005
|
/**
|
|
998
1006
|
* <p>The IP address type of the instance.</p>
|
|
999
|
-
* <p>The possible values are <code>ipv4</code> for IPv4 only,
|
|
1000
|
-
* IPv4 and IPv6.</p>
|
|
1007
|
+
* <p>The possible values are <code>ipv4</code> for IPv4 only, <code>ipv6</code> for IPv6 only,
|
|
1008
|
+
* and <code>dualstack</code> for IPv4 and IPv6.</p>
|
|
1001
1009
|
* @public
|
|
1002
1010
|
*/
|
|
1003
1011
|
ipAddressType?: IpAddressType;
|
|
@@ -1023,7 +1031,8 @@ export interface Instance {
|
|
|
1023
1031
|
*/
|
|
1024
1032
|
username?: string;
|
|
1025
1033
|
/**
|
|
1026
|
-
* <p>The name of the SSH key being used to connect to the instance
|
|
1034
|
+
* <p>The name of the SSH key being used to connect to the instance
|
|
1035
|
+
* (<code>LightsailDefaultKeyPair</code>).</p>
|
|
1027
1036
|
* @public
|
|
1028
1037
|
*/
|
|
1029
1038
|
sshKeyName?: string;
|
|
@@ -1227,8 +1236,8 @@ export interface InstanceAccessDetails {
|
|
|
1227
1236
|
*/
|
|
1228
1237
|
passwordData?: PasswordData;
|
|
1229
1238
|
/**
|
|
1230
|
-
* <p>For SSH access, the temporary private key. For OpenSSH clients (command line SSH),
|
|
1231
|
-
*
|
|
1239
|
+
* <p>For SSH access, the temporary private key. For OpenSSH clients (command line SSH), you
|
|
1240
|
+
* should save this value to <code>tempkey</code>).</p>
|
|
1232
1241
|
* @public
|
|
1233
1242
|
*/
|
|
1234
1243
|
privateKey?: string;
|
|
@@ -1618,6 +1627,13 @@ export interface InstancePortState {
|
|
|
1618
1627
|
* type using the <code>fromPort</code> parameter, and ICMP code using the
|
|
1619
1628
|
* <code>toPort</code> parameter.</p>
|
|
1620
1629
|
* </li>
|
|
1630
|
+
* <li>
|
|
1631
|
+
* <p>
|
|
1632
|
+
* <code>icmp6</code> - Internet Control Message Protocol (ICMP) for IPv6. When you
|
|
1633
|
+
* specify <code>icmp6</code> as the <code>protocol</code>, you must specify the ICMP type
|
|
1634
|
+
* using the <code>fromPort</code> parameter, and ICMP code using the <code>toPort</code>
|
|
1635
|
+
* parameter.</p>
|
|
1636
|
+
* </li>
|
|
1621
1637
|
* </ul>
|
|
1622
1638
|
* @public
|
|
1623
1639
|
*/
|
|
@@ -1740,7 +1756,8 @@ export interface InstanceSnapshot {
|
|
|
1740
1756
|
*/
|
|
1741
1757
|
name?: string;
|
|
1742
1758
|
/**
|
|
1743
|
-
* <p>The Amazon Resource Name (ARN) of the snapshot
|
|
1759
|
+
* <p>The Amazon Resource Name (ARN) of the snapshot
|
|
1760
|
+
* (<code>arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE</code>).</p>
|
|
1744
1761
|
* @public
|
|
1745
1762
|
*/
|
|
1746
1763
|
arn?: string;
|
|
@@ -1797,19 +1814,20 @@ export interface InstanceSnapshot {
|
|
|
1797
1814
|
*/
|
|
1798
1815
|
fromInstanceName?: string;
|
|
1799
1816
|
/**
|
|
1800
|
-
* <p>The Amazon Resource Name (ARN) of the instance from which the snapshot was created
|
|
1817
|
+
* <p>The Amazon Resource Name (ARN) of the instance from which the snapshot was created
|
|
1818
|
+
* (<code>arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE</code>).</p>
|
|
1801
1819
|
* @public
|
|
1802
1820
|
*/
|
|
1803
1821
|
fromInstanceArn?: string;
|
|
1804
1822
|
/**
|
|
1805
|
-
* <p>The blueprint ID from which you created the snapshot (<code>
|
|
1823
|
+
* <p>The blueprint ID from which you created the snapshot (<code>amazon_linux_2023</code>). A
|
|
1806
1824
|
* blueprint is a virtual private server (or <i>instance</i>) image used to create
|
|
1807
1825
|
* instances quickly.</p>
|
|
1808
1826
|
* @public
|
|
1809
1827
|
*/
|
|
1810
1828
|
fromBlueprintId?: string;
|
|
1811
1829
|
/**
|
|
1812
|
-
* <p>The bundle ID from which you created the snapshot (<code>
|
|
1830
|
+
* <p>The bundle ID from which you created the snapshot (<code>micro_x_x</code>).</p>
|
|
1813
1831
|
* @public
|
|
1814
1832
|
*/
|
|
1815
1833
|
fromBundleId?: string;
|
|
@@ -2221,8 +2239,8 @@ export interface LoadBalancer {
|
|
|
2221
2239
|
*/
|
|
2222
2240
|
createdAt?: Date;
|
|
2223
2241
|
/**
|
|
2224
|
-
* <p>The AWS Region where your load balancer was created (<code>us-east-2a</code>).
|
|
2225
|
-
*
|
|
2242
|
+
* <p>The AWS Region where your load balancer was created (<code>us-east-2a</code>). Lightsail
|
|
2243
|
+
* automatically creates your load balancer across Availability Zones.</p>
|
|
2226
2244
|
* @public
|
|
2227
2245
|
*/
|
|
2228
2246
|
location?: ResourceLocation;
|
|
@@ -2293,8 +2311,8 @@ export interface LoadBalancer {
|
|
|
2293
2311
|
configurationOptions?: Partial<Record<LoadBalancerAttributeName, string>>;
|
|
2294
2312
|
/**
|
|
2295
2313
|
* <p>The IP address type of the load balancer.</p>
|
|
2296
|
-
* <p>The possible values are <code>ipv4</code> for IPv4 only,
|
|
2297
|
-
* IPv4 and IPv6.</p>
|
|
2314
|
+
* <p>The possible values are <code>ipv4</code> for IPv4 only, <code>ipv6</code> for IPv6 only,
|
|
2315
|
+
* and <code>dualstack</code> for IPv4 and IPv6.</p>
|
|
2298
2316
|
* @public
|
|
2299
2317
|
*/
|
|
2300
2318
|
ipAddressType?: IpAddressType;
|
|
@@ -3185,8 +3203,8 @@ export interface LoadBalancerTlsCertificate {
|
|
|
3185
3203
|
*/
|
|
3186
3204
|
subject?: string;
|
|
3187
3205
|
/**
|
|
3188
|
-
* <p>An array of strings that specify the alternate domains (<code>example2.com</code>)
|
|
3189
|
-
*
|
|
3206
|
+
* <p>An array of strings that specify the alternate domains (<code>example2.com</code>) and
|
|
3207
|
+
* subdomains (<code>blog.example.com</code>) for the certificate.</p>
|
|
3190
3208
|
* @public
|
|
3191
3209
|
*/
|
|
3192
3210
|
subjectAlternativeNames?: string[];
|
|
@@ -3383,7 +3401,8 @@ export interface GetRegionsRequest {
|
|
|
3383
3401
|
includeAvailabilityZones?: boolean;
|
|
3384
3402
|
/**
|
|
3385
3403
|
* <p>A Boolean value indicating whether to also include Availability Zones for databases in
|
|
3386
|
-
* your get regions request. Availability Zones are indicated with a letter
|
|
3404
|
+
* your get regions request. Availability Zones are indicated with a letter
|
|
3405
|
+
* (<code>us-east-2a</code>).</p>
|
|
3387
3406
|
* @public
|
|
3388
3407
|
*/
|
|
3389
3408
|
includeRelationalDatabaseAvailabilityZones?: boolean;
|
|
@@ -3399,8 +3418,8 @@ export interface Region {
|
|
|
3399
3418
|
*/
|
|
3400
3419
|
continentCode?: string;
|
|
3401
3420
|
/**
|
|
3402
|
-
* <p>The description of the Amazon Web Services Region (<code>This region is recommended
|
|
3403
|
-
*
|
|
3421
|
+
* <p>The description of the Amazon Web Services Region (<code>This region is recommended to
|
|
3422
|
+
* serve users in the eastern United States and eastern Canada</code>).</p>
|
|
3404
3423
|
* @public
|
|
3405
3424
|
*/
|
|
3406
3425
|
description?: string;
|
|
@@ -4574,9 +4593,9 @@ export interface GetSetupHistoryRequest {
|
|
|
4574
4593
|
resourceName: string | undefined;
|
|
4575
4594
|
/**
|
|
4576
4595
|
* <p>The token to advance to the next page of results from your request.</p>
|
|
4577
|
-
* <p>To get a page token, perform an initial <code>GetSetupHistory</code> request. If your
|
|
4578
|
-
* are paginated, the response will return a next page token that you can specify as the
|
|
4579
|
-
* token in a subsequent request.</p>
|
|
4596
|
+
* <p>To get a page token, perform an initial <code>GetSetupHistory</code> request. If your
|
|
4597
|
+
* results are paginated, the response will return a next page token that you can specify as the
|
|
4598
|
+
* page token in a subsequent request.</p>
|
|
4580
4599
|
* @public
|
|
4581
4600
|
*/
|
|
4582
4601
|
pageToken?: string;
|
|
@@ -4636,8 +4655,8 @@ export interface SetupExecutionDetails {
|
|
|
4636
4655
|
version?: string;
|
|
4637
4656
|
}
|
|
4638
4657
|
/**
|
|
4639
|
-
* <p>Returns information that was submitted during the <code>SetupInstanceHttps</code> request.
|
|
4640
|
-
* information is redacted for privacy.</p>
|
|
4658
|
+
* <p>Returns information that was submitted during the <code>SetupInstanceHttps</code> request.
|
|
4659
|
+
* Email information is redacted for privacy.</p>
|
|
4641
4660
|
* @public
|
|
4642
4661
|
*/
|
|
4643
4662
|
export interface SetupRequest {
|
|
@@ -4732,8 +4751,8 @@ export interface GetSetupHistoryResult {
|
|
|
4732
4751
|
/**
|
|
4733
4752
|
* <p>The token to advance to the next page of results from your request.</p>
|
|
4734
4753
|
* <p>A next page token is not returned if there are no more results to display.</p>
|
|
4735
|
-
* <p>To get the next page of results, perform another <code>GetSetupHistory</code> request and
|
|
4736
|
-
* the next page token using the pageToken parameter.</p>
|
|
4754
|
+
* <p>To get the next page of results, perform another <code>GetSetupHistory</code> request and
|
|
4755
|
+
* specify the next page token using the pageToken parameter.</p>
|
|
4737
4756
|
* @public
|
|
4738
4757
|
*/
|
|
4739
4758
|
nextPageToken?: string;
|
|
@@ -4759,7 +4778,8 @@ export interface StaticIp {
|
|
|
4759
4778
|
*/
|
|
4760
4779
|
name?: string;
|
|
4761
4780
|
/**
|
|
4762
|
-
* <p>The Amazon Resource Name (ARN) of the static IP
|
|
4781
|
+
* <p>The Amazon Resource Name (ARN) of the static IP
|
|
4782
|
+
* (<code>arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE</code>).</p>
|
|
4763
4783
|
* @public
|
|
4764
4784
|
*/
|
|
4765
4785
|
arn?: string;
|
|
@@ -4791,7 +4811,8 @@ export interface StaticIp {
|
|
|
4791
4811
|
*/
|
|
4792
4812
|
ipAddress?: string;
|
|
4793
4813
|
/**
|
|
4794
|
-
* <p>The instance where the static IP is attached
|
|
4814
|
+
* <p>The instance where the static IP is attached
|
|
4815
|
+
* (<code>Amazon_Linux-1GB-Ohio-1</code>).</p>
|
|
4795
4816
|
* @public
|
|
4796
4817
|
*/
|
|
4797
4818
|
attachedTo?: string;
|
|
@@ -5331,11 +5352,25 @@ export interface SetIpAddressTypeRequest {
|
|
|
5331
5352
|
resourceName: string | undefined;
|
|
5332
5353
|
/**
|
|
5333
5354
|
* <p>The IP address type to set for the specified resource.</p>
|
|
5334
|
-
* <p>The possible values are <code>ipv4</code> for IPv4 only,
|
|
5335
|
-
* IPv4 and IPv6.</p>
|
|
5355
|
+
* <p>The possible values are <code>ipv4</code> for IPv4 only, <code>ipv6</code> for IPv6 only,
|
|
5356
|
+
* and <code>dualstack</code> for IPv4 and IPv6.</p>
|
|
5336
5357
|
* @public
|
|
5337
5358
|
*/
|
|
5338
5359
|
ipAddressType: IpAddressType | undefined;
|
|
5360
|
+
/**
|
|
5361
|
+
* <p>Required parameter to accept the instance bundle update when changing to, and from,
|
|
5362
|
+
* IPv6-only.</p>
|
|
5363
|
+
* <note>
|
|
5364
|
+
* <p>An instance bundle will change when switching from <code>dual-stack</code> or
|
|
5365
|
+
* <code>ipv4</code>, to <code>ipv6</code>. It also changes when switching from
|
|
5366
|
+
* <code>ipv6</code>, to <code>dual-stack</code> or <code>ipv4</code>.</p>
|
|
5367
|
+
* <p>You must include this parameter in the command to update the bundle. For example, if you
|
|
5368
|
+
* switch from <code>dual-stack</code> to <code>ipv6</code>, the bundle will be updated, and
|
|
5369
|
+
* billing for the IPv6-only instance bundle begins immediately.</p>
|
|
5370
|
+
* </note>
|
|
5371
|
+
* @public
|
|
5372
|
+
*/
|
|
5373
|
+
acceptBundleUpdate?: boolean;
|
|
5339
5374
|
}
|
|
5340
5375
|
/**
|
|
5341
5376
|
* @public
|
|
@@ -5907,20 +5942,26 @@ export interface UpdateDistributionRequest {
|
|
|
5907
5942
|
*/
|
|
5908
5943
|
isEnabled?: boolean;
|
|
5909
5944
|
/**
|
|
5910
|
-
* <p>Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate
|
|
5945
|
+
* <p>Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate
|
|
5946
|
+
* that's attached to the distribution.</p>
|
|
5911
5947
|
* @public
|
|
5912
5948
|
*/
|
|
5913
5949
|
viewerMinimumTlsProtocolVersion?: ViewerMinimumTlsProtocolVersionEnum;
|
|
5914
5950
|
/**
|
|
5915
5951
|
* <p>The name of the SSL/TLS certificate that you want to attach to the distribution.</p>
|
|
5916
|
-
* <p>Only certificates with a status of <code>ISSUED</code> can be attached to a
|
|
5917
|
-
*
|
|
5952
|
+
* <p>Only certificates with a status of <code>ISSUED</code> can be attached to a
|
|
5953
|
+
* distribution.</p>
|
|
5954
|
+
* <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetCertificates.html">GetCertificates</a>
|
|
5955
|
+
* action to get a list of certificate names that you can specify.</p>
|
|
5918
5956
|
* @public
|
|
5919
5957
|
*/
|
|
5920
5958
|
certificateName?: string;
|
|
5921
5959
|
/**
|
|
5922
|
-
* <p>Indicates whether the default SSL/TLS certificate is attached to the distribution. The
|
|
5923
|
-
*
|
|
5960
|
+
* <p>Indicates whether the default SSL/TLS certificate is attached to the distribution. The
|
|
5961
|
+
* default value is <code>true</code>. When <code>true</code>, the distribution uses the default
|
|
5962
|
+
* domain name such as <code>d111111abcdef8.cloudfront.net</code>.</p>
|
|
5963
|
+
* <p> Set this value to <code>false</code> to attach a new certificate to the
|
|
5964
|
+
* distribution.</p>
|
|
5924
5965
|
* @public
|
|
5925
5966
|
*/
|
|
5926
5967
|
useDefaultCertificate?: boolean;
|
|
@@ -6056,7 +6097,8 @@ export interface UpdateInstanceMetadataOptionsResult {
|
|
|
6056
6097
|
*/
|
|
6057
6098
|
export interface UpdateLoadBalancerAttributeRequest {
|
|
6058
6099
|
/**
|
|
6059
|
-
* <p>The name of the load balancer that you want to modify
|
|
6100
|
+
* <p>The name of the load balancer that you want to modify
|
|
6101
|
+
* (<code>my-load-balancer</code>.</p>
|
|
6060
6102
|
* @public
|
|
6061
6103
|
*/
|
|
6062
6104
|
loadBalancerName: string | undefined;
|
|
@@ -744,6 +744,7 @@ export interface CertificateSummary {
|
|
|
744
744
|
export declare const NetworkProtocol: {
|
|
745
745
|
readonly ALL: "all";
|
|
746
746
|
readonly ICMP: "icmp";
|
|
747
|
+
readonly ICMPV6: "icmpv6";
|
|
747
748
|
readonly TCP: "tcp";
|
|
748
749
|
readonly UDP: "udp";
|
|
749
750
|
};
|
|
@@ -1125,6 +1126,7 @@ export interface CreateDiskSnapshotResult {
|
|
|
1125
1126
|
export declare const IpAddressType: {
|
|
1126
1127
|
readonly DUALSTACK: "dualstack";
|
|
1127
1128
|
readonly IPV4: "ipv4";
|
|
1129
|
+
readonly IPV6: "ipv6";
|
|
1128
1130
|
};
|
|
1129
1131
|
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
1130
1132
|
export declare const OriginProtocolPolicyEnum: {
|
|
@@ -1046,6 +1046,7 @@ export interface SetIpAddressTypeRequest {
|
|
|
1046
1046
|
resourceType: ResourceType | undefined;
|
|
1047
1047
|
resourceName: string | undefined;
|
|
1048
1048
|
ipAddressType: IpAddressType | undefined;
|
|
1049
|
+
acceptBundleUpdate?: boolean;
|
|
1049
1050
|
}
|
|
1050
1051
|
export interface SetIpAddressTypeResult {
|
|
1051
1052
|
operations?: Operation[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lightsail",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lightsail Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.581.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-lightsail",
|