@aws-sdk/client-lightsail 3.100.0 → 3.110.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 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.110.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.109.0...v3.110.0) (2022-06-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-lightsail
9
+
10
+
11
+
12
+
13
+
14
+ # [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-lightsail
17
+
18
+
19
+
20
+
21
+
22
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
34
 
8
35
 
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class LightsailClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var LightsailClient = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -2756,15 +2756,11 @@ export interface Container {
2756
2756
  /**
2757
2757
  * <p>The environment variables of the container.</p>
2758
2758
  */
2759
- environment?: {
2760
- [key: string]: string;
2761
- };
2759
+ environment?: Record<string, string>;
2762
2760
  /**
2763
2761
  * <p>The open firewall ports of the container.</p>
2764
2762
  */
2765
- ports?: {
2766
- [key: string]: ContainerServiceProtocol | string;
2767
- };
2763
+ ports?: Record<string, ContainerServiceProtocol | string>;
2768
2764
  }
2769
2765
  export declare namespace Container {
2770
2766
  /**
@@ -2914,9 +2910,7 @@ export interface ContainerServiceDeployment {
2914
2910
  /**
2915
2911
  * <p>An object that describes the configuration for the containers of the deployment.</p>
2916
2912
  */
2917
- containers?: {
2918
- [key: string]: Container;
2919
- };
2913
+ containers?: Record<string, Container>;
2920
2914
  /**
2921
2915
  * <p>An object that describes the endpoint of the deployment.</p>
2922
2916
  */
@@ -3235,9 +3229,7 @@ export interface ContainerService {
3235
3229
  * information about how to specify public domain names for your Lightsail container
3236
3230
  * service.</p>
3237
3231
  */
3238
- publicDomainNames?: {
3239
- [key: string]: string[];
3240
- };
3232
+ publicDomainNames?: Record<string, string[]>;
3241
3233
  /**
3242
3234
  * <p>The publicly accessible URL of the container service.</p>
3243
3235
  *
@@ -3295,9 +3287,7 @@ export interface ContainerServiceDeploymentRequest {
3295
3287
  /**
3296
3288
  * <p>An object that describes the configuration for the containers of the deployment.</p>
3297
3289
  */
3298
- containers?: {
3299
- [key: string]: Container;
3300
- };
3290
+ containers?: Record<string, Container>;
3301
3291
  /**
3302
3292
  * <p>An object that describes the endpoint of the deployment.</p>
3303
3293
  */
@@ -3939,9 +3929,7 @@ export interface CreateContainerServiceRequest {
3939
3929
  * <p>You can specify public domain names using a string to array map as shown in the example
3940
3930
  * later on this page.</p>
3941
3931
  */
3942
- publicDomainNames?: {
3943
- [key: string]: string[];
3944
- };
3932
+ publicDomainNames?: Record<string, string[]>;
3945
3933
  /**
3946
3934
  * <p>An object that describes a deployment for the container service.</p>
3947
3935
  *
@@ -3988,9 +3976,7 @@ export interface CreateContainerServiceDeploymentRequest {
3988
3976
  * <p>An object that describes the settings of the containers that will be launched on the
3989
3977
  * container service.</p>
3990
3978
  */
3991
- containers?: {
3992
- [key: string]: Container;
3993
- };
3979
+ containers?: Record<string, Container>;
3994
3980
  /**
3995
3981
  * <p>An object that describes the settings of the public endpoint for the container
3996
3982
  * service.</p>
@@ -4613,9 +4599,7 @@ export interface DomainEntry {
4613
4599
  * response. It is now deprecated.</p>
4614
4600
  * </note>
4615
4601
  */
4616
- options?: {
4617
- [key: string]: string;
4618
- };
4602
+ options?: Record<string, string>;
4619
4603
  }
4620
4604
  export declare namespace DomainEntry {
4621
4605
  /**
@@ -4758,9 +4742,7 @@ export interface CreateInstancesFromSnapshotRequest {
4758
4742
  /**
4759
4743
  * <p>An object containing information about one or more disk mappings.</p>
4760
4744
  */
4761
- attachedDiskMapping?: {
4762
- [key: string]: DiskMap[];
4763
- };
4745
+ attachedDiskMapping?: Record<string, DiskMap[]>;
4764
4746
  /**
4765
4747
  * <p>The Availability Zone where you want to create your instances. Use the following
4766
4748
  * formatting: <code>us-east-2a</code> (case sensitive). You can get a list of Availability Zones
@@ -7388,9 +7370,7 @@ export interface GetContainerAPIMetadataResult {
7388
7370
  * <p>Metadata about Lightsail containers, such as the current version of the Lightsail
7389
7371
  * Control (lightsailctl) plugin.</p>
7390
7372
  */
7391
- metadata?: {
7392
- [key: string]: string;
7393
- }[];
7373
+ metadata?: Record<string, string>[];
7394
7374
  }
7395
7375
  export declare namespace GetContainerAPIMetadataResult {
7396
7376
  /**
@@ -1540,9 +1540,7 @@ export interface LoadBalancer {
1540
1540
  * <p>A string to string map of the configuration options for your load balancer. Valid values
1541
1541
  * are listed below.</p>
1542
1542
  */
1543
- configurationOptions?: {
1544
- [key: string]: string;
1545
- };
1543
+ configurationOptions?: Record<string, string>;
1546
1544
  /**
1547
1545
  * <p>The IP address type of the load balancer.</p>
1548
1546
  *
@@ -4802,9 +4800,7 @@ export interface UpdateContainerServiceRequest {
4802
4800
  * <p>You can specify public domain names using a string to array map as shown in the example
4803
4801
  * later on this page.</p>
4804
4802
  */
4805
- publicDomainNames?: {
4806
- [key: string]: string[];
4807
- };
4803
+ publicDomainNames?: Record<string, string[]>;
4808
4804
  /**
4809
4805
  * <p>An object to describe the configuration for the container service to access private
4810
4806
  * container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private
@@ -571,9 +571,7 @@ export interface LoadBalancer {
571
571
 
572
572
  tlsCertificateSummaries?: LoadBalancerTlsCertificateSummary[];
573
573
 
574
- configurationOptions?: {
575
- [key: string]: string;
576
- };
574
+ configurationOptions?: Record<string, string>;
577
575
 
578
576
  ipAddressType?: IpAddressType | string;
579
577
 
@@ -1953,9 +1951,7 @@ export interface UpdateContainerServiceRequest {
1953
1951
 
1954
1952
  isDisabled?: boolean;
1955
1953
 
1956
- publicDomainNames?: {
1957
- [key: string]: string[];
1958
- };
1954
+ publicDomainNames?: Record<string, string[]>;
1959
1955
 
1960
1956
  privateRegistryAccess?: PrivateRegistryAccessRequest;
1961
1957
  }
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.100.0",
4
+ "version": "3.110.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,36 +18,37 @@
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.100.0",
22
- "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.100.0",
24
- "@aws-sdk/fetch-http-handler": "3.78.0",
25
- "@aws-sdk/hash-node": "3.78.0",
26
- "@aws-sdk/invalid-dependency": "3.78.0",
27
- "@aws-sdk/middleware-content-length": "3.78.0",
28
- "@aws-sdk/middleware-host-header": "3.78.0",
29
- "@aws-sdk/middleware-logger": "3.78.0",
30
- "@aws-sdk/middleware-retry": "3.80.0",
31
- "@aws-sdk/middleware-serde": "3.78.0",
32
- "@aws-sdk/middleware-signing": "3.78.0",
33
- "@aws-sdk/middleware-stack": "3.78.0",
34
- "@aws-sdk/middleware-user-agent": "3.78.0",
35
- "@aws-sdk/node-config-provider": "3.80.0",
36
- "@aws-sdk/node-http-handler": "3.94.0",
37
- "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.99.0",
39
- "@aws-sdk/types": "3.78.0",
40
- "@aws-sdk/url-parser": "3.78.0",
41
- "@aws-sdk/util-base64-browser": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.110.0",
22
+ "@aws-sdk/config-resolver": "3.110.0",
23
+ "@aws-sdk/credential-provider-node": "3.110.0",
24
+ "@aws-sdk/fetch-http-handler": "3.110.0",
25
+ "@aws-sdk/hash-node": "3.110.0",
26
+ "@aws-sdk/invalid-dependency": "3.110.0",
27
+ "@aws-sdk/middleware-content-length": "3.110.0",
28
+ "@aws-sdk/middleware-host-header": "3.110.0",
29
+ "@aws-sdk/middleware-logger": "3.110.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
+ "@aws-sdk/middleware-retry": "3.110.0",
32
+ "@aws-sdk/middleware-serde": "3.110.0",
33
+ "@aws-sdk/middleware-signing": "3.110.0",
34
+ "@aws-sdk/middleware-stack": "3.110.0",
35
+ "@aws-sdk/middleware-user-agent": "3.110.0",
36
+ "@aws-sdk/node-config-provider": "3.110.0",
37
+ "@aws-sdk/node-http-handler": "3.110.0",
38
+ "@aws-sdk/protocol-http": "3.110.0",
39
+ "@aws-sdk/smithy-client": "3.110.0",
40
+ "@aws-sdk/types": "3.110.0",
41
+ "@aws-sdk/url-parser": "3.110.0",
42
+ "@aws-sdk/util-base64-browser": "3.109.0",
42
43
  "@aws-sdk/util-base64-node": "3.55.0",
43
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
45
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.99.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
- "@aws-sdk/util-user-agent-browser": "3.78.0",
48
- "@aws-sdk/util-user-agent-node": "3.80.0",
49
- "@aws-sdk/util-utf8-browser": "3.55.0",
50
- "@aws-sdk/util-utf8-node": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.110.0",
49
+ "@aws-sdk/util-user-agent-node": "3.110.0",
50
+ "@aws-sdk/util-utf8-browser": "3.109.0",
51
+ "@aws-sdk/util-utf8-node": "3.109.0",
51
52
  "tslib": "^2.3.1"
52
53
  },
53
54
  "devDependencies": {