@aws-sdk/client-mwaa-serverless 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.
Files changed (35) hide show
  1. package/dist-cjs/index.js +231 -165
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/CreateWorkflowCommand.js +2 -2
  4. package/dist-es/commands/DeleteWorkflowCommand.js +2 -2
  5. package/dist-es/commands/GetTaskInstanceCommand.js +2 -2
  6. package/dist-es/commands/GetWorkflowCommand.js +2 -2
  7. package/dist-es/commands/GetWorkflowRunCommand.js +2 -2
  8. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  9. package/dist-es/commands/ListTaskInstancesCommand.js +2 -2
  10. package/dist-es/commands/ListWorkflowRunsCommand.js +2 -2
  11. package/dist-es/commands/ListWorkflowVersionsCommand.js +2 -2
  12. package/dist-es/commands/ListWorkflowsCommand.js +2 -2
  13. package/dist-es/commands/StartWorkflowRunCommand.js +2 -2
  14. package/dist-es/commands/StopWorkflowRunCommand.js +2 -2
  15. package/dist-es/commands/TagResourceCommand.js +2 -2
  16. package/dist-es/commands/UntagResourceCommand.js +2 -2
  17. package/dist-es/commands/UpdateWorkflowCommand.js +2 -2
  18. package/dist-es/index.js +1 -0
  19. package/dist-es/runtimeConfig.shared.js +6 -6
  20. package/dist-es/schemas/schemas_0.js +134 -134
  21. package/dist-types/MWAAServerlessClient.d.ts +1 -10
  22. package/dist-types/index.d.ts +1 -0
  23. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  24. package/dist-types/runtimeConfig.d.ts +6 -2
  25. package/dist-types/runtimeConfig.native.d.ts +6 -2
  26. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  27. package/dist-types/schemas/schemas_0.d.ts +67 -80
  28. package/dist-types/ts3.4/MWAAServerlessClient.d.ts +0 -4
  29. package/dist-types/ts3.4/index.d.ts +1 -0
  30. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  31. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  32. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  33. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  34. package/dist-types/ts3.4/schemas/schemas_0.d.ts +66 -81
  35. package/package.json +34 -34
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_0Protocol({
31
- defaultNamespace: "com.amazonaws.mwaaserverless",
32
- serviceTarget: "AmazonMWAAServerless",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.mwaaserverless",
32
+ version: "2024-07-26",
33
+ serviceTarget: "AmazonMWAAServerless",
34
+ },
35
35
  serviceId: config?.serviceId ?? "MWAA Serverless",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
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 { CreateWorkflow } from "../schemas/schemas_0";
4
+ import { CreateWorkflow$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateWorkflowCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateWorkflowCommand extends $Command
11
11
  })
12
12
  .s("AmazonMWAAServerless", "CreateWorkflow", {})
13
13
  .n("MWAAServerlessClient", "CreateWorkflowCommand")
14
- .sc(CreateWorkflow)
14
+ .sc(CreateWorkflow$)
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 { DeleteWorkflow } from "../schemas/schemas_0";
4
+ import { DeleteWorkflow$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteWorkflowCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteWorkflowCommand extends $Command
11
11
  })
12
12
  .s("AmazonMWAAServerless", "DeleteWorkflow", {})
13
13
  .n("MWAAServerlessClient", "DeleteWorkflowCommand")
14
- .sc(DeleteWorkflow)
14
+ .sc(DeleteWorkflow$)
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 { GetTaskInstance } from "../schemas/schemas_0";
4
+ import { GetTaskInstance$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetTaskInstanceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetTaskInstanceCommand extends $Command
11
11
  })
12
12
  .s("AmazonMWAAServerless", "GetTaskInstance", {})
13
13
  .n("MWAAServerlessClient", "GetTaskInstanceCommand")
14
- .sc(GetTaskInstance)
14
+ .sc(GetTaskInstance$)
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 { GetWorkflow } from "../schemas/schemas_0";
4
+ import { GetWorkflow$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetWorkflowCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetWorkflowCommand extends $Command
11
11
  })
12
12
  .s("AmazonMWAAServerless", "GetWorkflow", {})
13
13
  .n("MWAAServerlessClient", "GetWorkflowCommand")
14
- .sc(GetWorkflow)
14
+ .sc(GetWorkflow$)
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 { GetWorkflowRun } from "../schemas/schemas_0";
4
+ import { GetWorkflowRun$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetWorkflowRunCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetWorkflowRunCommand extends $Command
11
11
  })
12
12
  .s("AmazonMWAAServerless", "GetWorkflowRun", {})
13
13
  .n("MWAAServerlessClient", "GetWorkflowRunCommand")
14
- .sc(GetWorkflowRun)
14
+ .sc(GetWorkflowRun$)
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("AmazonMWAAServerless", "ListTagsForResource", {})
13
13
  .n("MWAAServerlessClient", "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 { ListTaskInstances } from "../schemas/schemas_0";
4
+ import { ListTaskInstances$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTaskInstancesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTaskInstancesCommand extends $Command
11
11
  })
12
12
  .s("AmazonMWAAServerless", "ListTaskInstances", {})
13
13
  .n("MWAAServerlessClient", "ListTaskInstancesCommand")
14
- .sc(ListTaskInstances)
14
+ .sc(ListTaskInstances$)
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 { ListWorkflowRuns } from "../schemas/schemas_0";
4
+ import { ListWorkflowRuns$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListWorkflowRunsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListWorkflowRunsCommand extends $Command
11
11
  })
12
12
  .s("AmazonMWAAServerless", "ListWorkflowRuns", {})
13
13
  .n("MWAAServerlessClient", "ListWorkflowRunsCommand")
14
- .sc(ListWorkflowRuns)
14
+ .sc(ListWorkflowRuns$)
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 { ListWorkflowVersions } from "../schemas/schemas_0";
4
+ import { ListWorkflowVersions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListWorkflowVersionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListWorkflowVersionsCommand extends $Command
11
11
  })
12
12
  .s("AmazonMWAAServerless", "ListWorkflowVersions", {})
13
13
  .n("MWAAServerlessClient", "ListWorkflowVersionsCommand")
14
- .sc(ListWorkflowVersions)
14
+ .sc(ListWorkflowVersions$)
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 { ListWorkflows } from "../schemas/schemas_0";
4
+ import { ListWorkflows$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListWorkflowsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListWorkflowsCommand extends $Command
11
11
  })
12
12
  .s("AmazonMWAAServerless", "ListWorkflows", {})
13
13
  .n("MWAAServerlessClient", "ListWorkflowsCommand")
14
- .sc(ListWorkflows)
14
+ .sc(ListWorkflows$)
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 { StartWorkflowRun } from "../schemas/schemas_0";
4
+ import { StartWorkflowRun$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartWorkflowRunCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartWorkflowRunCommand extends $Command
11
11
  })
12
12
  .s("AmazonMWAAServerless", "StartWorkflowRun", {})
13
13
  .n("MWAAServerlessClient", "StartWorkflowRunCommand")
14
- .sc(StartWorkflowRun)
14
+ .sc(StartWorkflowRun$)
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 { StopWorkflowRun } from "../schemas/schemas_0";
4
+ import { StopWorkflowRun$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopWorkflowRunCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopWorkflowRunCommand extends $Command
11
11
  })
12
12
  .s("AmazonMWAAServerless", "StopWorkflowRun", {})
13
13
  .n("MWAAServerlessClient", "StopWorkflowRunCommand")
14
- .sc(StopWorkflowRun)
14
+ .sc(StopWorkflowRun$)
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("AmazonMWAAServerless", "TagResource", {})
13
13
  .n("MWAAServerlessClient", "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("AmazonMWAAServerless", "UntagResource", {})
13
13
  .n("MWAAServerlessClient", "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 { UpdateWorkflow } from "../schemas/schemas_0";
4
+ import { UpdateWorkflow$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateWorkflowCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateWorkflowCommand extends $Command
11
11
  })
12
12
  .s("AmazonMWAAServerless", "UpdateWorkflow", {})
13
13
  .n("MWAAServerlessClient", "UpdateWorkflowCommand")
14
- .sc(UpdateWorkflow)
14
+ .sc(UpdateWorkflow$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./MWAAServerlessClient";
2
2
  export * from "./MWAAServerless";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_0Protocol({
28
- defaultNamespace: "com.amazonaws.mwaaserverless",
29
- serviceTarget: "AmazonMWAAServerless",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.mwaaserverless",
29
+ version: "2024-07-26",
30
+ serviceTarget: "AmazonMWAAServerless",
31
+ },
32
32
  serviceId: config?.serviceId ?? "MWAA Serverless",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,