@aws-sdk/client-lightsail 3.39.0 → 3.43.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.
Files changed (180) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist-cjs/endpoints.js +74 -5
  3. package/dist-cjs/models/models_0.js +11 -11
  4. package/dist-cjs/models/models_1.js +10 -4
  5. package/dist-cjs/protocols/Aws_json1_1.js +21 -0
  6. package/dist-cjs/runtimeConfig.browser.js +6 -3
  7. package/dist-cjs/runtimeConfig.js +5 -3
  8. package/dist-es/endpoints.js +74 -5
  9. package/dist-es/models/models_0.js +4 -4
  10. package/dist-es/models/models_1.js +4 -0
  11. package/dist-es/protocols/Aws_json1_1.js +17 -1
  12. package/dist-es/runtimeConfig.browser.js +3 -2
  13. package/dist-es/runtimeConfig.js +3 -3
  14. package/dist-types/Lightsail.d.ts +2 -0
  15. package/dist-types/LightsailClient.d.ts +8 -0
  16. package/dist-types/commands/AllocateStaticIpCommand.d.ts +1 -1
  17. package/dist-types/commands/AttachCertificateToDistributionCommand.d.ts +1 -1
  18. package/dist-types/commands/AttachDiskCommand.d.ts +1 -1
  19. package/dist-types/commands/AttachInstancesToLoadBalancerCommand.d.ts +1 -1
  20. package/dist-types/commands/AttachLoadBalancerTlsCertificateCommand.d.ts +1 -1
  21. package/dist-types/commands/AttachStaticIpCommand.d.ts +1 -1
  22. package/dist-types/commands/CloseInstancePublicPortsCommand.d.ts +1 -1
  23. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateBucketAccessKeyCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateBucketCommand.d.ts +1 -1
  26. package/dist-types/commands/CreateCertificateCommand.d.ts +1 -1
  27. package/dist-types/commands/CreateCloudFormationStackCommand.d.ts +1 -1
  28. package/dist-types/commands/CreateContactMethodCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateContainerServiceCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateContainerServiceDeploymentCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateContainerServiceRegistryLoginCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateDiskCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateDiskFromSnapshotCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateDiskSnapshotCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateDistributionCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateDomainCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateDomainEntryCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateInstanceSnapshotCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateInstancesCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateInstancesFromSnapshotCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateLoadBalancerTlsCertificateCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateRelationalDatabaseCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateRelationalDatabaseFromSnapshotCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateRelationalDatabaseSnapshotCommand.d.ts +1 -1
  47. package/dist-types/commands/DeleteAlarmCommand.d.ts +1 -1
  48. package/dist-types/commands/DeleteAutoSnapshotCommand.d.ts +1 -1
  49. package/dist-types/commands/DeleteBucketAccessKeyCommand.d.ts +1 -1
  50. package/dist-types/commands/DeleteBucketCommand.d.ts +1 -1
  51. package/dist-types/commands/DeleteCertificateCommand.d.ts +1 -1
  52. package/dist-types/commands/DeleteContactMethodCommand.d.ts +1 -1
  53. package/dist-types/commands/DeleteContainerImageCommand.d.ts +1 -1
  54. package/dist-types/commands/DeleteContainerServiceCommand.d.ts +1 -1
  55. package/dist-types/commands/DeleteDiskCommand.d.ts +1 -1
  56. package/dist-types/commands/DeleteDiskSnapshotCommand.d.ts +1 -1
  57. package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
  58. package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
  59. package/dist-types/commands/DeleteDomainEntryCommand.d.ts +1 -1
  60. package/dist-types/commands/DeleteInstanceCommand.d.ts +1 -1
  61. package/dist-types/commands/DeleteInstanceSnapshotCommand.d.ts +1 -1
  62. package/dist-types/commands/DeleteKeyPairCommand.d.ts +3 -1
  63. package/dist-types/commands/DeleteKnownHostKeysCommand.d.ts +1 -1
  64. package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +1 -1
  65. package/dist-types/commands/DeleteLoadBalancerTlsCertificateCommand.d.ts +1 -1
  66. package/dist-types/commands/DeleteRelationalDatabaseCommand.d.ts +1 -1
  67. package/dist-types/commands/DeleteRelationalDatabaseSnapshotCommand.d.ts +1 -1
  68. package/dist-types/commands/DetachCertificateFromDistributionCommand.d.ts +1 -1
  69. package/dist-types/commands/DetachDiskCommand.d.ts +1 -1
  70. package/dist-types/commands/DetachInstancesFromLoadBalancerCommand.d.ts +1 -1
  71. package/dist-types/commands/DetachStaticIpCommand.d.ts +1 -1
  72. package/dist-types/commands/DisableAddOnCommand.d.ts +1 -1
  73. package/dist-types/commands/DownloadDefaultKeyPairCommand.d.ts +1 -1
  74. package/dist-types/commands/EnableAddOnCommand.d.ts +1 -1
  75. package/dist-types/commands/ExportSnapshotCommand.d.ts +1 -1
  76. package/dist-types/commands/GetActiveNamesCommand.d.ts +1 -1
  77. package/dist-types/commands/GetAlarmsCommand.d.ts +1 -1
  78. package/dist-types/commands/GetAutoSnapshotsCommand.d.ts +1 -1
  79. package/dist-types/commands/GetBlueprintsCommand.d.ts +1 -1
  80. package/dist-types/commands/GetBucketAccessKeysCommand.d.ts +1 -1
  81. package/dist-types/commands/GetBucketBundlesCommand.d.ts +1 -1
  82. package/dist-types/commands/GetBucketMetricDataCommand.d.ts +1 -1
  83. package/dist-types/commands/GetBucketsCommand.d.ts +1 -1
  84. package/dist-types/commands/GetBundlesCommand.d.ts +1 -1
  85. package/dist-types/commands/GetCertificatesCommand.d.ts +1 -1
  86. package/dist-types/commands/GetCloudFormationStackRecordsCommand.d.ts +1 -1
  87. package/dist-types/commands/GetContactMethodsCommand.d.ts +1 -1
  88. package/dist-types/commands/GetContainerAPIMetadataCommand.d.ts +1 -1
  89. package/dist-types/commands/GetContainerImagesCommand.d.ts +1 -1
  90. package/dist-types/commands/GetContainerLogCommand.d.ts +1 -1
  91. package/dist-types/commands/GetContainerServiceDeploymentsCommand.d.ts +1 -1
  92. package/dist-types/commands/GetContainerServiceMetricDataCommand.d.ts +1 -1
  93. package/dist-types/commands/GetContainerServicePowersCommand.d.ts +1 -1
  94. package/dist-types/commands/GetContainerServicesCommand.d.ts +1 -1
  95. package/dist-types/commands/GetDiskCommand.d.ts +1 -1
  96. package/dist-types/commands/GetDiskSnapshotCommand.d.ts +1 -1
  97. package/dist-types/commands/GetDiskSnapshotsCommand.d.ts +1 -1
  98. package/dist-types/commands/GetDisksCommand.d.ts +1 -1
  99. package/dist-types/commands/GetDistributionBundlesCommand.d.ts +1 -1
  100. package/dist-types/commands/GetDistributionLatestCacheResetCommand.d.ts +1 -1
  101. package/dist-types/commands/GetDistributionMetricDataCommand.d.ts +1 -1
  102. package/dist-types/commands/GetDistributionsCommand.d.ts +1 -1
  103. package/dist-types/commands/GetDomainCommand.d.ts +1 -1
  104. package/dist-types/commands/GetDomainsCommand.d.ts +1 -1
  105. package/dist-types/commands/GetExportSnapshotRecordsCommand.d.ts +1 -1
  106. package/dist-types/commands/GetInstanceAccessDetailsCommand.d.ts +1 -1
  107. package/dist-types/commands/GetInstanceCommand.d.ts +1 -1
  108. package/dist-types/commands/GetInstanceMetricDataCommand.d.ts +1 -1
  109. package/dist-types/commands/GetInstancePortStatesCommand.d.ts +1 -1
  110. package/dist-types/commands/GetInstanceSnapshotCommand.d.ts +1 -1
  111. package/dist-types/commands/GetInstanceSnapshotsCommand.d.ts +1 -1
  112. package/dist-types/commands/GetInstanceStateCommand.d.ts +1 -1
  113. package/dist-types/commands/GetInstancesCommand.d.ts +1 -1
  114. package/dist-types/commands/GetKeyPairCommand.d.ts +1 -1
  115. package/dist-types/commands/GetKeyPairsCommand.d.ts +1 -1
  116. package/dist-types/commands/GetLoadBalancerCommand.d.ts +1 -1
  117. package/dist-types/commands/GetLoadBalancerMetricDataCommand.d.ts +1 -1
  118. package/dist-types/commands/GetLoadBalancerTlsCertificatesCommand.d.ts +1 -1
  119. package/dist-types/commands/GetLoadBalancersCommand.d.ts +1 -1
  120. package/dist-types/commands/GetOperationCommand.d.ts +1 -1
  121. package/dist-types/commands/GetOperationsCommand.d.ts +1 -1
  122. package/dist-types/commands/GetOperationsForResourceCommand.d.ts +1 -1
  123. package/dist-types/commands/GetRegionsCommand.d.ts +1 -1
  124. package/dist-types/commands/GetRelationalDatabaseBlueprintsCommand.d.ts +1 -1
  125. package/dist-types/commands/GetRelationalDatabaseBundlesCommand.d.ts +1 -1
  126. package/dist-types/commands/GetRelationalDatabaseCommand.d.ts +1 -1
  127. package/dist-types/commands/GetRelationalDatabaseEventsCommand.d.ts +1 -1
  128. package/dist-types/commands/GetRelationalDatabaseLogEventsCommand.d.ts +1 -1
  129. package/dist-types/commands/GetRelationalDatabaseLogStreamsCommand.d.ts +1 -1
  130. package/dist-types/commands/GetRelationalDatabaseMasterUserPasswordCommand.d.ts +1 -1
  131. package/dist-types/commands/GetRelationalDatabaseMetricDataCommand.d.ts +1 -1
  132. package/dist-types/commands/GetRelationalDatabaseParametersCommand.d.ts +1 -1
  133. package/dist-types/commands/GetRelationalDatabaseSnapshotCommand.d.ts +1 -1
  134. package/dist-types/commands/GetRelationalDatabaseSnapshotsCommand.d.ts +1 -1
  135. package/dist-types/commands/GetRelationalDatabasesCommand.d.ts +1 -1
  136. package/dist-types/commands/GetStaticIpCommand.d.ts +1 -1
  137. package/dist-types/commands/GetStaticIpsCommand.d.ts +1 -1
  138. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  139. package/dist-types/commands/IsVpcPeeredCommand.d.ts +1 -1
  140. package/dist-types/commands/OpenInstancePublicPortsCommand.d.ts +1 -1
  141. package/dist-types/commands/PeerVpcCommand.d.ts +1 -1
  142. package/dist-types/commands/PutAlarmCommand.d.ts +1 -1
  143. package/dist-types/commands/PutInstancePublicPortsCommand.d.ts +1 -1
  144. package/dist-types/commands/RebootInstanceCommand.d.ts +1 -1
  145. package/dist-types/commands/RebootRelationalDatabaseCommand.d.ts +1 -1
  146. package/dist-types/commands/RegisterContainerImageCommand.d.ts +1 -1
  147. package/dist-types/commands/ReleaseStaticIpCommand.d.ts +1 -1
  148. package/dist-types/commands/ResetDistributionCacheCommand.d.ts +1 -1
  149. package/dist-types/commands/SendContactMethodVerificationCommand.d.ts +1 -1
  150. package/dist-types/commands/SetIpAddressTypeCommand.d.ts +1 -1
  151. package/dist-types/commands/SetResourceAccessForBucketCommand.d.ts +1 -1
  152. package/dist-types/commands/StartInstanceCommand.d.ts +1 -1
  153. package/dist-types/commands/StartRelationalDatabaseCommand.d.ts +1 -1
  154. package/dist-types/commands/StopInstanceCommand.d.ts +1 -1
  155. package/dist-types/commands/StopRelationalDatabaseCommand.d.ts +1 -1
  156. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  157. package/dist-types/commands/TestAlarmCommand.d.ts +1 -1
  158. package/dist-types/commands/UnpeerVpcCommand.d.ts +1 -1
  159. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  160. package/dist-types/commands/UpdateBucketBundleCommand.d.ts +1 -1
  161. package/dist-types/commands/UpdateBucketCommand.d.ts +1 -1
  162. package/dist-types/commands/UpdateContainerServiceCommand.d.ts +1 -1
  163. package/dist-types/commands/UpdateDistributionBundleCommand.d.ts +1 -1
  164. package/dist-types/commands/UpdateDistributionCommand.d.ts +1 -1
  165. package/dist-types/commands/UpdateDomainEntryCommand.d.ts +1 -1
  166. package/dist-types/commands/UpdateLoadBalancerAttributeCommand.d.ts +1 -1
  167. package/dist-types/commands/UpdateRelationalDatabaseCommand.d.ts +1 -1
  168. package/dist-types/commands/UpdateRelationalDatabaseParametersCommand.d.ts +1 -1
  169. package/dist-types/models/models_0.d.ts +56 -24
  170. package/dist-types/models/models_1.d.ts +24 -1
  171. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  172. package/dist-types/runtimeConfig.d.ts +2 -0
  173. package/dist-types/runtimeConfig.native.d.ts +2 -0
  174. package/dist-types/ts3.4/LightsailClient.d.ts +4 -0
  175. package/dist-types/ts3.4/models/models_0.d.ts +15 -0
  176. package/dist-types/ts3.4/models/models_1.d.ts +14 -1
  177. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  178. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  179. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  180. package/package.json +23 -23
package/CHANGELOG.md CHANGED
@@ -3,6 +3,45 @@
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.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-lightsail
9
+
10
+
11
+
12
+
13
+
14
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-lightsail
17
+
18
+
19
+
20
+
21
+
22
+ # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
28
+
29
+
30
+
31
+
32
+
33
+ # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
34
+
35
+
36
+ ### Features
37
+
38
+ * **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
39
+ * **clients:** update clients as of 2021/11/05 ([#2994](https://github.com/aws/aws-sdk-js-v3/issues/2994)) ([f5ecc31](https://github.com/aws/aws-sdk-js-v3/commit/f5ecc3147035a1f3d2d74cfed147999927ea8256))
40
+
41
+
42
+
43
+
44
+
6
45
  # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
46
 
8
47
  **Note:** Version bump only for package @aws-sdk/client-lightsail
@@ -29,27 +29,96 @@ const partitionHash = {
29
29
  "us-west-2",
30
30
  ],
31
31
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
32
- hostname: "lightsail.{region}.amazonaws.com",
32
+ variants: [
33
+ {
34
+ hostname: "lightsail.{region}.amazonaws.com",
35
+ tags: [],
36
+ },
37
+ {
38
+ hostname: "lightsail-fips.{region}.amazonaws.com",
39
+ tags: ["fips"],
40
+ },
41
+ {
42
+ hostname: "lightsail-fips.{region}.api.aws",
43
+ tags: ["dualstack", "fips"],
44
+ },
45
+ {
46
+ hostname: "lightsail.{region}.api.aws",
47
+ tags: ["dualstack"],
48
+ },
49
+ ],
33
50
  },
34
51
  "aws-cn": {
35
52
  regions: ["cn-north-1", "cn-northwest-1"],
36
53
  regionRegex: "^cn\\-\\w+\\-\\d+$",
37
- hostname: "lightsail.{region}.amazonaws.com.cn",
54
+ variants: [
55
+ {
56
+ hostname: "lightsail.{region}.amazonaws.com.cn",
57
+ tags: [],
58
+ },
59
+ {
60
+ hostname: "lightsail-fips.{region}.amazonaws.com.cn",
61
+ tags: ["fips"],
62
+ },
63
+ {
64
+ hostname: "lightsail-fips.{region}.api.amazonwebservices.com.cn",
65
+ tags: ["dualstack", "fips"],
66
+ },
67
+ {
68
+ hostname: "lightsail.{region}.api.amazonwebservices.com.cn",
69
+ tags: ["dualstack"],
70
+ },
71
+ ],
38
72
  },
39
73
  "aws-iso": {
40
74
  regions: ["us-iso-east-1", "us-iso-west-1"],
41
75
  regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
42
- hostname: "lightsail.{region}.c2s.ic.gov",
76
+ variants: [
77
+ {
78
+ hostname: "lightsail.{region}.c2s.ic.gov",
79
+ tags: [],
80
+ },
81
+ {
82
+ hostname: "lightsail-fips.{region}.c2s.ic.gov",
83
+ tags: ["fips"],
84
+ },
85
+ ],
43
86
  },
44
87
  "aws-iso-b": {
45
88
  regions: ["us-isob-east-1"],
46
89
  regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
47
- hostname: "lightsail.{region}.sc2s.sgov.gov",
90
+ variants: [
91
+ {
92
+ hostname: "lightsail.{region}.sc2s.sgov.gov",
93
+ tags: [],
94
+ },
95
+ {
96
+ hostname: "lightsail-fips.{region}.sc2s.sgov.gov",
97
+ tags: ["fips"],
98
+ },
99
+ ],
48
100
  },
49
101
  "aws-us-gov": {
50
102
  regions: ["us-gov-east-1", "us-gov-west-1"],
51
103
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
52
- hostname: "lightsail.{region}.amazonaws.com",
104
+ variants: [
105
+ {
106
+ hostname: "lightsail.{region}.amazonaws.com",
107
+ tags: [],
108
+ },
109
+ {
110
+ hostname: "lightsail-fips.{region}.amazonaws.com",
111
+ tags: ["fips"],
112
+ },
113
+ {
114
+ hostname: "lightsail-fips.{region}.api.aws",
115
+ tags: ["dualstack", "fips"],
116
+ },
117
+ {
118
+ hostname: "lightsail.{region}.api.aws",
119
+ tags: ["dualstack"],
120
+ },
121
+ ],
53
122
  },
54
123
  };
55
124
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AvailabilityZone = exports.AutoSnapshotDetails = exports.AutoSnapshotStatus = 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.AccessRules = exports.AccessType = exports.ResourceReceivingAccess = exports.AccessKey = exports.StatusType = exports.AccessKeyLastUsed = exports.AccessDirection = exports.AccessDeniedException = void 0;
4
- exports.EndpointRequest = exports.ContainerService = exports.ContainerServiceStateDetail = exports.ContainerServiceStateDetailCode = 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.Blueprint = exports.BlueprintType = exports.InstancePlatform = exports.BehaviorEnum = void 0;
5
- exports.CreateInstanceSnapshotResult = exports.CreateInstanceSnapshotRequest = exports.CreateInstancesFromSnapshotResult = exports.CreateInstancesFromSnapshotRequest = 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 = void 0;
6
- exports.DeleteLoadBalancerTlsCertificateRequest = exports.DeleteLoadBalancerResult = exports.DeleteLoadBalancerRequest = exports.DeleteKnownHostKeysResult = 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 = void 0;
7
- exports.GetBucketsRequest = exports.GetBucketMetricDataResult = exports.MetricDatapoint = exports.GetBucketMetricDataRequest = 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 = void 0;
8
- exports.InstanceNetworking = exports.InstancePortInfo = exports.PortAccessType = exports.MonthlyTransfer = 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 = void 0;
4
+ exports.ContainerService = exports.ContainerServiceStateDetail = exports.ContainerServiceStateDetailCode = 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 = void 0;
5
+ exports.CreateInstanceSnapshotRequest = exports.CreateInstancesFromSnapshotResult = exports.CreateInstancesFromSnapshotRequest = 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 = void 0;
6
+ exports.DeleteLoadBalancerResult = exports.DeleteLoadBalancerRequest = exports.DeleteKnownHostKeysResult = 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 = void 0;
7
+ exports.GetBucketMetricDataResult = exports.MetricDatapoint = exports.GetBucketMetricDataRequest = 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 = void 0;
8
+ exports.InstancePortInfo = exports.PortAccessType = exports.MonthlyTransfer = 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 = void 0;
9
9
  const smithy_client_1 = require("@aws-sdk/smithy-client");
10
10
  var AccessDeniedException;
11
11
  (function (AccessDeniedException) {
@@ -481,6 +481,12 @@ var Blueprint;
481
481
  ...obj,
482
482
  });
483
483
  })(Blueprint = exports.Blueprint || (exports.Blueprint = {}));
484
+ var BucketAccessLogConfig;
485
+ (function (BucketAccessLogConfig) {
486
+ BucketAccessLogConfig.filterSensitiveLog = (obj) => ({
487
+ ...obj,
488
+ });
489
+ })(BucketAccessLogConfig = exports.BucketAccessLogConfig || (exports.BucketAccessLogConfig = {}));
484
490
  var BucketState;
485
491
  (function (BucketState) {
486
492
  BucketState.filterSensitiveLog = (obj) => ({
@@ -1984,9 +1990,3 @@ var InstancePortInfo;
1984
1990
  ...obj,
1985
1991
  });
1986
1992
  })(InstancePortInfo = exports.InstancePortInfo || (exports.InstancePortInfo = {}));
1987
- var InstanceNetworking;
1988
- (function (InstanceNetworking) {
1989
- InstanceNetworking.filterSensitiveLog = (obj) => ({
1990
- ...obj,
1991
- });
1992
- })(InstanceNetworking = exports.InstanceNetworking || (exports.InstanceNetworking = {}));
@@ -1,10 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LoadBalancerTlsCertificateDomainValidationOption = exports.LoadBalancerTlsCertificateFailureReason = exports.LoadBalancerTlsCertificateDomainValidationRecord = exports.LoadBalancerTlsCertificateDomainStatus = 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 = void 0;
4
- exports.RelationalDatabaseSnapshot = exports.GetRelationalDatabaseSnapshotRequest = exports.GetRelationalDatabasesResult = exports.GetRelationalDatabasesRequest = 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 = void 0;
5
- exports.UnpeerVpcRequest = exports.TestAlarmResult = exports.TestAlarmRequest = exports.TagResourceResult = 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 = 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 = void 0;
3
+ exports.LoadBalancerTlsCertificateFailureReason = exports.LoadBalancerTlsCertificateDomainValidationRecord = exports.LoadBalancerTlsCertificateDomainStatus = 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 = void 0;
4
+ exports.GetRelationalDatabaseSnapshotRequest = exports.GetRelationalDatabasesResult = exports.GetRelationalDatabasesRequest = 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 = void 0;
5
+ exports.TestAlarmResult = exports.TestAlarmRequest = exports.TagResourceResult = 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 = 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 = void 0;
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
+ var InstanceNetworking;
9
+ (function (InstanceNetworking) {
10
+ InstanceNetworking.filterSensitiveLog = (obj) => ({
11
+ ...obj,
12
+ });
13
+ })(InstanceNetworking = exports.InstanceNetworking || (exports.InstanceNetworking = {}));
8
14
  var InstanceState;
9
15
  (function (InstanceState) {
10
16
  InstanceState.filterSensitiveLog = (obj) => ({
@@ -15574,6 +15574,13 @@ const serializeAws_json1_1AutoSnapshotAddOnRequest = (input, context) => {
15574
15574
  input.snapshotTimeOfDay !== null && { snapshotTimeOfDay: input.snapshotTimeOfDay }),
15575
15575
  };
15576
15576
  };
15577
+ const serializeAws_json1_1BucketAccessLogConfig = (input, context) => {
15578
+ return {
15579
+ ...(input.destination !== undefined && input.destination !== null && { destination: input.destination }),
15580
+ ...(input.enabled !== undefined && input.enabled !== null && { enabled: input.enabled }),
15581
+ ...(input.prefix !== undefined && input.prefix !== null && { prefix: input.prefix }),
15582
+ };
15583
+ };
15577
15584
  const serializeAws_json1_1CacheBehavior = (input, context) => {
15578
15585
  return {
15579
15586
  ...(input.behavior !== undefined && input.behavior !== null && { behavior: input.behavior }),
@@ -17076,6 +17083,10 @@ const serializeAws_json1_1UpdateBucketBundleRequest = (input, context) => {
17076
17083
  };
17077
17084
  const serializeAws_json1_1UpdateBucketRequest = (input, context) => {
17078
17085
  return {
17086
+ ...(input.accessLogConfig !== undefined &&
17087
+ input.accessLogConfig !== null && {
17088
+ accessLogConfig: serializeAws_json1_1BucketAccessLogConfig(input.accessLogConfig, context),
17089
+ }),
17079
17090
  ...(input.accessRules !== undefined &&
17080
17091
  input.accessRules !== null && { accessRules: serializeAws_json1_1AccessRules(input.accessRules, context) }),
17081
17092
  ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
@@ -17427,6 +17438,9 @@ const deserializeAws_json1_1BlueprintList = (output, context) => {
17427
17438
  const deserializeAws_json1_1Bucket = (output, context) => {
17428
17439
  return {
17429
17440
  ableToUpdateBundle: smithy_client_1.expectBoolean(output.ableToUpdateBundle),
17441
+ accessLogConfig: output.accessLogConfig !== undefined && output.accessLogConfig !== null
17442
+ ? deserializeAws_json1_1BucketAccessLogConfig(output.accessLogConfig, context)
17443
+ : undefined,
17430
17444
  accessRules: output.accessRules !== undefined && output.accessRules !== null
17431
17445
  ? deserializeAws_json1_1AccessRules(output.accessRules, context)
17432
17446
  : undefined,
@@ -17457,6 +17471,13 @@ const deserializeAws_json1_1Bucket = (output, context) => {
17457
17471
  url: smithy_client_1.expectString(output.url),
17458
17472
  };
17459
17473
  };
17474
+ const deserializeAws_json1_1BucketAccessLogConfig = (output, context) => {
17475
+ return {
17476
+ destination: smithy_client_1.expectString(output.destination),
17477
+ enabled: smithy_client_1.expectBoolean(output.enabled),
17478
+ prefix: smithy_client_1.expectString(output.prefix),
17479
+ };
17480
+ };
17460
17481
  const deserializeAws_json1_1BucketBundle = (output, context) => {
17461
17482
  return {
17462
17483
  bundleId: smithy_client_1.expectString(output.bundleId),
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
9
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
16
  const getRuntimeConfig = (config) => {
16
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
18
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
18
19
  return {
19
20
  ...clientSharedValues,
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
30
31
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
31
32
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
32
33
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
33
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.fromUtf8,
34
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.toUtf8,
34
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
35
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
36
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
37
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
35
38
  };
36
39
  };
37
40
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const getRuntimeConfig = (config) => {
20
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
23
  return {
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
35
35
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
36
36
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
37
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.fromUtf8,
39
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.toUtf8,
38
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
39
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
40
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
41
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
40
42
  };
41
43
  };
42
44
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -27,27 +27,96 @@ var partitionHash = {
27
27
  "us-west-2",
28
28
  ],
29
29
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
30
- hostname: "lightsail.{region}.amazonaws.com",
30
+ variants: [
31
+ {
32
+ hostname: "lightsail.{region}.amazonaws.com",
33
+ tags: [],
34
+ },
35
+ {
36
+ hostname: "lightsail-fips.{region}.amazonaws.com",
37
+ tags: ["fips"],
38
+ },
39
+ {
40
+ hostname: "lightsail-fips.{region}.api.aws",
41
+ tags: ["dualstack", "fips"],
42
+ },
43
+ {
44
+ hostname: "lightsail.{region}.api.aws",
45
+ tags: ["dualstack"],
46
+ },
47
+ ],
31
48
  },
32
49
  "aws-cn": {
33
50
  regions: ["cn-north-1", "cn-northwest-1"],
34
51
  regionRegex: "^cn\\-\\w+\\-\\d+$",
35
- hostname: "lightsail.{region}.amazonaws.com.cn",
52
+ variants: [
53
+ {
54
+ hostname: "lightsail.{region}.amazonaws.com.cn",
55
+ tags: [],
56
+ },
57
+ {
58
+ hostname: "lightsail-fips.{region}.amazonaws.com.cn",
59
+ tags: ["fips"],
60
+ },
61
+ {
62
+ hostname: "lightsail-fips.{region}.api.amazonwebservices.com.cn",
63
+ tags: ["dualstack", "fips"],
64
+ },
65
+ {
66
+ hostname: "lightsail.{region}.api.amazonwebservices.com.cn",
67
+ tags: ["dualstack"],
68
+ },
69
+ ],
36
70
  },
37
71
  "aws-iso": {
38
72
  regions: ["us-iso-east-1", "us-iso-west-1"],
39
73
  regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
40
- hostname: "lightsail.{region}.c2s.ic.gov",
74
+ variants: [
75
+ {
76
+ hostname: "lightsail.{region}.c2s.ic.gov",
77
+ tags: [],
78
+ },
79
+ {
80
+ hostname: "lightsail-fips.{region}.c2s.ic.gov",
81
+ tags: ["fips"],
82
+ },
83
+ ],
41
84
  },
42
85
  "aws-iso-b": {
43
86
  regions: ["us-isob-east-1"],
44
87
  regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
45
- hostname: "lightsail.{region}.sc2s.sgov.gov",
88
+ variants: [
89
+ {
90
+ hostname: "lightsail.{region}.sc2s.sgov.gov",
91
+ tags: [],
92
+ },
93
+ {
94
+ hostname: "lightsail-fips.{region}.sc2s.sgov.gov",
95
+ tags: ["fips"],
96
+ },
97
+ ],
46
98
  },
47
99
  "aws-us-gov": {
48
100
  regions: ["us-gov-east-1", "us-gov-west-1"],
49
101
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
50
- hostname: "lightsail.{region}.amazonaws.com",
102
+ variants: [
103
+ {
104
+ hostname: "lightsail.{region}.amazonaws.com",
105
+ tags: [],
106
+ },
107
+ {
108
+ hostname: "lightsail-fips.{region}.amazonaws.com",
109
+ tags: ["fips"],
110
+ },
111
+ {
112
+ hostname: "lightsail-fips.{region}.api.aws",
113
+ tags: ["dualstack", "fips"],
114
+ },
115
+ {
116
+ hostname: "lightsail.{region}.api.aws",
117
+ tags: ["dualstack"],
118
+ },
119
+ ],
51
120
  },
52
121
  };
53
122
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
@@ -403,6 +403,10 @@ export var Blueprint;
403
403
  (function (Blueprint) {
404
404
  Blueprint.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
405
405
  })(Blueprint || (Blueprint = {}));
406
+ export var BucketAccessLogConfig;
407
+ (function (BucketAccessLogConfig) {
408
+ BucketAccessLogConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
409
+ })(BucketAccessLogConfig || (BucketAccessLogConfig = {}));
406
410
  export var BucketState;
407
411
  (function (BucketState) {
408
412
  BucketState.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1461,7 +1465,3 @@ export var InstancePortInfo;
1461
1465
  (function (InstancePortInfo) {
1462
1466
  InstancePortInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1463
1467
  })(InstancePortInfo || (InstancePortInfo = {}));
1464
- export var InstanceNetworking;
1465
- (function (InstanceNetworking) {
1466
- InstanceNetworking.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1467
- })(InstanceNetworking || (InstanceNetworking = {}));
@@ -1,5 +1,9 @@
1
1
  import { __assign } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ export var InstanceNetworking;
4
+ (function (InstanceNetworking) {
5
+ InstanceNetworking.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
+ })(InstanceNetworking || (InstanceNetworking = {}));
3
7
  export var InstanceState;
4
8
  (function (InstanceState) {
5
9
  InstanceState.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -17055,6 +17055,9 @@ var serializeAws_json1_1AutoSnapshotAddOnRequest = function (input, context) {
17055
17055
  return __assign({}, (input.snapshotTimeOfDay !== undefined &&
17056
17056
  input.snapshotTimeOfDay !== null && { snapshotTimeOfDay: input.snapshotTimeOfDay }));
17057
17057
  };
17058
+ var serializeAws_json1_1BucketAccessLogConfig = function (input, context) {
17059
+ return __assign(__assign(__assign({}, (input.destination !== undefined && input.destination !== null && { destination: input.destination })), (input.enabled !== undefined && input.enabled !== null && { enabled: input.enabled })), (input.prefix !== undefined && input.prefix !== null && { prefix: input.prefix }));
17060
+ };
17058
17061
  var serializeAws_json1_1CacheBehavior = function (input, context) {
17059
17062
  return __assign({}, (input.behavior !== undefined && input.behavior !== null && { behavior: input.behavior }));
17060
17063
  };
@@ -18007,7 +18010,10 @@ var serializeAws_json1_1UpdateBucketBundleRequest = function (input, context) {
18007
18010
  return __assign(__assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.bundleId !== undefined && input.bundleId !== null && { bundleId: input.bundleId }));
18008
18011
  };
18009
18012
  var serializeAws_json1_1UpdateBucketRequest = function (input, context) {
18010
- return __assign(__assign(__assign(__assign({}, (input.accessRules !== undefined &&
18013
+ return __assign(__assign(__assign(__assign(__assign({}, (input.accessLogConfig !== undefined &&
18014
+ input.accessLogConfig !== null && {
18015
+ accessLogConfig: serializeAws_json1_1BucketAccessLogConfig(input.accessLogConfig, context),
18016
+ })), (input.accessRules !== undefined &&
18011
18017
  input.accessRules !== null && { accessRules: serializeAws_json1_1AccessRules(input.accessRules, context) })), (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.readonlyAccessAccounts !== undefined &&
18012
18018
  input.readonlyAccessAccounts !== null && {
18013
18019
  readonlyAccessAccounts: serializeAws_json1_1PartnerIdList(input.readonlyAccessAccounts, context),
@@ -18317,6 +18323,9 @@ var deserializeAws_json1_1BlueprintList = function (output, context) {
18317
18323
  var deserializeAws_json1_1Bucket = function (output, context) {
18318
18324
  return {
18319
18325
  ableToUpdateBundle: __expectBoolean(output.ableToUpdateBundle),
18326
+ accessLogConfig: output.accessLogConfig !== undefined && output.accessLogConfig !== null
18327
+ ? deserializeAws_json1_1BucketAccessLogConfig(output.accessLogConfig, context)
18328
+ : undefined,
18320
18329
  accessRules: output.accessRules !== undefined && output.accessRules !== null
18321
18330
  ? deserializeAws_json1_1AccessRules(output.accessRules, context)
18322
18331
  : undefined,
@@ -18347,6 +18356,13 @@ var deserializeAws_json1_1Bucket = function (output, context) {
18347
18356
  url: __expectString(output.url),
18348
18357
  };
18349
18358
  };
18359
+ var deserializeAws_json1_1BucketAccessLogConfig = function (output, context) {
18360
+ return {
18361
+ destination: __expectString(output.destination),
18362
+ enabled: __expectBoolean(output.enabled),
18363
+ prefix: __expectString(output.prefix),
18364
+ };
18365
+ };
18350
18366
  var deserializeAws_json1_1BucketBundle = function (output, context) {
18351
18367
  return {
18352
18368
  bundleId: __expectString(output.bundleId),
@@ -1,6 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
5
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
11
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
13
  export var getRuntimeConfig = function (config) {
13
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
14
15
  var clientSharedValues = getSharedRuntimeConfig(config);
15
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
16
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
16
17
  };
@@ -1,7 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
4
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
16
  export var getRuntimeConfig = function (config) {
17
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
18
  emitWarningIfUnsupportedVersion(process.version);
19
19
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
21
  };
@@ -690,6 +690,8 @@ export declare class Lightsail extends LightsailClient {
690
690
  deleteInstanceSnapshot(args: DeleteInstanceSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInstanceSnapshotCommandOutput) => void): void;
691
691
  /**
692
692
  * <p>Deletes a specific SSH key pair.</p>
693
+ *
694
+ *
693
695
  * <p>The <code>delete key pair</code> operation supports tag-based access control via resource
694
696
  * tags applied to the resource identified by <code>key pair name</code>. For more information,
695
697
  * see the <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-controlling-access-using-tags">Amazon Lightsail Developer Guide</a>.</p>