@aws-sdk/client-clouddirectory 3.774.0 → 3.777.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 (73) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/CloudDirectoryClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/AddFacetToObjectCommand.d.ts +13 -10
  8. package/dist-types/commands/ApplySchemaCommand.d.ts +7 -7
  9. package/dist-types/commands/AttachObjectCommand.d.ts +10 -10
  10. package/dist-types/commands/AttachPolicyCommand.d.ts +11 -8
  11. package/dist-types/commands/AttachToIndexCommand.d.ts +9 -9
  12. package/dist-types/commands/AttachTypedLinkCommand.d.ts +27 -27
  13. package/dist-types/commands/BatchReadCommand.d.ts +7 -7
  14. package/dist-types/commands/BatchWriteCommand.d.ts +6 -6
  15. package/dist-types/commands/CreateDirectoryCommand.d.ts +9 -9
  16. package/dist-types/commands/CreateFacetCommand.d.ts +9 -6
  17. package/dist-types/commands/CreateIndexCommand.d.ts +9 -9
  18. package/dist-types/commands/CreateObjectCommand.d.ts +8 -8
  19. package/dist-types/commands/CreateSchemaCommand.d.ts +5 -5
  20. package/dist-types/commands/CreateTypedLinkFacetCommand.d.ts +14 -11
  21. package/dist-types/commands/DeleteDirectoryCommand.d.ts +5 -5
  22. package/dist-types/commands/DeleteFacetCommand.d.ts +8 -5
  23. package/dist-types/commands/DeleteObjectCommand.d.ts +9 -6
  24. package/dist-types/commands/DeleteSchemaCommand.d.ts +5 -5
  25. package/dist-types/commands/DeleteTypedLinkFacetCommand.d.ts +8 -5
  26. package/dist-types/commands/DetachFromIndexCommand.d.ts +9 -9
  27. package/dist-types/commands/DetachObjectCommand.d.ts +8 -8
  28. package/dist-types/commands/DetachPolicyCommand.d.ts +11 -8
  29. package/dist-types/commands/DetachTypedLinkCommand.d.ts +19 -16
  30. package/dist-types/commands/DisableDirectoryCommand.d.ts +5 -5
  31. package/dist-types/commands/EnableDirectoryCommand.d.ts +5 -5
  32. package/dist-types/commands/GetAppliedSchemaVersionCommand.d.ts +1 -0
  33. package/dist-types/commands/GetDirectoryCommand.d.ts +9 -9
  34. package/dist-types/commands/GetFacetCommand.d.ts +8 -8
  35. package/dist-types/commands/GetLinkAttributesCommand.d.ts +1 -0
  36. package/dist-types/commands/GetObjectAttributesCommand.d.ts +1 -0
  37. package/dist-types/commands/GetObjectInformationCommand.d.ts +11 -11
  38. package/dist-types/commands/GetSchemaAsJsonCommand.d.ts +6 -6
  39. package/dist-types/commands/GetTypedLinkFacetInformationCommand.d.ts +6 -6
  40. package/dist-types/commands/ListAppliedSchemaArnsCommand.d.ts +5 -5
  41. package/dist-types/commands/ListAttachedIndicesCommand.d.ts +9 -9
  42. package/dist-types/commands/ListDevelopmentSchemaArnsCommand.d.ts +5 -5
  43. package/dist-types/commands/ListDirectoriesCommand.d.ts +25 -25
  44. package/dist-types/commands/ListFacetAttributesCommand.d.ts +117 -117
  45. package/dist-types/commands/ListFacetNamesCommand.d.ts +5 -5
  46. package/dist-types/commands/ListIncomingTypedLinksCommand.d.ts +41 -41
  47. package/dist-types/commands/ListIndexCommand.d.ts +14 -14
  48. package/dist-types/commands/ListManagedSchemaArnsCommand.d.ts +1 -0
  49. package/dist-types/commands/ListObjectAttributesCommand.d.ts +19 -19
  50. package/dist-types/commands/ListObjectChildrenCommand.d.ts +8 -8
  51. package/dist-types/commands/ListObjectParentPathsCommand.d.ts +1 -0
  52. package/dist-types/commands/ListObjectParentsCommand.d.ts +1 -0
  53. package/dist-types/commands/ListObjectPoliciesCommand.d.ts +1 -0
  54. package/dist-types/commands/ListOutgoingTypedLinksCommand.d.ts +1 -0
  55. package/dist-types/commands/ListPolicyAttachmentsCommand.d.ts +1 -0
  56. package/dist-types/commands/ListPublishedSchemaArnsCommand.d.ts +1 -0
  57. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  58. package/dist-types/commands/ListTypedLinkFacetAttributesCommand.d.ts +1 -0
  59. package/dist-types/commands/ListTypedLinkFacetNamesCommand.d.ts +1 -0
  60. package/dist-types/commands/LookupPolicyCommand.d.ts +1 -0
  61. package/dist-types/commands/PublishSchemaCommand.d.ts +1 -0
  62. package/dist-types/commands/PutSchemaFromJsonCommand.d.ts +1 -0
  63. package/dist-types/commands/RemoveFacetFromObjectCommand.d.ts +1 -0
  64. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  65. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  66. package/dist-types/commands/UpdateFacetCommand.d.ts +1 -0
  67. package/dist-types/commands/UpdateLinkAttributesCommand.d.ts +1 -0
  68. package/dist-types/commands/UpdateObjectAttributesCommand.d.ts +1 -0
  69. package/dist-types/commands/UpdateSchemaCommand.d.ts +1 -0
  70. package/dist-types/commands/UpdateTypedLinkFacetCommand.d.ts +1 -0
  71. package/dist-types/commands/UpgradeAppliedSchemaCommand.d.ts +1 -0
  72. package/dist-types/commands/UpgradePublishedSchemaCommand.d.ts +1 -0
  73. package/package.json +33 -33
@@ -40,8 +40,6 @@ const defaultCloudDirectoryHttpAuthSchemeProvider = (authParameters) => {
40
40
  exports.defaultCloudDirectoryHttpAuthSchemeProvider = defaultCloudDirectoryHttpAuthSchemeProvider;
41
41
  const resolveHttpAuthSchemeConfig = (config) => {
42
42
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
- return {
44
- ...config_0,
45
- };
43
+ return Object.assign(config_0, {});
46
44
  };
47
45
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
package/dist-cjs/index.js CHANGED
@@ -175,12 +175,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
175
175
 
176
176
  // src/endpoint/EndpointParameters.ts
177
177
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
178
- return {
179
- ...options,
178
+ return Object.assign(options, {
180
179
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
181
180
  useFipsEndpoint: options.useFipsEndpoint ?? false,
182
181
  defaultSigningName: "clouddirectory"
183
- };
182
+ });
184
183
  }, "resolveClientEndpointParameters");
185
184
  var commonParams = {
186
185
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -237,22 +236,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
237
236
  }, "resolveHttpAuthRuntimeConfig");
238
237
 
239
238
  // src/runtimeExtensions.ts
240
- var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
241
239
  var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
242
- const extensionConfiguration = {
243
- ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
244
- ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
245
- ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
246
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
247
- };
240
+ const extensionConfiguration = Object.assign(
241
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
242
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
243
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
244
+ getHttpAuthExtensionConfiguration(runtimeConfig)
245
+ );
248
246
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
249
- return {
250
- ...runtimeConfig,
251
- ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
252
- ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
253
- ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
254
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
255
- };
247
+ return Object.assign(
248
+ runtimeConfig,
249
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
250
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
251
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
252
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
253
+ );
256
254
  }, "resolveRuntimeExtensions");
257
255
 
258
256
  // src/CloudDirectoryClient.ts
@@ -266,6 +264,8 @@ var CloudDirectoryClient = class extends import_smithy_client.Client {
266
264
  config;
267
265
  constructor(...[configuration]) {
268
266
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
267
+ super(_config_0);
268
+ this.initConfig = _config_0;
269
269
  const _config_1 = resolveClientEndpointParameters(_config_0);
270
270
  const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
271
271
  const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
@@ -274,7 +274,6 @@ var CloudDirectoryClient = class extends import_smithy_client.Client {
274
274
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
275
275
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
276
276
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
277
- super(_config_8);
278
277
  this.config = _config_8;
279
278
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
280
279
  this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
@@ -17,6 +17,8 @@ export class CloudDirectoryClient extends __Client {
17
17
  config;
18
18
  constructor(...[configuration]) {
19
19
  const _config_0 = __getRuntimeConfig(configuration || {});
20
+ super(_config_0);
21
+ this.initConfig = _config_0;
20
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
21
23
  const _config_2 = resolveUserAgentConfig(_config_1);
22
24
  const _config_3 = resolveRetryConfig(_config_2);
@@ -25,7 +27,6 @@ export class CloudDirectoryClient extends __Client {
25
27
  const _config_6 = resolveEndpointConfig(_config_5);
26
28
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
27
29
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
28
- super(_config_8);
29
30
  this.config = _config_8;
30
31
  this.middlewareStack.use(getUserAgentPlugin(this.config));
31
32
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -35,7 +35,5 @@ export const defaultCloudDirectoryHttpAuthSchemeProvider = (authParameters) => {
35
35
  };
36
36
  export const resolveHttpAuthSchemeConfig = (config) => {
37
37
  const config_0 = resolveAwsSdkSigV4Config(config);
38
- return {
39
- ...config_0,
40
- };
38
+ return Object.assign(config_0, {});
41
39
  };
@@ -1,10 +1,9 @@
1
1
  export const resolveClientEndpointParameters = (options) => {
2
- return {
3
- ...options,
2
+ return Object.assign(options, {
4
3
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
6
5
  defaultSigningName: "clouddirectory",
7
- };
6
+ });
8
7
  };
9
8
  export const commonParams = {
10
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
- const asPartial = (t) => t;
6
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const extensionConfiguration = {
8
- ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
- ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
- ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
- };
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
13
7
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
- return {
15
- ...runtimeConfig,
16
- ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
- ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
- ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
- };
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
21
9
  };
@@ -104,26 +104,29 @@ declare const AddFacetToObjectCommand_base: {
104
104
  * @throws {@link CloudDirectoryServiceException}
105
105
  * <p>Base exception class for all service exceptions from CloudDirectory service.</p>
106
106
  *
107
- * @public
107
+ *
108
108
  * @example To add a facet to an object
109
109
  * ```javascript
110
110
  * //
111
111
  * const input = {
112
- * "DirectoryArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
113
- * "ObjectAttributeList": [],
114
- * "ObjectReference": {
115
- * "Selector": "$AQGG_ADlfNZBzYHY_JgDt3TWmspn1fxfQmSQaaVKSbvEiQ"
112
+ * DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
113
+ * ObjectAttributeList: [],
114
+ * ObjectReference: {
115
+ * Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWmspn1fxfQmSQaaVKSbvEiQ"
116
116
  * },
117
- * "SchemaFacet": {
118
- * "FacetName": "node1",
119
- * "SchemaArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1"
117
+ * SchemaFacet: {
118
+ * FacetName: "node1",
119
+ * SchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1"
120
120
  * }
121
121
  * };
122
122
  * const command = new AddFacetToObjectCommand(input);
123
- * await client.send(command);
124
- * // example id: to-add-a-facet-to-an-object-1507568792747
123
+ * const response = await client.send(command);
124
+ * /* response is
125
+ * { /* empty *\/ }
126
+ * *\/
125
127
  * ```
126
128
  *
129
+ * @public
127
130
  */
128
131
  export declare class AddFacetToObjectCommand extends AddFacetToObjectCommand_base {
129
132
  /** @internal type navigation helper, not in runtime. */
@@ -87,25 +87,25 @@ declare const ApplySchemaCommand_base: {
87
87
  * @throws {@link CloudDirectoryServiceException}
88
88
  * <p>Base exception class for all service exceptions from CloudDirectory service.</p>
89
89
  *
90
- * @public
90
+ *
91
91
  * @example To apply a schema
92
92
  * ```javascript
93
93
  * //
94
94
  * const input = {
95
- * "DirectoryArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI",
96
- * "PublishedSchemaArn": "arn:aws:clouddirectory:us-west-2:45132example:schema/published/org/1"
95
+ * DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI",
96
+ * PublishedSchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:schema/published/org/1"
97
97
  * };
98
98
  * const command = new ApplySchemaCommand(input);
99
99
  * const response = await client.send(command);
100
- * /* response ==
100
+ * /* response is
101
101
  * {
102
- * "AppliedSchemaArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI/schema/org/1",
103
- * "DirectoryArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI"
102
+ * AppliedSchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI/schema/org/1",
103
+ * DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI"
104
104
  * }
105
105
  * *\/
106
- * // example id: to-apply-a-schema-1507061899015
107
106
  * ```
108
107
  *
108
+ * @public
109
109
  */
110
110
  export declare class ApplySchemaCommand extends ApplySchemaCommand_base {
111
111
  /** @internal type navigation helper, not in runtime. */
@@ -108,30 +108,30 @@ declare const AttachObjectCommand_base: {
108
108
  * @throws {@link CloudDirectoryServiceException}
109
109
  * <p>Base exception class for all service exceptions from CloudDirectory service.</p>
110
110
  *
111
- * @public
111
+ *
112
112
  * @example To attach an object
113
113
  * ```javascript
114
114
  * //
115
115
  * const input = {
116
- * "ChildReference": {
117
- * "Selector": "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA"
116
+ * ChildReference: {
117
+ * Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA"
118
118
  * },
119
- * "DirectoryArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
120
- * "LinkName": "link2",
121
- * "ParentReference": {
122
- * "Selector": "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw"
119
+ * DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
120
+ * LinkName: "link2",
121
+ * ParentReference: {
122
+ * Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw"
123
123
  * }
124
124
  * };
125
125
  * const command = new AttachObjectCommand(input);
126
126
  * const response = await client.send(command);
127
- * /* response ==
127
+ * /* response is
128
128
  * {
129
- * "AttachedObjectIdentifier": "AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA"
129
+ * AttachedObjectIdentifier: "AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA"
130
130
  * }
131
131
  * *\/
132
- * // example id: to-attach-an-object-1507060976164
133
132
  * ```
134
133
  *
134
+ * @public
135
135
  */
136
136
  export declare class AttachObjectCommand extends AttachObjectCommand_base {
137
137
  /** @internal type navigation helper, not in runtime. */
@@ -87,24 +87,27 @@ declare const AttachPolicyCommand_base: {
87
87
  * @throws {@link CloudDirectoryServiceException}
88
88
  * <p>Base exception class for all service exceptions from CloudDirectory service.</p>
89
89
  *
90
- * @public
90
+ *
91
91
  * @example To attach a policy to an object
92
92
  * ```javascript
93
93
  * //
94
94
  * const input = {
95
- * "DirectoryArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
96
- * "ObjectReference": {
97
- * "Selector": "$AQGG_ADlfNZBzYHY_JgDt3TWQoovm1s3Ts2v0NKrzdVnPw"
95
+ * DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
96
+ * ObjectReference: {
97
+ * Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWQoovm1s3Ts2v0NKrzdVnPw"
98
98
  * },
99
- * "PolicyReference": {
100
- * "Selector": "$AQGG_ADlfNZBzYHY_JgDt3TWgcBsTVmcQEWs6jlygfhuew"
99
+ * PolicyReference: {
100
+ * Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWgcBsTVmcQEWs6jlygfhuew"
101
101
  * }
102
102
  * };
103
103
  * const command = new AttachPolicyCommand(input);
104
- * await client.send(command);
105
- * // example id: to-attach-a-policy-to-an-object-1508268194724
104
+ * const response = await client.send(command);
105
+ * /* response is
106
+ * { /* empty *\/ }
107
+ * *\/
106
108
  * ```
107
109
  *
110
+ * @public
108
111
  */
109
112
  export declare class AttachPolicyCommand extends AttachPolicyCommand_base {
110
113
  /** @internal type navigation helper, not in runtime. */
@@ -99,29 +99,29 @@ declare const AttachToIndexCommand_base: {
99
99
  * @throws {@link CloudDirectoryServiceException}
100
100
  * <p>Base exception class for all service exceptions from CloudDirectory service.</p>
101
101
  *
102
- * @public
102
+ *
103
103
  * @example To attach a index to an object
104
104
  * ```javascript
105
105
  * //
106
106
  * const input = {
107
- * "DirectoryArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
108
- * "IndexReference": {
109
- * "Selector": "$AQGG_ADlfNZBzYHY_JgDt3TW45F26R1HTY2z-stwKBte_Q"
107
+ * DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
108
+ * IndexReference: {
109
+ * Selector: "$AQGG_ADlfNZBzYHY_JgDt3TW45F26R1HTY2z-stwKBte_Q"
110
110
  * },
111
- * "TargetReference": {
112
- * "Selector": "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw"
111
+ * TargetReference: {
112
+ * Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw"
113
113
  * }
114
114
  * };
115
115
  * const command = new AttachToIndexCommand(input);
116
116
  * const response = await client.send(command);
117
- * /* response ==
117
+ * /* response is
118
118
  * {
119
- * "AttachedObjectIdentifier": "AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw"
119
+ * AttachedObjectIdentifier: "AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw"
120
120
  * }
121
121
  * *\/
122
- * // example id: to-attach-a-index-to-an-object-1506532855758
123
122
  * ```
124
123
  *
124
+ * @public
125
125
  */
126
126
  export declare class AttachToIndexCommand extends AttachToIndexCommand_base {
127
127
  /** @internal type navigation helper, not in runtime. */
@@ -132,60 +132,60 @@ declare const AttachTypedLinkCommand_base: {
132
132
  * @throws {@link CloudDirectoryServiceException}
133
133
  * <p>Base exception class for all service exceptions from CloudDirectory service.</p>
134
134
  *
135
- * @public
135
+ *
136
136
  * @example To attach a typed link to an object
137
137
  * ```javascript
138
138
  * //
139
139
  * const input = {
140
- * "Attributes": [
140
+ * Attributes: [
141
141
  * {
142
- * "AttributeName": "22",
143
- * "Value": {
144
- * "BinaryValue": "c3Ry"
142
+ * AttributeName: "22",
143
+ * Value: {
144
+ * BinaryValue: "c3Ry"
145
145
  * }
146
146
  * }
147
147
  * ],
148
- * "DirectoryArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
149
- * "SourceObjectReference": {
150
- * "Selector": "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA"
148
+ * DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
149
+ * SourceObjectReference: {
150
+ * Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA"
151
151
  * },
152
- * "TargetObjectReference": {
153
- * "Selector": "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw"
152
+ * TargetObjectReference: {
153
+ * Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw"
154
154
  * },
155
- * "TypedLinkFacet": {
156
- * "SchemaArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
157
- * "TypedLinkName": "exampletypedlink8"
155
+ * TypedLinkFacet: {
156
+ * SchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
157
+ * TypedLinkName: "exampletypedlink8"
158
158
  * }
159
159
  * };
160
160
  * const command = new AttachTypedLinkCommand(input);
161
161
  * const response = await client.send(command);
162
- * /* response ==
162
+ * /* response is
163
163
  * {
164
- * "TypedLinkSpecifier": {
165
- * "IdentityAttributeValues": [
164
+ * TypedLinkSpecifier: {
165
+ * IdentityAttributeValues: [
166
166
  * {
167
- * "AttributeName": "22",
168
- * "Value": {
169
- * "BinaryValue": "c3Ry"
167
+ * AttributeName: "22",
168
+ * Value: {
169
+ * BinaryValue: "c3Ry"
170
170
  * }
171
171
  * }
172
172
  * ],
173
- * "SourceObjectReference": {
174
- * "Selector": "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA"
173
+ * SourceObjectReference: {
174
+ * Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWSvfuEnDqTdmeCuTs6YBNUA"
175
175
  * },
176
- * "TargetObjectReference": {
177
- * "Selector": "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw"
176
+ * TargetObjectReference: {
177
+ * Selector: "$AQGG_ADlfNZBzYHY_JgDt3TWcU7IARvOTeaR09zme1sVsw"
178
178
  * },
179
- * "TypedLinkFacet": {
180
- * "SchemaArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
181
- * "TypedLinkName": "exampletypedlink8"
179
+ * TypedLinkFacet: {
180
+ * SchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1",
181
+ * TypedLinkName: "exampletypedlink8"
182
182
  * }
183
183
  * }
184
184
  * }
185
185
  * *\/
186
- * // example id: to-attach-a-typed-link-to-an-object-1506559900588
187
186
  * ```
188
187
  *
188
+ * @public
189
189
  */
190
190
  export declare class AttachTypedLinkCommand extends AttachTypedLinkCommand_base {
191
191
  /** @internal type navigation helper, not in runtime. */
@@ -477,25 +477,25 @@ declare const BatchReadCommand_base: {
477
477
  * @throws {@link CloudDirectoryServiceException}
478
478
  * <p>Base exception class for all service exceptions from CloudDirectory service.</p>
479
479
  *
480
- * @public
480
+ *
481
481
  * @example To run a batch read command
482
482
  * ```javascript
483
483
  * //
484
484
  * const input = {
485
- * "ConsistencyLevel": "EVENTUAL",
486
- * "DirectoryArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
487
- * "Operations": []
485
+ * ConsistencyLevel: "EVENTUAL",
486
+ * DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
487
+ * Operations: []
488
488
  * };
489
489
  * const command = new BatchReadCommand(input);
490
490
  * const response = await client.send(command);
491
- * /* response ==
491
+ * /* response is
492
492
  * {
493
- * "Responses": []
493
+ * Responses: []
494
494
  * }
495
495
  * *\/
496
- * // example id: to-run-a-batch-read-command-1506123433380
497
496
  * ```
498
497
  *
498
+ * @public
499
499
  */
500
500
  export declare class BatchReadCommand extends BatchReadCommand_base {
501
501
  /** @internal type navigation helper, not in runtime. */
@@ -343,24 +343,24 @@ declare const BatchWriteCommand_base: {
343
343
  * @throws {@link CloudDirectoryServiceException}
344
344
  * <p>Base exception class for all service exceptions from CloudDirectory service.</p>
345
345
  *
346
- * @public
346
+ *
347
347
  * @example To run a batch write command
348
348
  * ```javascript
349
349
  * //
350
350
  * const input = {
351
- * "DirectoryArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
352
- * "Operations": []
351
+ * DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY",
352
+ * Operations: []
353
353
  * };
354
354
  * const command = new BatchWriteCommand(input);
355
355
  * const response = await client.send(command);
356
- * /* response ==
356
+ * /* response is
357
357
  * {
358
- * "Responses": []
358
+ * Responses: []
359
359
  * }
360
360
  * *\/
361
- * // example id: to-run-a-batch-write-command-1506122878964
362
361
  * ```
363
362
  *
363
+ * @public
364
364
  */
365
365
  export declare class BatchWriteCommand extends BatchWriteCommand_base {
366
366
  /** @internal type navigation helper, not in runtime. */
@@ -87,27 +87,27 @@ declare const CreateDirectoryCommand_base: {
87
87
  * @throws {@link CloudDirectoryServiceException}
88
88
  * <p>Base exception class for all service exceptions from CloudDirectory service.</p>
89
89
  *
90
- * @public
90
+ *
91
91
  * @example To create a new Cloud Directory
92
92
  * ```javascript
93
93
  * //
94
94
  * const input = {
95
- * "Name": "ExampleCD",
96
- * "SchemaArn": "arn:aws:clouddirectory:us-west-2:45132example:schema/published/person/1"
95
+ * Name: "ExampleCD",
96
+ * SchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:schema/published/person/1"
97
97
  * };
98
98
  * const command = new CreateDirectoryCommand(input);
99
99
  * const response = await client.send(command);
100
- * /* response ==
100
+ * /* response is
101
101
  * {
102
- * "AppliedSchemaArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI/schema/person/1",
103
- * "DirectoryArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI",
104
- * "Name": "ExampleCD",
105
- * "ObjectIdentifier": "AQHzK-KsptZGU78KjmnwGH6i-4guCM3uQFOTA9_NjeHDrg"
102
+ * AppliedSchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI/schema/person/1",
103
+ * DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AfMr4qym1kZTvwqOafAYfqI",
104
+ * Name: "ExampleCD",
105
+ * ObjectIdentifier: "AQHzK-KsptZGU78KjmnwGH6i-4guCM3uQFOTA9_NjeHDrg"
106
106
  * }
107
107
  * *\/
108
- * // example id: to-create-a-new-cloud-directory-1506119878996
109
108
  * ```
110
109
  *
110
+ * @public
111
111
  */
112
112
  export declare class CreateDirectoryCommand extends CreateDirectoryCommand_base {
113
113
  /** @internal type navigation helper, not in runtime. */
@@ -117,20 +117,23 @@ declare const CreateFacetCommand_base: {
117
117
  * @throws {@link CloudDirectoryServiceException}
118
118
  * <p>Base exception class for all service exceptions from CloudDirectory service.</p>
119
119
  *
120
- * @public
120
+ *
121
121
  * @example To create a facet
122
122
  * ```javascript
123
123
  * //
124
124
  * const input = {
125
- * "Name": "node1",
126
- * "ObjectType": "NODE",
127
- * "SchemaArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1"
125
+ * Name: "node1",
126
+ * ObjectType: "NODE",
127
+ * SchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1"
128
128
  * };
129
129
  * const command = new CreateFacetCommand(input);
130
- * await client.send(command);
131
- * // example id: to-create-a-facet-1506112442334
130
+ * const response = await client.send(command);
131
+ * /* response is
132
+ * { /* empty *\/ }
133
+ * *\/
132
134
  * ```
133
135
  *
136
+ * @public
134
137
  */
135
138
  export declare class CreateFacetCommand extends CreateFacetCommand_base {
136
139
  /** @internal type navigation helper, not in runtime. */
@@ -102,27 +102,27 @@ declare const CreateIndexCommand_base: {
102
102
  * @throws {@link CloudDirectoryServiceException}
103
103
  * <p>Base exception class for all service exceptions from CloudDirectory service.</p>
104
104
  *
105
- * @public
105
+ *
106
106
  * @example To create an index
107
107
  * ```javascript
108
108
  * //
109
109
  * const input = {
110
- * "DirectoryArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8",
111
- * "IsUnique": true,
112
- * "LinkName": "Examplelink",
113
- * "OrderedIndexedAttributeList": [],
114
- * "ParentReference": {}
110
+ * DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8",
111
+ * IsUnique: true,
112
+ * LinkName: "Examplelink",
113
+ * OrderedIndexedAttributeList: [],
114
+ * ParentReference: { /* empty *\/ }
115
115
  * };
116
116
  * const command = new CreateIndexCommand(input);
117
117
  * const response = await client.send(command);
118
- * /* response ==
118
+ * /* response is
119
119
  * {
120
- * "ObjectIdentifier": "AQF0Fw173YJDlpLUV1eB50WvYsWFtVoUSmOzZjz_BLULIA"
120
+ * ObjectIdentifier: "AQF0Fw173YJDlpLUV1eB50WvYsWFtVoUSmOzZjz_BLULIA"
121
121
  * }
122
122
  * *\/
123
- * // example id: to-create-an-index-1505339563796
124
123
  * ```
125
124
  *
125
+ * @public
126
126
  */
127
127
  export declare class CreateIndexCommand extends CreateIndexCommand_base {
128
128
  /** @internal type navigation helper, not in runtime. */
@@ -119,29 +119,29 @@ declare const CreateObjectCommand_base: {
119
119
  * @throws {@link CloudDirectoryServiceException}
120
120
  * <p>Base exception class for all service exceptions from CloudDirectory service.</p>
121
121
  *
122
- * @public
122
+ *
123
123
  * @example To create an object
124
124
  * ```javascript
125
125
  * //
126
126
  * const input = {
127
- * "DirectoryArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8",
128
- * "SchemaFacets": [
127
+ * DirectoryArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8",
128
+ * SchemaFacets: [
129
129
  * {
130
- * "FacetName": "Organization_Person",
131
- * "SchemaArn": "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8/schema/ExampleOrgPersonSchema/1"
130
+ * FacetName: "Organization_Person",
131
+ * SchemaArn: "arn:aws:clouddirectory:us-west-2:45132example:directory/AXQXDXvdgkOWktRXV4HnRa8/schema/ExampleOrgPersonSchema/1"
132
132
  * }
133
133
  * ]
134
134
  * };
135
135
  * const command = new CreateObjectCommand(input);
136
136
  * const response = await client.send(command);
137
- * /* response ==
137
+ * /* response is
138
138
  * {
139
- * "ObjectIdentifier": "AQF0Fw173YJDlpLUV1eB50WvScvjsYXcS3K2nP1HwDuuYQ"
139
+ * ObjectIdentifier: "AQF0Fw173YJDlpLUV1eB50WvScvjsYXcS3K2nP1HwDuuYQ"
140
140
  * }
141
141
  * *\/
142
- * // example id: to-create-an-object-1494010287120
143
142
  * ```
144
143
  *
144
+ * @public
145
145
  */
146
146
  export declare class CreateObjectCommand extends CreateObjectCommand_base {
147
147
  /** @internal type navigation helper, not in runtime. */