@aws-sdk/client-synthetics 3.901.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 +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/commands/CreateCanaryCommand.d.ts +7 -1
- package/dist-types/commands/DescribeCanariesCommand.d.ts +3 -0
- package/dist-types/commands/GetCanaryCommand.d.ts +3 -0
- package/dist-types/commands/StartCanaryDryRunCommand.d.ts +4 -1
- package/dist-types/commands/UpdateCanaryCommand.d.ts +4 -1
- package/dist-types/models/models_0.d.ts +21 -1
- package/dist-types/ts3.4/models/models_0.d.ts +3 -1
- package/package.json +1 -1
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: [],
|
|
@@ -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",
|
|
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",
|
|
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",
|
|
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
|
-
|
|
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
|
|
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.
|
|
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",
|