@aws-sdk/client-lightsail 3.58.0 → 3.74.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/CHANGELOG.md +27 -0
- package/README.md +2 -2
- package/dist-cjs/models/models_0.js +26 -23
- package/dist-cjs/models/models_1.js +21 -4
- package/dist-cjs/protocols/Aws_json1_1.js +13 -0
- package/dist-es/models/models_0.js +18 -13
- package/dist-es/models/models_1.js +13 -0
- package/dist-es/protocols/Aws_json1_1.js +13 -0
- package/dist-types/Lightsail.d.ts +8 -5
- package/dist-types/commands/CreateContainerServiceDeploymentCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketsCommand.d.ts +4 -2
- package/dist-types/commands/GetDistributionBundlesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDistributionBundleCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +128 -165
- package/dist-types/models/models_1.d.ts +164 -1
- package/dist-types/ts3.4/models/models_0.d.ts +27 -0
- package/dist-types/ts3.4/models/models_1.d.ts +41 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.74.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.73.0...v3.74.0) (2022-04-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-lightsail
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.72.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.71.0...v3.72.0) (2022-04-15)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-lightsail:** This release adds support to describe the synchronization status of the account-level block public access feature for your Amazon Lightsail buckets. ([4850e32](https://github.com/aws/aws-sdk-js-v3/commit/4850e32ab3b5e58dd4d66eb2d0ccd14b1503ef10))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.67.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.66.0...v3.67.0) (2022-04-08)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-lightsail
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-lightsail
|
package/README.md
CHANGED
|
@@ -129,7 +129,7 @@ but they are supported by the send operation.
|
|
|
129
129
|
```js
|
|
130
130
|
// callbacks.
|
|
131
131
|
client.send(command, (err, data) => {
|
|
132
|
-
//
|
|
132
|
+
// process err and data.
|
|
133
133
|
});
|
|
134
134
|
```
|
|
135
135
|
|
|
@@ -163,7 +163,7 @@ client
|
|
|
163
163
|
|
|
164
164
|
// callbacks.
|
|
165
165
|
client.allocateStaticIp(params, (err, data) => {
|
|
166
|
-
//
|
|
166
|
+
// process err and data.
|
|
167
167
|
});
|
|
168
168
|
```
|
|
169
169
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
3
|
+
exports.AttachStaticIpResult = exports.AttachStaticIpRequest = exports.AttachLoadBalancerTlsCertificateResult = exports.AttachLoadBalancerTlsCertificateRequest = exports.AttachInstancesToLoadBalancerResult = exports.AttachInstancesToLoadBalancerRequest = exports.DiskMap = exports.AttachedDisk = exports.AttachDiskResult = exports.AttachDiskRequest = exports.AttachCertificateToDistributionResult = exports.AttachCertificateToDistributionRequest = exports.UnauthenticatedException = exports.ServiceException = exports.OperationFailureException = exports.NotFoundException = exports.InvalidInputException = exports.AllocateStaticIpResult = exports.Operation = exports.OperationStatus = exports.OperationType = exports.AllocateStaticIpRequest = exports.Alarm = exports.MetricUnit = exports.TreatMissingData = exports.MetricStatistic = exports.AlarmState = exports.MonitoredResourceInfo = exports.ResourceType = exports.MetricName = exports.ResourceLocation = exports.RegionName = exports.ContactProtocol = exports.ComparisonOperator = exports.AddOnRequest = exports.AutoSnapshotAddOnRequest = exports.AddOnType = exports.AddOn = exports.AccountSetupInProgressException = exports.AccountLevelBpaSync = exports.AccountLevelBpaSyncStatus = exports.BPAStatusMessage = exports.AccessRules = exports.AccessType = exports.ResourceReceivingAccess = exports.AccessKey = exports.StatusType = exports.AccessKeyLastUsed = exports.AccessDirection = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.ContainerServiceState = exports.ContainerServicePowerName = exports.ContainerServiceDeployment = exports.ContainerServiceDeploymentState = exports.ContainerServiceEndpoint = exports.ContainerServiceHealthCheckConfig = exports.ContainerImage = exports.Container = exports.ContainerServiceProtocol = exports.ContactMethodVerificationProtocol = exports.ContactMethod = exports.ContactMethodStatus = exports.CloudFormationStackRecord = exports.RecordState = exports.CloudFormationStackRecordSourceInfo = exports.CloudFormationStackRecordSourceType = exports.DestinationInfo = exports.CloseInstancePublicPortsResult = exports.CloseInstancePublicPortsRequest = exports.PortInfo = exports.NetworkProtocol = exports.CertificateSummary = exports.Certificate = exports.CertificateStatus = exports.RenewalSummary = exports.RenewalStatus = exports.DomainValidationRecord = exports.ResourceRecord = exports.CacheSettings = exports.QueryStringObject = exports.HeaderObject = exports.HeaderEnum = exports.CookieObject = exports.ForwardValues = exports.CacheBehaviorPerPath = exports.CacheBehavior = exports.Bundle = exports.BucketMetricName = exports.BucketBundle = exports.Bucket = exports.Tag = exports.BucketState = exports.BucketAccessLogConfig = exports.Blueprint = exports.BlueprintType = exports.InstancePlatform = exports.BehaviorEnum = exports.AvailabilityZone = exports.AutoSnapshotDetails = exports.AutoSnapshotStatus = void 0;
|
|
5
|
+
exports.CreateInstancesResult = exports.CreateInstancesRequest = exports.CreateDomainEntryResult = exports.CreateDomainEntryRequest = exports.DomainEntry = exports.CreateDomainResult = exports.CreateDomainRequest = exports.CreateDistributionResult = exports.LightsailDistribution = exports.Origin = exports.CreateDistributionRequest = exports.InputOrigin = exports.OriginProtocolPolicyEnum = exports.IpAddressType = exports.CreateDiskSnapshotResult = exports.CreateDiskSnapshotRequest = exports.CreateDiskFromSnapshotResult = exports.CreateDiskFromSnapshotRequest = exports.CreateDiskResult = exports.CreateDiskRequest = exports.CreateContainerServiceRegistryLoginResult = exports.CreateContainerServiceRegistryLoginRequest = exports.CreateContainerServiceDeploymentResult = exports.CreateContainerServiceDeploymentRequest = exports.CreateContainerServiceResult = exports.CreateContainerServiceRequest = exports.CreateContactMethodResult = exports.CreateContactMethodRequest = exports.CreateCloudFormationStackResult = exports.CreateCloudFormationStackRequest = exports.InstanceEntry = exports.PortInfoSourceType = exports.CreateCertificateResult = exports.CreateCertificateRequest = exports.CreateBucketAccessKeyResult = exports.CreateBucketAccessKeyRequest = exports.CreateBucketResult = exports.CreateBucketRequest = exports.CopySnapshotResult = exports.CopySnapshotRequest = exports.ContainerServicesListResult = exports.ContainerServiceRegistryLogin = exports.ContainerServicePower = exports.ContainerServiceMetricName = exports.ContainerServiceLogEvent = exports.ContainerServiceDeploymentRequest = exports.EndpointRequest = exports.ContainerService = exports.ContainerServiceStateDetail = exports.ContainerServiceStateDetailCode = void 0;
|
|
6
|
+
exports.DeleteKnownHostKeysRequest = exports.DeleteKeyPairResult = exports.DeleteKeyPairRequest = exports.DeleteInstanceSnapshotResult = exports.DeleteInstanceSnapshotRequest = exports.DeleteInstanceResult = exports.DeleteInstanceRequest = exports.DeleteDomainEntryResult = exports.DeleteDomainEntryRequest = exports.DeleteDomainResult = exports.DeleteDomainRequest = exports.DeleteDistributionResult = exports.DeleteDistributionRequest = exports.DeleteDiskSnapshotResult = exports.DeleteDiskSnapshotRequest = exports.DeleteDiskResult = exports.DeleteDiskRequest = exports.DeleteContainerServiceResult = exports.DeleteContainerServiceRequest = exports.DeleteContainerImageResult = exports.DeleteContainerImageRequest = exports.DeleteContactMethodResult = exports.DeleteContactMethodRequest = exports.DeleteCertificateResult = exports.DeleteCertificateRequest = exports.DeleteBucketAccessKeyResult = exports.DeleteBucketAccessKeyRequest = exports.DeleteBucketResult = exports.DeleteBucketRequest = exports.DeleteAutoSnapshotResult = exports.DeleteAutoSnapshotRequest = exports.DeleteAlarmResult = exports.DeleteAlarmRequest = exports.CreateRelationalDatabaseSnapshotResult = exports.CreateRelationalDatabaseSnapshotRequest = exports.CreateRelationalDatabaseFromSnapshotResult = exports.CreateRelationalDatabaseFromSnapshotRequest = exports.CreateRelationalDatabaseResult = exports.CreateRelationalDatabaseRequest = exports.CreateLoadBalancerTlsCertificateResult = exports.CreateLoadBalancerTlsCertificateRequest = exports.CreateLoadBalancerResult = exports.CreateLoadBalancerRequest = exports.CreateKeyPairResult = exports.KeyPair = exports.CreateKeyPairRequest = exports.CreateInstanceSnapshotResult = exports.CreateInstanceSnapshotRequest = exports.CreateInstancesFromSnapshotResult = exports.CreateInstancesFromSnapshotRequest = void 0;
|
|
7
|
+
exports.GetBucketBundlesResult = exports.GetBucketBundlesRequest = exports.GetBucketAccessKeysResult = exports.GetBucketAccessKeysRequest = exports.GetBlueprintsResult = exports.GetBlueprintsRequest = exports.GetAutoSnapshotsResult = exports.GetAutoSnapshotsRequest = exports.GetAlarmsResult = exports.GetAlarmsRequest = exports.GetActiveNamesResult = exports.GetActiveNamesRequest = exports.ExportSnapshotRecord = exports.ExportSnapshotRecordSourceInfo = exports.ExportSnapshotRecordSourceType = exports.InstanceSnapshotInfo = exports.ExportSnapshotResult = exports.ExportSnapshotRequest = exports.EnableAddOnResult = exports.EnableAddOnRequest = exports.DownloadDefaultKeyPairResult = exports.DownloadDefaultKeyPairRequest = exports.Domain = exports.DistributionMetricName = exports.DistributionBundle = exports.DiskSnapshotInfo = exports.DiskSnapshot = exports.DiskSnapshotState = exports.DiskInfo = exports.Disk = exports.DiskState = exports.DisableAddOnResult = exports.DisableAddOnRequest = exports.DetachStaticIpResult = exports.DetachStaticIpRequest = exports.DetachInstancesFromLoadBalancerResult = exports.DetachInstancesFromLoadBalancerRequest = exports.DetachDiskResult = exports.DetachDiskRequest = exports.DetachCertificateFromDistributionResult = exports.DetachCertificateFromDistributionRequest = exports.DeleteRelationalDatabaseSnapshotResult = exports.DeleteRelationalDatabaseSnapshotRequest = exports.DeleteRelationalDatabaseResult = exports.DeleteRelationalDatabaseRequest = exports.DeleteLoadBalancerTlsCertificateResult = exports.DeleteLoadBalancerTlsCertificateRequest = exports.DeleteLoadBalancerResult = exports.DeleteLoadBalancerRequest = exports.DeleteKnownHostKeysResult = void 0;
|
|
8
|
+
exports.InstanceHardware = exports.GetInstanceRequest = exports.GetExportSnapshotRecordsResult = exports.GetExportSnapshotRecordsRequest = exports.GetDomainsResult = exports.GetDomainsRequest = exports.GetDomainResult = exports.GetDomainRequest = exports.GetDistributionsResult = exports.GetDistributionsRequest = exports.GetDistributionMetricDataResult = exports.GetDistributionMetricDataRequest = exports.GetDistributionLatestCacheResetResult = exports.GetDistributionLatestCacheResetRequest = exports.GetDistributionBundlesResult = exports.GetDistributionBundlesRequest = exports.GetDiskSnapshotsResult = exports.GetDiskSnapshotsRequest = exports.GetDiskSnapshotResult = exports.GetDiskSnapshotRequest = exports.GetDisksResult = exports.GetDisksRequest = exports.GetDiskResult = exports.GetDiskRequest = exports.GetContainerServicesRequest = exports.GetContainerServicePowersResult = exports.GetContainerServicePowersRequest = exports.GetContainerServiceMetricDataResult = exports.GetContainerServiceMetricDataRequest = exports.GetContainerServiceDeploymentsResult = exports.GetContainerServiceDeploymentsRequest = exports.GetContainerLogResult = exports.GetContainerLogRequest = exports.GetContainerImagesResult = exports.GetContainerImagesRequest = exports.GetContainerAPIMetadataResult = exports.GetContainerAPIMetadataRequest = exports.GetContactMethodsResult = exports.GetContactMethodsRequest = exports.GetCloudFormationStackRecordsResult = exports.GetCloudFormationStackRecordsRequest = exports.GetCertificatesResult = exports.GetCertificatesRequest = exports.GetBundlesResult = exports.GetBundlesRequest = exports.GetBucketsResult = exports.GetBucketsRequest = exports.GetBucketMetricDataResult = exports.MetricDatapoint = exports.GetBucketMetricDataRequest = void 0;
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
const LightsailServiceException_1 = require("./LightsailServiceException");
|
|
11
11
|
class AccessDeniedException extends LightsailServiceException_1.LightsailServiceException {
|
|
@@ -64,6 +64,26 @@ var AccessRules;
|
|
|
64
64
|
...obj,
|
|
65
65
|
});
|
|
66
66
|
})(AccessRules = exports.AccessRules || (exports.AccessRules = {}));
|
|
67
|
+
var BPAStatusMessage;
|
|
68
|
+
(function (BPAStatusMessage) {
|
|
69
|
+
BPAStatusMessage["DEFAULTED_FOR_SLR_MISSING"] = "DEFAULTED_FOR_SLR_MISSING";
|
|
70
|
+
BPAStatusMessage["DEFAULTED_FOR_SLR_MISSING_ON_HOLD"] = "DEFAULTED_FOR_SLR_MISSING_ON_HOLD";
|
|
71
|
+
BPAStatusMessage["SYNC_ON_HOLD"] = "SYNC_ON_HOLD";
|
|
72
|
+
BPAStatusMessage["Unknown"] = "Unknown";
|
|
73
|
+
})(BPAStatusMessage = exports.BPAStatusMessage || (exports.BPAStatusMessage = {}));
|
|
74
|
+
var AccountLevelBpaSyncStatus;
|
|
75
|
+
(function (AccountLevelBpaSyncStatus) {
|
|
76
|
+
AccountLevelBpaSyncStatus["Defaulted"] = "Defaulted";
|
|
77
|
+
AccountLevelBpaSyncStatus["Failed"] = "Failed";
|
|
78
|
+
AccountLevelBpaSyncStatus["InSync"] = "InSync";
|
|
79
|
+
AccountLevelBpaSyncStatus["NeverSynced"] = "NeverSynced";
|
|
80
|
+
})(AccountLevelBpaSyncStatus = exports.AccountLevelBpaSyncStatus || (exports.AccountLevelBpaSyncStatus = {}));
|
|
81
|
+
var AccountLevelBpaSync;
|
|
82
|
+
(function (AccountLevelBpaSync) {
|
|
83
|
+
AccountLevelBpaSync.filterSensitiveLog = (obj) => ({
|
|
84
|
+
...obj,
|
|
85
|
+
});
|
|
86
|
+
})(AccountLevelBpaSync = exports.AccountLevelBpaSync || (exports.AccountLevelBpaSync = {}));
|
|
67
87
|
class AccountSetupInProgressException extends LightsailServiceException_1.LightsailServiceException {
|
|
68
88
|
constructor(opts) {
|
|
69
89
|
super({
|
|
@@ -2044,20 +2064,3 @@ var InstanceHardware;
|
|
|
2044
2064
|
...obj,
|
|
2045
2065
|
});
|
|
2046
2066
|
})(InstanceHardware = exports.InstanceHardware || (exports.InstanceHardware = {}));
|
|
2047
|
-
var MonthlyTransfer;
|
|
2048
|
-
(function (MonthlyTransfer) {
|
|
2049
|
-
MonthlyTransfer.filterSensitiveLog = (obj) => ({
|
|
2050
|
-
...obj,
|
|
2051
|
-
});
|
|
2052
|
-
})(MonthlyTransfer = exports.MonthlyTransfer || (exports.MonthlyTransfer = {}));
|
|
2053
|
-
var PortAccessType;
|
|
2054
|
-
(function (PortAccessType) {
|
|
2055
|
-
PortAccessType["Private"] = "Private";
|
|
2056
|
-
PortAccessType["Public"] = "Public";
|
|
2057
|
-
})(PortAccessType = exports.PortAccessType || (exports.PortAccessType = {}));
|
|
2058
|
-
var InstancePortInfo;
|
|
2059
|
-
(function (InstancePortInfo) {
|
|
2060
|
-
InstancePortInfo.filterSensitiveLog = (obj) => ({
|
|
2061
|
-
...obj,
|
|
2062
|
-
});
|
|
2063
|
-
})(InstancePortInfo = exports.InstancePortInfo || (exports.InstancePortInfo = {}));
|
|
@@ -1,10 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdateRelationalDatabaseParametersResult = exports.UpdateRelationalDatabaseParametersRequest = exports.UpdateRelationalDatabaseResult = exports.UpdateRelationalDatabaseRequest = exports.UpdateLoadBalancerAttributeResult = exports.UpdateLoadBalancerAttributeRequest = exports.UpdateDomainEntryResult = exports.UpdateDomainEntryRequest = exports.UpdateDistributionBundleResult = exports.UpdateDistributionBundleRequest = exports.UpdateDistributionResult = exports.UpdateDistributionRequest = exports.UpdateContainerServiceResult = exports.UpdateContainerServiceRequest = exports.UpdateBucketBundleResult = exports.UpdateBucketBundleRequest = exports.UpdateBucketResult = exports.UpdateBucketRequest = exports.UntagResourceResult = exports.UntagResourceRequest = exports.UnpeerVpcResult = exports.UnpeerVpcRequest = void 0;
|
|
3
|
+
exports.GetLoadBalancerTlsCertificatesRequest = exports.GetLoadBalancersResult = exports.GetLoadBalancersRequest = exports.GetLoadBalancerMetricDataResult = exports.GetLoadBalancerMetricDataRequest = exports.LoadBalancerMetricName = exports.GetLoadBalancerResult = exports.LoadBalancer = exports.LoadBalancerTlsCertificateSummary = exports.LoadBalancerState = exports.LoadBalancerProtocol = exports.InstanceHealthSummary = exports.InstanceHealthReason = exports.InstanceHealthState = exports.LoadBalancerAttributeName = exports.GetLoadBalancerRequest = exports.GetKeyPairsResult = exports.GetKeyPairsRequest = exports.GetKeyPairResult = exports.GetKeyPairRequest = exports.GetInstanceStateResult = exports.GetInstanceStateRequest = exports.GetInstanceSnapshotsResult = exports.GetInstanceSnapshotsRequest = exports.GetInstanceSnapshotResult = exports.InstanceSnapshot = exports.InstanceSnapshotState = exports.GetInstanceSnapshotRequest = exports.GetInstancesResult = exports.GetInstancesRequest = exports.GetInstancePortStatesResult = exports.InstancePortState = exports.PortState = exports.GetInstancePortStatesRequest = exports.GetInstanceMetricDataResult = exports.GetInstanceMetricDataRequest = exports.InstanceMetricName = exports.GetInstanceAccessDetailsResult = exports.InstanceAccessDetails = exports.PasswordData = exports.HostKeyAttributes = exports.GetInstanceAccessDetailsRequest = exports.InstanceAccessProtocol = exports.GetInstanceResult = exports.Instance = exports.InstanceState = exports.InstanceNetworking = exports.InstancePortInfo = exports.PortAccessType = exports.MonthlyTransfer = void 0;
|
|
4
|
+
exports.GetRelationalDatabaseParametersResult = exports.RelationalDatabaseParameter = exports.GetRelationalDatabaseParametersRequest = exports.GetRelationalDatabaseMetricDataResult = exports.GetRelationalDatabaseMetricDataRequest = exports.RelationalDatabaseMetricName = exports.GetRelationalDatabaseMasterUserPasswordResult = exports.GetRelationalDatabaseMasterUserPasswordRequest = exports.RelationalDatabasePasswordVersion = exports.GetRelationalDatabaseLogStreamsResult = exports.GetRelationalDatabaseLogStreamsRequest = exports.GetRelationalDatabaseLogEventsResult = exports.LogEvent = exports.GetRelationalDatabaseLogEventsRequest = exports.GetRelationalDatabaseEventsResult = exports.RelationalDatabaseEvent = exports.GetRelationalDatabaseEventsRequest = exports.GetRelationalDatabaseBundlesResult = exports.RelationalDatabaseBundle = exports.GetRelationalDatabaseBundlesRequest = exports.GetRelationalDatabaseBlueprintsResult = exports.RelationalDatabaseBlueprint = exports.RelationalDatabaseEngine = exports.GetRelationalDatabaseBlueprintsRequest = exports.GetRelationalDatabaseResult = exports.RelationalDatabase = exports.PendingModifiedRelationalDatabaseValues = exports.PendingMaintenanceAction = exports.RelationalDatabaseEndpoint = exports.RelationalDatabaseHardware = exports.GetRelationalDatabaseRequest = exports.GetRegionsResult = exports.Region = exports.GetRegionsRequest = exports.GetOperationsForResourceResult = exports.GetOperationsForResourceRequest = exports.GetOperationsResult = exports.GetOperationsRequest = exports.GetOperationResult = exports.GetOperationRequest = exports.GetLoadBalancerTlsCertificatesResult = exports.LoadBalancerTlsCertificate = exports.LoadBalancerTlsCertificateStatus = exports.LoadBalancerTlsCertificateRevocationReason = exports.LoadBalancerTlsCertificateRenewalSummary = exports.LoadBalancerTlsCertificateRenewalStatus = exports.LoadBalancerTlsCertificateDomainValidationOption = exports.LoadBalancerTlsCertificateFailureReason = exports.LoadBalancerTlsCertificateDomainValidationRecord = exports.LoadBalancerTlsCertificateDomainStatus = void 0;
|
|
5
|
+
exports.TagResourceRequest = exports.StopRelationalDatabaseResult = exports.StopRelationalDatabaseRequest = exports.StopInstanceResult = exports.StopInstanceRequest = exports.StartRelationalDatabaseResult = exports.StartRelationalDatabaseRequest = exports.StartInstanceResult = exports.StartInstanceRequest = exports.SetResourceAccessForBucketResult = exports.SetResourceAccessForBucketRequest = exports.ResourceBucketAccess = exports.SetIpAddressTypeResult = exports.SetIpAddressTypeRequest = exports.SendContactMethodVerificationResult = exports.SendContactMethodVerificationRequest = exports.ResetDistributionCacheResult = exports.ResetDistributionCacheRequest = exports.ReleaseStaticIpResult = exports.ReleaseStaticIpRequest = exports.RegisterContainerImageResult = exports.RegisterContainerImageRequest = exports.RebootRelationalDatabaseResult = exports.RebootRelationalDatabaseRequest = exports.RebootInstanceResult = exports.RebootInstanceRequest = exports.PutInstancePublicPortsResult = exports.PutInstancePublicPortsRequest = exports.PutAlarmResult = exports.PutAlarmRequest = exports.PeerVpcResult = exports.PeerVpcRequest = exports.OpenInstancePublicPortsResult = exports.OpenInstancePublicPortsRequest = exports.IsVpcPeeredResult = exports.IsVpcPeeredRequest = exports.ImportKeyPairResult = exports.ImportKeyPairRequest = exports.GetStaticIpsResult = exports.GetStaticIpsRequest = exports.GetStaticIpResult = exports.StaticIp = exports.GetStaticIpRequest = exports.GetRelationalDatabaseSnapshotsResult = exports.GetRelationalDatabaseSnapshotsRequest = exports.GetRelationalDatabaseSnapshotResult = exports.RelationalDatabaseSnapshot = exports.GetRelationalDatabaseSnapshotRequest = exports.GetRelationalDatabasesResult = exports.GetRelationalDatabasesRequest = void 0;
|
|
6
|
+
exports.UpdateRelationalDatabaseParametersResult = exports.UpdateRelationalDatabaseParametersRequest = exports.UpdateRelationalDatabaseResult = exports.UpdateRelationalDatabaseRequest = exports.UpdateLoadBalancerAttributeResult = exports.UpdateLoadBalancerAttributeRequest = exports.UpdateDomainEntryResult = exports.UpdateDomainEntryRequest = exports.UpdateDistributionBundleResult = exports.UpdateDistributionBundleRequest = exports.UpdateDistributionResult = exports.UpdateDistributionRequest = exports.UpdateContainerServiceResult = exports.UpdateContainerServiceRequest = exports.UpdateBucketBundleResult = exports.UpdateBucketBundleRequest = exports.UpdateBucketResult = exports.UpdateBucketRequest = exports.UntagResourceResult = exports.UntagResourceRequest = exports.UnpeerVpcResult = exports.UnpeerVpcRequest = exports.TestAlarmResult = exports.TestAlarmRequest = exports.TagResourceResult = void 0;
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
+
var MonthlyTransfer;
|
|
9
|
+
(function (MonthlyTransfer) {
|
|
10
|
+
MonthlyTransfer.filterSensitiveLog = (obj) => ({
|
|
11
|
+
...obj,
|
|
12
|
+
});
|
|
13
|
+
})(MonthlyTransfer = exports.MonthlyTransfer || (exports.MonthlyTransfer = {}));
|
|
14
|
+
var PortAccessType;
|
|
15
|
+
(function (PortAccessType) {
|
|
16
|
+
PortAccessType["Private"] = "Private";
|
|
17
|
+
PortAccessType["Public"] = "Public";
|
|
18
|
+
})(PortAccessType = exports.PortAccessType || (exports.PortAccessType = {}));
|
|
19
|
+
var InstancePortInfo;
|
|
20
|
+
(function (InstancePortInfo) {
|
|
21
|
+
InstancePortInfo.filterSensitiveLog = (obj) => ({
|
|
22
|
+
...obj,
|
|
23
|
+
});
|
|
24
|
+
})(InstancePortInfo = exports.InstancePortInfo || (exports.InstancePortInfo = {}));
|
|
8
25
|
var InstanceNetworking;
|
|
9
26
|
(function (InstanceNetworking) {
|
|
10
27
|
InstanceNetworking.filterSensitiveLog = (obj) => ({
|
|
@@ -11379,6 +11379,16 @@ const deserializeAws_json1_1AccessRules = (output, context) => {
|
|
|
11379
11379
|
getObject: (0, smithy_client_1.expectString)(output.getObject),
|
|
11380
11380
|
};
|
|
11381
11381
|
};
|
|
11382
|
+
const deserializeAws_json1_1AccountLevelBpaSync = (output, context) => {
|
|
11383
|
+
return {
|
|
11384
|
+
bpaImpactsLightsail: (0, smithy_client_1.expectBoolean)(output.bpaImpactsLightsail),
|
|
11385
|
+
lastSyncedAt: output.lastSyncedAt !== undefined && output.lastSyncedAt !== null
|
|
11386
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastSyncedAt)))
|
|
11387
|
+
: undefined,
|
|
11388
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
11389
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
11390
|
+
};
|
|
11391
|
+
};
|
|
11382
11392
|
const deserializeAws_json1_1AccountSetupInProgressException = (output, context) => {
|
|
11383
11393
|
return {
|
|
11384
11394
|
code: (0, smithy_client_1.expectString)(output.code),
|
|
@@ -12860,6 +12870,9 @@ const deserializeAws_json1_1GetBucketMetricDataResult = (output, context) => {
|
|
|
12860
12870
|
};
|
|
12861
12871
|
const deserializeAws_json1_1GetBucketsResult = (output, context) => {
|
|
12862
12872
|
return {
|
|
12873
|
+
accountLevelBpaSync: output.accountLevelBpaSync !== undefined && output.accountLevelBpaSync !== null
|
|
12874
|
+
? deserializeAws_json1_1AccountLevelBpaSync(output.accountLevelBpaSync, context)
|
|
12875
|
+
: undefined,
|
|
12863
12876
|
buckets: output.buckets !== undefined && output.buckets !== null
|
|
12864
12877
|
? deserializeAws_json1_1BucketList(output.buckets, context)
|
|
12865
12878
|
: undefined,
|
|
@@ -47,6 +47,24 @@ export var AccessRules;
|
|
|
47
47
|
(function (AccessRules) {
|
|
48
48
|
AccessRules.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
49
49
|
})(AccessRules || (AccessRules = {}));
|
|
50
|
+
export var BPAStatusMessage;
|
|
51
|
+
(function (BPAStatusMessage) {
|
|
52
|
+
BPAStatusMessage["DEFAULTED_FOR_SLR_MISSING"] = "DEFAULTED_FOR_SLR_MISSING";
|
|
53
|
+
BPAStatusMessage["DEFAULTED_FOR_SLR_MISSING_ON_HOLD"] = "DEFAULTED_FOR_SLR_MISSING_ON_HOLD";
|
|
54
|
+
BPAStatusMessage["SYNC_ON_HOLD"] = "SYNC_ON_HOLD";
|
|
55
|
+
BPAStatusMessage["Unknown"] = "Unknown";
|
|
56
|
+
})(BPAStatusMessage || (BPAStatusMessage = {}));
|
|
57
|
+
export var AccountLevelBpaSyncStatus;
|
|
58
|
+
(function (AccountLevelBpaSyncStatus) {
|
|
59
|
+
AccountLevelBpaSyncStatus["Defaulted"] = "Defaulted";
|
|
60
|
+
AccountLevelBpaSyncStatus["Failed"] = "Failed";
|
|
61
|
+
AccountLevelBpaSyncStatus["InSync"] = "InSync";
|
|
62
|
+
AccountLevelBpaSyncStatus["NeverSynced"] = "NeverSynced";
|
|
63
|
+
})(AccountLevelBpaSyncStatus || (AccountLevelBpaSyncStatus = {}));
|
|
64
|
+
export var AccountLevelBpaSync;
|
|
65
|
+
(function (AccountLevelBpaSync) {
|
|
66
|
+
AccountLevelBpaSync.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
67
|
+
})(AccountLevelBpaSync || (AccountLevelBpaSync = {}));
|
|
50
68
|
var AccountSetupInProgressException = (function (_super) {
|
|
51
69
|
__extends(AccountSetupInProgressException, _super);
|
|
52
70
|
function AccountSetupInProgressException(opts) {
|
|
@@ -1530,16 +1548,3 @@ export var InstanceHardware;
|
|
|
1530
1548
|
(function (InstanceHardware) {
|
|
1531
1549
|
InstanceHardware.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1532
1550
|
})(InstanceHardware || (InstanceHardware = {}));
|
|
1533
|
-
export var MonthlyTransfer;
|
|
1534
|
-
(function (MonthlyTransfer) {
|
|
1535
|
-
MonthlyTransfer.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1536
|
-
})(MonthlyTransfer || (MonthlyTransfer = {}));
|
|
1537
|
-
export var PortAccessType;
|
|
1538
|
-
(function (PortAccessType) {
|
|
1539
|
-
PortAccessType["Private"] = "Private";
|
|
1540
|
-
PortAccessType["Public"] = "Public";
|
|
1541
|
-
})(PortAccessType || (PortAccessType = {}));
|
|
1542
|
-
export var InstancePortInfo;
|
|
1543
|
-
(function (InstancePortInfo) {
|
|
1544
|
-
InstancePortInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1545
|
-
})(InstancePortInfo || (InstancePortInfo = {}));
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
export var MonthlyTransfer;
|
|
4
|
+
(function (MonthlyTransfer) {
|
|
5
|
+
MonthlyTransfer.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
+
})(MonthlyTransfer || (MonthlyTransfer = {}));
|
|
7
|
+
export var PortAccessType;
|
|
8
|
+
(function (PortAccessType) {
|
|
9
|
+
PortAccessType["Private"] = "Private";
|
|
10
|
+
PortAccessType["Public"] = "Public";
|
|
11
|
+
})(PortAccessType || (PortAccessType = {}));
|
|
12
|
+
export var InstancePortInfo;
|
|
13
|
+
(function (InstancePortInfo) {
|
|
14
|
+
InstancePortInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
15
|
+
})(InstancePortInfo || (InstancePortInfo = {}));
|
|
3
16
|
export var InstanceNetworking;
|
|
4
17
|
(function (InstanceNetworking) {
|
|
5
18
|
InstanceNetworking.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -13876,6 +13876,16 @@ var deserializeAws_json1_1AccessRules = function (output, context) {
|
|
|
13876
13876
|
getObject: __expectString(output.getObject),
|
|
13877
13877
|
};
|
|
13878
13878
|
};
|
|
13879
|
+
var deserializeAws_json1_1AccountLevelBpaSync = function (output, context) {
|
|
13880
|
+
return {
|
|
13881
|
+
bpaImpactsLightsail: __expectBoolean(output.bpaImpactsLightsail),
|
|
13882
|
+
lastSyncedAt: output.lastSyncedAt !== undefined && output.lastSyncedAt !== null
|
|
13883
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastSyncedAt)))
|
|
13884
|
+
: undefined,
|
|
13885
|
+
message: __expectString(output.message),
|
|
13886
|
+
status: __expectString(output.status),
|
|
13887
|
+
};
|
|
13888
|
+
};
|
|
13879
13889
|
var deserializeAws_json1_1AccountSetupInProgressException = function (output, context) {
|
|
13880
13890
|
return {
|
|
13881
13891
|
code: __expectString(output.code),
|
|
@@ -15352,6 +15362,9 @@ var deserializeAws_json1_1GetBucketMetricDataResult = function (output, context)
|
|
|
15352
15362
|
};
|
|
15353
15363
|
var deserializeAws_json1_1GetBucketsResult = function (output, context) {
|
|
15354
15364
|
return {
|
|
15365
|
+
accountLevelBpaSync: output.accountLevelBpaSync !== undefined && output.accountLevelBpaSync !== null
|
|
15366
|
+
? deserializeAws_json1_1AccountLevelBpaSync(output.accountLevelBpaSync, context)
|
|
15367
|
+
: undefined,
|
|
15355
15368
|
buckets: output.buckets !== undefined && output.buckets !== null
|
|
15356
15369
|
? deserializeAws_json1_1BucketList(output.buckets, context)
|
|
15357
15370
|
: undefined,
|
|
@@ -350,7 +350,8 @@ export declare class Lightsail extends LightsailClient {
|
|
|
350
350
|
* configuration.</p>
|
|
351
351
|
*
|
|
352
352
|
* <p>You can deploy containers to your container service using container images from a public
|
|
353
|
-
* registry
|
|
353
|
+
* registry such as Amazon ECR Public, or from your local machine. For more information, see
|
|
354
|
+
* <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-container-images">Creating container images for your Amazon Lightsail container services</a> in the
|
|
354
355
|
* <i>Amazon Lightsail Developer Guide</i>.</p>
|
|
355
356
|
*/
|
|
356
357
|
createContainerServiceDeployment(args: CreateContainerServiceDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<CreateContainerServiceDeploymentCommandOutput>;
|
|
@@ -913,10 +914,12 @@ export declare class Lightsail extends LightsailClient {
|
|
|
913
914
|
getBucketMetricData(args: GetBucketMetricDataCommandInput, cb: (err: any, data?: GetBucketMetricDataCommandOutput) => void): void;
|
|
914
915
|
getBucketMetricData(args: GetBucketMetricDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketMetricDataCommandOutput) => void): void;
|
|
915
916
|
/**
|
|
916
|
-
* <p>Returns information about one or more Amazon Lightsail buckets
|
|
917
|
+
* <p>Returns information about one or more Amazon Lightsail buckets. The information returned
|
|
918
|
+
* includes the synchronization status of the Amazon Simple Storage Service (Amazon S3)
|
|
919
|
+
* account-level block public access feature for your Lightsail buckets.</p>
|
|
917
920
|
*
|
|
918
921
|
* <p>For more information about buckets, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/buckets-in-amazon-lightsail">Buckets in Amazon Lightsail</a> in the <i>Amazon Lightsail Developer
|
|
919
|
-
* Guide</i
|
|
922
|
+
* Guide</i>.</p>
|
|
920
923
|
*/
|
|
921
924
|
getBuckets(args: GetBucketsCommandInput, options?: __HttpHandlerOptions): Promise<GetBucketsCommandOutput>;
|
|
922
925
|
getBuckets(args: GetBucketsCommandInput, cb: (err: any, data?: GetBucketsCommandOutput) => void): void;
|
|
@@ -1068,7 +1071,7 @@ export declare class Lightsail extends LightsailClient {
|
|
|
1068
1071
|
* <p>Returns the bundles that can be applied to your Amazon Lightsail content delivery network
|
|
1069
1072
|
* (CDN) distributions.</p>
|
|
1070
1073
|
* <p>A distribution bundle specifies the monthly network transfer quota and monthly cost of
|
|
1071
|
-
* your
|
|
1074
|
+
* your distribution.</p>
|
|
1072
1075
|
*/
|
|
1073
1076
|
getDistributionBundles(args: GetDistributionBundlesCommandInput, options?: __HttpHandlerOptions): Promise<GetDistributionBundlesCommandOutput>;
|
|
1074
1077
|
getDistributionBundles(args: GetDistributionBundlesCommandInput, cb: (err: any, data?: GetDistributionBundlesCommandOutput) => void): void;
|
|
@@ -1629,7 +1632,7 @@ export declare class Lightsail extends LightsailClient {
|
|
|
1629
1632
|
* <p>Updates the bundle of your Amazon Lightsail content delivery network (CDN)
|
|
1630
1633
|
* distribution.</p>
|
|
1631
1634
|
* <p>A distribution bundle specifies the monthly network transfer quota and monthly cost of
|
|
1632
|
-
* your
|
|
1635
|
+
* your distribution.</p>
|
|
1633
1636
|
* <p>Update your distribution's bundle if your distribution is going over its monthly network
|
|
1634
1637
|
* transfer quota and is incurring an overage fee.</p>
|
|
1635
1638
|
* <p>You can update your distribution's bundle only one time within your monthly AWS billing
|
|
@@ -16,7 +16,8 @@ export interface CreateContainerServiceDeploymentCommandOutput extends CreateCon
|
|
|
16
16
|
* configuration.</p>
|
|
17
17
|
*
|
|
18
18
|
* <p>You can deploy containers to your container service using container images from a public
|
|
19
|
-
* registry
|
|
19
|
+
* registry such as Amazon ECR Public, or from your local machine. For more information, see
|
|
20
|
+
* <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-container-images">Creating container images for your Amazon Lightsail container services</a> in the
|
|
20
21
|
* <i>Amazon Lightsail Developer Guide</i>.</p>
|
|
21
22
|
* @example
|
|
22
23
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,10 +7,12 @@ export interface GetBucketsCommandInput extends GetBucketsRequest {
|
|
|
7
7
|
export interface GetBucketsCommandOutput extends GetBucketsResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns information about one or more Amazon Lightsail buckets
|
|
10
|
+
* <p>Returns information about one or more Amazon Lightsail buckets. The information returned
|
|
11
|
+
* includes the synchronization status of the Amazon Simple Storage Service (Amazon S3)
|
|
12
|
+
* account-level block public access feature for your Lightsail buckets.</p>
|
|
11
13
|
*
|
|
12
14
|
* <p>For more information about buckets, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/buckets-in-amazon-lightsail">Buckets in Amazon Lightsail</a> in the <i>Amazon Lightsail Developer
|
|
13
|
-
* Guide</i
|
|
15
|
+
* Guide</i>.</p>
|
|
14
16
|
* @example
|
|
15
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
18
|
* ```javascript
|
|
@@ -10,7 +10,7 @@ export interface GetDistributionBundlesCommandOutput extends GetDistributionBund
|
|
|
10
10
|
* <p>Returns the bundles that can be applied to your Amazon Lightsail content delivery network
|
|
11
11
|
* (CDN) distributions.</p>
|
|
12
12
|
* <p>A distribution bundle specifies the monthly network transfer quota and monthly cost of
|
|
13
|
-
* your
|
|
13
|
+
* your distribution.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -10,7 +10,7 @@ export interface UpdateDistributionBundleCommandOutput extends UpdateDistributio
|
|
|
10
10
|
* <p>Updates the bundle of your Amazon Lightsail content delivery network (CDN)
|
|
11
11
|
* distribution.</p>
|
|
12
12
|
* <p>A distribution bundle specifies the monthly network transfer quota and monthly cost of
|
|
13
|
-
* your
|
|
13
|
+
* your distribution.</p>
|
|
14
14
|
* <p>Update your distribution's bundle if your distribution is going over its monthly network
|
|
15
15
|
* transfer quota and is incurring an overage fee.</p>
|
|
16
16
|
* <p>You can update your distribution's bundle only one time within your monthly AWS billing
|
|
@@ -187,6 +187,124 @@ export declare namespace AccessRules {
|
|
|
187
187
|
*/
|
|
188
188
|
const filterSensitiveLog: (obj: AccessRules) => any;
|
|
189
189
|
}
|
|
190
|
+
export declare enum BPAStatusMessage {
|
|
191
|
+
DEFAULTED_FOR_SLR_MISSING = "DEFAULTED_FOR_SLR_MISSING",
|
|
192
|
+
DEFAULTED_FOR_SLR_MISSING_ON_HOLD = "DEFAULTED_FOR_SLR_MISSING_ON_HOLD",
|
|
193
|
+
SYNC_ON_HOLD = "SYNC_ON_HOLD",
|
|
194
|
+
Unknown = "Unknown"
|
|
195
|
+
}
|
|
196
|
+
export declare enum AccountLevelBpaSyncStatus {
|
|
197
|
+
Defaulted = "Defaulted",
|
|
198
|
+
Failed = "Failed",
|
|
199
|
+
InSync = "InSync",
|
|
200
|
+
NeverSynced = "NeverSynced"
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* <p>Describes the synchronization status of the Amazon Simple Storage Service (Amazon S3)
|
|
204
|
+
* account-level block public access (BPA) feature for your Lightsail buckets.</p>
|
|
205
|
+
*
|
|
206
|
+
* <p>The account-level BPA feature of Amazon S3 provides centralized controls to limit
|
|
207
|
+
* public access to all Amazon S3 buckets in an account. BPA can make all Amazon S3 buckets in an Amazon Web Services account private regardless of the individual bucket and
|
|
208
|
+
* object permissions that are configured. Lightsail buckets take into account the
|
|
209
|
+
* Amazon S3 account-level BPA configuration when allowing or denying public access. To
|
|
210
|
+
* do this, Lightsail periodically fetches the account-level BPA configuration
|
|
211
|
+
* from Amazon S3. When the account-level BPA status is <code>InSync</code>, the Amazon S3 account-level BPA configuration is synchronized and it applies to your Lightsail
|
|
212
|
+
* buckets. For more information about Amazon Simple Storage Service account-level BPA and how it affects
|
|
213
|
+
* Lightsail buckets, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-block-public-access-for-buckets">Block public access for buckets in Amazon Lightsail</a> in the
|
|
214
|
+
* <i>Amazon Lightsail Developer Guide</i>.</p>
|
|
215
|
+
*/
|
|
216
|
+
export interface AccountLevelBpaSync {
|
|
217
|
+
/**
|
|
218
|
+
* <p>The status of the account-level BPA synchronization.</p>
|
|
219
|
+
*
|
|
220
|
+
* <p>The following statuses are possible:</p>
|
|
221
|
+
* <ul>
|
|
222
|
+
* <li>
|
|
223
|
+
* <p>
|
|
224
|
+
* <code>InSync</code> - Account-level BPA is synchronized. The Amazon S3
|
|
225
|
+
* account-level BPA configuration applies to your Lightsail buckets.</p>
|
|
226
|
+
* </li>
|
|
227
|
+
* <li>
|
|
228
|
+
* <p>
|
|
229
|
+
* <code>NeverSynced</code> - Synchronization has not yet happened. The Amazon S3
|
|
230
|
+
* account-level BPA configuration does not apply to your Lightsail buckets.</p>
|
|
231
|
+
* </li>
|
|
232
|
+
* <li>
|
|
233
|
+
* <p>
|
|
234
|
+
* <code>Failed</code> - Synchronization failed. The Amazon S3 account-level BPA
|
|
235
|
+
* configuration does not apply to your Lightsail buckets.</p>
|
|
236
|
+
* </li>
|
|
237
|
+
* <li>
|
|
238
|
+
* <p>
|
|
239
|
+
* <code>Defaulted</code> - Synchronization failed and account-level BPA for your
|
|
240
|
+
* Lightsail buckets is defaulted to <i>active</i>.</p>
|
|
241
|
+
* </li>
|
|
242
|
+
* </ul>
|
|
243
|
+
* <note>
|
|
244
|
+
* <p>You might need to complete further actions if the status is <code>Failed</code> or
|
|
245
|
+
* <code>Defaulted</code>. The <code>message</code> parameter provides more information for
|
|
246
|
+
* those statuses.</p>
|
|
247
|
+
* </note>
|
|
248
|
+
*/
|
|
249
|
+
status?: AccountLevelBpaSyncStatus | string;
|
|
250
|
+
/**
|
|
251
|
+
* <p>The timestamp of when the account-level BPA configuration was last synchronized. This
|
|
252
|
+
* value is null when the account-level BPA configuration has not been synchronized.</p>
|
|
253
|
+
*/
|
|
254
|
+
lastSyncedAt?: Date;
|
|
255
|
+
/**
|
|
256
|
+
* <p>A message that provides a reason for a <code>Failed</code> or <code>Defaulted</code>
|
|
257
|
+
* synchronization status.</p>
|
|
258
|
+
*
|
|
259
|
+
* <p>The following messages are possible:</p>
|
|
260
|
+
* <ul>
|
|
261
|
+
* <li>
|
|
262
|
+
* <p>
|
|
263
|
+
* <code>SYNC_ON_HOLD</code> - The synchronization has not yet happened. This status
|
|
264
|
+
* message occurs immediately after you create your first Lightsail bucket. This status
|
|
265
|
+
* message should change after the first synchronization happens, approximately 1 hour after
|
|
266
|
+
* the first bucket is created.</p>
|
|
267
|
+
* </li>
|
|
268
|
+
* <li>
|
|
269
|
+
* <p>
|
|
270
|
+
* <code>DEFAULTED_FOR_SLR_MISSING</code> - The synchronization failed because the
|
|
271
|
+
* required service-linked role is missing from your Amazon Web Services account. The
|
|
272
|
+
* account-level BPA configuration for your Lightsail buckets is defaulted to
|
|
273
|
+
* <i>active</i> until the synchronization can occur. This means that all
|
|
274
|
+
* your buckets are private and not publicly accessible. For more information about how to
|
|
275
|
+
* create the required service-linked role to allow synchronization, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-using-service-linked-roles">Using Service-Linked Roles for Amazon Lightsail</a> in the
|
|
276
|
+
* <i>Amazon Lightsail Developer Guide</i>.</p>
|
|
277
|
+
* </li>
|
|
278
|
+
* <li>
|
|
279
|
+
* <p>
|
|
280
|
+
* <code>DEFAULTED_FOR_SLR_MISSING_ON_HOLD</code> - The synchronization failed because
|
|
281
|
+
* the required service-linked role is missing from your Amazon Web Services account.
|
|
282
|
+
* Account-level BPA is not yet configured for your Lightsail buckets. Therefore, only the
|
|
283
|
+
* bucket access permissions and individual object access permissions apply to your
|
|
284
|
+
* Lightsail buckets. For more information about how to create the required service-linked
|
|
285
|
+
* role to allow synchronization, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-using-service-linked-roles">Using Service-Linked Roles for Amazon Lightsail</a> in the
|
|
286
|
+
* <i>Amazon Lightsail Developer Guide</i>.</p>
|
|
287
|
+
* </li>
|
|
288
|
+
* <li>
|
|
289
|
+
* <p>
|
|
290
|
+
* <code>Unknown</code> - The reason that synchronization failed is unknown. Contact
|
|
291
|
+
* Amazon Web Services Support for more information.</p>
|
|
292
|
+
* </li>
|
|
293
|
+
* </ul>
|
|
294
|
+
*/
|
|
295
|
+
message?: BPAStatusMessage | string;
|
|
296
|
+
/**
|
|
297
|
+
* <p>A Boolean value that indicates whether account-level block public access is affecting your
|
|
298
|
+
* Lightsail buckets.</p>
|
|
299
|
+
*/
|
|
300
|
+
bpaImpactsLightsail?: boolean;
|
|
301
|
+
}
|
|
302
|
+
export declare namespace AccountLevelBpaSync {
|
|
303
|
+
/**
|
|
304
|
+
* @internal
|
|
305
|
+
*/
|
|
306
|
+
const filterSensitiveLog: (obj: AccountLevelBpaSync) => any;
|
|
307
|
+
}
|
|
190
308
|
/**
|
|
191
309
|
* <p>Lightsail throws this exception when an account is still in the setup in progress
|
|
192
310
|
* state.</p>
|
|
@@ -1270,8 +1388,9 @@ export interface BucketAccessLogConfig {
|
|
|
1270
1388
|
*/
|
|
1271
1389
|
enabled: boolean | undefined;
|
|
1272
1390
|
/**
|
|
1273
|
-
* <p>The name of the bucket where the access
|
|
1274
|
-
* bucket in the same account, and in the same AWS Region as the source
|
|
1391
|
+
* <p>The name of the bucket where the access logs are saved. The destination can be a
|
|
1392
|
+
* Lightsail bucket in the same account, and in the same AWS Region as the source
|
|
1393
|
+
* bucket.</p>
|
|
1275
1394
|
* <note>
|
|
1276
1395
|
* <p>This parameter is required when enabling the access log for a bucket, and should be
|
|
1277
1396
|
* omitted when disabling the access log.</p>
|
|
@@ -6981,6 +7100,13 @@ export interface GetBucketsResult {
|
|
|
6981
7100
|
* specify the next page token using the <code>pageToken</code> parameter.</p>
|
|
6982
7101
|
*/
|
|
6983
7102
|
nextPageToken?: string;
|
|
7103
|
+
/**
|
|
7104
|
+
* <p>An object that describes the synchronization status of the Amazon S3 account-level
|
|
7105
|
+
* block public access feature for your Lightsail buckets.</p>
|
|
7106
|
+
*
|
|
7107
|
+
* <p>For more information about this feature and how it affects Lightsail buckets, see <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-block-public-access-for-buckets">Block public access for buckets in Amazon Lightsail</a>.</p>
|
|
7108
|
+
*/
|
|
7109
|
+
accountLevelBpaSync?: AccountLevelBpaSync;
|
|
6984
7110
|
}
|
|
6985
7111
|
export declare namespace GetBucketsResult {
|
|
6986
7112
|
/**
|
|
@@ -7987,166 +8113,3 @@ export declare namespace InstanceHardware {
|
|
|
7987
8113
|
*/
|
|
7988
8114
|
const filterSensitiveLog: (obj: InstanceHardware) => any;
|
|
7989
8115
|
}
|
|
7990
|
-
/**
|
|
7991
|
-
* <p>Describes the monthly data transfer in and out of your virtual private server (or
|
|
7992
|
-
* <i>instance</i>).</p>
|
|
7993
|
-
*/
|
|
7994
|
-
export interface MonthlyTransfer {
|
|
7995
|
-
/**
|
|
7996
|
-
* <p>The amount allocated per month (in GB).</p>
|
|
7997
|
-
*/
|
|
7998
|
-
gbPerMonthAllocated?: number;
|
|
7999
|
-
}
|
|
8000
|
-
export declare namespace MonthlyTransfer {
|
|
8001
|
-
/**
|
|
8002
|
-
* @internal
|
|
8003
|
-
*/
|
|
8004
|
-
const filterSensitiveLog: (obj: MonthlyTransfer) => any;
|
|
8005
|
-
}
|
|
8006
|
-
export declare enum PortAccessType {
|
|
8007
|
-
Private = "Private",
|
|
8008
|
-
Public = "Public"
|
|
8009
|
-
}
|
|
8010
|
-
/**
|
|
8011
|
-
* <p>Describes information about ports for an Amazon Lightsail instance.</p>
|
|
8012
|
-
*/
|
|
8013
|
-
export interface InstancePortInfo {
|
|
8014
|
-
/**
|
|
8015
|
-
* <p>The first port in a range of open ports on an instance.</p>
|
|
8016
|
-
* <p>Allowed ports:</p>
|
|
8017
|
-
* <ul>
|
|
8018
|
-
* <li>
|
|
8019
|
-
* <p>TCP and UDP - <code>0</code> to <code>65535</code>
|
|
8020
|
-
* </p>
|
|
8021
|
-
* </li>
|
|
8022
|
-
* <li>
|
|
8023
|
-
* <p>ICMP - The ICMP type for IPv4 addresses. For example, specify <code>8</code> as the
|
|
8024
|
-
* <code>fromPort</code> (ICMP type), and <code>-1</code> as the <code>toPort</code> (ICMP
|
|
8025
|
-
* code), to enable ICMP Ping. For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages">Control Messages</a> on <i>Wikipedia</i>.</p>
|
|
8026
|
-
* </li>
|
|
8027
|
-
* <li>
|
|
8028
|
-
* <p>ICMPv6 - The ICMP type for IPv6 addresses. For example, specify <code>128</code> as
|
|
8029
|
-
* the <code>fromPort</code> (ICMPv6 type), and <code>0</code> as <code>toPort</code> (ICMPv6
|
|
8030
|
-
* code). For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_for_IPv6">Internet
|
|
8031
|
-
* Control Message Protocol for IPv6</a>.</p>
|
|
8032
|
-
* </li>
|
|
8033
|
-
* </ul>
|
|
8034
|
-
*/
|
|
8035
|
-
fromPort?: number;
|
|
8036
|
-
/**
|
|
8037
|
-
* <p>The last port in a range of open ports on an instance.</p>
|
|
8038
|
-
* <p>Allowed ports:</p>
|
|
8039
|
-
* <ul>
|
|
8040
|
-
* <li>
|
|
8041
|
-
* <p>TCP and UDP - <code>0</code> to <code>65535</code>
|
|
8042
|
-
* </p>
|
|
8043
|
-
* </li>
|
|
8044
|
-
* <li>
|
|
8045
|
-
* <p>ICMP - The ICMP code for IPv4 addresses. For example, specify <code>8</code> as the
|
|
8046
|
-
* <code>fromPort</code> (ICMP type), and <code>-1</code> as the <code>toPort</code> (ICMP
|
|
8047
|
-
* code), to enable ICMP Ping. For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages">Control Messages</a> on <i>Wikipedia</i>.</p>
|
|
8048
|
-
* </li>
|
|
8049
|
-
* <li>
|
|
8050
|
-
* <p>ICMPv6 - The ICMP code for IPv6 addresses. For example, specify <code>128</code> as
|
|
8051
|
-
* the <code>fromPort</code> (ICMPv6 type), and <code>0</code> as <code>toPort</code> (ICMPv6
|
|
8052
|
-
* code). For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_for_IPv6">Internet
|
|
8053
|
-
* Control Message Protocol for IPv6</a>.</p>
|
|
8054
|
-
* </li>
|
|
8055
|
-
* </ul>
|
|
8056
|
-
*/
|
|
8057
|
-
toPort?: number;
|
|
8058
|
-
/**
|
|
8059
|
-
* <p>The IP protocol name.</p>
|
|
8060
|
-
* <p>The name can be one of the following:</p>
|
|
8061
|
-
* <ul>
|
|
8062
|
-
* <li>
|
|
8063
|
-
* <p>
|
|
8064
|
-
* <code>tcp</code> - Transmission Control Protocol (TCP) provides reliable, ordered, and
|
|
8065
|
-
* error-checked delivery of streamed data between applications running on hosts
|
|
8066
|
-
* communicating by an IP network. If you have an application that doesn't require reliable
|
|
8067
|
-
* data stream service, use UDP instead.</p>
|
|
8068
|
-
* </li>
|
|
8069
|
-
* <li>
|
|
8070
|
-
* <p>
|
|
8071
|
-
* <code>all</code> - All transport layer protocol types. For more general information,
|
|
8072
|
-
* see <a href="https://en.wikipedia.org/wiki/Transport_layer">Transport layer</a> on
|
|
8073
|
-
* <i>Wikipedia</i>.</p>
|
|
8074
|
-
* </li>
|
|
8075
|
-
* <li>
|
|
8076
|
-
* <p>
|
|
8077
|
-
* <code>udp</code> - With User Datagram Protocol (UDP), computer applications can send
|
|
8078
|
-
* messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior
|
|
8079
|
-
* communications are not required to set up transmission channels or data paths.
|
|
8080
|
-
* Applications that don't require reliable data stream service can use UDP, which provides a
|
|
8081
|
-
* connectionless datagram service that emphasizes reduced latency over reliability. If you
|
|
8082
|
-
* do require reliable data stream service, use TCP instead.</p>
|
|
8083
|
-
* </li>
|
|
8084
|
-
* <li>
|
|
8085
|
-
* <p>
|
|
8086
|
-
* <code>icmp</code> - Internet Control Message Protocol (ICMP) is used to send error
|
|
8087
|
-
* messages and operational information indicating success or failure when communicating with
|
|
8088
|
-
* an instance. For example, an error is indicated when an instance could not be reached.
|
|
8089
|
-
* When you specify <code>icmp</code> as the <code>protocol</code>, you must specify the ICMP
|
|
8090
|
-
* type using the <code>fromPort</code> parameter, and ICMP code using the
|
|
8091
|
-
* <code>toPort</code> parameter.</p>
|
|
8092
|
-
* </li>
|
|
8093
|
-
* </ul>
|
|
8094
|
-
*/
|
|
8095
|
-
protocol?: NetworkProtocol | string;
|
|
8096
|
-
/**
|
|
8097
|
-
* <p>The location from which access is allowed. For example, <code>Anywhere (0.0.0.0/0)</code>,
|
|
8098
|
-
* or <code>Custom</code> if a specific IP address or range of IP addresses is allowed.</p>
|
|
8099
|
-
*/
|
|
8100
|
-
accessFrom?: string;
|
|
8101
|
-
/**
|
|
8102
|
-
* <p>The type of access (<code>Public</code> or <code>Private</code>).</p>
|
|
8103
|
-
*/
|
|
8104
|
-
accessType?: PortAccessType | string;
|
|
8105
|
-
/**
|
|
8106
|
-
* <p>The common name of the port information.</p>
|
|
8107
|
-
*/
|
|
8108
|
-
commonName?: string;
|
|
8109
|
-
/**
|
|
8110
|
-
* <p>The access direction (<code>inbound</code> or <code>outbound</code>).</p>
|
|
8111
|
-
* <note>
|
|
8112
|
-
* <p>Lightsail currently supports only <code>inbound</code> access direction.</p>
|
|
8113
|
-
* </note>
|
|
8114
|
-
*/
|
|
8115
|
-
accessDirection?: AccessDirection | string;
|
|
8116
|
-
/**
|
|
8117
|
-
* <p>The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to
|
|
8118
|
-
* connect to an instance through the ports, and the protocol.</p>
|
|
8119
|
-
* <note>
|
|
8120
|
-
* <p>The <code>ipv6Cidrs</code> parameter lists the IPv6 addresses that are allowed to
|
|
8121
|
-
* connect to an instance.</p>
|
|
8122
|
-
* </note>
|
|
8123
|
-
* <p>For more information about CIDR block notation, see <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation">Classless
|
|
8124
|
-
* Inter-Domain Routing</a> on <i>Wikipedia</i>.</p>
|
|
8125
|
-
*/
|
|
8126
|
-
cidrs?: string[];
|
|
8127
|
-
/**
|
|
8128
|
-
* <p>The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to
|
|
8129
|
-
* connect to an instance through the ports, and the protocol. Only devices with an IPv6 address
|
|
8130
|
-
* can connect to an instance through IPv6; otherwise, IPv4 should be used.</p>
|
|
8131
|
-
* <note>
|
|
8132
|
-
* <p>The <code>cidrs</code> parameter lists the IPv4 addresses that are allowed to connect to
|
|
8133
|
-
* an instance.</p>
|
|
8134
|
-
* </note>
|
|
8135
|
-
* <p>For more information about CIDR block notation, see <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation">Classless
|
|
8136
|
-
* Inter-Domain Routing</a> on <i>Wikipedia</i>.</p>
|
|
8137
|
-
*/
|
|
8138
|
-
ipv6Cidrs?: string[];
|
|
8139
|
-
/**
|
|
8140
|
-
* <p>An alias that defines access for a preconfigured range of IP addresses.</p>
|
|
8141
|
-
* <p>The only alias currently supported is <code>lightsail-connect</code>, which allows IP
|
|
8142
|
-
* addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your
|
|
8143
|
-
* instance.</p>
|
|
8144
|
-
*/
|
|
8145
|
-
cidrListAliases?: string[];
|
|
8146
|
-
}
|
|
8147
|
-
export declare namespace InstancePortInfo {
|
|
8148
|
-
/**
|
|
8149
|
-
* @internal
|
|
8150
|
-
*/
|
|
8151
|
-
const filterSensitiveLog: (obj: InstancePortInfo) => any;
|
|
8152
|
-
}
|
|
@@ -1,4 +1,167 @@
|
|
|
1
|
-
import { AccessRules, AddOn, AlarmState, AvailabilityZone, Bucket, BucketAccessLogConfig, CacheBehavior, CacheBehaviorPerPath, CacheSettings, ComparisonOperator, ContactMethodVerificationProtocol, ContactProtocol, ContainerImage, ContainerService, ContainerServicePowerName, Disk, DomainEntry, InputOrigin, InstanceHardware,
|
|
1
|
+
import { AccessDirection, AccessRules, AddOn, AlarmState, AvailabilityZone, Bucket, BucketAccessLogConfig, CacheBehavior, CacheBehaviorPerPath, CacheSettings, ComparisonOperator, ContactMethodVerificationProtocol, ContactProtocol, ContainerImage, ContainerService, ContainerServicePowerName, Disk, DomainEntry, InputOrigin, InstanceHardware, IpAddressType, KeyPair, MetricDatapoint, MetricName, MetricStatistic, MetricUnit, NetworkProtocol, Operation, PortInfo, RegionName, ResourceLocation, ResourceType, Tag, TreatMissingData } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* <p>Describes the monthly data transfer in and out of your virtual private server (or
|
|
4
|
+
* <i>instance</i>).</p>
|
|
5
|
+
*/
|
|
6
|
+
export interface MonthlyTransfer {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The amount allocated per month (in GB).</p>
|
|
9
|
+
*/
|
|
10
|
+
gbPerMonthAllocated?: number;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace MonthlyTransfer {
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
const filterSensitiveLog: (obj: MonthlyTransfer) => any;
|
|
17
|
+
}
|
|
18
|
+
export declare enum PortAccessType {
|
|
19
|
+
Private = "Private",
|
|
20
|
+
Public = "Public"
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* <p>Describes information about ports for an Amazon Lightsail instance.</p>
|
|
24
|
+
*/
|
|
25
|
+
export interface InstancePortInfo {
|
|
26
|
+
/**
|
|
27
|
+
* <p>The first port in a range of open ports on an instance.</p>
|
|
28
|
+
* <p>Allowed ports:</p>
|
|
29
|
+
* <ul>
|
|
30
|
+
* <li>
|
|
31
|
+
* <p>TCP and UDP - <code>0</code> to <code>65535</code>
|
|
32
|
+
* </p>
|
|
33
|
+
* </li>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>ICMP - The ICMP type for IPv4 addresses. For example, specify <code>8</code> as the
|
|
36
|
+
* <code>fromPort</code> (ICMP type), and <code>-1</code> as the <code>toPort</code> (ICMP
|
|
37
|
+
* code), to enable ICMP Ping. For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages">Control Messages</a> on <i>Wikipedia</i>.</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>ICMPv6 - The ICMP type for IPv6 addresses. For example, specify <code>128</code> as
|
|
41
|
+
* the <code>fromPort</code> (ICMPv6 type), and <code>0</code> as <code>toPort</code> (ICMPv6
|
|
42
|
+
* code). For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_for_IPv6">Internet
|
|
43
|
+
* Control Message Protocol for IPv6</a>.</p>
|
|
44
|
+
* </li>
|
|
45
|
+
* </ul>
|
|
46
|
+
*/
|
|
47
|
+
fromPort?: number;
|
|
48
|
+
/**
|
|
49
|
+
* <p>The last port in a range of open ports on an instance.</p>
|
|
50
|
+
* <p>Allowed ports:</p>
|
|
51
|
+
* <ul>
|
|
52
|
+
* <li>
|
|
53
|
+
* <p>TCP and UDP - <code>0</code> to <code>65535</code>
|
|
54
|
+
* </p>
|
|
55
|
+
* </li>
|
|
56
|
+
* <li>
|
|
57
|
+
* <p>ICMP - The ICMP code for IPv4 addresses. For example, specify <code>8</code> as the
|
|
58
|
+
* <code>fromPort</code> (ICMP type), and <code>-1</code> as the <code>toPort</code> (ICMP
|
|
59
|
+
* code), to enable ICMP Ping. For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages">Control Messages</a> on <i>Wikipedia</i>.</p>
|
|
60
|
+
* </li>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>ICMPv6 - The ICMP code for IPv6 addresses. For example, specify <code>128</code> as
|
|
63
|
+
* the <code>fromPort</code> (ICMPv6 type), and <code>0</code> as <code>toPort</code> (ICMPv6
|
|
64
|
+
* code). For more information, see <a href="https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol_for_IPv6">Internet
|
|
65
|
+
* Control Message Protocol for IPv6</a>.</p>
|
|
66
|
+
* </li>
|
|
67
|
+
* </ul>
|
|
68
|
+
*/
|
|
69
|
+
toPort?: number;
|
|
70
|
+
/**
|
|
71
|
+
* <p>The IP protocol name.</p>
|
|
72
|
+
* <p>The name can be one of the following:</p>
|
|
73
|
+
* <ul>
|
|
74
|
+
* <li>
|
|
75
|
+
* <p>
|
|
76
|
+
* <code>tcp</code> - Transmission Control Protocol (TCP) provides reliable, ordered, and
|
|
77
|
+
* error-checked delivery of streamed data between applications running on hosts
|
|
78
|
+
* communicating by an IP network. If you have an application that doesn't require reliable
|
|
79
|
+
* data stream service, use UDP instead.</p>
|
|
80
|
+
* </li>
|
|
81
|
+
* <li>
|
|
82
|
+
* <p>
|
|
83
|
+
* <code>all</code> - All transport layer protocol types. For more general information,
|
|
84
|
+
* see <a href="https://en.wikipedia.org/wiki/Transport_layer">Transport layer</a> on
|
|
85
|
+
* <i>Wikipedia</i>.</p>
|
|
86
|
+
* </li>
|
|
87
|
+
* <li>
|
|
88
|
+
* <p>
|
|
89
|
+
* <code>udp</code> - With User Datagram Protocol (UDP), computer applications can send
|
|
90
|
+
* messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior
|
|
91
|
+
* communications are not required to set up transmission channels or data paths.
|
|
92
|
+
* Applications that don't require reliable data stream service can use UDP, which provides a
|
|
93
|
+
* connectionless datagram service that emphasizes reduced latency over reliability. If you
|
|
94
|
+
* do require reliable data stream service, use TCP instead.</p>
|
|
95
|
+
* </li>
|
|
96
|
+
* <li>
|
|
97
|
+
* <p>
|
|
98
|
+
* <code>icmp</code> - Internet Control Message Protocol (ICMP) is used to send error
|
|
99
|
+
* messages and operational information indicating success or failure when communicating with
|
|
100
|
+
* an instance. For example, an error is indicated when an instance could not be reached.
|
|
101
|
+
* When you specify <code>icmp</code> as the <code>protocol</code>, you must specify the ICMP
|
|
102
|
+
* type using the <code>fromPort</code> parameter, and ICMP code using the
|
|
103
|
+
* <code>toPort</code> parameter.</p>
|
|
104
|
+
* </li>
|
|
105
|
+
* </ul>
|
|
106
|
+
*/
|
|
107
|
+
protocol?: NetworkProtocol | string;
|
|
108
|
+
/**
|
|
109
|
+
* <p>The location from which access is allowed. For example, <code>Anywhere (0.0.0.0/0)</code>,
|
|
110
|
+
* or <code>Custom</code> if a specific IP address or range of IP addresses is allowed.</p>
|
|
111
|
+
*/
|
|
112
|
+
accessFrom?: string;
|
|
113
|
+
/**
|
|
114
|
+
* <p>The type of access (<code>Public</code> or <code>Private</code>).</p>
|
|
115
|
+
*/
|
|
116
|
+
accessType?: PortAccessType | string;
|
|
117
|
+
/**
|
|
118
|
+
* <p>The common name of the port information.</p>
|
|
119
|
+
*/
|
|
120
|
+
commonName?: string;
|
|
121
|
+
/**
|
|
122
|
+
* <p>The access direction (<code>inbound</code> or <code>outbound</code>).</p>
|
|
123
|
+
* <note>
|
|
124
|
+
* <p>Lightsail currently supports only <code>inbound</code> access direction.</p>
|
|
125
|
+
* </note>
|
|
126
|
+
*/
|
|
127
|
+
accessDirection?: AccessDirection | string;
|
|
128
|
+
/**
|
|
129
|
+
* <p>The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to
|
|
130
|
+
* connect to an instance through the ports, and the protocol.</p>
|
|
131
|
+
* <note>
|
|
132
|
+
* <p>The <code>ipv6Cidrs</code> parameter lists the IPv6 addresses that are allowed to
|
|
133
|
+
* connect to an instance.</p>
|
|
134
|
+
* </note>
|
|
135
|
+
* <p>For more information about CIDR block notation, see <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation">Classless
|
|
136
|
+
* Inter-Domain Routing</a> on <i>Wikipedia</i>.</p>
|
|
137
|
+
*/
|
|
138
|
+
cidrs?: string[];
|
|
139
|
+
/**
|
|
140
|
+
* <p>The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to
|
|
141
|
+
* connect to an instance through the ports, and the protocol. Only devices with an IPv6 address
|
|
142
|
+
* can connect to an instance through IPv6; otherwise, IPv4 should be used.</p>
|
|
143
|
+
* <note>
|
|
144
|
+
* <p>The <code>cidrs</code> parameter lists the IPv4 addresses that are allowed to connect to
|
|
145
|
+
* an instance.</p>
|
|
146
|
+
* </note>
|
|
147
|
+
* <p>For more information about CIDR block notation, see <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation">Classless
|
|
148
|
+
* Inter-Domain Routing</a> on <i>Wikipedia</i>.</p>
|
|
149
|
+
*/
|
|
150
|
+
ipv6Cidrs?: string[];
|
|
151
|
+
/**
|
|
152
|
+
* <p>An alias that defines access for a preconfigured range of IP addresses.</p>
|
|
153
|
+
* <p>The only alias currently supported is <code>lightsail-connect</code>, which allows IP
|
|
154
|
+
* addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your
|
|
155
|
+
* instance.</p>
|
|
156
|
+
*/
|
|
157
|
+
cidrListAliases?: string[];
|
|
158
|
+
}
|
|
159
|
+
export declare namespace InstancePortInfo {
|
|
160
|
+
/**
|
|
161
|
+
* @internal
|
|
162
|
+
*/
|
|
163
|
+
const filterSensitiveLog: (obj: InstancePortInfo) => any;
|
|
164
|
+
}
|
|
2
165
|
/**
|
|
3
166
|
* <p>Describes monthly data transfer rates and port information for an instance.</p>
|
|
4
167
|
*/
|
|
@@ -74,6 +74,33 @@ export declare namespace AccessRules {
|
|
|
74
74
|
|
|
75
75
|
const filterSensitiveLog: (obj: AccessRules) => any;
|
|
76
76
|
}
|
|
77
|
+
export declare enum BPAStatusMessage {
|
|
78
|
+
DEFAULTED_FOR_SLR_MISSING = "DEFAULTED_FOR_SLR_MISSING",
|
|
79
|
+
DEFAULTED_FOR_SLR_MISSING_ON_HOLD = "DEFAULTED_FOR_SLR_MISSING_ON_HOLD",
|
|
80
|
+
SYNC_ON_HOLD = "SYNC_ON_HOLD",
|
|
81
|
+
Unknown = "Unknown"
|
|
82
|
+
}
|
|
83
|
+
export declare enum AccountLevelBpaSyncStatus {
|
|
84
|
+
Defaulted = "Defaulted",
|
|
85
|
+
Failed = "Failed",
|
|
86
|
+
InSync = "InSync",
|
|
87
|
+
NeverSynced = "NeverSynced"
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export interface AccountLevelBpaSync {
|
|
91
|
+
|
|
92
|
+
status?: AccountLevelBpaSyncStatus | string;
|
|
93
|
+
|
|
94
|
+
lastSyncedAt?: Date;
|
|
95
|
+
|
|
96
|
+
message?: BPAStatusMessage | string;
|
|
97
|
+
|
|
98
|
+
bpaImpactsLightsail?: boolean;
|
|
99
|
+
}
|
|
100
|
+
export declare namespace AccountLevelBpaSync {
|
|
101
|
+
|
|
102
|
+
const filterSensitiveLog: (obj: AccountLevelBpaSync) => any;
|
|
103
|
+
}
|
|
77
104
|
|
|
78
105
|
export declare class AccountSetupInProgressException extends __BaseException {
|
|
79
106
|
readonly name: "AccountSetupInProgressException";
|
|
@@ -1,4 +1,44 @@
|
|
|
1
|
-
import { AccessRules, AddOn, AlarmState, AvailabilityZone, Bucket, BucketAccessLogConfig, CacheBehavior, CacheBehaviorPerPath, CacheSettings, ComparisonOperator, ContactMethodVerificationProtocol, ContactProtocol, ContainerImage, ContainerService, ContainerServicePowerName, Disk, DomainEntry, InputOrigin, InstanceHardware,
|
|
1
|
+
import { AccessDirection, AccessRules, AddOn, AlarmState, AvailabilityZone, Bucket, BucketAccessLogConfig, CacheBehavior, CacheBehaviorPerPath, CacheSettings, ComparisonOperator, ContactMethodVerificationProtocol, ContactProtocol, ContainerImage, ContainerService, ContainerServicePowerName, Disk, DomainEntry, InputOrigin, InstanceHardware, IpAddressType, KeyPair, MetricDatapoint, MetricName, MetricStatistic, MetricUnit, NetworkProtocol, Operation, PortInfo, RegionName, ResourceLocation, ResourceType, Tag, TreatMissingData } from "./models_0";
|
|
2
|
+
|
|
3
|
+
export interface MonthlyTransfer {
|
|
4
|
+
|
|
5
|
+
gbPerMonthAllocated?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace MonthlyTransfer {
|
|
8
|
+
|
|
9
|
+
const filterSensitiveLog: (obj: MonthlyTransfer) => any;
|
|
10
|
+
}
|
|
11
|
+
export declare enum PortAccessType {
|
|
12
|
+
Private = "Private",
|
|
13
|
+
Public = "Public"
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface InstancePortInfo {
|
|
17
|
+
|
|
18
|
+
fromPort?: number;
|
|
19
|
+
|
|
20
|
+
toPort?: number;
|
|
21
|
+
|
|
22
|
+
protocol?: NetworkProtocol | string;
|
|
23
|
+
|
|
24
|
+
accessFrom?: string;
|
|
25
|
+
|
|
26
|
+
accessType?: PortAccessType | string;
|
|
27
|
+
|
|
28
|
+
commonName?: string;
|
|
29
|
+
|
|
30
|
+
accessDirection?: AccessDirection | string;
|
|
31
|
+
|
|
32
|
+
cidrs?: string[];
|
|
33
|
+
|
|
34
|
+
ipv6Cidrs?: string[];
|
|
35
|
+
|
|
36
|
+
cidrListAliases?: string[];
|
|
37
|
+
}
|
|
38
|
+
export declare namespace InstancePortInfo {
|
|
39
|
+
|
|
40
|
+
const filterSensitiveLog: (obj: InstancePortInfo) => any;
|
|
41
|
+
}
|
|
2
42
|
|
|
3
43
|
export interface InstanceNetworking {
|
|
4
44
|
|
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.74.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.74.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.58.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.74.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.58.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.55.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.58.0",
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.58.0",
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.74.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.58.0",
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
38
|
+
"@aws-sdk/smithy-client": "3.72.0",
|
|
39
39
|
"@aws-sdk/types": "3.55.0",
|
|
40
40
|
"@aws-sdk/url-parser": "3.55.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.72.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.72.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.58.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-node": "3.58.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|