@aws-sdk/client-synthetics 3.99.0 → 3.109.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.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-synthetics
9
+
10
+
11
+
12
+
13
+
14
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
15
+
16
+
17
+ ### Features
18
+
19
+ * **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))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-synthetics
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-synthetics
@@ -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 SyntheticsClient 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 SyntheticsClient = (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;
@@ -372,9 +372,7 @@ export interface Canary {
372
372
  /**
373
373
  * <p>The list of key-value pairs that are associated with the canary.</p>
374
374
  */
375
- Tags?: {
376
- [key: string]: string;
377
- };
375
+ Tags?: Record<string, string>;
378
376
  /**
379
377
  * <p>A structure that contains the configuration for canary artifacts, including
380
378
  * the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.</p>
@@ -579,9 +577,7 @@ export interface CanaryRunConfigInput {
579
577
  * more information about reserved keys, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime">
580
578
  * Runtime environment variables</a>.</p>
581
579
  */
582
- EnvironmentVariables?: {
583
- [key: string]: string;
584
- };
580
+ EnvironmentVariables?: Record<string, string>;
585
581
  }
586
582
  export declare namespace CanaryRunConfigInput {
587
583
  /**
@@ -766,9 +762,7 @@ export interface CreateCanaryRequest {
766
762
  * granting a user permission to access or change only the resources that have
767
763
  * certain tag values.</p>
768
764
  */
769
- Tags?: {
770
- [key: string]: string;
771
- };
765
+ Tags?: Record<string, string>;
772
766
  /**
773
767
  * <p>A structure that contains the configuration for canary artifacts, including
774
768
  * the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.</p>
@@ -1122,9 +1116,7 @@ export interface ListTagsForResourceResponse {
1122
1116
  /**
1123
1117
  * <p>The list of tag keys and values associated with the canary that you specified.</p>
1124
1118
  */
1125
- Tags?: {
1126
- [key: string]: string;
1127
- };
1119
+ Tags?: Record<string, string>;
1128
1120
  }
1129
1121
  export declare namespace ListTagsForResourceResponse {
1130
1122
  /**
@@ -1185,9 +1177,7 @@ export interface TagResourceRequest {
1185
1177
  /**
1186
1178
  * <p>The list of key-value pairs to associate with the canary.</p>
1187
1179
  */
1188
- Tags: {
1189
- [key: string]: string;
1190
- } | undefined;
1180
+ Tags: Record<string, string> | undefined;
1191
1181
  }
1192
1182
  export declare namespace TagResourceRequest {
1193
1183
  /**
@@ -189,9 +189,7 @@ export interface Canary {
189
189
 
190
190
  VisualReference?: VisualReferenceOutput;
191
191
 
192
- Tags?: {
193
- [key: string]: string;
194
- };
192
+ Tags?: Record<string, string>;
195
193
 
196
194
  ArtifactConfig?: ArtifactConfigOutput;
197
195
  }
@@ -286,9 +284,7 @@ export interface CanaryRunConfigInput {
286
284
 
287
285
  ActiveTracing?: boolean;
288
286
 
289
- EnvironmentVariables?: {
290
- [key: string]: string;
291
- };
287
+ EnvironmentVariables?: Record<string, string>;
292
288
  }
293
289
  export declare namespace CanaryRunConfigInput {
294
290
 
@@ -346,9 +342,7 @@ export interface CreateCanaryRequest {
346
342
 
347
343
  VpcConfig?: VpcConfigInput;
348
344
 
349
- Tags?: {
350
- [key: string]: string;
351
- };
345
+ Tags?: Record<string, string>;
352
346
 
353
347
  ArtifactConfig?: ArtifactConfigInput;
354
348
  }
@@ -539,9 +533,7 @@ export declare namespace ListTagsForResourceRequest {
539
533
  }
540
534
  export interface ListTagsForResourceResponse {
541
535
 
542
- Tags?: {
543
- [key: string]: string;
544
- };
536
+ Tags?: Record<string, string>;
545
537
  }
546
538
  export declare namespace ListTagsForResourceResponse {
547
539
 
@@ -579,9 +571,7 @@ export interface TagResourceRequest {
579
571
 
580
572
  ResourceArn: string | undefined;
581
573
 
582
- Tags: {
583
- [key: string]: string;
584
- } | undefined;
574
+ Tags: Record<string, string> | undefined;
585
575
  }
586
576
  export declare namespace TagResourceRequest {
587
577
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-synthetics",
3
3
  "description": "AWS SDK for JavaScript Synthetics Client for Node.js, Browser and React Native",
4
- "version": "3.99.0",
4
+ "version": "3.109.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.99.0",
22
- "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.99.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.109.0",
22
+ "@aws-sdk/config-resolver": "3.109.0",
23
+ "@aws-sdk/credential-provider-node": "3.109.0",
24
+ "@aws-sdk/fetch-http-handler": "3.109.0",
25
+ "@aws-sdk/hash-node": "3.109.0",
26
+ "@aws-sdk/invalid-dependency": "3.109.0",
27
+ "@aws-sdk/middleware-content-length": "3.109.0",
28
+ "@aws-sdk/middleware-host-header": "3.109.0",
29
+ "@aws-sdk/middleware-logger": "3.109.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.109.0",
31
+ "@aws-sdk/middleware-retry": "3.109.0",
32
+ "@aws-sdk/middleware-serde": "3.109.0",
33
+ "@aws-sdk/middleware-signing": "3.109.0",
34
+ "@aws-sdk/middleware-stack": "3.109.0",
35
+ "@aws-sdk/middleware-user-agent": "3.109.0",
36
+ "@aws-sdk/node-config-provider": "3.109.0",
37
+ "@aws-sdk/node-http-handler": "3.109.0",
38
+ "@aws-sdk/protocol-http": "3.109.0",
39
+ "@aws-sdk/smithy-client": "3.109.0",
40
+ "@aws-sdk/types": "3.109.0",
41
+ "@aws-sdk/url-parser": "3.109.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.109.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.109.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.109.0",
49
+ "@aws-sdk/util-user-agent-node": "3.109.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": {