@aws-sdk/client-clouddirectory 3.927.0 → 3.929.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 (87) hide show
  1. package/dist-cjs/index.js +3516 -3593
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/CloudDirectoryClient.js +2 -0
  4. package/dist-es/commands/AddFacetToObjectCommand.js +3 -9
  5. package/dist-es/commands/ApplySchemaCommand.js +3 -9
  6. package/dist-es/commands/AttachObjectCommand.js +3 -9
  7. package/dist-es/commands/AttachPolicyCommand.js +3 -9
  8. package/dist-es/commands/AttachToIndexCommand.js +3 -9
  9. package/dist-es/commands/AttachTypedLinkCommand.js +3 -9
  10. package/dist-es/commands/BatchReadCommand.js +3 -9
  11. package/dist-es/commands/BatchWriteCommand.js +3 -9
  12. package/dist-es/commands/CreateDirectoryCommand.js +3 -9
  13. package/dist-es/commands/CreateFacetCommand.js +3 -9
  14. package/dist-es/commands/CreateIndexCommand.js +3 -9
  15. package/dist-es/commands/CreateObjectCommand.js +3 -9
  16. package/dist-es/commands/CreateSchemaCommand.js +3 -9
  17. package/dist-es/commands/CreateTypedLinkFacetCommand.js +3 -9
  18. package/dist-es/commands/DeleteDirectoryCommand.js +3 -9
  19. package/dist-es/commands/DeleteFacetCommand.js +3 -9
  20. package/dist-es/commands/DeleteObjectCommand.js +3 -9
  21. package/dist-es/commands/DeleteSchemaCommand.js +3 -9
  22. package/dist-es/commands/DeleteTypedLinkFacetCommand.js +3 -9
  23. package/dist-es/commands/DetachFromIndexCommand.js +3 -9
  24. package/dist-es/commands/DetachObjectCommand.js +3 -9
  25. package/dist-es/commands/DetachPolicyCommand.js +3 -9
  26. package/dist-es/commands/DetachTypedLinkCommand.js +3 -9
  27. package/dist-es/commands/DisableDirectoryCommand.js +3 -9
  28. package/dist-es/commands/EnableDirectoryCommand.js +3 -9
  29. package/dist-es/commands/GetAppliedSchemaVersionCommand.js +3 -9
  30. package/dist-es/commands/GetDirectoryCommand.js +3 -9
  31. package/dist-es/commands/GetFacetCommand.js +3 -9
  32. package/dist-es/commands/GetLinkAttributesCommand.js +3 -9
  33. package/dist-es/commands/GetObjectAttributesCommand.js +3 -9
  34. package/dist-es/commands/GetObjectInformationCommand.js +3 -9
  35. package/dist-es/commands/GetSchemaAsJsonCommand.js +3 -9
  36. package/dist-es/commands/GetTypedLinkFacetInformationCommand.js +3 -9
  37. package/dist-es/commands/ListAppliedSchemaArnsCommand.js +3 -9
  38. package/dist-es/commands/ListAttachedIndicesCommand.js +3 -9
  39. package/dist-es/commands/ListDevelopmentSchemaArnsCommand.js +3 -9
  40. package/dist-es/commands/ListDirectoriesCommand.js +3 -9
  41. package/dist-es/commands/ListFacetAttributesCommand.js +3 -9
  42. package/dist-es/commands/ListFacetNamesCommand.js +3 -9
  43. package/dist-es/commands/ListIncomingTypedLinksCommand.js +3 -9
  44. package/dist-es/commands/ListIndexCommand.js +3 -9
  45. package/dist-es/commands/ListManagedSchemaArnsCommand.js +3 -9
  46. package/dist-es/commands/ListObjectAttributesCommand.js +3 -9
  47. package/dist-es/commands/ListObjectChildrenCommand.js +3 -9
  48. package/dist-es/commands/ListObjectParentPathsCommand.js +3 -9
  49. package/dist-es/commands/ListObjectParentsCommand.js +3 -9
  50. package/dist-es/commands/ListObjectPoliciesCommand.js +3 -9
  51. package/dist-es/commands/ListOutgoingTypedLinksCommand.js +3 -9
  52. package/dist-es/commands/ListPolicyAttachmentsCommand.js +3 -9
  53. package/dist-es/commands/ListPublishedSchemaArnsCommand.js +3 -9
  54. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  55. package/dist-es/commands/ListTypedLinkFacetAttributesCommand.js +3 -9
  56. package/dist-es/commands/ListTypedLinkFacetNamesCommand.js +3 -9
  57. package/dist-es/commands/LookupPolicyCommand.js +3 -9
  58. package/dist-es/commands/PublishSchemaCommand.js +3 -9
  59. package/dist-es/commands/PutSchemaFromJsonCommand.js +3 -9
  60. package/dist-es/commands/RemoveFacetFromObjectCommand.js +3 -9
  61. package/dist-es/commands/TagResourceCommand.js +3 -9
  62. package/dist-es/commands/UntagResourceCommand.js +3 -9
  63. package/dist-es/commands/UpdateFacetCommand.js +3 -9
  64. package/dist-es/commands/UpdateLinkAttributesCommand.js +3 -9
  65. package/dist-es/commands/UpdateObjectAttributesCommand.js +3 -9
  66. package/dist-es/commands/UpdateSchemaCommand.js +3 -9
  67. package/dist-es/commands/UpdateTypedLinkFacetCommand.js +3 -9
  68. package/dist-es/commands/UpgradeAppliedSchemaCommand.js +3 -9
  69. package/dist-es/commands/UpgradePublishedSchemaCommand.js +3 -9
  70. package/dist-es/runtimeConfig.shared.js +2 -0
  71. package/dist-es/schemas/schemas_0.js +3292 -0
  72. package/dist-types/CloudDirectoryClient.d.ts +10 -1
  73. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  74. package/dist-types/runtimeConfig.d.ts +1 -0
  75. package/dist-types/runtimeConfig.native.d.ts +1 -0
  76. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  77. package/dist-types/schemas/schemas_0.d.ts +364 -0
  78. package/dist-types/ts3.4/CloudDirectoryClient.d.ts +4 -0
  79. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  80. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  81. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  82. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  83. package/dist-types/ts3.4/schemas/schemas_0.d.ts +370 -0
  84. package/package.json +5 -5
  85. package/dist-es/protocols/Aws_restJson1.js +0 -3033
  86. package/dist-types/protocols/Aws_restJson1.d.ts +0 -596
  87. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -797
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.clouddirectory" }),
28
30
  serviceId: config?.serviceId ?? "CloudDirectory",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class CloudDirectoryClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AddFacetToObjectCommand, se_AddFacetToObjectCommand } from "../protocols/Aws_restJson1";
4
+ import { AddFacetToObject } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddFacetToObjectCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "AddFacetToObject", {})
17
13
  .n("CloudDirectoryClient", "AddFacetToObjectCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddFacetToObjectCommand)
20
- .de(de_AddFacetToObjectCommand)
14
+ .sc(AddFacetToObject)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ApplySchemaCommand, se_ApplySchemaCommand } from "../protocols/Aws_restJson1";
4
+ import { ApplySchema } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ApplySchemaCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "ApplySchema", {})
17
13
  .n("CloudDirectoryClient", "ApplySchemaCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ApplySchemaCommand)
20
- .de(de_ApplySchemaCommand)
14
+ .sc(ApplySchema)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AttachObjectCommand, se_AttachObjectCommand } from "../protocols/Aws_restJson1";
4
+ import { AttachObject } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AttachObjectCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "AttachObject", {})
17
13
  .n("CloudDirectoryClient", "AttachObjectCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AttachObjectCommand)
20
- .de(de_AttachObjectCommand)
14
+ .sc(AttachObject)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AttachPolicyCommand, se_AttachPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { AttachPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AttachPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "AttachPolicy", {})
17
13
  .n("CloudDirectoryClient", "AttachPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AttachPolicyCommand)
20
- .de(de_AttachPolicyCommand)
14
+ .sc(AttachPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AttachToIndexCommand, se_AttachToIndexCommand } from "../protocols/Aws_restJson1";
4
+ import { AttachToIndex } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AttachToIndexCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "AttachToIndex", {})
17
13
  .n("CloudDirectoryClient", "AttachToIndexCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AttachToIndexCommand)
20
- .de(de_AttachToIndexCommand)
14
+ .sc(AttachToIndex)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AttachTypedLinkCommand, se_AttachTypedLinkCommand } from "../protocols/Aws_restJson1";
4
+ import { AttachTypedLink } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AttachTypedLinkCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "AttachTypedLink", {})
17
13
  .n("CloudDirectoryClient", "AttachTypedLinkCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AttachTypedLinkCommand)
20
- .de(de_AttachTypedLinkCommand)
14
+ .sc(AttachTypedLink)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchReadCommand, se_BatchReadCommand } from "../protocols/Aws_restJson1";
4
+ import { BatchRead } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchReadCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "BatchRead", {})
17
13
  .n("CloudDirectoryClient", "BatchReadCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchReadCommand)
20
- .de(de_BatchReadCommand)
14
+ .sc(BatchRead)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchWriteCommand, se_BatchWriteCommand } from "../protocols/Aws_restJson1";
4
+ import { BatchWrite } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchWriteCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "BatchWrite", {})
17
13
  .n("CloudDirectoryClient", "BatchWriteCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchWriteCommand)
20
- .de(de_BatchWriteCommand)
14
+ .sc(BatchWrite)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateDirectoryCommand, se_CreateDirectoryCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDirectory } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDirectoryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "CreateDirectory", {})
17
13
  .n("CloudDirectoryClient", "CreateDirectoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDirectoryCommand)
20
- .de(de_CreateDirectoryCommand)
14
+ .sc(CreateDirectory)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateFacetCommand, se_CreateFacetCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateFacet } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateFacetCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "CreateFacet", {})
17
13
  .n("CloudDirectoryClient", "CreateFacetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateFacetCommand)
20
- .de(de_CreateFacetCommand)
14
+ .sc(CreateFacet)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateIndexCommand, se_CreateIndexCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateIndex } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateIndexCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "CreateIndex", {})
17
13
  .n("CloudDirectoryClient", "CreateIndexCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateIndexCommand)
20
- .de(de_CreateIndexCommand)
14
+ .sc(CreateIndex)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateObjectCommand, se_CreateObjectCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateObject } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateObjectCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "CreateObject", {})
17
13
  .n("CloudDirectoryClient", "CreateObjectCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateObjectCommand)
20
- .de(de_CreateObjectCommand)
14
+ .sc(CreateObject)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateSchemaCommand, se_CreateSchemaCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateSchema } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSchemaCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "CreateSchema", {})
17
13
  .n("CloudDirectoryClient", "CreateSchemaCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSchemaCommand)
20
- .de(de_CreateSchemaCommand)
14
+ .sc(CreateSchema)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateTypedLinkFacetCommand, se_CreateTypedLinkFacetCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateTypedLinkFacet } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTypedLinkFacetCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "CreateTypedLinkFacet", {})
17
13
  .n("CloudDirectoryClient", "CreateTypedLinkFacetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTypedLinkFacetCommand)
20
- .de(de_CreateTypedLinkFacetCommand)
14
+ .sc(CreateTypedLinkFacet)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDirectoryCommand, se_DeleteDirectoryCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDirectory } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDirectoryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "DeleteDirectory", {})
17
13
  .n("CloudDirectoryClient", "DeleteDirectoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDirectoryCommand)
20
- .de(de_DeleteDirectoryCommand)
14
+ .sc(DeleteDirectory)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteFacetCommand, se_DeleteFacetCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteFacet } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteFacetCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "DeleteFacet", {})
17
13
  .n("CloudDirectoryClient", "DeleteFacetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteFacetCommand)
20
- .de(de_DeleteFacetCommand)
14
+ .sc(DeleteFacet)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteObjectCommand, se_DeleteObjectCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteObject } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteObjectCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "DeleteObject", {})
17
13
  .n("CloudDirectoryClient", "DeleteObjectCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteObjectCommand)
20
- .de(de_DeleteObjectCommand)
14
+ .sc(DeleteObject)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteSchemaCommand, se_DeleteSchemaCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteSchema } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSchemaCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "DeleteSchema", {})
17
13
  .n("CloudDirectoryClient", "DeleteSchemaCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSchemaCommand)
20
- .de(de_DeleteSchemaCommand)
14
+ .sc(DeleteSchema)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteTypedLinkFacetCommand, se_DeleteTypedLinkFacetCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteTypedLinkFacet } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteTypedLinkFacetCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "DeleteTypedLinkFacet", {})
17
13
  .n("CloudDirectoryClient", "DeleteTypedLinkFacetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteTypedLinkFacetCommand)
20
- .de(de_DeleteTypedLinkFacetCommand)
14
+ .sc(DeleteTypedLinkFacet)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DetachFromIndexCommand, se_DetachFromIndexCommand } from "../protocols/Aws_restJson1";
4
+ import { DetachFromIndex } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DetachFromIndexCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "DetachFromIndex", {})
17
13
  .n("CloudDirectoryClient", "DetachFromIndexCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DetachFromIndexCommand)
20
- .de(de_DetachFromIndexCommand)
14
+ .sc(DetachFromIndex)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DetachObjectCommand, se_DetachObjectCommand } from "../protocols/Aws_restJson1";
4
+ import { DetachObject } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DetachObjectCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "DetachObject", {})
17
13
  .n("CloudDirectoryClient", "DetachObjectCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DetachObjectCommand)
20
- .de(de_DetachObjectCommand)
14
+ .sc(DetachObject)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DetachPolicyCommand, se_DetachPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { DetachPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DetachPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonCloudDirectory_20170111", "DetachPolicy", {})
17
13
  .n("CloudDirectoryClient", "DetachPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DetachPolicyCommand)
20
- .de(de_DetachPolicyCommand)
14
+ .sc(DetachPolicy)
21
15
  .build() {
22
16
  }