@aws-sdk/client-lightsail 3.540.0 → 3.549.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 +10 -1
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +5 -0
- package/dist-types/commands/GetContainerServicePowersCommand.d.ts +2 -1
- package/dist-types/commands/GetDistributionsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +42 -11
- package/dist-types/models/models_1.d.ts +30 -1
- package/dist-types/ts3.4/commands/GetContainerServicePowersCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +13 -3
- package/dist-types/ts3.4/models/models_1.d.ts +8 -0
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -281,6 +281,7 @@ __export(src_exports, {
|
|
|
281
281
|
UpdateRelationalDatabaseCommand: () => UpdateRelationalDatabaseCommand,
|
|
282
282
|
UpdateRelationalDatabaseParametersCommand: () => UpdateRelationalDatabaseParametersCommand,
|
|
283
283
|
UpdateRelationalDatabaseRequestFilterSensitiveLog: () => UpdateRelationalDatabaseRequestFilterSensitiveLog,
|
|
284
|
+
ViewerMinimumTlsProtocolVersionEnum: () => ViewerMinimumTlsProtocolVersionEnum,
|
|
284
285
|
__Client: () => import_smithy_client.Client
|
|
285
286
|
});
|
|
286
287
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -1012,6 +1013,12 @@ var OriginProtocolPolicyEnum = {
|
|
|
1012
1013
|
HTTPOnly: "http-only",
|
|
1013
1014
|
HTTPSOnly: "https-only"
|
|
1014
1015
|
};
|
|
1016
|
+
var ViewerMinimumTlsProtocolVersionEnum = {
|
|
1017
|
+
TLSv11_2016: "TLSv1.1_2016",
|
|
1018
|
+
TLSv12_2018: "TLSv1.2_2018",
|
|
1019
|
+
TLSv12_2019: "TLSv1.2_2019",
|
|
1020
|
+
TLSv12_2021: "TLSv1.2_2021"
|
|
1021
|
+
};
|
|
1015
1022
|
var Status = {
|
|
1016
1023
|
FailedInstanceCreation: "failedInstanceCreation",
|
|
1017
1024
|
FailedStartingGUISession: "failedStartingGUISession",
|
|
@@ -5577,7 +5584,8 @@ var de_LightsailDistribution = /* @__PURE__ */ __name((output, context) => {
|
|
|
5577
5584
|
resourceType: import_smithy_client.expectString,
|
|
5578
5585
|
status: import_smithy_client.expectString,
|
|
5579
5586
|
supportCode: import_smithy_client.expectString,
|
|
5580
|
-
tags: import_smithy_client._json
|
|
5587
|
+
tags: import_smithy_client._json,
|
|
5588
|
+
viewerMinimumTlsProtocolVersion: import_smithy_client.expectString
|
|
5581
5589
|
});
|
|
5582
5590
|
}, "de_LightsailDistribution");
|
|
5583
5591
|
var de_LoadBalancer = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -9408,6 +9416,7 @@ var Lightsail = _Lightsail;
|
|
|
9408
9416
|
PortInfoSourceType,
|
|
9409
9417
|
IpAddressType,
|
|
9410
9418
|
OriginProtocolPolicyEnum,
|
|
9419
|
+
ViewerMinimumTlsProtocolVersionEnum,
|
|
9411
9420
|
Status,
|
|
9412
9421
|
DiskState,
|
|
9413
9422
|
DiskSnapshotState,
|
|
@@ -519,6 +519,12 @@ export const OriginProtocolPolicyEnum = {
|
|
|
519
519
|
HTTPOnly: "http-only",
|
|
520
520
|
HTTPSOnly: "https-only",
|
|
521
521
|
};
|
|
522
|
+
export const ViewerMinimumTlsProtocolVersionEnum = {
|
|
523
|
+
TLSv11_2016: "TLSv1.1_2016",
|
|
524
|
+
TLSv12_2018: "TLSv1.2_2018",
|
|
525
|
+
TLSv12_2019: "TLSv1.2_2019",
|
|
526
|
+
TLSv12_2021: "TLSv1.2_2021",
|
|
527
|
+
};
|
|
522
528
|
export const Status = {
|
|
523
529
|
FailedInstanceCreation: "failedInstanceCreation",
|
|
524
530
|
FailedStartingGUISession: "failedStartingGUISession",
|
|
@@ -4546,6 +4546,7 @@ const de_LightsailDistribution = (output, context) => {
|
|
|
4546
4546
|
status: __expectString,
|
|
4547
4547
|
supportCode: __expectString,
|
|
4548
4548
|
tags: _json,
|
|
4549
|
+
viewerMinimumTlsProtocolVersion: __expectString,
|
|
4549
4550
|
});
|
|
4550
4551
|
};
|
|
4551
4552
|
const de_LoadBalancer = (output, context) => {
|
|
@@ -42,6 +42,7 @@ declare const CreateDistributionCommand_base: {
|
|
|
42
42
|
* name: "STRING_VALUE",
|
|
43
43
|
* regionName: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1",
|
|
44
44
|
* protocolPolicy: "http-only" || "https-only",
|
|
45
|
+
* responseTimeout: Number("int"),
|
|
45
46
|
* },
|
|
46
47
|
* defaultCacheBehavior: { // CacheBehavior
|
|
47
48
|
* behavior: "dont-cache" || "cache",
|
|
@@ -85,6 +86,8 @@ declare const CreateDistributionCommand_base: {
|
|
|
85
86
|
* value: "STRING_VALUE",
|
|
86
87
|
* },
|
|
87
88
|
* ],
|
|
89
|
+
* certificateName: "STRING_VALUE",
|
|
90
|
+
* viewerMinimumTlsProtocolVersion: "TLSv1.1_2016" || "TLSv1.2_2018" || "TLSv1.2_2019" || "TLSv1.2_2021",
|
|
88
91
|
* };
|
|
89
92
|
* const command = new CreateDistributionCommand(input);
|
|
90
93
|
* const response = await client.send(command);
|
|
@@ -112,6 +115,7 @@ declare const CreateDistributionCommand_base: {
|
|
|
112
115
|
* // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
|
|
113
116
|
* // regionName: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1",
|
|
114
117
|
* // protocolPolicy: "http-only" || "https-only",
|
|
118
|
+
* // responseTimeout: Number("int"),
|
|
115
119
|
* // },
|
|
116
120
|
* // originPublicDNS: "STRING_VALUE",
|
|
117
121
|
* // defaultCacheBehavior: { // CacheBehavior
|
|
@@ -156,6 +160,7 @@ declare const CreateDistributionCommand_base: {
|
|
|
156
160
|
* // value: "STRING_VALUE",
|
|
157
161
|
* // },
|
|
158
162
|
* // ],
|
|
163
|
+
* // viewerMinimumTlsProtocolVersion: "STRING_VALUE",
|
|
159
164
|
* // },
|
|
160
165
|
* // operation: { // Operation
|
|
161
166
|
* // id: "STRING_VALUE",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { LightsailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LightsailClient";
|
|
4
|
-
import { GetContainerServicePowersRequest
|
|
4
|
+
import { GetContainerServicePowersRequest } from "../models/models_0";
|
|
5
|
+
import { GetContainerServicePowersResult } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -65,6 +65,7 @@ declare const GetDistributionsCommand_base: {
|
|
|
65
65
|
* // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
|
|
66
66
|
* // regionName: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1",
|
|
67
67
|
* // protocolPolicy: "http-only" || "https-only",
|
|
68
|
+
* // responseTimeout: Number("int"),
|
|
68
69
|
* // },
|
|
69
70
|
* // originPublicDNS: "STRING_VALUE",
|
|
70
71
|
* // defaultCacheBehavior: { // CacheBehavior
|
|
@@ -109,6 +110,7 @@ declare const GetDistributionsCommand_base: {
|
|
|
109
110
|
* // value: "STRING_VALUE",
|
|
110
111
|
* // },
|
|
111
112
|
* // ],
|
|
113
|
+
* // viewerMinimumTlsProtocolVersion: "STRING_VALUE",
|
|
112
114
|
* // },
|
|
113
115
|
* // ],
|
|
114
116
|
* // nextPageToken: "STRING_VALUE",
|
|
@@ -40,6 +40,7 @@ declare const UpdateDistributionCommand_base: {
|
|
|
40
40
|
* name: "STRING_VALUE",
|
|
41
41
|
* regionName: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1",
|
|
42
42
|
* protocolPolicy: "http-only" || "https-only",
|
|
43
|
+
* responseTimeout: Number("int"),
|
|
43
44
|
* },
|
|
44
45
|
* defaultCacheBehavior: { // CacheBehavior
|
|
45
46
|
* behavior: "dont-cache" || "cache",
|
|
@@ -76,6 +77,9 @@ declare const UpdateDistributionCommand_base: {
|
|
|
76
77
|
* },
|
|
77
78
|
* ],
|
|
78
79
|
* isEnabled: true || false,
|
|
80
|
+
* viewerMinimumTlsProtocolVersion: "TLSv1.1_2016" || "TLSv1.2_2018" || "TLSv1.2_2019" || "TLSv1.2_2021",
|
|
81
|
+
* certificateName: "STRING_VALUE",
|
|
82
|
+
* useDefaultCertificate: true || false,
|
|
79
83
|
* };
|
|
80
84
|
* const command = new UpdateDistributionCommand(input);
|
|
81
85
|
* const response = await client.send(command);
|
|
@@ -4780,7 +4780,27 @@ export interface InputOrigin {
|
|
|
4780
4780
|
* @public
|
|
4781
4781
|
*/
|
|
4782
4782
|
protocolPolicy?: OriginProtocolPolicyEnum;
|
|
4783
|
+
/**
|
|
4784
|
+
* <p>The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin.
|
|
4785
|
+
* The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.</p>
|
|
4786
|
+
* @public
|
|
4787
|
+
*/
|
|
4788
|
+
responseTimeout?: number;
|
|
4783
4789
|
}
|
|
4790
|
+
/**
|
|
4791
|
+
* @public
|
|
4792
|
+
* @enum
|
|
4793
|
+
*/
|
|
4794
|
+
export declare const ViewerMinimumTlsProtocolVersionEnum: {
|
|
4795
|
+
readonly TLSv11_2016: "TLSv1.1_2016";
|
|
4796
|
+
readonly TLSv12_2018: "TLSv1.2_2018";
|
|
4797
|
+
readonly TLSv12_2019: "TLSv1.2_2019";
|
|
4798
|
+
readonly TLSv12_2021: "TLSv1.2_2021";
|
|
4799
|
+
};
|
|
4800
|
+
/**
|
|
4801
|
+
* @public
|
|
4802
|
+
*/
|
|
4803
|
+
export type ViewerMinimumTlsProtocolVersionEnum = (typeof ViewerMinimumTlsProtocolVersionEnum)[keyof typeof ViewerMinimumTlsProtocolVersionEnum];
|
|
4784
4804
|
/**
|
|
4785
4805
|
* @public
|
|
4786
4806
|
*/
|
|
@@ -4835,6 +4855,17 @@ export interface CreateDistributionRequest {
|
|
|
4835
4855
|
* @public
|
|
4836
4856
|
*/
|
|
4837
4857
|
tags?: Tag[];
|
|
4858
|
+
/**
|
|
4859
|
+
* <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> action to get a list of certificate names that you can specify.</p>
|
|
4861
|
+
* @public
|
|
4862
|
+
*/
|
|
4863
|
+
certificateName?: string;
|
|
4864
|
+
/**
|
|
4865
|
+
* <p>The minimum TLS protocol version for the SSL/TLS certificate.</p>
|
|
4866
|
+
* @public
|
|
4867
|
+
*/
|
|
4868
|
+
viewerMinimumTlsProtocolVersion?: ViewerMinimumTlsProtocolVersionEnum;
|
|
4838
4869
|
}
|
|
4839
4870
|
/**
|
|
4840
4871
|
* <p>Describes the origin resource of an Amazon Lightsail content delivery network (CDN)
|
|
@@ -4866,6 +4897,12 @@ export interface Origin {
|
|
|
4866
4897
|
* @public
|
|
4867
4898
|
*/
|
|
4868
4899
|
protocolPolicy?: OriginProtocolPolicyEnum;
|
|
4900
|
+
/**
|
|
4901
|
+
* <p>The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin.
|
|
4902
|
+
* The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.</p>
|
|
4903
|
+
* @public
|
|
4904
|
+
*/
|
|
4905
|
+
responseTimeout?: number;
|
|
4869
4906
|
}
|
|
4870
4907
|
/**
|
|
4871
4908
|
* <p>Describes an Amazon Lightsail content delivery network (CDN) distribution.</p>
|
|
@@ -4988,6 +5025,11 @@ export interface LightsailDistribution {
|
|
|
4988
5025
|
* @public
|
|
4989
5026
|
*/
|
|
4990
5027
|
tags?: Tag[];
|
|
5028
|
+
/**
|
|
5029
|
+
* <p>The minimum TLS protocol version that the distribution can use to communicate with viewers.</p>
|
|
5030
|
+
* @public
|
|
5031
|
+
*/
|
|
5032
|
+
viewerMinimumTlsProtocolVersion?: string;
|
|
4991
5033
|
}
|
|
4992
5034
|
/**
|
|
4993
5035
|
* @public
|
|
@@ -8344,17 +8386,6 @@ export interface GetContainerServiceMetricDataResult {
|
|
|
8344
8386
|
*/
|
|
8345
8387
|
export interface GetContainerServicePowersRequest {
|
|
8346
8388
|
}
|
|
8347
|
-
/**
|
|
8348
|
-
* @public
|
|
8349
|
-
*/
|
|
8350
|
-
export interface GetContainerServicePowersResult {
|
|
8351
|
-
/**
|
|
8352
|
-
* <p>An array of objects that describe the powers that can be specified for a container
|
|
8353
|
-
* service.</p>
|
|
8354
|
-
* @public
|
|
8355
|
-
*/
|
|
8356
|
-
powers?: ContainerServicePower[];
|
|
8357
|
-
}
|
|
8358
8389
|
/**
|
|
8359
8390
|
* @internal
|
|
8360
8391
|
*/
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
import { AccessDirection, AccessRules, AddOn, AlarmState, AvailabilityZone, Bucket, BucketAccessLogConfig, CacheBehavior, CacheBehaviorPerPath, CacheSettings, CertificateProvider, ComparisonOperator, ContactMethodVerificationProtocol, ContactProtocol, ContainerImage, ContainerService, ContainerServicePowerName, CostEstimate, Disk, DiskSnapshot, DistributionBundle, DistributionMetricName, Domain, DomainEntry, ExportSnapshotRecord, InputOrigin, IpAddressType, KeyPair, LightsailDistribution, MetricDatapoint, MetricName, MetricStatistic, MetricUnit, NetworkProtocol, Operation, PortInfo, PrivateRegistryAccessRequest, RegionName, ResourceLocation, ResourceType, Tag, TreatMissingData } from "./models_0";
|
|
1
|
+
import { AccessDirection, AccessRules, AddOn, AlarmState, AvailabilityZone, Bucket, BucketAccessLogConfig, CacheBehavior, CacheBehaviorPerPath, CacheSettings, CertificateProvider, ComparisonOperator, ContactMethodVerificationProtocol, ContactProtocol, ContainerImage, ContainerService, ContainerServicePower, ContainerServicePowerName, CostEstimate, Disk, DiskSnapshot, DistributionBundle, DistributionMetricName, Domain, DomainEntry, ExportSnapshotRecord, InputOrigin, IpAddressType, KeyPair, LightsailDistribution, MetricDatapoint, MetricName, MetricStatistic, MetricUnit, NetworkProtocol, Operation, PortInfo, PrivateRegistryAccessRequest, RegionName, ResourceLocation, ResourceType, Tag, TreatMissingData, ViewerMinimumTlsProtocolVersionEnum } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface GetContainerServicePowersResult {
|
|
6
|
+
/**
|
|
7
|
+
* <p>An array of objects that describe the powers that can be specified for a container
|
|
8
|
+
* service.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
powers?: ContainerServicePower[];
|
|
12
|
+
}
|
|
2
13
|
/**
|
|
3
14
|
* @public
|
|
4
15
|
*/
|
|
@@ -5895,6 +5906,24 @@ export interface UpdateDistributionRequest {
|
|
|
5895
5906
|
* @public
|
|
5896
5907
|
*/
|
|
5897
5908
|
isEnabled?: boolean;
|
|
5909
|
+
/**
|
|
5910
|
+
* <p>Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the distribution.</p>
|
|
5911
|
+
* @public
|
|
5912
|
+
*/
|
|
5913
|
+
viewerMinimumTlsProtocolVersion?: ViewerMinimumTlsProtocolVersionEnum;
|
|
5914
|
+
/**
|
|
5915
|
+
* <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 distribution.</p>
|
|
5917
|
+
* <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetCertificates.html">GetCertificates</a> action to get a list of certificate names that you can specify.</p>
|
|
5918
|
+
* @public
|
|
5919
|
+
*/
|
|
5920
|
+
certificateName?: string;
|
|
5921
|
+
/**
|
|
5922
|
+
* <p>Indicates whether the default SSL/TLS certificate is attached to the distribution. The default value is <code>true</code>. When <code>true</code>, the distribution uses the default domain name such as <code>d111111abcdef8.cloudfront.net</code>.</p>
|
|
5923
|
+
* <p> Set this value to <code>false</code> to attach a new certificate to the distribution.</p>
|
|
5924
|
+
* @public
|
|
5925
|
+
*/
|
|
5926
|
+
useDefaultCertificate?: boolean;
|
|
5898
5927
|
}
|
|
5899
5928
|
/**
|
|
5900
5929
|
* @public
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../LightsailClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
GetContainerServicePowersResult,
|
|
11
|
-
} from "../models/models_0";
|
|
8
|
+
import { GetContainerServicePowersRequest } from "../models/models_0";
|
|
9
|
+
import { GetContainerServicePowersResult } from "../models/models_1";
|
|
12
10
|
export { __MetadataBearer, $Command };
|
|
13
11
|
export interface GetContainerServicePowersCommandInput
|
|
14
12
|
extends GetContainerServicePowersRequest {}
|
|
@@ -1137,7 +1137,16 @@ export interface InputOrigin {
|
|
|
1137
1137
|
name?: string;
|
|
1138
1138
|
regionName?: RegionName;
|
|
1139
1139
|
protocolPolicy?: OriginProtocolPolicyEnum;
|
|
1140
|
+
responseTimeout?: number;
|
|
1140
1141
|
}
|
|
1142
|
+
export declare const ViewerMinimumTlsProtocolVersionEnum: {
|
|
1143
|
+
readonly TLSv11_2016: "TLSv1.1_2016";
|
|
1144
|
+
readonly TLSv12_2018: "TLSv1.2_2018";
|
|
1145
|
+
readonly TLSv12_2019: "TLSv1.2_2019";
|
|
1146
|
+
readonly TLSv12_2021: "TLSv1.2_2021";
|
|
1147
|
+
};
|
|
1148
|
+
export type ViewerMinimumTlsProtocolVersionEnum =
|
|
1149
|
+
(typeof ViewerMinimumTlsProtocolVersionEnum)[keyof typeof ViewerMinimumTlsProtocolVersionEnum];
|
|
1141
1150
|
export interface CreateDistributionRequest {
|
|
1142
1151
|
distributionName: string | undefined;
|
|
1143
1152
|
origin: InputOrigin | undefined;
|
|
@@ -1147,12 +1156,15 @@ export interface CreateDistributionRequest {
|
|
|
1147
1156
|
bundleId: string | undefined;
|
|
1148
1157
|
ipAddressType?: IpAddressType;
|
|
1149
1158
|
tags?: Tag[];
|
|
1159
|
+
certificateName?: string;
|
|
1160
|
+
viewerMinimumTlsProtocolVersion?: ViewerMinimumTlsProtocolVersionEnum;
|
|
1150
1161
|
}
|
|
1151
1162
|
export interface Origin {
|
|
1152
1163
|
name?: string;
|
|
1153
1164
|
resourceType?: ResourceType;
|
|
1154
1165
|
regionName?: RegionName;
|
|
1155
1166
|
protocolPolicy?: OriginProtocolPolicyEnum;
|
|
1167
|
+
responseTimeout?: number;
|
|
1156
1168
|
}
|
|
1157
1169
|
export interface LightsailDistribution {
|
|
1158
1170
|
name?: string;
|
|
@@ -1175,6 +1187,7 @@ export interface LightsailDistribution {
|
|
|
1175
1187
|
ableToUpdateBundle?: boolean;
|
|
1176
1188
|
ipAddressType?: IpAddressType;
|
|
1177
1189
|
tags?: Tag[];
|
|
1190
|
+
viewerMinimumTlsProtocolVersion?: string;
|
|
1178
1191
|
}
|
|
1179
1192
|
export interface CreateDistributionResult {
|
|
1180
1193
|
distribution?: LightsailDistribution;
|
|
@@ -1837,9 +1850,6 @@ export interface GetContainerServiceMetricDataResult {
|
|
|
1837
1850
|
metricData?: MetricDatapoint[];
|
|
1838
1851
|
}
|
|
1839
1852
|
export interface GetContainerServicePowersRequest {}
|
|
1840
|
-
export interface GetContainerServicePowersResult {
|
|
1841
|
-
powers?: ContainerServicePower[];
|
|
1842
|
-
}
|
|
1843
1853
|
export declare const AccessKeyFilterSensitiveLog: (obj: AccessKey) => any;
|
|
1844
1854
|
export declare const CreateBucketAccessKeyResultFilterSensitiveLog: (
|
|
1845
1855
|
obj: CreateBucketAccessKeyResult
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ContactProtocol,
|
|
16
16
|
ContainerImage,
|
|
17
17
|
ContainerService,
|
|
18
|
+
ContainerServicePower,
|
|
18
19
|
ContainerServicePowerName,
|
|
19
20
|
CostEstimate,
|
|
20
21
|
Disk,
|
|
@@ -41,7 +42,11 @@ import {
|
|
|
41
42
|
ResourceType,
|
|
42
43
|
Tag,
|
|
43
44
|
TreatMissingData,
|
|
45
|
+
ViewerMinimumTlsProtocolVersionEnum,
|
|
44
46
|
} from "./models_0";
|
|
47
|
+
export interface GetContainerServicePowersResult {
|
|
48
|
+
powers?: ContainerServicePower[];
|
|
49
|
+
}
|
|
45
50
|
export interface GetContainerServicesRequest {
|
|
46
51
|
serviceName?: string;
|
|
47
52
|
}
|
|
@@ -1169,6 +1174,9 @@ export interface UpdateDistributionRequest {
|
|
|
1169
1174
|
cacheBehaviorSettings?: CacheSettings;
|
|
1170
1175
|
cacheBehaviors?: CacheBehaviorPerPath[];
|
|
1171
1176
|
isEnabled?: boolean;
|
|
1177
|
+
viewerMinimumTlsProtocolVersion?: ViewerMinimumTlsProtocolVersionEnum;
|
|
1178
|
+
certificateName?: string;
|
|
1179
|
+
useDefaultCertificate?: boolean;
|
|
1172
1180
|
}
|
|
1173
1181
|
export interface UpdateDistributionResult {
|
|
1174
1182
|
operation?: 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.549.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",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.549.0",
|
|
24
|
+
"@aws-sdk/core": "3.549.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.549.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
-
"@smithy/core": "^1.4.
|
|
36
|
+
"@smithy/core": "^1.4.1",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
38
|
"@smithy/hash-node": "^2.2.0",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
41
|
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
42
|
+
"@smithy/middleware-retry": "^2.3.0",
|
|
43
43
|
"@smithy/middleware-serde": "^2.3.0",
|
|
44
44
|
"@smithy/middleware-stack": "^2.2.0",
|
|
45
45
|
"@smithy/node-config-provider": "^2.3.0",
|