@aws-sdk/client-synthetics 3.299.0 → 3.301.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.
@@ -29,6 +29,10 @@ export interface AssociateResourceCommandOutput extends AssociateResourceRespons
29
29
  * import { SyntheticsClient, AssociateResourceCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
30
30
  * // const { SyntheticsClient, AssociateResourceCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
31
31
  * const client = new SyntheticsClient(config);
32
+ * const input = { // AssociateResourceRequest
33
+ * GroupIdentifier: "STRING_VALUE", // required
34
+ * ResourceArn: "STRING_VALUE", // required
35
+ * };
32
36
  * const command = new AssociateResourceCommand(input);
33
37
  * const response = await client.send(command);
34
38
  * ```
@@ -39,6 +39,50 @@ export interface CreateCanaryCommandOutput extends CreateCanaryResponse, __Metad
39
39
  * import { SyntheticsClient, CreateCanaryCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
40
40
  * // const { SyntheticsClient, CreateCanaryCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
41
41
  * const client = new SyntheticsClient(config);
42
+ * const input = { // CreateCanaryRequest
43
+ * Name: "STRING_VALUE", // required
44
+ * Code: { // CanaryCodeInput
45
+ * S3Bucket: "STRING_VALUE",
46
+ * S3Key: "STRING_VALUE",
47
+ * S3Version: "STRING_VALUE",
48
+ * ZipFile: "BLOB_VALUE",
49
+ * Handler: "STRING_VALUE", // required
50
+ * },
51
+ * ArtifactS3Location: "STRING_VALUE", // required
52
+ * ExecutionRoleArn: "STRING_VALUE", // required
53
+ * Schedule: { // CanaryScheduleInput
54
+ * Expression: "STRING_VALUE", // required
55
+ * DurationInSeconds: Number("long"),
56
+ * },
57
+ * RunConfig: { // CanaryRunConfigInput
58
+ * TimeoutInSeconds: Number("int"),
59
+ * MemoryInMB: Number("int"),
60
+ * ActiveTracing: true || false,
61
+ * EnvironmentVariables: { // EnvironmentVariablesMap
62
+ * "<keys>": "STRING_VALUE",
63
+ * },
64
+ * },
65
+ * SuccessRetentionPeriodInDays: Number("int"),
66
+ * FailureRetentionPeriodInDays: Number("int"),
67
+ * RuntimeVersion: "STRING_VALUE", // required
68
+ * VpcConfig: { // VpcConfigInput
69
+ * SubnetIds: [ // SubnetIds
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * SecurityGroupIds: [ // SecurityGroupIds
73
+ * "STRING_VALUE",
74
+ * ],
75
+ * },
76
+ * Tags: { // TagMap
77
+ * "<keys>": "STRING_VALUE",
78
+ * },
79
+ * ArtifactConfig: { // ArtifactConfigInput
80
+ * S3Encryption: { // S3EncryptionConfig
81
+ * EncryptionMode: "STRING_VALUE",
82
+ * KmsKeyArn: "STRING_VALUE",
83
+ * },
84
+ * },
85
+ * };
42
86
  * const command = new CreateCanaryCommand(input);
43
87
  * const response = await client.send(command);
44
88
  * ```
@@ -38,6 +38,12 @@ export interface CreateGroupCommandOutput extends CreateGroupResponse, __Metadat
38
38
  * import { SyntheticsClient, CreateGroupCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
39
39
  * // const { SyntheticsClient, CreateGroupCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
40
40
  * const client = new SyntheticsClient(config);
41
+ * const input = { // CreateGroupRequest
42
+ * Name: "STRING_VALUE", // required
43
+ * Tags: { // TagMap
44
+ * "<keys>": "STRING_VALUE",
45
+ * },
46
+ * };
41
47
  * const command = new CreateGroupCommand(input);
42
48
  * const response = await client.send(command);
43
49
  * ```
@@ -58,6 +58,10 @@ export interface DeleteCanaryCommandOutput extends DeleteCanaryResponse, __Metad
58
58
  * import { SyntheticsClient, DeleteCanaryCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
59
59
  * // const { SyntheticsClient, DeleteCanaryCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
60
60
  * const client = new SyntheticsClient(config);
61
+ * const input = { // DeleteCanaryRequest
62
+ * Name: "STRING_VALUE", // required
63
+ * DeleteLambda: true || false,
64
+ * };
61
65
  * const command = new DeleteCanaryCommand(input);
62
66
  * const response = await client.send(command);
63
67
  * ```
@@ -30,6 +30,9 @@ export interface DeleteGroupCommandOutput extends DeleteGroupResponse, __Metadat
30
30
  * import { SyntheticsClient, DeleteGroupCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
31
31
  * // const { SyntheticsClient, DeleteGroupCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
32
32
  * const client = new SyntheticsClient(config);
33
+ * const input = { // DeleteGroupRequest
34
+ * GroupIdentifier: "STRING_VALUE", // required
35
+ * };
33
36
  * const command = new DeleteGroupCommand(input);
34
37
  * const response = await client.send(command);
35
38
  * ```
@@ -35,6 +35,13 @@ export interface DescribeCanariesCommandOutput extends DescribeCanariesResponse,
35
35
  * import { SyntheticsClient, DescribeCanariesCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
36
36
  * // const { SyntheticsClient, DescribeCanariesCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
37
37
  * const client = new SyntheticsClient(config);
38
+ * const input = { // DescribeCanariesRequest
39
+ * NextToken: "STRING_VALUE",
40
+ * MaxResults: Number("int"),
41
+ * Names: [ // DescribeCanariesNameFilter
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * };
38
45
  * const command = new DescribeCanariesCommand(input);
39
46
  * const response = await client.send(command);
40
47
  * ```
@@ -35,6 +35,13 @@ export interface DescribeCanariesLastRunCommandOutput extends DescribeCanariesLa
35
35
  * import { SyntheticsClient, DescribeCanariesLastRunCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
36
36
  * // const { SyntheticsClient, DescribeCanariesLastRunCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
37
37
  * const client = new SyntheticsClient(config);
38
+ * const input = { // DescribeCanariesLastRunRequest
39
+ * NextToken: "STRING_VALUE",
40
+ * MaxResults: Number("int"),
41
+ * Names: [ // DescribeCanariesLastRunNameFilter
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * };
38
45
  * const command = new DescribeCanariesLastRunCommand(input);
39
46
  * const response = await client.send(command);
40
47
  * ```
@@ -28,6 +28,10 @@ export interface DescribeRuntimeVersionsCommandOutput extends DescribeRuntimeVer
28
28
  * import { SyntheticsClient, DescribeRuntimeVersionsCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
29
29
  * // const { SyntheticsClient, DescribeRuntimeVersionsCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
30
30
  * const client = new SyntheticsClient(config);
31
+ * const input = { // DescribeRuntimeVersionsRequest
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * };
31
35
  * const command = new DescribeRuntimeVersionsCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -26,6 +26,10 @@ export interface DisassociateResourceCommandOutput extends DisassociateResourceR
26
26
  * import { SyntheticsClient, DisassociateResourceCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
27
27
  * // const { SyntheticsClient, DisassociateResourceCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
28
28
  * const client = new SyntheticsClient(config);
29
+ * const input = { // DisassociateResourceRequest
30
+ * GroupIdentifier: "STRING_VALUE", // required
31
+ * ResourceArn: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DisassociateResourceCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -28,6 +28,9 @@ export interface GetCanaryCommandOutput extends GetCanaryResponse, __MetadataBea
28
28
  * import { SyntheticsClient, GetCanaryCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
29
29
  * // const { SyntheticsClient, GetCanaryCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
30
30
  * const client = new SyntheticsClient(config);
31
+ * const input = { // GetCanaryRequest
32
+ * Name: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new GetCanaryCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -26,6 +26,11 @@ export interface GetCanaryRunsCommandOutput extends GetCanaryRunsResponse, __Met
26
26
  * import { SyntheticsClient, GetCanaryRunsCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
27
27
  * // const { SyntheticsClient, GetCanaryRunsCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
28
28
  * const client = new SyntheticsClient(config);
29
+ * const input = { // GetCanaryRunsRequest
30
+ * Name: "STRING_VALUE", // required
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * };
29
34
  * const command = new GetCanaryRunsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,9 @@ export interface GetGroupCommandOutput extends GetGroupResponse, __MetadataBeare
27
27
  * import { SyntheticsClient, GetGroupCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
28
28
  * // const { SyntheticsClient, GetGroupCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
29
29
  * const client = new SyntheticsClient(config);
30
+ * const input = { // GetGroupRequest
31
+ * GroupIdentifier: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new GetGroupCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -27,6 +27,11 @@ export interface ListAssociatedGroupsCommandOutput extends ListAssociatedGroupsR
27
27
  * import { SyntheticsClient, ListAssociatedGroupsCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
28
28
  * // const { SyntheticsClient, ListAssociatedGroupsCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
29
29
  * const client = new SyntheticsClient(config);
30
+ * const input = { // ListAssociatedGroupsRequest
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * ResourceArn: "STRING_VALUE", // required
34
+ * };
30
35
  * const command = new ListAssociatedGroupsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,11 @@ export interface ListGroupResourcesCommandOutput extends ListGroupResourcesRespo
26
26
  * import { SyntheticsClient, ListGroupResourcesCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
27
27
  * // const { SyntheticsClient, ListGroupResourcesCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
28
28
  * const client = new SyntheticsClient(config);
29
+ * const input = { // ListGroupResourcesRequest
30
+ * NextToken: "STRING_VALUE",
31
+ * MaxResults: Number("int"),
32
+ * GroupIdentifier: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new ListGroupResourcesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,10 @@ export interface ListGroupsCommandOutput extends ListGroupsResponse, __MetadataB
27
27
  * import { SyntheticsClient, ListGroupsCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
28
28
  * // const { SyntheticsClient, ListGroupsCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
29
29
  * const client = new SyntheticsClient(config);
30
+ * const input = { // ListGroupsRequest
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * };
30
34
  * const command = new ListGroupsCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { SyntheticsClient, ListTagsForResourceCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
27
27
  * // const { SyntheticsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
28
28
  * const client = new SyntheticsClient(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -28,6 +28,9 @@ export interface StartCanaryCommandOutput extends StartCanaryResponse, __Metadat
28
28
  * import { SyntheticsClient, StartCanaryCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
29
29
  * // const { SyntheticsClient, StartCanaryCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
30
30
  * const client = new SyntheticsClient(config);
31
+ * const input = { // StartCanaryRequest
32
+ * Name: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new StartCanaryCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -30,6 +30,9 @@ export interface StopCanaryCommandOutput extends StopCanaryResponse, __MetadataB
30
30
  * import { SyntheticsClient, StopCanaryCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
31
31
  * // const { SyntheticsClient, StopCanaryCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
32
32
  * const client = new SyntheticsClient(config);
33
+ * const input = { // StopCanaryRequest
34
+ * Name: "STRING_VALUE", // required
35
+ * };
33
36
  * const command = new StopCanaryCommand(input);
34
37
  * const response = await client.send(command);
35
38
  * ```
@@ -37,6 +37,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
37
37
  * import { SyntheticsClient, TagResourceCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
38
38
  * // const { SyntheticsClient, TagResourceCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
39
39
  * const client = new SyntheticsClient(config);
40
+ * const input = { // TagResourceRequest
41
+ * ResourceArn: "STRING_VALUE", // required
42
+ * Tags: { // TagMap // required
43
+ * "<keys>": "STRING_VALUE",
44
+ * },
45
+ * };
40
46
  * const command = new TagResourceCommand(input);
41
47
  * const response = await client.send(command);
42
48
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { SyntheticsClient, UntagResourceCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
27
27
  * // const { SyntheticsClient, UntagResourceCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
28
28
  * const client = new SyntheticsClient(config);
29
+ * const input = { // UntagResourceRequest
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * TagKeys: [ // TagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -30,6 +30,58 @@ export interface UpdateCanaryCommandOutput extends UpdateCanaryResponse, __Metad
30
30
  * import { SyntheticsClient, UpdateCanaryCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
31
31
  * // const { SyntheticsClient, UpdateCanaryCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
32
32
  * const client = new SyntheticsClient(config);
33
+ * const input = { // UpdateCanaryRequest
34
+ * Name: "STRING_VALUE", // required
35
+ * Code: { // CanaryCodeInput
36
+ * S3Bucket: "STRING_VALUE",
37
+ * S3Key: "STRING_VALUE",
38
+ * S3Version: "STRING_VALUE",
39
+ * ZipFile: "BLOB_VALUE",
40
+ * Handler: "STRING_VALUE", // required
41
+ * },
42
+ * ExecutionRoleArn: "STRING_VALUE",
43
+ * RuntimeVersion: "STRING_VALUE",
44
+ * Schedule: { // CanaryScheduleInput
45
+ * Expression: "STRING_VALUE", // required
46
+ * DurationInSeconds: Number("long"),
47
+ * },
48
+ * RunConfig: { // CanaryRunConfigInput
49
+ * TimeoutInSeconds: Number("int"),
50
+ * MemoryInMB: Number("int"),
51
+ * ActiveTracing: true || false,
52
+ * EnvironmentVariables: { // EnvironmentVariablesMap
53
+ * "<keys>": "STRING_VALUE",
54
+ * },
55
+ * },
56
+ * SuccessRetentionPeriodInDays: Number("int"),
57
+ * FailureRetentionPeriodInDays: Number("int"),
58
+ * VpcConfig: { // VpcConfigInput
59
+ * SubnetIds: [ // SubnetIds
60
+ * "STRING_VALUE",
61
+ * ],
62
+ * SecurityGroupIds: [ // SecurityGroupIds
63
+ * "STRING_VALUE",
64
+ * ],
65
+ * },
66
+ * VisualReference: { // VisualReferenceInput
67
+ * BaseScreenshots: [ // BaseScreenshots
68
+ * { // BaseScreenshot
69
+ * ScreenshotName: "STRING_VALUE", // required
70
+ * IgnoreCoordinates: [ // BaseScreenshotIgnoreCoordinates
71
+ * "STRING_VALUE",
72
+ * ],
73
+ * },
74
+ * ],
75
+ * BaseCanaryRunId: "STRING_VALUE", // required
76
+ * },
77
+ * ArtifactS3Location: "STRING_VALUE",
78
+ * ArtifactConfig: { // ArtifactConfigInput
79
+ * S3Encryption: { // S3EncryptionConfig
80
+ * EncryptionMode: "STRING_VALUE",
81
+ * KmsKeyArn: "STRING_VALUE",
82
+ * },
83
+ * },
84
+ * };
33
85
  * const command = new UpdateCanaryCommand(input);
34
86
  * const response = await client.send(command);
35
87
  * ```
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.299.0",
4
+ "version": "3.301.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",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },