@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
@@ -7,43 +7,43 @@ export declare const getRuntimeConfig: (config: SyntheticsClientConfig) => {
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
- cacheMiddleware?: boolean | undefined;
10
+ cacheMiddleware?: boolean;
11
11
  urlParser: import("@smithy/types").UrlParser;
12
12
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
13
  streamCollector: import("@smithy/types").StreamCollector;
14
14
  base64Decoder: import("@smithy/types").Decoder;
15
- base64Encoder: (_input: string | Uint8Array) => string;
15
+ base64Encoder: (_input: Uint8Array | string) => string;
16
16
  utf8Decoder: import("@smithy/types").Decoder;
17
- utf8Encoder: (input: string | Uint8Array) => string;
17
+ utf8Encoder: (input: Uint8Array | string) => string;
18
18
  disableHostPrefix: boolean;
19
19
  serviceId: string;
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
- profile?: string | undefined;
24
- defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
23
+ profile?: string;
24
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
25
25
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
30
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
- userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
31
+ customUserAgent?: string | import("@smithy/types").UserAgent;
32
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
34
34
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
- logger?: import("@smithy/types").Logger | undefined;
36
+ logger?: import("@smithy/types").Logger;
37
37
  }) => import("@smithy/types").EndpointV2;
38
- tls?: boolean | undefined;
39
- serviceConfiguredEndpoint?: undefined;
40
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
38
+ tls?: boolean;
39
+ serviceConfiguredEndpoint?: never;
40
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
41
41
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
42
42
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SyntheticsHttpAuthSchemeProvider;
43
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
44
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
45
- signingEscapePath?: boolean | undefined;
46
- systemClockOffset?: number | undefined;
47
- signingRegion?: string | undefined;
48
- signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
43
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
44
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
45
+ signingEscapePath?: boolean;
46
+ systemClockOffset?: number;
47
+ signingRegion?: string;
48
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
49
49
  };
@@ -5,10 +5,10 @@ import { SyntheticsClientConfig } from "./SyntheticsClient";
5
5
  export declare const getRuntimeConfig: (config: SyntheticsClientConfig) => {
6
6
  apiVersion: string;
7
7
  base64Decoder: import("@smithy/types").Decoder;
8
- base64Encoder: (_input: string | Uint8Array) => string;
8
+ base64Encoder: (_input: Uint8Array | string) => string;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
- logger?: import("@smithy/types").Logger | undefined;
11
+ logger?: import("@smithy/types").Logger;
12
12
  }) => import("@smithy/types").EndpointV2;
13
13
  extensions: import("./runtimeExtensions").RuntimeExtension[];
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SyntheticsHttpAuthSchemeProvider;
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: SyntheticsClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: (input: string | Uint8Array) => string;
20
+ utf8Encoder: (input: Uint8Array | string) => string;
21
21
  };
@@ -67,6 +67,10 @@ import {
67
67
  StartCanaryCommandInput,
68
68
  StartCanaryCommandOutput,
69
69
  } from "./commands/StartCanaryCommand";
70
+ import {
71
+ StartCanaryDryRunCommandInput,
72
+ StartCanaryDryRunCommandOutput,
73
+ } from "./commands/StartCanaryDryRunCommand";
70
74
  import {
71
75
  StopCanaryCommandInput,
72
76
  StopCanaryCommandOutput,
@@ -310,6 +314,19 @@ export interface Synthetics {
310
314
  options: __HttpHandlerOptions,
311
315
  cb: (err: any, data?: StartCanaryCommandOutput) => void
312
316
  ): void;
317
+ startCanaryDryRun(
318
+ args: StartCanaryDryRunCommandInput,
319
+ options?: __HttpHandlerOptions
320
+ ): Promise<StartCanaryDryRunCommandOutput>;
321
+ startCanaryDryRun(
322
+ args: StartCanaryDryRunCommandInput,
323
+ cb: (err: any, data?: StartCanaryDryRunCommandOutput) => void
324
+ ): void;
325
+ startCanaryDryRun(
326
+ args: StartCanaryDryRunCommandInput,
327
+ options: __HttpHandlerOptions,
328
+ cb: (err: any, data?: StartCanaryDryRunCommandOutput) => void
329
+ ): void;
313
330
  stopCanary(
314
331
  args: StopCanaryCommandInput,
315
332
  options?: __HttpHandlerOptions
@@ -113,6 +113,10 @@ import {
113
113
  StartCanaryCommandInput,
114
114
  StartCanaryCommandOutput,
115
115
  } from "./commands/StartCanaryCommand";
116
+ import {
117
+ StartCanaryDryRunCommandInput,
118
+ StartCanaryDryRunCommandOutput,
119
+ } from "./commands/StartCanaryDryRunCommand";
116
120
  import {
117
121
  StopCanaryCommandInput,
118
122
  StopCanaryCommandOutput,
@@ -154,6 +158,7 @@ export type ServiceInputTypes =
154
158
  | ListGroupsCommandInput
155
159
  | ListTagsForResourceCommandInput
156
160
  | StartCanaryCommandInput
161
+ | StartCanaryDryRunCommandInput
157
162
  | StopCanaryCommandInput
158
163
  | TagResourceCommandInput
159
164
  | UntagResourceCommandInput
@@ -176,6 +181,7 @@ export type ServiceOutputTypes =
176
181
  | ListGroupsCommandOutput
177
182
  | ListTagsForResourceCommandOutput
178
183
  | StartCanaryCommandOutput
184
+ | StartCanaryDryRunCommandOutput
179
185
  | StopCanaryCommandOutput
180
186
  | TagResourceCommandOutput
181
187
  | UntagResourceCommandOutput
@@ -27,7 +27,7 @@ declare const AssociateResourceCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: AssociateResourceCommandInput
30
+ input: AssociateResourceCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  AssociateResourceCommandInput,
33
33
  AssociateResourceCommandOutput,
@@ -23,7 +23,7 @@ declare const CreateCanaryCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: CreateCanaryCommandInput
26
+ input: CreateCanaryCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  CreateCanaryCommandInput,
29
29
  CreateCanaryCommandOutput,
@@ -23,7 +23,7 @@ declare const CreateGroupCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: CreateGroupCommandInput
26
+ input: CreateGroupCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  CreateGroupCommandInput,
29
29
  CreateGroupCommandOutput,
@@ -23,7 +23,7 @@ declare const DeleteCanaryCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: DeleteCanaryCommandInput
26
+ input: DeleteCanaryCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  DeleteCanaryCommandInput,
29
29
  DeleteCanaryCommandOutput,
@@ -23,7 +23,7 @@ declare const DeleteGroupCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: DeleteGroupCommandInput
26
+ input: DeleteGroupCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  DeleteGroupCommandInput,
29
29
  DeleteGroupCommandOutput,
@@ -27,7 +27,7 @@ declare const DisassociateResourceCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: DisassociateResourceCommandInput
30
+ input: DisassociateResourceCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  DisassociateResourceCommandInput,
33
33
  DisassociateResourceCommandOutput,
@@ -23,7 +23,7 @@ declare const GetCanaryCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: GetCanaryCommandInput
26
+ input: GetCanaryCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  GetCanaryCommandInput,
29
29
  GetCanaryCommandOutput,
@@ -26,7 +26,7 @@ declare const GetCanaryRunsCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: GetCanaryRunsCommandInput
29
+ input: GetCanaryRunsCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  GetCanaryRunsCommandInput,
32
32
  GetCanaryRunsCommandOutput,
@@ -23,7 +23,7 @@ declare const GetGroupCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: GetGroupCommandInput
26
+ input: GetGroupCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  GetGroupCommandInput,
29
29
  GetGroupCommandOutput,
@@ -27,7 +27,7 @@ declare const ListAssociatedGroupsCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: ListAssociatedGroupsCommandInput
30
+ input: ListAssociatedGroupsCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  ListAssociatedGroupsCommandInput,
33
33
  ListAssociatedGroupsCommandOutput,
@@ -27,7 +27,7 @@ declare const ListGroupResourcesCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: ListGroupResourcesCommandInput
30
+ input: ListGroupResourcesCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  ListGroupResourcesCommandInput,
33
33
  ListGroupResourcesCommandOutput,
@@ -27,7 +27,7 @@ declare const ListTagsForResourceCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: ListTagsForResourceCommandInput
30
+ input: ListTagsForResourceCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  ListTagsForResourceCommandInput,
33
33
  ListTagsForResourceCommandOutput,
@@ -23,7 +23,7 @@ declare const StartCanaryCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: StartCanaryCommandInput
26
+ input: StartCanaryCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  StartCanaryCommandInput,
29
29
  StartCanaryCommandOutput,
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ StartCanaryDryRunRequest,
5
+ StartCanaryDryRunResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SyntheticsClientResolvedConfig,
11
+ } from "../SyntheticsClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StartCanaryDryRunCommandInput
15
+ extends StartCanaryDryRunRequest {}
16
+ export interface StartCanaryDryRunCommandOutput
17
+ extends StartCanaryDryRunResponse,
18
+ __MetadataBearer {}
19
+ declare const StartCanaryDryRunCommand_base: {
20
+ new (
21
+ input: StartCanaryDryRunCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StartCanaryDryRunCommandInput,
24
+ StartCanaryDryRunCommandOutput,
25
+ SyntheticsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: StartCanaryDryRunCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StartCanaryDryRunCommandInput,
33
+ StartCanaryDryRunCommandOutput,
34
+ SyntheticsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StartCanaryDryRunCommand extends StartCanaryDryRunCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: StartCanaryDryRunRequest;
44
+ output: StartCanaryDryRunResponse;
45
+ };
46
+ sdk: {
47
+ input: StartCanaryDryRunCommandInput;
48
+ output: StartCanaryDryRunCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -23,7 +23,7 @@ declare const StopCanaryCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: StopCanaryCommandInput
26
+ input: StopCanaryCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  StopCanaryCommandInput,
29
29
  StopCanaryCommandOutput,
@@ -23,7 +23,7 @@ declare const TagResourceCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: TagResourceCommandInput
26
+ input: TagResourceCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  TagResourceCommandInput,
29
29
  TagResourceCommandOutput,
@@ -26,7 +26,7 @@ declare const UntagResourceCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: UntagResourceCommandInput
29
+ input: UntagResourceCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  UntagResourceCommandInput,
32
32
  UntagResourceCommandOutput,
@@ -23,7 +23,7 @@ declare const UpdateCanaryCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: UpdateCanaryCommandInput
26
+ input: UpdateCanaryCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  UpdateCanaryCommandInput,
29
29
  UpdateCanaryCommandOutput,
@@ -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";
@@ -21,10 +21,7 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
21
21
  };
22
22
  export declare const resolveClientEndpointParameters: <T>(
23
23
  options: T & ClientInputEndpointParameters
24
- ) => T &
25
- ClientInputEndpointParameters & {
26
- defaultSigningName: string;
27
- };
24
+ ) => T & ClientResolvedEndpointParameters;
28
25
  export declare const commonParams: {
29
26
  readonly UseFIPS: {
30
27
  readonly type: "builtInParams";
@@ -1,5 +1,13 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { SyntheticsServiceException as __BaseException } from "./SyntheticsServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ Message?: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
3
11
  export declare const EncryptionMode: {
4
12
  readonly SSE_KMS: "SSE_KMS";
5
13
  readonly SSE_S3: "SSE_S3";
@@ -75,6 +83,10 @@ export interface CanaryCodeOutput {
75
83
  SourceLocationArn?: string | undefined;
76
84
  Handler?: string | undefined;
77
85
  }
86
+ export interface DryRunConfigOutput {
87
+ DryRunId?: string | undefined;
88
+ LastDryRunExecutionStatus?: string | undefined;
89
+ }
78
90
  export declare const ProvisionedResourceCleanupSetting: {
79
91
  readonly AUTOMATIC: "AUTOMATIC";
80
92
  readonly OFF: "OFF";
@@ -158,6 +170,10 @@ export interface Canary {
158
170
  ProvisionedResourceCleanup?: ProvisionedResourceCleanupSetting | undefined;
159
171
  Tags?: Record<string, string> | undefined;
160
172
  ArtifactConfig?: ArtifactConfigOutput | undefined;
173
+ DryRunConfig?: DryRunConfigOutput | undefined;
174
+ }
175
+ export interface CanaryDryRunConfigOutput {
176
+ DryRunId?: string | undefined;
161
177
  }
162
178
  export declare const CanaryRunState: {
163
179
  readonly FAILED: "FAILED";
@@ -187,6 +203,7 @@ export interface CanaryRun {
187
203
  Status?: CanaryRunStatus | undefined;
188
204
  Timeline?: CanaryRunTimeline | undefined;
189
205
  ArtifactS3Location?: string | undefined;
206
+ DryRunConfig?: CanaryDryRunConfigOutput | undefined;
190
207
  }
191
208
  export interface CanaryLastRun {
192
209
  CanaryName?: string | undefined;
@@ -308,14 +325,22 @@ export interface DisassociateResourceRequest {
308
325
  export interface DisassociateResourceResponse {}
309
326
  export interface GetCanaryRequest {
310
327
  Name: string | undefined;
328
+ DryRunId?: string | undefined;
311
329
  }
312
330
  export interface GetCanaryResponse {
313
331
  Canary?: Canary | undefined;
314
332
  }
333
+ export declare const RunType: {
334
+ readonly CANARY_RUN: "CANARY_RUN";
335
+ readonly DRY_RUN: "DRY_RUN";
336
+ };
337
+ export type RunType = (typeof RunType)[keyof typeof RunType];
315
338
  export interface GetCanaryRunsRequest {
316
339
  Name: string | undefined;
317
340
  NextToken?: string | undefined;
318
341
  MaxResults?: number | undefined;
342
+ DryRunId?: string | undefined;
343
+ RunType?: RunType | undefined;
319
344
  }
320
345
  export interface GetCanaryRunsResponse {
321
346
  CanaryRuns?: CanaryRun[] | undefined;
@@ -390,6 +415,27 @@ export interface StartCanaryRequest {
390
415
  Name: string | undefined;
391
416
  }
392
417
  export interface StartCanaryResponse {}
418
+ export interface VisualReferenceInput {
419
+ BaseScreenshots?: BaseScreenshot[] | undefined;
420
+ BaseCanaryRunId: string | undefined;
421
+ }
422
+ export interface StartCanaryDryRunRequest {
423
+ Name: string | undefined;
424
+ Code?: CanaryCodeInput | undefined;
425
+ RuntimeVersion?: string | undefined;
426
+ RunConfig?: CanaryRunConfigInput | undefined;
427
+ VpcConfig?: VpcConfigInput | undefined;
428
+ ExecutionRoleArn?: string | undefined;
429
+ SuccessRetentionPeriodInDays?: number | undefined;
430
+ FailureRetentionPeriodInDays?: number | undefined;
431
+ VisualReference?: VisualReferenceInput | undefined;
432
+ ArtifactS3Location?: string | undefined;
433
+ ArtifactConfig?: ArtifactConfigInput | undefined;
434
+ ProvisionedResourceCleanup?: ProvisionedResourceCleanupSetting | undefined;
435
+ }
436
+ export interface StartCanaryDryRunResponse {
437
+ DryRunConfig?: DryRunConfigOutput | undefined;
438
+ }
393
439
  export interface StopCanaryRequest {
394
440
  Name: string | undefined;
395
441
  }
@@ -404,10 +450,6 @@ export interface UntagResourceRequest {
404
450
  TagKeys: string[] | undefined;
405
451
  }
406
452
  export interface UntagResourceResponse {}
407
- export interface VisualReferenceInput {
408
- BaseScreenshots?: BaseScreenshot[] | undefined;
409
- BaseCanaryRunId: string | undefined;
410
- }
411
453
  export interface UpdateCanaryRequest {
412
454
  Name: string | undefined;
413
455
  Code?: CanaryCodeInput | undefined;
@@ -422,5 +464,6 @@ export interface UpdateCanaryRequest {
422
464
  ArtifactS3Location?: string | undefined;
423
465
  ArtifactConfig?: ArtifactConfigInput | undefined;
424
466
  ProvisionedResourceCleanup?: ProvisionedResourceCleanupSetting | undefined;
467
+ DryRunId?: string | undefined;
425
468
  }
426
469
  export interface UpdateCanaryResponse {}
@@ -71,6 +71,10 @@ import {
71
71
  StartCanaryCommandInput,
72
72
  StartCanaryCommandOutput,
73
73
  } from "../commands/StartCanaryCommand";
74
+ import {
75
+ StartCanaryDryRunCommandInput,
76
+ StartCanaryDryRunCommandOutput,
77
+ } from "../commands/StartCanaryDryRunCommand";
74
78
  import {
75
79
  StopCanaryCommandInput,
76
80
  StopCanaryCommandOutput,
@@ -155,6 +159,10 @@ export declare const se_StartCanaryCommand: (
155
159
  input: StartCanaryCommandInput,
156
160
  context: __SerdeContext
157
161
  ) => Promise<__HttpRequest>;
162
+ export declare const se_StartCanaryDryRunCommand: (
163
+ input: StartCanaryDryRunCommandInput,
164
+ context: __SerdeContext
165
+ ) => Promise<__HttpRequest>;
158
166
  export declare const se_StopCanaryCommand: (
159
167
  input: StopCanaryCommandInput,
160
168
  context: __SerdeContext
@@ -239,6 +247,10 @@ export declare const de_StartCanaryCommand: (
239
247
  output: __HttpResponse,
240
248
  context: __SerdeContext
241
249
  ) => Promise<StartCanaryCommandOutput>;
250
+ export declare const de_StartCanaryDryRunCommand: (
251
+ output: __HttpResponse,
252
+ context: __SerdeContext
253
+ ) => Promise<StartCanaryDryRunCommandOutput>;
242
254
  export declare const de_StopCanaryCommand: (
243
255
  output: __HttpResponse,
244
256
  context: __SerdeContext
@@ -12,9 +12,7 @@ export declare const getRuntimeConfig: (config: SyntheticsClientConfig) => {
12
12
  _: unknown
13
13
  ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
14
  defaultUserAgentProvider: (
15
- config?:
16
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
17
- | undefined
15
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
18
16
  ) => Promise<import("@smithy/types").UserAgent>;
19
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
18
  region: string | import("@smithy/types").Provider<any>;
@@ -30,23 +28,22 @@ export declare const getRuntimeConfig: (config: SyntheticsClientConfig) => {
30
28
  cacheMiddleware?: boolean | undefined;
31
29
  urlParser: import("@smithy/types").UrlParser;
32
30
  base64Decoder: import("@smithy/types").Decoder;
33
- base64Encoder: (_input: string | Uint8Array) => string;
31
+ base64Encoder: (_input: Uint8Array | string) => string;
34
32
  utf8Decoder: import("@smithy/types").Decoder;
35
- utf8Encoder: (input: string | Uint8Array) => string;
33
+ utf8Encoder: (input: Uint8Array | string) => string;
36
34
  disableHostPrefix: boolean;
37
35
  serviceId: string;
38
- profile?: string | undefined;
36
+ profile?: string;
39
37
  logger: import("@smithy/types").Logger;
40
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
39
+ customUserAgent?: string | import("@smithy/types").UserAgent;
42
40
  userAgentAppId?:
43
41
  | string
44
- | import("@smithy/types").Provider<string | undefined>
45
- | undefined;
42
+ | undefined
43
+ | import("@smithy/types").Provider<string | undefined>;
46
44
  retryStrategy?:
47
45
  | import("@smithy/types").RetryStrategy
48
- | import("@smithy/types").RetryStrategyV2
49
- | undefined;
46
+ | import("@smithy/types").RetryStrategyV2;
50
47
  endpoint?:
51
48
  | ((
52
49
  | string
@@ -67,34 +64,27 @@ export declare const getRuntimeConfig: (config: SyntheticsClientConfig) => {
67
64
  endpointProvider: (
68
65
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
69
66
  context?: {
70
- logger?: import("@smithy/types").Logger | undefined;
67
+ logger?: import("@smithy/types").Logger;
71
68
  }
72
69
  ) => import("@smithy/types").EndpointV2;
73
- tls?: boolean | undefined;
74
- serviceConfiguredEndpoint?: undefined;
75
- authSchemePreference?:
76
- | string[]
77
- | import("@smithy/types").Provider<string[]>
78
- | undefined;
70
+ tls?: boolean;
71
+ serviceConfiguredEndpoint?: never;
72
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
79
73
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
80
74
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SyntheticsHttpAuthSchemeProvider;
81
75
  credentials?:
82
76
  | import("@smithy/types").AwsCredentialIdentity
83
- | import("@smithy/types").AwsCredentialIdentityProvider
84
- | undefined;
77
+ | import("@smithy/types").AwsCredentialIdentityProvider;
85
78
  signer?:
86
79
  | import("@smithy/types").RequestSigner
87
80
  | ((
88
- authScheme?: import("@smithy/types").AuthScheme | undefined
89
- ) => Promise<import("@smithy/types").RequestSigner>)
90
- | undefined;
91
- signingEscapePath?: boolean | undefined;
92
- systemClockOffset?: number | undefined;
93
- signingRegion?: string | undefined;
94
- signerConstructor?:
95
- | (new (
96
- options: import("@smithy/signature-v4").SignatureV4Init &
97
- import("@smithy/signature-v4").SignatureV4CryptoInit
98
- ) => import("@smithy/types").RequestSigner)
99
- | undefined;
81
+ authScheme?: import("@smithy/types").AuthScheme
82
+ ) => Promise<import("@smithy/types").RequestSigner>);
83
+ signingEscapePath?: boolean;
84
+ systemClockOffset?: number;
85
+ signingRegion?: string;
86
+ signerConstructor?: new (
87
+ options: import("@smithy/signature-v4").SignatureV4Init &
88
+ import("@smithy/signature-v4").SignatureV4CryptoInit
89
+ ) => import("@smithy/types").RequestSigner;
100
90
  };