@aws-sdk/client-mwaa 3.948.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 +195 -140
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/CreateCliTokenCommand.js +2 -2
- package/dist-es/commands/CreateEnvironmentCommand.js +2 -2
- package/dist-es/commands/CreateWebLoginTokenCommand.js +2 -2
- package/dist-es/commands/DeleteEnvironmentCommand.js +2 -2
- package/dist-es/commands/GetEnvironmentCommand.js +2 -2
- package/dist-es/commands/InvokeRestApiCommand.js +2 -2
- package/dist-es/commands/ListEnvironmentsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PublishMetricsCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateEnvironmentCommand.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 +119 -119
- package/dist-types/MWAAClient.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 +56 -68
- package/dist-types/ts3.4/MWAAClient.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 +55 -70
- 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.mwaa",
|
|
32
|
+
version: "2020-07-01",
|
|
33
|
+
serviceTarget: "AmazonMWAA",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "MWAA",
|
|
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 { CreateCliToken } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateCliToken$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateCliTokenCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateCliTokenCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonMWAA", "CreateCliToken", {})
|
|
13
13
|
.n("MWAAClient", "CreateCliTokenCommand")
|
|
14
|
-
.sc(CreateCliToken)
|
|
14
|
+
.sc(CreateCliToken$)
|
|
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 { CreateEnvironment } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateEnvironment$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateEnvironmentCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateEnvironmentCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonMWAA", "CreateEnvironment", {})
|
|
13
13
|
.n("MWAAClient", "CreateEnvironmentCommand")
|
|
14
|
-
.sc(CreateEnvironment)
|
|
14
|
+
.sc(CreateEnvironment$)
|
|
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 { CreateWebLoginToken } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateWebLoginToken$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateWebLoginTokenCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateWebLoginTokenCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonMWAA", "CreateWebLoginToken", {})
|
|
13
13
|
.n("MWAAClient", "CreateWebLoginTokenCommand")
|
|
14
|
-
.sc(CreateWebLoginToken)
|
|
14
|
+
.sc(CreateWebLoginToken$)
|
|
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 { DeleteEnvironment } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteEnvironment$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteEnvironmentCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteEnvironmentCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonMWAA", "DeleteEnvironment", {})
|
|
13
13
|
.n("MWAAClient", "DeleteEnvironmentCommand")
|
|
14
|
-
.sc(DeleteEnvironment)
|
|
14
|
+
.sc(DeleteEnvironment$)
|
|
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 { GetEnvironment } from "../schemas/schemas_0";
|
|
4
|
+
import { GetEnvironment$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetEnvironmentCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetEnvironmentCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonMWAA", "GetEnvironment", {})
|
|
13
13
|
.n("MWAAClient", "GetEnvironmentCommand")
|
|
14
|
-
.sc(GetEnvironment)
|
|
14
|
+
.sc(GetEnvironment$)
|
|
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 { InvokeRestApi } from "../schemas/schemas_0";
|
|
4
|
+
import { InvokeRestApi$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class InvokeRestApiCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class InvokeRestApiCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonMWAA", "InvokeRestApi", {})
|
|
13
13
|
.n("MWAAClient", "InvokeRestApiCommand")
|
|
14
|
-
.sc(InvokeRestApi)
|
|
14
|
+
.sc(InvokeRestApi$)
|
|
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 { ListEnvironments } from "../schemas/schemas_0";
|
|
4
|
+
import { ListEnvironments$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListEnvironmentsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListEnvironmentsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonMWAA", "ListEnvironments", {})
|
|
13
13
|
.n("MWAAClient", "ListEnvironmentsCommand")
|
|
14
|
-
.sc(ListEnvironments)
|
|
14
|
+
.sc(ListEnvironments$)
|
|
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("AmazonMWAA", "ListTagsForResource", {})
|
|
13
13
|
.n("MWAAClient", "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 { PublishMetrics } from "../schemas/schemas_0";
|
|
4
|
+
import { PublishMetrics$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PublishMetricsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PublishMetricsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonMWAA", "PublishMetrics", {})
|
|
13
13
|
.n("MWAAClient", "PublishMetricsCommand")
|
|
14
|
-
.sc(PublishMetrics)
|
|
14
|
+
.sc(PublishMetrics$)
|
|
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("AmazonMWAA", "TagResource", {})
|
|
13
13
|
.n("MWAAClient", "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("AmazonMWAA", "UntagResource", {})
|
|
13
13
|
.n("MWAAClient", "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 { UpdateEnvironment } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateEnvironment$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateEnvironmentCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateEnvironmentCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonMWAA", "UpdateEnvironment", {})
|
|
13
13
|
.n("MWAAClient", "UpdateEnvironmentCommand")
|
|
14
|
-
.sc(UpdateEnvironment)
|
|
14
|
+
.sc(UpdateEnvironment$)
|
|
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.mwaa",
|
|
29
|
+
version: "2020-07-01",
|
|
30
|
+
serviceTarget: "AmazonMWAA",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "MWAA",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|