@aws-sdk/client-synthetics 3.803.0 → 3.805.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.
Files changed (66) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +114 -2
  3. package/dist-es/Synthetics.js +2 -0
  4. package/dist-es/commands/StartCanaryDryRunCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_0.js +18 -0
  7. package/dist-es/protocols/Aws_restJson1.js +66 -2
  8. package/dist-types/Synthetics.d.ts +7 -0
  9. package/dist-types/SyntheticsClient.d.ts +3 -2
  10. package/dist-types/commands/AssociateResourceCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateCanaryCommand.d.ts +5 -1
  12. package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteCanaryCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteGroupCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeCanariesCommand.d.ts +4 -0
  16. package/dist-types/commands/DescribeCanariesLastRunCommand.d.ts +3 -0
  17. package/dist-types/commands/DisassociateResourceCommand.d.ts +1 -1
  18. package/dist-types/commands/GetCanaryCommand.d.ts +6 -1
  19. package/dist-types/commands/GetCanaryRunsCommand.d.ts +6 -1
  20. package/dist-types/commands/GetGroupCommand.d.ts +1 -1
  21. package/dist-types/commands/ListAssociatedGroupsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListGroupResourcesCommand.d.ts +1 -1
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  24. package/dist-types/commands/StartCanaryCommand.d.ts +1 -1
  25. package/dist-types/commands/StartCanaryDryRunCommand.d.ts +137 -0
  26. package/dist-types/commands/StopCanaryCommand.d.ts +1 -1
  27. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  28. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateCanaryCommand.d.ts +8 -1
  30. package/dist-types/commands/index.d.ts +1 -0
  31. package/dist-types/endpoint/EndpointParameters.d.ts +1 -3
  32. package/dist-types/models/models_0.d.ts +282 -34
  33. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  34. package/dist-types/runtimeConfig.browser.d.ts +17 -17
  35. package/dist-types/runtimeConfig.d.ts +16 -16
  36. package/dist-types/runtimeConfig.native.d.ts +18 -18
  37. package/dist-types/runtimeConfig.shared.d.ts +3 -3
  38. package/dist-types/ts3.4/Synthetics.d.ts +17 -0
  39. package/dist-types/ts3.4/SyntheticsClient.d.ts +6 -0
  40. package/dist-types/ts3.4/commands/AssociateResourceCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/CreateCanaryCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/DeleteCanaryCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/DisassociateResourceCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/GetCanaryCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/GetCanaryRunsCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListAssociatedGroupsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/ListGroupResourcesCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/StartCanaryCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/StartCanaryDryRunCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/StopCanaryCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/UpdateCanaryCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  59. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -4
  60. package/dist-types/ts3.4/models/models_0.d.ts +47 -4
  61. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  62. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +22 -32
  63. package/dist-types/ts3.4/runtimeConfig.d.ts +20 -29
  64. package/dist-types/ts3.4/runtimeConfig.native.d.ts +23 -33
  65. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  66. package/package.json +19 -19
@@ -23,7 +23,7 @@ export interface GetCanaryCommandOutput extends GetCanaryResponse, __MetadataBea
23
23
  }
24
24
  declare const GetCanaryCommand_base: {
25
25
  new (input: GetCanaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetCanaryCommandInput, GetCanaryCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetCanaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetCanaryCommandInput, GetCanaryCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetCanaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetCanaryCommandInput, GetCanaryCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -38,6 +38,7 @@ declare const GetCanaryCommand_base: {
38
38
  * const client = new SyntheticsClient(config);
39
39
  * const input = { // GetCanaryRequest
40
40
  * Name: "STRING_VALUE", // required
41
+ * DryRunId: "STRING_VALUE",
41
42
  * };
42
43
  * const command = new GetCanaryCommand(input);
43
44
  * const response = await client.send(command);
@@ -106,6 +107,10 @@ declare const GetCanaryCommand_base: {
106
107
  * // KmsKeyArn: "STRING_VALUE",
107
108
  * // },
108
109
  * // },
110
+ * // DryRunConfig: { // DryRunConfigOutput
111
+ * // DryRunId: "STRING_VALUE",
112
+ * // LastDryRunExecutionStatus: "STRING_VALUE",
113
+ * // },
109
114
  * // },
110
115
  * // };
111
116
  *
@@ -23,7 +23,7 @@ export interface GetCanaryRunsCommandOutput extends GetCanaryRunsResponse, __Met
23
23
  }
24
24
  declare const GetCanaryRunsCommand_base: {
25
25
  new (input: GetCanaryRunsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCanaryRunsCommandInput, GetCanaryRunsCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetCanaryRunsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCanaryRunsCommandInput, GetCanaryRunsCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetCanaryRunsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCanaryRunsCommandInput, GetCanaryRunsCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -38,6 +38,8 @@ declare const GetCanaryRunsCommand_base: {
38
38
  * Name: "STRING_VALUE", // required
39
39
  * NextToken: "STRING_VALUE",
40
40
  * MaxResults: Number("int"),
41
+ * DryRunId: "STRING_VALUE",
42
+ * RunType: "CANARY_RUN" || "DRY_RUN",
41
43
  * };
42
44
  * const command = new GetCanaryRunsCommand(input);
43
45
  * const response = await client.send(command);
@@ -56,6 +58,9 @@ declare const GetCanaryRunsCommand_base: {
56
58
  * // Completed: new Date("TIMESTAMP"),
57
59
  * // },
58
60
  * // ArtifactS3Location: "STRING_VALUE",
61
+ * // DryRunConfig: { // CanaryDryRunConfigOutput
62
+ * // DryRunId: "STRING_VALUE",
63
+ * // },
59
64
  * // },
60
65
  * // ],
61
66
  * // NextToken: "STRING_VALUE",
@@ -23,7 +23,7 @@ export interface GetGroupCommandOutput extends GetGroupResponse, __MetadataBeare
23
23
  }
24
24
  declare const GetGroupCommand_base: {
25
25
  new (input: GetGroupCommandInput): import("@smithy/smithy-client").CommandImpl<GetGroupCommandInput, GetGroupCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetGroupCommandInput): import("@smithy/smithy-client").CommandImpl<GetGroupCommandInput, GetGroupCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetGroupCommandInput): import("@smithy/smithy-client").CommandImpl<GetGroupCommandInput, GetGroupCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface ListAssociatedGroupsCommandOutput extends ListAssociatedGroupsR
23
23
  }
24
24
  declare const ListAssociatedGroupsCommand_base: {
25
25
  new (input: ListAssociatedGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAssociatedGroupsCommandInput, ListAssociatedGroupsCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ListAssociatedGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAssociatedGroupsCommandInput, ListAssociatedGroupsCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListAssociatedGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAssociatedGroupsCommandInput, ListAssociatedGroupsCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface ListGroupResourcesCommandOutput extends ListGroupResourcesRespo
23
23
  }
24
24
  declare const ListGroupResourcesCommand_base: {
25
25
  new (input: ListGroupResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListGroupResourcesCommandInput, ListGroupResourcesCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ListGroupResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListGroupResourcesCommandInput, ListGroupResourcesCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListGroupResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListGroupResourcesCommandInput, ListGroupResourcesCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
23
23
  }
24
24
  declare const ListTagsForResourceCommand_base: {
25
25
  new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface StartCanaryCommandOutput extends StartCanaryResponse, __Metadat
23
23
  }
24
24
  declare const StartCanaryCommand_base: {
25
25
  new (input: StartCanaryCommandInput): import("@smithy/smithy-client").CommandImpl<StartCanaryCommandInput, StartCanaryCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: StartCanaryCommandInput): import("@smithy/smithy-client").CommandImpl<StartCanaryCommandInput, StartCanaryCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartCanaryCommandInput): import("@smithy/smithy-client").CommandImpl<StartCanaryCommandInput, StartCanaryCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -0,0 +1,137 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { StartCanaryDryRunRequest, StartCanaryDryRunResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SyntheticsClientResolvedConfig } from "../SyntheticsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartCanaryDryRunCommand}.
14
+ */
15
+ export interface StartCanaryDryRunCommandInput extends StartCanaryDryRunRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartCanaryDryRunCommand}.
21
+ */
22
+ export interface StartCanaryDryRunCommandOutput extends StartCanaryDryRunResponse, __MetadataBearer {
23
+ }
24
+ declare const StartCanaryDryRunCommand_base: {
25
+ new (input: StartCanaryDryRunCommandInput): import("@smithy/smithy-client").CommandImpl<StartCanaryDryRunCommandInput, StartCanaryDryRunCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartCanaryDryRunCommandInput): import("@smithy/smithy-client").CommandImpl<StartCanaryDryRunCommandInput, StartCanaryDryRunCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Use this operation to start a dry run for a canary that has already been created</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SyntheticsClient, StartCanaryDryRunCommand } from "@aws-sdk/client-synthetics"; // ES Modules import
35
+ * // const { SyntheticsClient, StartCanaryDryRunCommand } = require("@aws-sdk/client-synthetics"); // CommonJS import
36
+ * const client = new SyntheticsClient(config);
37
+ * const input = { // StartCanaryDryRunRequest
38
+ * Name: "STRING_VALUE", // required
39
+ * Code: { // CanaryCodeInput
40
+ * S3Bucket: "STRING_VALUE",
41
+ * S3Key: "STRING_VALUE",
42
+ * S3Version: "STRING_VALUE",
43
+ * ZipFile: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
44
+ * Handler: "STRING_VALUE", // required
45
+ * },
46
+ * RuntimeVersion: "STRING_VALUE",
47
+ * RunConfig: { // CanaryRunConfigInput
48
+ * TimeoutInSeconds: Number("int"),
49
+ * MemoryInMB: Number("int"),
50
+ * ActiveTracing: true || false,
51
+ * EnvironmentVariables: { // EnvironmentVariablesMap
52
+ * "<keys>": "STRING_VALUE",
53
+ * },
54
+ * },
55
+ * VpcConfig: { // VpcConfigInput
56
+ * SubnetIds: [ // SubnetIds
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * SecurityGroupIds: [ // SecurityGroupIds
60
+ * "STRING_VALUE",
61
+ * ],
62
+ * Ipv6AllowedForDualStack: true || false,
63
+ * },
64
+ * ExecutionRoleArn: "STRING_VALUE",
65
+ * SuccessRetentionPeriodInDays: Number("int"),
66
+ * FailureRetentionPeriodInDays: Number("int"),
67
+ * VisualReference: { // VisualReferenceInput
68
+ * BaseScreenshots: [ // BaseScreenshots
69
+ * { // BaseScreenshot
70
+ * ScreenshotName: "STRING_VALUE", // required
71
+ * IgnoreCoordinates: [ // BaseScreenshotIgnoreCoordinates
72
+ * "STRING_VALUE",
73
+ * ],
74
+ * },
75
+ * ],
76
+ * BaseCanaryRunId: "STRING_VALUE", // required
77
+ * },
78
+ * ArtifactS3Location: "STRING_VALUE",
79
+ * ArtifactConfig: { // ArtifactConfigInput
80
+ * S3Encryption: { // S3EncryptionConfig
81
+ * EncryptionMode: "SSE_S3" || "SSE_KMS",
82
+ * KmsKeyArn: "STRING_VALUE",
83
+ * },
84
+ * },
85
+ * ProvisionedResourceCleanup: "AUTOMATIC" || "OFF",
86
+ * };
87
+ * const command = new StartCanaryDryRunCommand(input);
88
+ * const response = await client.send(command);
89
+ * // { // StartCanaryDryRunResponse
90
+ * // DryRunConfig: { // DryRunConfigOutput
91
+ * // DryRunId: "STRING_VALUE",
92
+ * // LastDryRunExecutionStatus: "STRING_VALUE",
93
+ * // },
94
+ * // };
95
+ *
96
+ * ```
97
+ *
98
+ * @param StartCanaryDryRunCommandInput - {@link StartCanaryDryRunCommandInput}
99
+ * @returns {@link StartCanaryDryRunCommandOutput}
100
+ * @see {@link StartCanaryDryRunCommandInput} for command's `input` shape.
101
+ * @see {@link StartCanaryDryRunCommandOutput} for command's `response` shape.
102
+ * @see {@link SyntheticsClientResolvedConfig | config} for SyntheticsClient's `config` shape.
103
+ *
104
+ * @throws {@link AccessDeniedException} (client fault)
105
+ * <p>You don't have permission to perform this operation on this resource.</p>
106
+ *
107
+ * @throws {@link ConflictException} (client fault)
108
+ * <p>A conflicting operation is already in progress.</p>
109
+ *
110
+ * @throws {@link InternalServerException} (server fault)
111
+ * <p>An unknown internal error occurred.</p>
112
+ *
113
+ * @throws {@link ResourceNotFoundException} (client fault)
114
+ * <p>One of the specified resources was not found.</p>
115
+ *
116
+ * @throws {@link ValidationException} (client fault)
117
+ * <p>A parameter could not be validated.</p>
118
+ *
119
+ * @throws {@link SyntheticsServiceException}
120
+ * <p>Base exception class for all service exceptions from Synthetics service.</p>
121
+ *
122
+ *
123
+ * @public
124
+ */
125
+ export declare class StartCanaryDryRunCommand extends StartCanaryDryRunCommand_base {
126
+ /** @internal type navigation helper, not in runtime. */
127
+ protected static __types: {
128
+ api: {
129
+ input: StartCanaryDryRunRequest;
130
+ output: StartCanaryDryRunResponse;
131
+ };
132
+ sdk: {
133
+ input: StartCanaryDryRunCommandInput;
134
+ output: StartCanaryDryRunCommandOutput;
135
+ };
136
+ };
137
+ }
@@ -23,7 +23,7 @@ export interface StopCanaryCommandOutput extends StopCanaryResponse, __MetadataB
23
23
  }
24
24
  declare const StopCanaryCommand_base: {
25
25
  new (input: StopCanaryCommandInput): import("@smithy/smithy-client").CommandImpl<StopCanaryCommandInput, StopCanaryCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: StopCanaryCommandInput): import("@smithy/smithy-client").CommandImpl<StopCanaryCommandInput, StopCanaryCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StopCanaryCommandInput): import("@smithy/smithy-client").CommandImpl<StopCanaryCommandInput, StopCanaryCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
23
23
  }
24
24
  declare const TagResourceCommand_base: {
25
25
  new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
23
23
  }
24
24
  declare const UntagResourceCommand_base: {
25
25
  new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -23,7 +23,7 @@ export interface UpdateCanaryCommandOutput extends UpdateCanaryResponse, __Metad
23
23
  }
24
24
  declare const UpdateCanaryCommand_base: {
25
25
  new (input: UpdateCanaryCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCanaryCommandInput, UpdateCanaryCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: UpdateCanaryCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCanaryCommandInput, UpdateCanaryCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateCanaryCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCanaryCommandInput, UpdateCanaryCommandOutput, SyntheticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -32,6 +32,9 @@ declare const UpdateCanaryCommand_base: {
32
32
  * <p>You can't use this operation to update the tags of an existing canary. To
33
33
  * change the tags of an existing canary, use
34
34
  * <a href="https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_TagResource.html">TagResource</a>.</p>
35
+ * <note>
36
+ * <p>When you use the <code>dryRunId</code> field when updating a canary, the only other field you can provide is the <code>Schedule</code>. Adding any other field will thrown an exception.</p>
37
+ * </note>
35
38
  * @example
36
39
  * Use a bare-bones client and the command you need to make an API call.
37
40
  * ```javascript
@@ -91,6 +94,7 @@ declare const UpdateCanaryCommand_base: {
91
94
  * },
92
95
  * },
93
96
  * ProvisionedResourceCleanup: "AUTOMATIC" || "OFF",
97
+ * DryRunId: "STRING_VALUE",
94
98
  * };
95
99
  * const command = new UpdateCanaryCommand(input);
96
100
  * const response = await client.send(command);
@@ -104,6 +108,9 @@ declare const UpdateCanaryCommand_base: {
104
108
  * @see {@link UpdateCanaryCommandOutput} for command's `response` shape.
105
109
  * @see {@link SyntheticsClientResolvedConfig | config} for SyntheticsClient's `config` shape.
106
110
  *
111
+ * @throws {@link AccessDeniedException} (client fault)
112
+ * <p>You don't have permission to perform this operation on this resource.</p>
113
+ *
107
114
  * @throws {@link ConflictException} (client fault)
108
115
  * <p>A conflicting operation is already in progress.</p>
109
116
  *
@@ -15,6 +15,7 @@ export * from "./ListGroupResourcesCommand";
15
15
  export * from "./ListGroupsCommand";
16
16
  export * from "./ListTagsForResourceCommand";
17
17
  export * from "./StartCanaryCommand";
18
+ export * from "./StartCanaryDryRunCommand";
18
19
  export * from "./StopCanaryCommand";
19
20
  export * from "./TagResourceCommand";
20
21
  export * from "./UntagResourceCommand";
@@ -11,9 +11,7 @@ export interface ClientInputEndpointParameters {
11
11
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
12
  defaultSigningName: string;
13
13
  };
14
- export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
- defaultSigningName: string;
16
- };
14
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
17
15
  export declare const commonParams: {
18
16
  readonly UseFIPS: {
19
17
  readonly type: "builtInParams";