@aws-sdk/client-synthetics 3.899.0 → 3.902.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/dist-cjs/index.js CHANGED
@@ -1358,6 +1358,7 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
1358
1358
  }, "de_ValidationExceptionRes");
1359
1359
  var se_CanaryCodeInput = /* @__PURE__ */ __name((input, context) => {
1360
1360
  return (0, import_smithy_client.take)(input, {
1361
+ BlueprintTypes: import_smithy_client._json,
1361
1362
  Dependencies: import_smithy_client._json,
1362
1363
  Handler: [],
1363
1364
  S3Bucket: [],
@@ -801,6 +801,7 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
801
801
  };
802
802
  const se_CanaryCodeInput = (input, context) => {
803
803
  return take(input, {
804
+ BlueprintTypes: _json,
804
805
  Dependencies: _json,
805
806
  Handler: [],
806
807
  S3Bucket: [],
@@ -56,7 +56,10 @@ declare const CreateCanaryCommand_base: {
56
56
  * S3Key: "STRING_VALUE",
57
57
  * S3Version: "STRING_VALUE",
58
58
  * ZipFile: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
59
- * Handler: "STRING_VALUE", // required
59
+ * Handler: "STRING_VALUE",
60
+ * BlueprintTypes: [ // BlueprintTypes
61
+ * "STRING_VALUE",
62
+ * ],
60
63
  * Dependencies: [ // Dependencies
61
64
  * { // Dependency
62
65
  * Type: "LambdaLayer",
@@ -122,6 +125,9 @@ declare const CreateCanaryCommand_base: {
122
125
  * // Code: { // CanaryCodeOutput
123
126
  * // SourceLocationArn: "STRING_VALUE",
124
127
  * // Handler: "STRING_VALUE",
128
+ * // BlueprintTypes: [ // BlueprintTypes
129
+ * // "STRING_VALUE",
130
+ * // ],
125
131
  * // Dependencies: [ // Dependencies
126
132
  * // { // Dependency
127
133
  * // Type: "LambdaLayer",
@@ -62,6 +62,9 @@ declare const DescribeCanariesCommand_base: {
62
62
  * // Code: { // CanaryCodeOutput
63
63
  * // SourceLocationArn: "STRING_VALUE",
64
64
  * // Handler: "STRING_VALUE",
65
+ * // BlueprintTypes: [ // BlueprintTypes
66
+ * // "STRING_VALUE",
67
+ * // ],
65
68
  * // Dependencies: [ // Dependencies
66
69
  * // { // Dependency
67
70
  * // Type: "LambdaLayer",
@@ -51,6 +51,9 @@ declare const GetCanaryCommand_base: {
51
51
  * // Code: { // CanaryCodeOutput
52
52
  * // SourceLocationArn: "STRING_VALUE",
53
53
  * // Handler: "STRING_VALUE",
54
+ * // BlueprintTypes: [ // BlueprintTypes
55
+ * // "STRING_VALUE",
56
+ * // ],
54
57
  * // Dependencies: [ // Dependencies
55
58
  * // { // Dependency
56
59
  * // Type: "LambdaLayer",
@@ -43,7 +43,10 @@ declare const StartCanaryDryRunCommand_base: {
43
43
  * S3Key: "STRING_VALUE",
44
44
  * S3Version: "STRING_VALUE",
45
45
  * ZipFile: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
46
- * Handler: "STRING_VALUE", // required
46
+ * Handler: "STRING_VALUE",
47
+ * BlueprintTypes: [ // BlueprintTypes
48
+ * "STRING_VALUE",
49
+ * ],
47
50
  * Dependencies: [ // Dependencies
48
51
  * { // Dependency
49
52
  * Type: "LambdaLayer",
@@ -57,7 +57,10 @@ declare const UpdateCanaryCommand_base: {
57
57
  * S3Key: "STRING_VALUE",
58
58
  * S3Version: "STRING_VALUE",
59
59
  * ZipFile: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
60
- * Handler: "STRING_VALUE", // required
60
+ * Handler: "STRING_VALUE",
61
+ * BlueprintTypes: [ // BlueprintTypes
62
+ * "STRING_VALUE",
63
+ * ],
61
64
  * Dependencies: [ // Dependencies
62
65
  * { // Dependency
63
66
  * Type: "LambdaLayer",
@@ -266,9 +266,19 @@ export interface CanaryCodeOutput {
266
266
  SourceLocationArn?: string | undefined;
267
267
  /**
268
268
  * <p>The entry point to use for the source code when running the canary.</p>
269
+ * <p>This field is required when you don't specify <code>BlueprintTypes</code> and is not allowed when you specify <code>BlueprintTypes</code>.</p>
269
270
  * @public
270
271
  */
271
272
  Handler?: string | undefined;
273
+ /**
274
+ * <p>
275
+ * <code>BlueprintTypes</code> is a list of templates that enable simplified canary creation. You can create canaries for common monitoring scenarios by providing only a JSON configuration file instead of writing custom scripts. The only supported value is <code>multi-checks</code>.</p>
276
+ * <p>Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in authentication schemes (Basic, API Key, OAuth, SigV4) and assertion capabilities. When you specify <code>BlueprintTypes</code>, the Handler field cannot be specified since the blueprint provides a pre-defined entry point.</p>
277
+ * <p>
278
+ * <code>BlueprintTypes</code> is supported only on canaries for syn-nodejs-3.0 runtime or later.</p>
279
+ * @public
280
+ */
281
+ BlueprintTypes?: string[] | undefined;
272
282
  /**
273
283
  * <p>A list of dependencies that are used for running this canary. The dependencies are specified as a key-value pair, where the key is the type of dependency and the value is the dependency reference.</p>
274
284
  * @public
@@ -919,9 +929,19 @@ export interface CanaryCodeInput {
919
929
  * <code>
920
930
  * <i>folder</i>/<i>fileName</i>.<i>functionName</i>
921
931
  * </code>.</p>
932
+ * <p>This field is required when you don't specify <code>BlueprintTypes</code> and is not allowed when you specify <code>BlueprintTypes</code>.</p>
933
+ * @public
934
+ */
935
+ Handler?: string | undefined;
936
+ /**
937
+ * <p>
938
+ * <code>BlueprintTypes</code> is a list of templates that enable simplified canary creation. You can create canaries for common monitoring scenarios by providing only a JSON configuration file instead of writing custom scripts. The only supported value is <code>multi-checks</code>.</p>
939
+ * <p>Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in authentication schemes (Basic, API Key, OAuth, SigV4) and assertion capabilities. When you specify <code>BlueprintTypes</code>, the Handler field cannot be specified since the blueprint provides a pre-defined entry point.</p>
940
+ * <p>
941
+ * <code>BlueprintTypes</code> is supported only on canaries for syn-nodejs-3.0 runtime or later.</p>
922
942
  * @public
923
943
  */
924
- Handler: string | undefined;
944
+ BlueprintTypes?: string[] | undefined;
925
945
  /**
926
946
  * <p>A list of dependencies that should be used for running this canary. Specify the dependencies as a key-value pair, where the key is the type of dependency and the value is the dependency reference.</p>
927
947
  * @public
@@ -99,6 +99,7 @@ export interface Dependency {
99
99
  export interface CanaryCodeOutput {
100
100
  SourceLocationArn?: string | undefined;
101
101
  Handler?: string | undefined;
102
+ BlueprintTypes?: string[] | undefined;
102
103
  Dependencies?: Dependency[] | undefined;
103
104
  }
104
105
  export interface DryRunConfigOutput {
@@ -257,7 +258,8 @@ export interface CanaryCodeInput {
257
258
  S3Key?: string | undefined;
258
259
  S3Version?: string | undefined;
259
260
  ZipFile?: Uint8Array | undefined;
260
- Handler: string | undefined;
261
+ Handler?: string | undefined;
262
+ BlueprintTypes?: string[] | undefined;
261
263
  Dependencies?: Dependency[] | undefined;
262
264
  }
263
265
  export interface CanaryRunConfigInput {
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.899.0",
4
+ "version": "3.902.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-synthetics",
@@ -20,42 +20,42 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.899.0",
24
- "@aws-sdk/credential-provider-node": "3.899.0",
25
- "@aws-sdk/middleware-host-header": "3.893.0",
26
- "@aws-sdk/middleware-logger": "3.893.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.893.0",
28
- "@aws-sdk/middleware-user-agent": "3.899.0",
29
- "@aws-sdk/region-config-resolver": "3.893.0",
30
- "@aws-sdk/types": "3.893.0",
31
- "@aws-sdk/util-endpoints": "3.895.0",
32
- "@aws-sdk/util-user-agent-browser": "3.893.0",
33
- "@aws-sdk/util-user-agent-node": "3.899.0",
34
- "@smithy/config-resolver": "^4.2.2",
35
- "@smithy/core": "^3.13.0",
36
- "@smithy/fetch-http-handler": "^5.2.1",
37
- "@smithy/hash-node": "^4.1.1",
38
- "@smithy/invalid-dependency": "^4.1.1",
39
- "@smithy/middleware-content-length": "^4.1.1",
40
- "@smithy/middleware-endpoint": "^4.2.5",
41
- "@smithy/middleware-retry": "^4.3.1",
42
- "@smithy/middleware-serde": "^4.1.1",
43
- "@smithy/middleware-stack": "^4.1.1",
44
- "@smithy/node-config-provider": "^4.2.2",
45
- "@smithy/node-http-handler": "^4.2.1",
46
- "@smithy/protocol-http": "^5.2.1",
47
- "@smithy/smithy-client": "^4.6.5",
48
- "@smithy/types": "^4.5.0",
49
- "@smithy/url-parser": "^4.1.1",
50
- "@smithy/util-base64": "^4.1.0",
51
- "@smithy/util-body-length-browser": "^4.1.0",
52
- "@smithy/util-body-length-node": "^4.1.0",
53
- "@smithy/util-defaults-mode-browser": "^4.1.5",
54
- "@smithy/util-defaults-mode-node": "^4.1.5",
55
- "@smithy/util-endpoints": "^3.1.2",
56
- "@smithy/util-middleware": "^4.1.1",
57
- "@smithy/util-retry": "^4.1.2",
58
- "@smithy/util-utf8": "^4.1.0",
23
+ "@aws-sdk/core": "3.901.0",
24
+ "@aws-sdk/credential-provider-node": "3.901.0",
25
+ "@aws-sdk/middleware-host-header": "3.901.0",
26
+ "@aws-sdk/middleware-logger": "3.901.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.901.0",
28
+ "@aws-sdk/middleware-user-agent": "3.901.0",
29
+ "@aws-sdk/region-config-resolver": "3.901.0",
30
+ "@aws-sdk/types": "3.901.0",
31
+ "@aws-sdk/util-endpoints": "3.901.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.901.0",
33
+ "@aws-sdk/util-user-agent-node": "3.901.0",
34
+ "@smithy/config-resolver": "^4.3.0",
35
+ "@smithy/core": "^3.14.0",
36
+ "@smithy/fetch-http-handler": "^5.3.0",
37
+ "@smithy/hash-node": "^4.2.0",
38
+ "@smithy/invalid-dependency": "^4.2.0",
39
+ "@smithy/middleware-content-length": "^4.2.0",
40
+ "@smithy/middleware-endpoint": "^4.3.0",
41
+ "@smithy/middleware-retry": "^4.4.0",
42
+ "@smithy/middleware-serde": "^4.2.0",
43
+ "@smithy/middleware-stack": "^4.2.0",
44
+ "@smithy/node-config-provider": "^4.3.0",
45
+ "@smithy/node-http-handler": "^4.3.0",
46
+ "@smithy/protocol-http": "^5.3.0",
47
+ "@smithy/smithy-client": "^4.7.0",
48
+ "@smithy/types": "^4.6.0",
49
+ "@smithy/url-parser": "^4.2.0",
50
+ "@smithy/util-base64": "^4.2.0",
51
+ "@smithy/util-body-length-browser": "^4.2.0",
52
+ "@smithy/util-body-length-node": "^4.2.0",
53
+ "@smithy/util-defaults-mode-browser": "^4.2.0",
54
+ "@smithy/util-defaults-mode-node": "^4.2.0",
55
+ "@smithy/util-endpoints": "^3.2.0",
56
+ "@smithy/util-middleware": "^4.2.0",
57
+ "@smithy/util-retry": "^4.2.0",
58
+ "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },
61
61
  "devDependencies": {