@aws-sdk/client-lightsail 3.485.0 → 3.486.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/README.md +16 -0
- package/dist-cjs/Lightsail.js +4 -0
- package/dist-cjs/commands/GetSetupHistoryCommand.js +28 -0
- package/dist-cjs/commands/SetupInstanceHttpsCommand.js +29 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +6 -2
- package/dist-cjs/models/models_1.js +11 -1
- package/dist-cjs/protocols/Aws_json1_1.js +165 -5
- package/dist-es/Lightsail.js +4 -0
- package/dist-es/commands/GetSetupHistoryCommand.js +24 -0
- package/dist-es/commands/SetupInstanceHttpsCommand.js +25 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/models/models_1.js +9 -0
- package/dist-es/protocols/Aws_json1_1.js +156 -0
- package/dist-types/Lightsail.d.ts +14 -0
- package/dist-types/LightsailClient.d.ts +4 -2
- package/dist-types/commands/AllocateStaticIpCommand.d.ts +1 -1
- package/dist-types/commands/AttachCertificateToDistributionCommand.d.ts +1 -1
- package/dist-types/commands/AttachDiskCommand.d.ts +1 -1
- package/dist-types/commands/AttachInstancesToLoadBalancerCommand.d.ts +1 -1
- package/dist-types/commands/AttachLoadBalancerTlsCertificateCommand.d.ts +1 -1
- package/dist-types/commands/AttachStaticIpCommand.d.ts +1 -1
- package/dist-types/commands/CloseInstancePublicPortsCommand.d.ts +1 -1
- package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateBucketAccessKeyCommand.d.ts +1 -1
- package/dist-types/commands/CreateBucketCommand.d.ts +1 -1
- package/dist-types/commands/CreateCertificateCommand.d.ts +1 -1
- package/dist-types/commands/CreateCloudFormationStackCommand.d.ts +1 -1
- package/dist-types/commands/CreateContactMethodCommand.d.ts +1 -1
- package/dist-types/commands/CreateDiskCommand.d.ts +2 -2
- package/dist-types/commands/CreateDiskFromSnapshotCommand.d.ts +2 -3
- package/dist-types/commands/CreateDiskSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateDistributionCommand.d.ts +1 -1
- package/dist-types/commands/CreateDomainCommand.d.ts +2 -2
- package/dist-types/commands/CreateDomainEntryCommand.d.ts +1 -1
- package/dist-types/commands/CreateGUISessionAccessDetailsCommand.d.ts +4 -2
- package/dist-types/commands/CreateInstanceSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstancesCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstancesFromSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +1 -1
- package/dist-types/commands/CreateLoadBalancerTlsCertificateCommand.d.ts +1 -1
- package/dist-types/commands/CreateRelationalDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/CreateRelationalDatabaseFromSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateRelationalDatabaseSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAlarmCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAutoSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketAccessKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCertificateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContactMethodCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDiskCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDiskSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainEntryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInstanceSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnownHostKeysCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLoadBalancerTlsCertificateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRelationalDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRelationalDatabaseSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DetachCertificateFromDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DetachDiskCommand.d.ts +1 -1
- package/dist-types/commands/DetachInstancesFromLoadBalancerCommand.d.ts +1 -1
- package/dist-types/commands/DetachStaticIpCommand.d.ts +1 -1
- package/dist-types/commands/DisableAddOnCommand.d.ts +1 -1
- package/dist-types/commands/EnableAddOnCommand.d.ts +1 -1
- package/dist-types/commands/ExportSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/GetCertificatesCommand.d.ts +2 -2
- package/dist-types/commands/GetContainerServicesCommand.d.ts +2 -1
- package/dist-types/commands/GetCostEstimateCommand.d.ts +2 -1
- package/dist-types/commands/GetOperationCommand.d.ts +1 -1
- package/dist-types/commands/GetOperationsCommand.d.ts +1 -1
- package/dist-types/commands/GetOperationsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/GetSetupHistoryCommand.d.ts +116 -0
- package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/OpenInstancePublicPortsCommand.d.ts +1 -1
- package/dist-types/commands/PeerVpcCommand.d.ts +1 -1
- package/dist-types/commands/PutAlarmCommand.d.ts +1 -1
- package/dist-types/commands/PutInstancePublicPortsCommand.d.ts +1 -1
- package/dist-types/commands/RebootInstanceCommand.d.ts +1 -1
- package/dist-types/commands/RebootRelationalDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseStaticIpCommand.d.ts +1 -1
- package/dist-types/commands/ResetDistributionCacheCommand.d.ts +1 -1
- package/dist-types/commands/SendContactMethodVerificationCommand.d.ts +1 -1
- package/dist-types/commands/SetIpAddressTypeCommand.d.ts +1 -1
- package/dist-types/commands/SetResourceAccessForBucketCommand.d.ts +1 -1
- package/dist-types/commands/SetupInstanceHttpsCommand.d.ts +106 -0
- package/dist-types/commands/StartGUISessionCommand.d.ts +3 -2
- package/dist-types/commands/StartInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StartRelationalDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/StopGUISessionCommand.d.ts +3 -2
- package/dist-types/commands/StopInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StopRelationalDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestAlarmCommand.d.ts +1 -1
- package/dist-types/commands/UnpeerVpcCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBucketBundleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBucketCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDistributionBundleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDistributionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainEntryCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInstanceMetadataOptionsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLoadBalancerAttributeCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRelationalDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRelationalDatabaseParametersCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +128 -124
- package/dist-types/models/models_1.d.ts +271 -52
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/Lightsail.d.ts +34 -0
- package/dist-types/ts3.4/LightsailClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetContainerServicesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetSetupHistoryCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/SetupInstanceHttpsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -3
- package/dist-types/ts3.4/models/models_1.d.ts +58 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1199,6 +1199,14 @@ GetRelationalDatabaseSnapshots
|
|
|
1199
1199
|
|
|
1200
1200
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lightsail/command/GetRelationalDatabaseSnapshotsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lightsail/Interface/GetRelationalDatabaseSnapshotsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lightsail/Interface/GetRelationalDatabaseSnapshotsCommandOutput/)
|
|
1201
1201
|
|
|
1202
|
+
</details>
|
|
1203
|
+
<details>
|
|
1204
|
+
<summary>
|
|
1205
|
+
GetSetupHistory
|
|
1206
|
+
</summary>
|
|
1207
|
+
|
|
1208
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lightsail/command/GetSetupHistoryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lightsail/Interface/GetSetupHistoryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lightsail/Interface/GetSetupHistoryCommandOutput/)
|
|
1209
|
+
|
|
1202
1210
|
</details>
|
|
1203
1211
|
<details>
|
|
1204
1212
|
<summary>
|
|
@@ -1327,6 +1335,14 @@ SetResourceAccessForBucket
|
|
|
1327
1335
|
|
|
1328
1336
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lightsail/command/SetResourceAccessForBucketCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lightsail/Interface/SetResourceAccessForBucketCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lightsail/Interface/SetResourceAccessForBucketCommandOutput/)
|
|
1329
1337
|
|
|
1338
|
+
</details>
|
|
1339
|
+
<details>
|
|
1340
|
+
<summary>
|
|
1341
|
+
SetupInstanceHttps
|
|
1342
|
+
</summary>
|
|
1343
|
+
|
|
1344
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lightsail/command/SetupInstanceHttpsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lightsail/Interface/SetupInstanceHttpsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lightsail/Interface/SetupInstanceHttpsCommandOutput/)
|
|
1345
|
+
|
|
1330
1346
|
</details>
|
|
1331
1347
|
<details>
|
|
1332
1348
|
<summary>
|
package/dist-cjs/Lightsail.js
CHANGED
|
@@ -125,6 +125,7 @@ const GetRelationalDatabaseParametersCommand_1 = require("./commands/GetRelation
|
|
|
125
125
|
const GetRelationalDatabasesCommand_1 = require("./commands/GetRelationalDatabasesCommand");
|
|
126
126
|
const GetRelationalDatabaseSnapshotCommand_1 = require("./commands/GetRelationalDatabaseSnapshotCommand");
|
|
127
127
|
const GetRelationalDatabaseSnapshotsCommand_1 = require("./commands/GetRelationalDatabaseSnapshotsCommand");
|
|
128
|
+
const GetSetupHistoryCommand_1 = require("./commands/GetSetupHistoryCommand");
|
|
128
129
|
const GetStaticIpCommand_1 = require("./commands/GetStaticIpCommand");
|
|
129
130
|
const GetStaticIpsCommand_1 = require("./commands/GetStaticIpsCommand");
|
|
130
131
|
const ImportKeyPairCommand_1 = require("./commands/ImportKeyPairCommand");
|
|
@@ -141,6 +142,7 @@ const ResetDistributionCacheCommand_1 = require("./commands/ResetDistributionCac
|
|
|
141
142
|
const SendContactMethodVerificationCommand_1 = require("./commands/SendContactMethodVerificationCommand");
|
|
142
143
|
const SetIpAddressTypeCommand_1 = require("./commands/SetIpAddressTypeCommand");
|
|
143
144
|
const SetResourceAccessForBucketCommand_1 = require("./commands/SetResourceAccessForBucketCommand");
|
|
145
|
+
const SetupInstanceHttpsCommand_1 = require("./commands/SetupInstanceHttpsCommand");
|
|
144
146
|
const StartGUISessionCommand_1 = require("./commands/StartGUISessionCommand");
|
|
145
147
|
const StartInstanceCommand_1 = require("./commands/StartInstanceCommand");
|
|
146
148
|
const StartRelationalDatabaseCommand_1 = require("./commands/StartRelationalDatabaseCommand");
|
|
@@ -286,6 +288,7 @@ const commands = {
|
|
|
286
288
|
GetRelationalDatabasesCommand: GetRelationalDatabasesCommand_1.GetRelationalDatabasesCommand,
|
|
287
289
|
GetRelationalDatabaseSnapshotCommand: GetRelationalDatabaseSnapshotCommand_1.GetRelationalDatabaseSnapshotCommand,
|
|
288
290
|
GetRelationalDatabaseSnapshotsCommand: GetRelationalDatabaseSnapshotsCommand_1.GetRelationalDatabaseSnapshotsCommand,
|
|
291
|
+
GetSetupHistoryCommand: GetSetupHistoryCommand_1.GetSetupHistoryCommand,
|
|
289
292
|
GetStaticIpCommand: GetStaticIpCommand_1.GetStaticIpCommand,
|
|
290
293
|
GetStaticIpsCommand: GetStaticIpsCommand_1.GetStaticIpsCommand,
|
|
291
294
|
ImportKeyPairCommand: ImportKeyPairCommand_1.ImportKeyPairCommand,
|
|
@@ -302,6 +305,7 @@ const commands = {
|
|
|
302
305
|
SendContactMethodVerificationCommand: SendContactMethodVerificationCommand_1.SendContactMethodVerificationCommand,
|
|
303
306
|
SetIpAddressTypeCommand: SetIpAddressTypeCommand_1.SetIpAddressTypeCommand,
|
|
304
307
|
SetResourceAccessForBucketCommand: SetResourceAccessForBucketCommand_1.SetResourceAccessForBucketCommand,
|
|
308
|
+
SetupInstanceHttpsCommand: SetupInstanceHttpsCommand_1.SetupInstanceHttpsCommand,
|
|
305
309
|
StartGUISessionCommand: StartGUISessionCommand_1.StartGUISessionCommand,
|
|
306
310
|
StartInstanceCommand: StartInstanceCommand_1.StartInstanceCommand,
|
|
307
311
|
StartRelationalDatabaseCommand: StartRelationalDatabaseCommand_1.StartRelationalDatabaseCommand,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetSetupHistoryCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
+
class GetSetupHistoryCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Lightsail_20161128", "GetSetupHistory", {})
|
|
22
|
+
.n("LightsailClient", "GetSetupHistoryCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_GetSetupHistoryCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_GetSetupHistoryCommand)
|
|
26
|
+
.build() {
|
|
27
|
+
}
|
|
28
|
+
exports.GetSetupHistoryCommand = GetSetupHistoryCommand;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetupInstanceHttpsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const models_1_1 = require("../models/models_1");
|
|
10
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
+
class SetupInstanceHttpsCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("Lightsail_20161128", "SetupInstanceHttps", {})
|
|
23
|
+
.n("LightsailClient", "SetupInstanceHttpsCommand")
|
|
24
|
+
.f(models_1_1.SetupInstanceHttpsRequestFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_json1_1_1.se_SetupInstanceHttpsCommand)
|
|
26
|
+
.de(Aws_json1_1_1.de_SetupInstanceHttpsCommand)
|
|
27
|
+
.build() {
|
|
28
|
+
}
|
|
29
|
+
exports.SetupInstanceHttpsCommand = SetupInstanceHttpsCommand;
|
|
@@ -124,6 +124,7 @@ tslib_1.__exportStar(require("./GetRelationalDatabaseParametersCommand"), export
|
|
|
124
124
|
tslib_1.__exportStar(require("./GetRelationalDatabaseSnapshotCommand"), exports);
|
|
125
125
|
tslib_1.__exportStar(require("./GetRelationalDatabaseSnapshotsCommand"), exports);
|
|
126
126
|
tslib_1.__exportStar(require("./GetRelationalDatabasesCommand"), exports);
|
|
127
|
+
tslib_1.__exportStar(require("./GetSetupHistoryCommand"), exports);
|
|
127
128
|
tslib_1.__exportStar(require("./GetStaticIpCommand"), exports);
|
|
128
129
|
tslib_1.__exportStar(require("./GetStaticIpsCommand"), exports);
|
|
129
130
|
tslib_1.__exportStar(require("./ImportKeyPairCommand"), exports);
|
|
@@ -140,6 +141,7 @@ tslib_1.__exportStar(require("./ResetDistributionCacheCommand"), exports);
|
|
|
140
141
|
tslib_1.__exportStar(require("./SendContactMethodVerificationCommand"), exports);
|
|
141
142
|
tslib_1.__exportStar(require("./SetIpAddressTypeCommand"), exports);
|
|
142
143
|
tslib_1.__exportStar(require("./SetResourceAccessForBucketCommand"), exports);
|
|
144
|
+
tslib_1.__exportStar(require("./SetupInstanceHttpsCommand"), exports);
|
|
143
145
|
tslib_1.__exportStar(require("./StartGUISessionCommand"), exports);
|
|
144
146
|
tslib_1.__exportStar(require("./StartInstanceCommand"), exports);
|
|
145
147
|
tslib_1.__exportStar(require("./StartRelationalDatabaseCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.GetBucketAccessKeysResultFilterSensitiveLog = exports.CreateRelationalDatabaseRequestFilterSensitiveLog = exports.CreateGUISessionAccessDetailsResultFilterSensitiveLog = exports.SessionFilterSensitiveLog = exports.CreateBucketAccessKeyResultFilterSensitiveLog = exports.AccessKeyFilterSensitiveLog = exports.ExportSnapshotRecordSourceType = exports.R53HostedZoneDeletionStateCode = exports.NameServersUpdateStateCode = exports.DistributionMetricName = exports.DiskSnapshotState = exports.DiskState = exports.Status = exports.OriginProtocolPolicyEnum = exports.IpAddressType = exports.PortInfoSourceType = void 0;
|
|
3
|
+
exports.Currency = exports.ContainerServiceMetricName = exports.ContainerServiceStateDetailCode = exports.ContainerServiceState = exports.ContainerServicePowerName = exports.ContainerServiceDeploymentState = exports.ContainerServiceProtocol = exports.ContactMethodVerificationProtocol = exports.ContactMethodStatus = exports.RecordState = exports.CloudFormationStackRecordSourceType = exports.NetworkProtocol = exports.CertificateProvider = exports.CertificateStatus = exports.RenewalStatus = exports.CertificateDomainValidationStatus = exports.DnsRecordCreationStateCode = exports.HeaderEnum = exports.ForwardValues = exports.BucketMetricName = exports.BlueprintType = exports.InstancePlatform = exports.BehaviorEnum = exports.AutoSnapshotStatus = exports.AutoMountStatus = exports.AppCategory = exports.UnauthenticatedException = exports.ServiceException = exports.OperationFailureException = exports.NotFoundException = exports.InvalidInputException = exports.OperationStatus = exports.OperationType = exports.MetricUnit = exports.TreatMissingData = exports.MetricStatistic = exports.AlarmState = exports.ResourceType = exports.MetricName = exports.RegionName = exports.ContactProtocol = exports.ComparisonOperator = exports.AddOnType = exports.AccountSetupInProgressException = exports.AccountLevelBpaSyncStatus = exports.BPAStatusMessage = exports.AccessType = exports.StatusType = exports.AccessDirection = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.GetBucketAccessKeysResultFilterSensitiveLog = exports.CreateRelationalDatabaseRequestFilterSensitiveLog = exports.CreateGUISessionAccessDetailsResultFilterSensitiveLog = exports.SessionFilterSensitiveLog = exports.CreateBucketAccessKeyResultFilterSensitiveLog = exports.AccessKeyFilterSensitiveLog = exports.ExportSnapshotRecordSourceType = exports.R53HostedZoneDeletionStateCode = exports.NameServersUpdateStateCode = exports.DistributionMetricName = exports.DiskSnapshotState = exports.DiskState = exports.Status = exports.OriginProtocolPolicyEnum = exports.IpAddressType = exports.PortInfoSourceType = exports.PricingUnit = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const LightsailServiceException_1 = require("./LightsailServiceException");
|
|
7
7
|
class AccessDeniedException extends LightsailServiceException_1.LightsailServiceException {
|
|
@@ -253,6 +253,7 @@ exports.OperationType = {
|
|
|
253
253
|
SendContactMethodVerification: "SendContactMethodVerification",
|
|
254
254
|
SetIpAddressType: "SetIpAddressType",
|
|
255
255
|
SetResourceAccessForBucket: "SetResourceAccessForBucket",
|
|
256
|
+
SetupInstanceHttps: "SetupInstanceHttps",
|
|
256
257
|
StartGUISession: "StartGUISession",
|
|
257
258
|
StartInstance: "StartInstance",
|
|
258
259
|
StartRelationalDatabase: "StartRelationalDatabase",
|
|
@@ -436,6 +437,9 @@ exports.CertificateStatus = {
|
|
|
436
437
|
Revoked: "REVOKED",
|
|
437
438
|
ValidationTimedOut: "VALIDATION_TIMED_OUT",
|
|
438
439
|
};
|
|
440
|
+
exports.CertificateProvider = {
|
|
441
|
+
LetsEncrypt: "LetsEncrypt",
|
|
442
|
+
};
|
|
439
443
|
exports.NetworkProtocol = {
|
|
440
444
|
ALL: "all",
|
|
441
445
|
ICMP: "icmp",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateRelationalDatabaseRequestFilterSensitiveLog = exports.GetRelationalDatabaseMasterUserPasswordResultFilterSensitiveLog = exports.ResourceBucketAccess = exports.RelationalDatabaseMetricName = exports.RelationalDatabasePasswordVersion = exports.RelationalDatabaseEngine = exports.LoadBalancerTlsCertificateStatus = exports.LoadBalancerTlsCertificateRevocationReason = exports.LoadBalancerTlsCertificateRenewalStatus = exports.LoadBalancerTlsCertificateFailureReason = exports.LoadBalancerTlsCertificateDomainStatus = exports.LoadBalancerTlsCertificateDnsRecordCreationStateCode = exports.LoadBalancerMetricName = exports.LoadBalancerState = exports.LoadBalancerProtocol = exports.InstanceHealthReason = exports.InstanceHealthState = exports.LoadBalancerAttributeName = exports.InstanceSnapshotState = exports.PortState = exports.InstanceMetricName = exports.InstanceAccessProtocol = exports.PortAccessType = exports.InstanceMetadataState = exports.HttpTokens = exports.HttpProtocolIpv6 = exports.HttpEndpoint = void 0;
|
|
3
|
+
exports.UpdateRelationalDatabaseRequestFilterSensitiveLog = exports.SetupInstanceHttpsRequestFilterSensitiveLog = exports.GetRelationalDatabaseMasterUserPasswordResultFilterSensitiveLog = exports.ResourceBucketAccess = exports.SetupStatus = exports.RelationalDatabaseMetricName = exports.RelationalDatabasePasswordVersion = exports.RelationalDatabaseEngine = exports.LoadBalancerTlsCertificateStatus = exports.LoadBalancerTlsCertificateRevocationReason = exports.LoadBalancerTlsCertificateRenewalStatus = exports.LoadBalancerTlsCertificateFailureReason = exports.LoadBalancerTlsCertificateDomainStatus = exports.LoadBalancerTlsCertificateDnsRecordCreationStateCode = exports.LoadBalancerMetricName = exports.LoadBalancerState = exports.LoadBalancerProtocol = exports.InstanceHealthReason = exports.InstanceHealthState = exports.LoadBalancerAttributeName = exports.InstanceSnapshotState = exports.PortState = exports.InstanceMetricName = exports.InstanceAccessProtocol = exports.PortAccessType = exports.InstanceMetadataState = exports.HttpTokens = exports.HttpProtocolIpv6 = exports.HttpEndpoint = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
exports.HttpEndpoint = {
|
|
6
6
|
disabled: "disabled",
|
|
@@ -160,6 +160,11 @@ exports.RelationalDatabaseMetricName = {
|
|
|
160
160
|
NetworkReceiveThroughput: "NetworkReceiveThroughput",
|
|
161
161
|
NetworkTransmitThroughput: "NetworkTransmitThroughput",
|
|
162
162
|
};
|
|
163
|
+
exports.SetupStatus = {
|
|
164
|
+
Failed: "failed",
|
|
165
|
+
InProgress: "inProgress",
|
|
166
|
+
Succeeded: "succeeded",
|
|
167
|
+
};
|
|
163
168
|
exports.ResourceBucketAccess = {
|
|
164
169
|
Allow: "allow",
|
|
165
170
|
Deny: "deny",
|
|
@@ -169,6 +174,11 @@ const GetRelationalDatabaseMasterUserPasswordResultFilterSensitiveLog = (obj) =>
|
|
|
169
174
|
...(obj.masterUserPassword && { masterUserPassword: smithy_client_1.SENSITIVE_STRING }),
|
|
170
175
|
});
|
|
171
176
|
exports.GetRelationalDatabaseMasterUserPasswordResultFilterSensitiveLog = GetRelationalDatabaseMasterUserPasswordResultFilterSensitiveLog;
|
|
177
|
+
const SetupInstanceHttpsRequestFilterSensitiveLog = (obj) => ({
|
|
178
|
+
...obj,
|
|
179
|
+
...(obj.emailAddress && { emailAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
180
|
+
});
|
|
181
|
+
exports.SetupInstanceHttpsRequestFilterSensitiveLog = SetupInstanceHttpsRequestFilterSensitiveLog;
|
|
172
182
|
const UpdateRelationalDatabaseRequestFilterSensitiveLog = (obj) => ({
|
|
173
183
|
...obj,
|
|
174
184
|
...(obj.masterUserPassword && { masterUserPassword: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.se_DeleteLoadBalancerCommand = exports.se_DeleteKnownHostKeysCommand = exports.se_DeleteKeyPairCommand = exports.se_DeleteInstanceSnapshotCommand = exports.se_DeleteInstanceCommand = exports.se_DeleteDomainEntryCommand = exports.se_DeleteDomainCommand = exports.se_DeleteDistributionCommand = exports.se_DeleteDiskSnapshotCommand = exports.se_DeleteDiskCommand = exports.se_DeleteContainerServiceCommand = exports.se_DeleteContainerImageCommand = exports.se_DeleteContactMethodCommand = exports.se_DeleteCertificateCommand = exports.se_DeleteBucketAccessKeyCommand = exports.se_DeleteBucketCommand = exports.se_DeleteAutoSnapshotCommand = exports.se_DeleteAlarmCommand = exports.se_CreateRelationalDatabaseSnapshotCommand = exports.se_CreateRelationalDatabaseFromSnapshotCommand = exports.se_CreateRelationalDatabaseCommand = exports.se_CreateLoadBalancerTlsCertificateCommand = exports.se_CreateLoadBalancerCommand = exports.se_CreateKeyPairCommand = exports.se_CreateInstanceSnapshotCommand = exports.se_CreateInstancesFromSnapshotCommand = exports.se_CreateInstancesCommand = exports.se_CreateGUISessionAccessDetailsCommand = exports.se_CreateDomainEntryCommand = exports.se_CreateDomainCommand = exports.se_CreateDistributionCommand = exports.se_CreateDiskSnapshotCommand = exports.se_CreateDiskFromSnapshotCommand = exports.se_CreateDiskCommand = exports.se_CreateContainerServiceRegistryLoginCommand = exports.se_CreateContainerServiceDeploymentCommand = exports.se_CreateContainerServiceCommand = exports.se_CreateContactMethodCommand = exports.se_CreateCloudFormationStackCommand = exports.se_CreateCertificateCommand = exports.se_CreateBucketAccessKeyCommand = exports.se_CreateBucketCommand = exports.se_CopySnapshotCommand = exports.se_CloseInstancePublicPortsCommand = exports.se_AttachStaticIpCommand = exports.se_AttachLoadBalancerTlsCertificateCommand = exports.se_AttachInstancesToLoadBalancerCommand = exports.se_AttachDiskCommand = exports.se_AttachCertificateToDistributionCommand = exports.se_AllocateStaticIpCommand = void 0;
|
|
4
4
|
exports.se_GetInstanceStateCommand = exports.se_GetInstanceSnapshotsCommand = exports.se_GetInstanceSnapshotCommand = exports.se_GetInstancesCommand = exports.se_GetInstancePortStatesCommand = exports.se_GetInstanceMetricDataCommand = exports.se_GetInstanceAccessDetailsCommand = exports.se_GetInstanceCommand = exports.se_GetExportSnapshotRecordsCommand = exports.se_GetDomainsCommand = exports.se_GetDomainCommand = exports.se_GetDistributionsCommand = exports.se_GetDistributionMetricDataCommand = exports.se_GetDistributionLatestCacheResetCommand = exports.se_GetDistributionBundlesCommand = exports.se_GetDiskSnapshotsCommand = exports.se_GetDiskSnapshotCommand = exports.se_GetDisksCommand = exports.se_GetDiskCommand = exports.se_GetCostEstimateCommand = exports.se_GetContainerServicesCommand = exports.se_GetContainerServicePowersCommand = exports.se_GetContainerServiceMetricDataCommand = exports.se_GetContainerServiceDeploymentsCommand = exports.se_GetContainerLogCommand = exports.se_GetContainerImagesCommand = exports.se_GetContainerAPIMetadataCommand = exports.se_GetContactMethodsCommand = exports.se_GetCloudFormationStackRecordsCommand = exports.se_GetCertificatesCommand = exports.se_GetBundlesCommand = exports.se_GetBucketsCommand = exports.se_GetBucketMetricDataCommand = exports.se_GetBucketBundlesCommand = exports.se_GetBucketAccessKeysCommand = exports.se_GetBlueprintsCommand = exports.se_GetAutoSnapshotsCommand = exports.se_GetAlarmsCommand = exports.se_GetActiveNamesCommand = exports.se_ExportSnapshotCommand = exports.se_EnableAddOnCommand = exports.se_DownloadDefaultKeyPairCommand = exports.se_DisableAddOnCommand = exports.se_DetachStaticIpCommand = exports.se_DetachInstancesFromLoadBalancerCommand = exports.se_DetachDiskCommand = exports.se_DetachCertificateFromDistributionCommand = exports.se_DeleteRelationalDatabaseSnapshotCommand = exports.se_DeleteRelationalDatabaseCommand = exports.se_DeleteLoadBalancerTlsCertificateCommand = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.de_UpdateRelationalDatabaseParametersCommand = exports.de_UpdateRelationalDatabaseCommand = exports.de_UpdateLoadBalancerAttributeCommand = exports.de_UpdateInstanceMetadataOptionsCommand = exports.de_UpdateDomainEntryCommand = exports.de_UpdateDistributionBundleCommand = exports.de_UpdateDistributionCommand = exports.de_UpdateContainerServiceCommand = exports.de_UpdateBucketBundleCommand = exports.de_UpdateBucketCommand = exports.de_UntagResourceCommand = exports.de_UnpeerVpcCommand = exports.de_TestAlarmCommand = exports.de_TagResourceCommand = exports.de_StopRelationalDatabaseCommand = exports.de_StopInstanceCommand = exports.de_StopGUISessionCommand = exports.de_StartRelationalDatabaseCommand = void 0;
|
|
5
|
+
exports.se_UnpeerVpcCommand = exports.se_TestAlarmCommand = exports.se_TagResourceCommand = exports.se_StopRelationalDatabaseCommand = exports.se_StopInstanceCommand = exports.se_StopGUISessionCommand = exports.se_StartRelationalDatabaseCommand = exports.se_StartInstanceCommand = exports.se_StartGUISessionCommand = exports.se_SetupInstanceHttpsCommand = exports.se_SetResourceAccessForBucketCommand = exports.se_SetIpAddressTypeCommand = exports.se_SendContactMethodVerificationCommand = exports.se_ResetDistributionCacheCommand = exports.se_ReleaseStaticIpCommand = exports.se_RegisterContainerImageCommand = exports.se_RebootRelationalDatabaseCommand = exports.se_RebootInstanceCommand = exports.se_PutInstancePublicPortsCommand = exports.se_PutAlarmCommand = exports.se_PeerVpcCommand = exports.se_OpenInstancePublicPortsCommand = exports.se_IsVpcPeeredCommand = exports.se_ImportKeyPairCommand = exports.se_GetStaticIpsCommand = exports.se_GetStaticIpCommand = exports.se_GetSetupHistoryCommand = exports.se_GetRelationalDatabaseSnapshotsCommand = exports.se_GetRelationalDatabaseSnapshotCommand = exports.se_GetRelationalDatabasesCommand = exports.se_GetRelationalDatabaseParametersCommand = exports.se_GetRelationalDatabaseMetricDataCommand = exports.se_GetRelationalDatabaseMasterUserPasswordCommand = exports.se_GetRelationalDatabaseLogStreamsCommand = exports.se_GetRelationalDatabaseLogEventsCommand = exports.se_GetRelationalDatabaseEventsCommand = exports.se_GetRelationalDatabaseBundlesCommand = exports.se_GetRelationalDatabaseBlueprintsCommand = exports.se_GetRelationalDatabaseCommand = exports.se_GetRegionsCommand = exports.se_GetOperationsForResourceCommand = exports.se_GetOperationsCommand = exports.se_GetOperationCommand = exports.se_GetLoadBalancerTlsPoliciesCommand = exports.se_GetLoadBalancerTlsCertificatesCommand = exports.se_GetLoadBalancersCommand = exports.se_GetLoadBalancerMetricDataCommand = exports.se_GetLoadBalancerCommand = exports.se_GetKeyPairsCommand = exports.se_GetKeyPairCommand = void 0;
|
|
6
|
+
exports.de_DeleteContainerImageCommand = exports.de_DeleteContactMethodCommand = exports.de_DeleteCertificateCommand = exports.de_DeleteBucketAccessKeyCommand = exports.de_DeleteBucketCommand = exports.de_DeleteAutoSnapshotCommand = exports.de_DeleteAlarmCommand = exports.de_CreateRelationalDatabaseSnapshotCommand = exports.de_CreateRelationalDatabaseFromSnapshotCommand = exports.de_CreateRelationalDatabaseCommand = exports.de_CreateLoadBalancerTlsCertificateCommand = exports.de_CreateLoadBalancerCommand = exports.de_CreateKeyPairCommand = exports.de_CreateInstanceSnapshotCommand = exports.de_CreateInstancesFromSnapshotCommand = exports.de_CreateInstancesCommand = exports.de_CreateGUISessionAccessDetailsCommand = exports.de_CreateDomainEntryCommand = exports.de_CreateDomainCommand = exports.de_CreateDistributionCommand = exports.de_CreateDiskSnapshotCommand = exports.de_CreateDiskFromSnapshotCommand = exports.de_CreateDiskCommand = exports.de_CreateContainerServiceRegistryLoginCommand = exports.de_CreateContainerServiceDeploymentCommand = exports.de_CreateContainerServiceCommand = exports.de_CreateContactMethodCommand = exports.de_CreateCloudFormationStackCommand = exports.de_CreateCertificateCommand = exports.de_CreateBucketAccessKeyCommand = exports.de_CreateBucketCommand = exports.de_CopySnapshotCommand = exports.de_CloseInstancePublicPortsCommand = exports.de_AttachStaticIpCommand = exports.de_AttachLoadBalancerTlsCertificateCommand = exports.de_AttachInstancesToLoadBalancerCommand = exports.de_AttachDiskCommand = exports.de_AttachCertificateToDistributionCommand = exports.de_AllocateStaticIpCommand = exports.se_UpdateRelationalDatabaseParametersCommand = exports.se_UpdateRelationalDatabaseCommand = exports.se_UpdateLoadBalancerAttributeCommand = exports.se_UpdateInstanceMetadataOptionsCommand = exports.se_UpdateDomainEntryCommand = exports.se_UpdateDistributionBundleCommand = exports.se_UpdateDistributionCommand = exports.se_UpdateContainerServiceCommand = exports.se_UpdateBucketBundleCommand = exports.se_UpdateBucketCommand = exports.se_UntagResourceCommand = void 0;
|
|
7
|
+
exports.de_GetDistributionsCommand = exports.de_GetDistributionMetricDataCommand = exports.de_GetDistributionLatestCacheResetCommand = exports.de_GetDistributionBundlesCommand = exports.de_GetDiskSnapshotsCommand = exports.de_GetDiskSnapshotCommand = exports.de_GetDisksCommand = exports.de_GetDiskCommand = exports.de_GetCostEstimateCommand = exports.de_GetContainerServicesCommand = exports.de_GetContainerServicePowersCommand = exports.de_GetContainerServiceMetricDataCommand = exports.de_GetContainerServiceDeploymentsCommand = exports.de_GetContainerLogCommand = exports.de_GetContainerImagesCommand = exports.de_GetContainerAPIMetadataCommand = exports.de_GetContactMethodsCommand = exports.de_GetCloudFormationStackRecordsCommand = exports.de_GetCertificatesCommand = exports.de_GetBundlesCommand = exports.de_GetBucketsCommand = exports.de_GetBucketMetricDataCommand = exports.de_GetBucketBundlesCommand = exports.de_GetBucketAccessKeysCommand = exports.de_GetBlueprintsCommand = exports.de_GetAutoSnapshotsCommand = exports.de_GetAlarmsCommand = exports.de_GetActiveNamesCommand = exports.de_ExportSnapshotCommand = exports.de_EnableAddOnCommand = exports.de_DownloadDefaultKeyPairCommand = exports.de_DisableAddOnCommand = exports.de_DetachStaticIpCommand = exports.de_DetachInstancesFromLoadBalancerCommand = exports.de_DetachDiskCommand = exports.de_DetachCertificateFromDistributionCommand = exports.de_DeleteRelationalDatabaseSnapshotCommand = exports.de_DeleteRelationalDatabaseCommand = exports.de_DeleteLoadBalancerTlsCertificateCommand = exports.de_DeleteLoadBalancerCommand = exports.de_DeleteKnownHostKeysCommand = exports.de_DeleteKeyPairCommand = exports.de_DeleteInstanceSnapshotCommand = exports.de_DeleteInstanceCommand = exports.de_DeleteDomainEntryCommand = exports.de_DeleteDomainCommand = exports.de_DeleteDistributionCommand = exports.de_DeleteDiskSnapshotCommand = exports.de_DeleteDiskCommand = exports.de_DeleteContainerServiceCommand = void 0;
|
|
8
|
+
exports.de_SetIpAddressTypeCommand = exports.de_SendContactMethodVerificationCommand = exports.de_ResetDistributionCacheCommand = exports.de_ReleaseStaticIpCommand = exports.de_RegisterContainerImageCommand = exports.de_RebootRelationalDatabaseCommand = exports.de_RebootInstanceCommand = exports.de_PutInstancePublicPortsCommand = exports.de_PutAlarmCommand = exports.de_PeerVpcCommand = exports.de_OpenInstancePublicPortsCommand = exports.de_IsVpcPeeredCommand = exports.de_ImportKeyPairCommand = exports.de_GetStaticIpsCommand = exports.de_GetStaticIpCommand = exports.de_GetSetupHistoryCommand = exports.de_GetRelationalDatabaseSnapshotsCommand = exports.de_GetRelationalDatabaseSnapshotCommand = exports.de_GetRelationalDatabasesCommand = exports.de_GetRelationalDatabaseParametersCommand = exports.de_GetRelationalDatabaseMetricDataCommand = exports.de_GetRelationalDatabaseMasterUserPasswordCommand = exports.de_GetRelationalDatabaseLogStreamsCommand = exports.de_GetRelationalDatabaseLogEventsCommand = exports.de_GetRelationalDatabaseEventsCommand = exports.de_GetRelationalDatabaseBundlesCommand = exports.de_GetRelationalDatabaseBlueprintsCommand = exports.de_GetRelationalDatabaseCommand = exports.de_GetRegionsCommand = exports.de_GetOperationsForResourceCommand = exports.de_GetOperationsCommand = exports.de_GetOperationCommand = exports.de_GetLoadBalancerTlsPoliciesCommand = exports.de_GetLoadBalancerTlsCertificatesCommand = exports.de_GetLoadBalancersCommand = exports.de_GetLoadBalancerMetricDataCommand = exports.de_GetLoadBalancerCommand = exports.de_GetKeyPairsCommand = exports.de_GetKeyPairCommand = exports.de_GetInstanceStateCommand = exports.de_GetInstanceSnapshotsCommand = exports.de_GetInstanceSnapshotCommand = exports.de_GetInstancesCommand = exports.de_GetInstancePortStatesCommand = exports.de_GetInstanceMetricDataCommand = exports.de_GetInstanceAccessDetailsCommand = exports.de_GetInstanceCommand = exports.de_GetExportSnapshotRecordsCommand = exports.de_GetDomainsCommand = exports.de_GetDomainCommand = void 0;
|
|
9
|
+
exports.de_UpdateRelationalDatabaseParametersCommand = exports.de_UpdateRelationalDatabaseCommand = exports.de_UpdateLoadBalancerAttributeCommand = exports.de_UpdateInstanceMetadataOptionsCommand = exports.de_UpdateDomainEntryCommand = exports.de_UpdateDistributionBundleCommand = exports.de_UpdateDistributionCommand = exports.de_UpdateContainerServiceCommand = exports.de_UpdateBucketBundleCommand = exports.de_UpdateBucketCommand = exports.de_UntagResourceCommand = exports.de_UnpeerVpcCommand = exports.de_TestAlarmCommand = exports.de_TagResourceCommand = exports.de_StopRelationalDatabaseCommand = exports.de_StopInstanceCommand = exports.de_StopGUISessionCommand = exports.de_StartRelationalDatabaseCommand = exports.de_StartInstanceCommand = exports.de_StartGUISessionCommand = exports.de_SetupInstanceHttpsCommand = exports.de_SetResourceAccessForBucketCommand = void 0;
|
|
10
10
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
11
11
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
12
12
|
const LightsailServiceException_1 = require("../models/LightsailServiceException");
|
|
@@ -872,6 +872,13 @@ const se_GetRelationalDatabaseSnapshotsCommand = async (input, context) => {
|
|
|
872
872
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
873
873
|
};
|
|
874
874
|
exports.se_GetRelationalDatabaseSnapshotsCommand = se_GetRelationalDatabaseSnapshotsCommand;
|
|
875
|
+
const se_GetSetupHistoryCommand = async (input, context) => {
|
|
876
|
+
const headers = sharedHeaders("GetSetupHistory");
|
|
877
|
+
let body;
|
|
878
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
879
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
880
|
+
};
|
|
881
|
+
exports.se_GetSetupHistoryCommand = se_GetSetupHistoryCommand;
|
|
875
882
|
const se_GetStaticIpCommand = async (input, context) => {
|
|
876
883
|
const headers = sharedHeaders("GetStaticIp");
|
|
877
884
|
let body;
|
|
@@ -984,6 +991,13 @@ const se_SetResourceAccessForBucketCommand = async (input, context) => {
|
|
|
984
991
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
985
992
|
};
|
|
986
993
|
exports.se_SetResourceAccessForBucketCommand = se_SetResourceAccessForBucketCommand;
|
|
994
|
+
const se_SetupInstanceHttpsCommand = async (input, context) => {
|
|
995
|
+
const headers = sharedHeaders("SetupInstanceHttps");
|
|
996
|
+
let body;
|
|
997
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
998
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
999
|
+
};
|
|
1000
|
+
exports.se_SetupInstanceHttpsCommand = se_SetupInstanceHttpsCommand;
|
|
987
1001
|
const se_StartGUISessionCommand = async (input, context) => {
|
|
988
1002
|
const headers = sharedHeaders("StartGUISession");
|
|
989
1003
|
let body;
|
|
@@ -7178,6 +7192,51 @@ const de_GetRelationalDatabaseSnapshotsCommandError = async (output, context) =>
|
|
|
7178
7192
|
});
|
|
7179
7193
|
}
|
|
7180
7194
|
};
|
|
7195
|
+
const de_GetSetupHistoryCommand = async (output, context) => {
|
|
7196
|
+
if (output.statusCode >= 300) {
|
|
7197
|
+
return de_GetSetupHistoryCommandError(output, context);
|
|
7198
|
+
}
|
|
7199
|
+
const data = await parseBody(output.body, context);
|
|
7200
|
+
let contents = {};
|
|
7201
|
+
contents = de_GetSetupHistoryResult(data, context);
|
|
7202
|
+
const response = {
|
|
7203
|
+
$metadata: deserializeMetadata(output),
|
|
7204
|
+
...contents,
|
|
7205
|
+
};
|
|
7206
|
+
return response;
|
|
7207
|
+
};
|
|
7208
|
+
exports.de_GetSetupHistoryCommand = de_GetSetupHistoryCommand;
|
|
7209
|
+
const de_GetSetupHistoryCommandError = async (output, context) => {
|
|
7210
|
+
const parsedOutput = {
|
|
7211
|
+
...output,
|
|
7212
|
+
body: await parseErrorBody(output.body, context),
|
|
7213
|
+
};
|
|
7214
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7215
|
+
switch (errorCode) {
|
|
7216
|
+
case "AccessDeniedException":
|
|
7217
|
+
case "com.amazonaws.lightsail#AccessDeniedException":
|
|
7218
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
7219
|
+
case "InvalidInputException":
|
|
7220
|
+
case "com.amazonaws.lightsail#InvalidInputException":
|
|
7221
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
7222
|
+
case "NotFoundException":
|
|
7223
|
+
case "com.amazonaws.lightsail#NotFoundException":
|
|
7224
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
7225
|
+
case "ServiceException":
|
|
7226
|
+
case "com.amazonaws.lightsail#ServiceException":
|
|
7227
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
7228
|
+
case "UnauthenticatedException":
|
|
7229
|
+
case "com.amazonaws.lightsail#UnauthenticatedException":
|
|
7230
|
+
throw await de_UnauthenticatedExceptionRes(parsedOutput, context);
|
|
7231
|
+
default:
|
|
7232
|
+
const parsedBody = parsedOutput.body;
|
|
7233
|
+
return throwDefaultError({
|
|
7234
|
+
output,
|
|
7235
|
+
parsedBody,
|
|
7236
|
+
errorCode,
|
|
7237
|
+
});
|
|
7238
|
+
}
|
|
7239
|
+
};
|
|
7181
7240
|
const de_GetStaticIpCommand = async (output, context) => {
|
|
7182
7241
|
if (output.statusCode >= 300) {
|
|
7183
7242
|
return de_GetStaticIpCommandError(output, context);
|
|
@@ -7973,6 +8032,51 @@ const de_SetResourceAccessForBucketCommandError = async (output, context) => {
|
|
|
7973
8032
|
});
|
|
7974
8033
|
}
|
|
7975
8034
|
};
|
|
8035
|
+
const de_SetupInstanceHttpsCommand = async (output, context) => {
|
|
8036
|
+
if (output.statusCode >= 300) {
|
|
8037
|
+
return de_SetupInstanceHttpsCommandError(output, context);
|
|
8038
|
+
}
|
|
8039
|
+
const data = await parseBody(output.body, context);
|
|
8040
|
+
let contents = {};
|
|
8041
|
+
contents = de_SetupInstanceHttpsResult(data, context);
|
|
8042
|
+
const response = {
|
|
8043
|
+
$metadata: deserializeMetadata(output),
|
|
8044
|
+
...contents,
|
|
8045
|
+
};
|
|
8046
|
+
return response;
|
|
8047
|
+
};
|
|
8048
|
+
exports.de_SetupInstanceHttpsCommand = de_SetupInstanceHttpsCommand;
|
|
8049
|
+
const de_SetupInstanceHttpsCommandError = async (output, context) => {
|
|
8050
|
+
const parsedOutput = {
|
|
8051
|
+
...output,
|
|
8052
|
+
body: await parseErrorBody(output.body, context),
|
|
8053
|
+
};
|
|
8054
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8055
|
+
switch (errorCode) {
|
|
8056
|
+
case "AccessDeniedException":
|
|
8057
|
+
case "com.amazonaws.lightsail#AccessDeniedException":
|
|
8058
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
8059
|
+
case "InvalidInputException":
|
|
8060
|
+
case "com.amazonaws.lightsail#InvalidInputException":
|
|
8061
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
8062
|
+
case "NotFoundException":
|
|
8063
|
+
case "com.amazonaws.lightsail#NotFoundException":
|
|
8064
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
8065
|
+
case "ServiceException":
|
|
8066
|
+
case "com.amazonaws.lightsail#ServiceException":
|
|
8067
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
8068
|
+
case "UnauthenticatedException":
|
|
8069
|
+
case "com.amazonaws.lightsail#UnauthenticatedException":
|
|
8070
|
+
throw await de_UnauthenticatedExceptionRes(parsedOutput, context);
|
|
8071
|
+
default:
|
|
8072
|
+
const parsedBody = parsedOutput.body;
|
|
8073
|
+
return throwDefaultError({
|
|
8074
|
+
output,
|
|
8075
|
+
parsedBody,
|
|
8076
|
+
errorCode,
|
|
8077
|
+
});
|
|
8078
|
+
}
|
|
8079
|
+
};
|
|
7976
8080
|
const de_StartGUISessionCommand = async (output, context) => {
|
|
7977
8081
|
if (output.statusCode >= 300) {
|
|
7978
8082
|
return de_StartGUISessionCommandError(output, context);
|
|
@@ -10233,6 +10337,12 @@ const de_GetRelationalDatabasesResult = (output, context) => {
|
|
|
10233
10337
|
relationalDatabases: (_) => de_RelationalDatabaseList(_, context),
|
|
10234
10338
|
});
|
|
10235
10339
|
};
|
|
10340
|
+
const de_GetSetupHistoryResult = (output, context) => {
|
|
10341
|
+
return (0, smithy_client_1.take)(output, {
|
|
10342
|
+
nextPageToken: smithy_client_1.expectString,
|
|
10343
|
+
setupHistory: (_) => de_setupHistoryList(_, context),
|
|
10344
|
+
});
|
|
10345
|
+
};
|
|
10236
10346
|
const de_GetStaticIpResult = (output, context) => {
|
|
10237
10347
|
return (0, smithy_client_1.take)(output, {
|
|
10238
10348
|
staticIp: (_) => de_StaticIp(_, context),
|
|
@@ -10731,6 +10841,56 @@ const de_SetResourceAccessForBucketResult = (output, context) => {
|
|
|
10731
10841
|
operations: (_) => de_OperationList(_, context),
|
|
10732
10842
|
});
|
|
10733
10843
|
};
|
|
10844
|
+
const de_SetupExecutionDetails = (output, context) => {
|
|
10845
|
+
return (0, smithy_client_1.take)(output, {
|
|
10846
|
+
command: smithy_client_1.expectString,
|
|
10847
|
+
dateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
10848
|
+
name: smithy_client_1.expectString,
|
|
10849
|
+
standardError: smithy_client_1.expectString,
|
|
10850
|
+
standardOutput: smithy_client_1.expectString,
|
|
10851
|
+
status: smithy_client_1.expectString,
|
|
10852
|
+
version: smithy_client_1.expectString,
|
|
10853
|
+
});
|
|
10854
|
+
};
|
|
10855
|
+
const de_SetupExecutionDetailsList = (output, context) => {
|
|
10856
|
+
const retVal = (output || [])
|
|
10857
|
+
.filter((e) => e != null)
|
|
10858
|
+
.map((entry) => {
|
|
10859
|
+
return de_SetupExecutionDetails(entry, context);
|
|
10860
|
+
});
|
|
10861
|
+
return retVal;
|
|
10862
|
+
};
|
|
10863
|
+
const de_SetupHistory = (output, context) => {
|
|
10864
|
+
return (0, smithy_client_1.take)(output, {
|
|
10865
|
+
executionDetails: (_) => de_SetupExecutionDetailsList(_, context),
|
|
10866
|
+
operationId: smithy_client_1.expectString,
|
|
10867
|
+
request: smithy_client_1._json,
|
|
10868
|
+
resource: (_) => de_SetupHistoryResource(_, context),
|
|
10869
|
+
status: smithy_client_1.expectString,
|
|
10870
|
+
});
|
|
10871
|
+
};
|
|
10872
|
+
const de_setupHistoryList = (output, context) => {
|
|
10873
|
+
const retVal = (output || [])
|
|
10874
|
+
.filter((e) => e != null)
|
|
10875
|
+
.map((entry) => {
|
|
10876
|
+
return de_SetupHistory(entry, context);
|
|
10877
|
+
});
|
|
10878
|
+
return retVal;
|
|
10879
|
+
};
|
|
10880
|
+
const de_SetupHistoryResource = (output, context) => {
|
|
10881
|
+
return (0, smithy_client_1.take)(output, {
|
|
10882
|
+
arn: smithy_client_1.expectString,
|
|
10883
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
10884
|
+
location: smithy_client_1._json,
|
|
10885
|
+
name: smithy_client_1.expectString,
|
|
10886
|
+
resourceType: smithy_client_1.expectString,
|
|
10887
|
+
});
|
|
10888
|
+
};
|
|
10889
|
+
const de_SetupInstanceHttpsResult = (output, context) => {
|
|
10890
|
+
return (0, smithy_client_1.take)(output, {
|
|
10891
|
+
operations: (_) => de_OperationList(_, context),
|
|
10892
|
+
});
|
|
10893
|
+
};
|
|
10734
10894
|
const de_StartGUISessionResult = (output, context) => {
|
|
10735
10895
|
return (0, smithy_client_1.take)(output, {
|
|
10736
10896
|
operations: (_) => de_OperationList(_, context),
|
package/dist-es/Lightsail.js
CHANGED
|
@@ -122,6 +122,7 @@ import { GetRelationalDatabaseParametersCommand, } from "./commands/GetRelationa
|
|
|
122
122
|
import { GetRelationalDatabasesCommand, } from "./commands/GetRelationalDatabasesCommand";
|
|
123
123
|
import { GetRelationalDatabaseSnapshotCommand, } from "./commands/GetRelationalDatabaseSnapshotCommand";
|
|
124
124
|
import { GetRelationalDatabaseSnapshotsCommand, } from "./commands/GetRelationalDatabaseSnapshotsCommand";
|
|
125
|
+
import { GetSetupHistoryCommand, } from "./commands/GetSetupHistoryCommand";
|
|
125
126
|
import { GetStaticIpCommand } from "./commands/GetStaticIpCommand";
|
|
126
127
|
import { GetStaticIpsCommand, } from "./commands/GetStaticIpsCommand";
|
|
127
128
|
import { ImportKeyPairCommand, } from "./commands/ImportKeyPairCommand";
|
|
@@ -138,6 +139,7 @@ import { ResetDistributionCacheCommand, } from "./commands/ResetDistributionCach
|
|
|
138
139
|
import { SendContactMethodVerificationCommand, } from "./commands/SendContactMethodVerificationCommand";
|
|
139
140
|
import { SetIpAddressTypeCommand, } from "./commands/SetIpAddressTypeCommand";
|
|
140
141
|
import { SetResourceAccessForBucketCommand, } from "./commands/SetResourceAccessForBucketCommand";
|
|
142
|
+
import { SetupInstanceHttpsCommand, } from "./commands/SetupInstanceHttpsCommand";
|
|
141
143
|
import { StartGUISessionCommand, } from "./commands/StartGUISessionCommand";
|
|
142
144
|
import { StartInstanceCommand, } from "./commands/StartInstanceCommand";
|
|
143
145
|
import { StartRelationalDatabaseCommand, } from "./commands/StartRelationalDatabaseCommand";
|
|
@@ -283,6 +285,7 @@ const commands = {
|
|
|
283
285
|
GetRelationalDatabasesCommand,
|
|
284
286
|
GetRelationalDatabaseSnapshotCommand,
|
|
285
287
|
GetRelationalDatabaseSnapshotsCommand,
|
|
288
|
+
GetSetupHistoryCommand,
|
|
286
289
|
GetStaticIpCommand,
|
|
287
290
|
GetStaticIpsCommand,
|
|
288
291
|
ImportKeyPairCommand,
|
|
@@ -299,6 +302,7 @@ const commands = {
|
|
|
299
302
|
SendContactMethodVerificationCommand,
|
|
300
303
|
SetIpAddressTypeCommand,
|
|
301
304
|
SetResourceAccessForBucketCommand,
|
|
305
|
+
SetupInstanceHttpsCommand,
|
|
302
306
|
StartGUISessionCommand,
|
|
303
307
|
StartInstanceCommand,
|
|
304
308
|
StartRelationalDatabaseCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetSetupHistoryCommand, se_GetSetupHistoryCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetSetupHistoryCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Lightsail_20161128", "GetSetupHistory", {})
|
|
19
|
+
.n("LightsailClient", "GetSetupHistoryCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetSetupHistoryCommand)
|
|
22
|
+
.de(de_GetSetupHistoryCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { SetupInstanceHttpsRequestFilterSensitiveLog, } from "../models/models_1";
|
|
6
|
+
import { de_SetupInstanceHttpsCommand, se_SetupInstanceHttpsCommand } from "../protocols/Aws_json1_1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class SetupInstanceHttpsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("Lightsail_20161128", "SetupInstanceHttps", {})
|
|
20
|
+
.n("LightsailClient", "SetupInstanceHttpsCommand")
|
|
21
|
+
.f(SetupInstanceHttpsRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_SetupInstanceHttpsCommand)
|
|
23
|
+
.de(de_SetupInstanceHttpsCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -121,6 +121,7 @@ export * from "./GetRelationalDatabaseParametersCommand";
|
|
|
121
121
|
export * from "./GetRelationalDatabaseSnapshotCommand";
|
|
122
122
|
export * from "./GetRelationalDatabaseSnapshotsCommand";
|
|
123
123
|
export * from "./GetRelationalDatabasesCommand";
|
|
124
|
+
export * from "./GetSetupHistoryCommand";
|
|
124
125
|
export * from "./GetStaticIpCommand";
|
|
125
126
|
export * from "./GetStaticIpsCommand";
|
|
126
127
|
export * from "./ImportKeyPairCommand";
|
|
@@ -137,6 +138,7 @@ export * from "./ResetDistributionCacheCommand";
|
|
|
137
138
|
export * from "./SendContactMethodVerificationCommand";
|
|
138
139
|
export * from "./SetIpAddressTypeCommand";
|
|
139
140
|
export * from "./SetResourceAccessForBucketCommand";
|
|
141
|
+
export * from "./SetupInstanceHttpsCommand";
|
|
140
142
|
export * from "./StartGUISessionCommand";
|
|
141
143
|
export * from "./StartInstanceCommand";
|
|
142
144
|
export * from "./StartRelationalDatabaseCommand";
|
|
@@ -247,6 +247,7 @@ export const OperationType = {
|
|
|
247
247
|
SendContactMethodVerification: "SendContactMethodVerification",
|
|
248
248
|
SetIpAddressType: "SetIpAddressType",
|
|
249
249
|
SetResourceAccessForBucket: "SetResourceAccessForBucket",
|
|
250
|
+
SetupInstanceHttps: "SetupInstanceHttps",
|
|
250
251
|
StartGUISession: "StartGUISession",
|
|
251
252
|
StartInstance: "StartInstance",
|
|
252
253
|
StartRelationalDatabase: "StartRelationalDatabase",
|
|
@@ -425,6 +426,9 @@ export const CertificateStatus = {
|
|
|
425
426
|
Revoked: "REVOKED",
|
|
426
427
|
ValidationTimedOut: "VALIDATION_TIMED_OUT",
|
|
427
428
|
};
|
|
429
|
+
export const CertificateProvider = {
|
|
430
|
+
LetsEncrypt: "LetsEncrypt",
|
|
431
|
+
};
|
|
428
432
|
export const NetworkProtocol = {
|
|
429
433
|
ALL: "all",
|
|
430
434
|
ICMP: "icmp",
|
|
@@ -157,6 +157,11 @@ export const RelationalDatabaseMetricName = {
|
|
|
157
157
|
NetworkReceiveThroughput: "NetworkReceiveThroughput",
|
|
158
158
|
NetworkTransmitThroughput: "NetworkTransmitThroughput",
|
|
159
159
|
};
|
|
160
|
+
export const SetupStatus = {
|
|
161
|
+
Failed: "failed",
|
|
162
|
+
InProgress: "inProgress",
|
|
163
|
+
Succeeded: "succeeded",
|
|
164
|
+
};
|
|
160
165
|
export const ResourceBucketAccess = {
|
|
161
166
|
Allow: "allow",
|
|
162
167
|
Deny: "deny",
|
|
@@ -165,6 +170,10 @@ export const GetRelationalDatabaseMasterUserPasswordResultFilterSensitiveLog = (
|
|
|
165
170
|
...obj,
|
|
166
171
|
...(obj.masterUserPassword && { masterUserPassword: SENSITIVE_STRING }),
|
|
167
172
|
});
|
|
173
|
+
export const SetupInstanceHttpsRequestFilterSensitiveLog = (obj) => ({
|
|
174
|
+
...obj,
|
|
175
|
+
...(obj.emailAddress && { emailAddress: SENSITIVE_STRING }),
|
|
176
|
+
});
|
|
168
177
|
export const UpdateRelationalDatabaseRequestFilterSensitiveLog = (obj) => ({
|
|
169
178
|
...obj,
|
|
170
179
|
...(obj.masterUserPassword && { masterUserPassword: SENSITIVE_STRING }),
|