@aws-sdk/client-synthetics 3.952.0 → 3.953.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 +371 -262
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/AssociateResourceCommand.js +2 -2
- package/dist-es/commands/CreateCanaryCommand.js +2 -2
- package/dist-es/commands/CreateGroupCommand.js +2 -2
- package/dist-es/commands/DeleteCanaryCommand.js +2 -2
- package/dist-es/commands/DeleteGroupCommand.js +2 -2
- package/dist-es/commands/DescribeCanariesCommand.js +2 -2
- package/dist-es/commands/DescribeCanariesLastRunCommand.js +2 -2
- package/dist-es/commands/DescribeRuntimeVersionsCommand.js +2 -2
- package/dist-es/commands/DisassociateResourceCommand.js +2 -2
- package/dist-es/commands/GetCanaryCommand.js +2 -2
- package/dist-es/commands/GetCanaryRunsCommand.js +2 -2
- package/dist-es/commands/GetGroupCommand.js +2 -2
- package/dist-es/commands/ListAssociatedGroupsCommand.js +2 -2
- package/dist-es/commands/ListGroupResourcesCommand.js +2 -2
- package/dist-es/commands/ListGroupsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/StartCanaryCommand.js +2 -2
- package/dist-es/commands/StartCanaryDryRunCommand.js +2 -2
- package/dist-es/commands/StopCanaryCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateCanaryCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +217 -217
- package/dist-types/SyntheticsClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +110 -132
- package/dist-types/ts3.4/SyntheticsClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +109 -132
- package/package.json +34 -34
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.synthetics",
|
|
32
|
+
version: "2017-10-11",
|
|
33
|
+
serviceTarget: "Synthetics",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "synthetics",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { AssociateResource } from "../schemas/schemas_0";
|
|
4
|
+
import { AssociateResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class AssociateResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class AssociateResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "AssociateResource", {})
|
|
13
13
|
.n("SyntheticsClient", "AssociateResourceCommand")
|
|
14
|
-
.sc(AssociateResource)
|
|
14
|
+
.sc(AssociateResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CreateCanary } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateCanary$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateCanaryCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateCanaryCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "CreateCanary", {})
|
|
13
13
|
.n("SyntheticsClient", "CreateCanaryCommand")
|
|
14
|
-
.sc(CreateCanary)
|
|
14
|
+
.sc(CreateCanary$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CreateGroup } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateGroup$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateGroupCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateGroupCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "CreateGroup", {})
|
|
13
13
|
.n("SyntheticsClient", "CreateGroupCommand")
|
|
14
|
-
.sc(CreateGroup)
|
|
14
|
+
.sc(CreateGroup$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteCanary } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteCanary$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteCanaryCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteCanaryCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "DeleteCanary", {})
|
|
13
13
|
.n("SyntheticsClient", "DeleteCanaryCommand")
|
|
14
|
-
.sc(DeleteCanary)
|
|
14
|
+
.sc(DeleteCanary$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteGroup } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteGroup$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteGroupCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteGroupCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "DeleteGroup", {})
|
|
13
13
|
.n("SyntheticsClient", "DeleteGroupCommand")
|
|
14
|
-
.sc(DeleteGroup)
|
|
14
|
+
.sc(DeleteGroup$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeCanaries } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeCanaries$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeCanariesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeCanariesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "DescribeCanaries", {})
|
|
13
13
|
.n("SyntheticsClient", "DescribeCanariesCommand")
|
|
14
|
-
.sc(DescribeCanaries)
|
|
14
|
+
.sc(DescribeCanaries$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeCanariesLastRun } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeCanariesLastRun$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeCanariesLastRunCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeCanariesLastRunCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "DescribeCanariesLastRun", {})
|
|
13
13
|
.n("SyntheticsClient", "DescribeCanariesLastRunCommand")
|
|
14
|
-
.sc(DescribeCanariesLastRun)
|
|
14
|
+
.sc(DescribeCanariesLastRun$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeRuntimeVersions } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeRuntimeVersions$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeRuntimeVersionsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeRuntimeVersionsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "DescribeRuntimeVersions", {})
|
|
13
13
|
.n("SyntheticsClient", "DescribeRuntimeVersionsCommand")
|
|
14
|
-
.sc(DescribeRuntimeVersions)
|
|
14
|
+
.sc(DescribeRuntimeVersions$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DisassociateResource } from "../schemas/schemas_0";
|
|
4
|
+
import { DisassociateResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DisassociateResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DisassociateResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "DisassociateResource", {})
|
|
13
13
|
.n("SyntheticsClient", "DisassociateResourceCommand")
|
|
14
|
-
.sc(DisassociateResource)
|
|
14
|
+
.sc(DisassociateResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetCanary } from "../schemas/schemas_0";
|
|
4
|
+
import { GetCanary$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetCanaryCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetCanaryCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "GetCanary", {})
|
|
13
13
|
.n("SyntheticsClient", "GetCanaryCommand")
|
|
14
|
-
.sc(GetCanary)
|
|
14
|
+
.sc(GetCanary$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetCanaryRuns } from "../schemas/schemas_0";
|
|
4
|
+
import { GetCanaryRuns$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetCanaryRunsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetCanaryRunsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "GetCanaryRuns", {})
|
|
13
13
|
.n("SyntheticsClient", "GetCanaryRunsCommand")
|
|
14
|
-
.sc(GetCanaryRuns)
|
|
14
|
+
.sc(GetCanaryRuns$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetGroup } from "../schemas/schemas_0";
|
|
4
|
+
import { GetGroup$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetGroupCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetGroupCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "GetGroup", {})
|
|
13
13
|
.n("SyntheticsClient", "GetGroupCommand")
|
|
14
|
-
.sc(GetGroup)
|
|
14
|
+
.sc(GetGroup$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListAssociatedGroups } from "../schemas/schemas_0";
|
|
4
|
+
import { ListAssociatedGroups$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListAssociatedGroupsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListAssociatedGroupsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "ListAssociatedGroups", {})
|
|
13
13
|
.n("SyntheticsClient", "ListAssociatedGroupsCommand")
|
|
14
|
-
.sc(ListAssociatedGroups)
|
|
14
|
+
.sc(ListAssociatedGroups$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListGroupResources } from "../schemas/schemas_0";
|
|
4
|
+
import { ListGroupResources$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListGroupResourcesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListGroupResourcesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "ListGroupResources", {})
|
|
13
13
|
.n("SyntheticsClient", "ListGroupResourcesCommand")
|
|
14
|
-
.sc(ListGroupResources)
|
|
14
|
+
.sc(ListGroupResources$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListGroups } from "../schemas/schemas_0";
|
|
4
|
+
import { ListGroups$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListGroupsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListGroupsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "ListGroups", {})
|
|
13
13
|
.n("SyntheticsClient", "ListGroupsCommand")
|
|
14
|
-
.sc(ListGroups)
|
|
14
|
+
.sc(ListGroups$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
4
|
+
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "ListTagsForResource", {})
|
|
13
13
|
.n("SyntheticsClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource)
|
|
14
|
+
.sc(ListTagsForResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { StartCanary } from "../schemas/schemas_0";
|
|
4
|
+
import { StartCanary$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StartCanaryCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class StartCanaryCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "StartCanary", {})
|
|
13
13
|
.n("SyntheticsClient", "StartCanaryCommand")
|
|
14
|
-
.sc(StartCanary)
|
|
14
|
+
.sc(StartCanary$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { StartCanaryDryRun } from "../schemas/schemas_0";
|
|
4
|
+
import { StartCanaryDryRun$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StartCanaryDryRunCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class StartCanaryDryRunCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "StartCanaryDryRun", {})
|
|
13
13
|
.n("SyntheticsClient", "StartCanaryDryRunCommand")
|
|
14
|
-
.sc(StartCanaryDryRun)
|
|
14
|
+
.sc(StartCanaryDryRun$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { StopCanary } from "../schemas/schemas_0";
|
|
4
|
+
import { StopCanary$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StopCanaryCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class StopCanaryCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "StopCanary", {})
|
|
13
13
|
.n("SyntheticsClient", "StopCanaryCommand")
|
|
14
|
-
.sc(StopCanary)
|
|
14
|
+
.sc(StopCanary$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { TagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "TagResource", {})
|
|
13
13
|
.n("SyntheticsClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource)
|
|
14
|
+
.sc(TagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UntagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "UntagResource", {})
|
|
13
13
|
.n("SyntheticsClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource)
|
|
14
|
+
.sc(UntagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateCanary } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateCanary$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateCanaryCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateCanaryCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Synthetics", "UpdateCanary", {})
|
|
13
13
|
.n("SyntheticsClient", "UpdateCanaryCommand")
|
|
14
|
-
.sc(UpdateCanary)
|
|
14
|
+
.sc(UpdateCanary$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.synthetics",
|
|
29
|
+
version: "2017-10-11",
|
|
30
|
+
serviceTarget: "Synthetics",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "synthetics",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|