@aws-sdk/client-clouddirectory 3.952.0 → 3.954.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 (86) hide show
  1. package/dist-cjs/index.js +1215 -843
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/AddFacetToObjectCommand.js +2 -2
  4. package/dist-es/commands/ApplySchemaCommand.js +2 -2
  5. package/dist-es/commands/AttachObjectCommand.js +2 -2
  6. package/dist-es/commands/AttachPolicyCommand.js +2 -2
  7. package/dist-es/commands/AttachToIndexCommand.js +2 -2
  8. package/dist-es/commands/AttachTypedLinkCommand.js +2 -2
  9. package/dist-es/commands/BatchReadCommand.js +2 -2
  10. package/dist-es/commands/BatchWriteCommand.js +2 -2
  11. package/dist-es/commands/CreateDirectoryCommand.js +2 -2
  12. package/dist-es/commands/CreateFacetCommand.js +2 -2
  13. package/dist-es/commands/CreateIndexCommand.js +2 -2
  14. package/dist-es/commands/CreateObjectCommand.js +2 -2
  15. package/dist-es/commands/CreateSchemaCommand.js +2 -2
  16. package/dist-es/commands/CreateTypedLinkFacetCommand.js +2 -2
  17. package/dist-es/commands/DeleteDirectoryCommand.js +2 -2
  18. package/dist-es/commands/DeleteFacetCommand.js +2 -2
  19. package/dist-es/commands/DeleteObjectCommand.js +2 -2
  20. package/dist-es/commands/DeleteSchemaCommand.js +2 -2
  21. package/dist-es/commands/DeleteTypedLinkFacetCommand.js +2 -2
  22. package/dist-es/commands/DetachFromIndexCommand.js +2 -2
  23. package/dist-es/commands/DetachObjectCommand.js +2 -2
  24. package/dist-es/commands/DetachPolicyCommand.js +2 -2
  25. package/dist-es/commands/DetachTypedLinkCommand.js +2 -2
  26. package/dist-es/commands/DisableDirectoryCommand.js +2 -2
  27. package/dist-es/commands/EnableDirectoryCommand.js +2 -2
  28. package/dist-es/commands/GetAppliedSchemaVersionCommand.js +2 -2
  29. package/dist-es/commands/GetDirectoryCommand.js +2 -2
  30. package/dist-es/commands/GetFacetCommand.js +2 -2
  31. package/dist-es/commands/GetLinkAttributesCommand.js +2 -2
  32. package/dist-es/commands/GetObjectAttributesCommand.js +2 -2
  33. package/dist-es/commands/GetObjectInformationCommand.js +2 -2
  34. package/dist-es/commands/GetSchemaAsJsonCommand.js +2 -2
  35. package/dist-es/commands/GetTypedLinkFacetInformationCommand.js +2 -2
  36. package/dist-es/commands/ListAppliedSchemaArnsCommand.js +2 -2
  37. package/dist-es/commands/ListAttachedIndicesCommand.js +2 -2
  38. package/dist-es/commands/ListDevelopmentSchemaArnsCommand.js +2 -2
  39. package/dist-es/commands/ListDirectoriesCommand.js +2 -2
  40. package/dist-es/commands/ListFacetAttributesCommand.js +2 -2
  41. package/dist-es/commands/ListFacetNamesCommand.js +2 -2
  42. package/dist-es/commands/ListIncomingTypedLinksCommand.js +2 -2
  43. package/dist-es/commands/ListIndexCommand.js +2 -2
  44. package/dist-es/commands/ListManagedSchemaArnsCommand.js +2 -2
  45. package/dist-es/commands/ListObjectAttributesCommand.js +2 -2
  46. package/dist-es/commands/ListObjectChildrenCommand.js +2 -2
  47. package/dist-es/commands/ListObjectParentPathsCommand.js +2 -2
  48. package/dist-es/commands/ListObjectParentsCommand.js +2 -2
  49. package/dist-es/commands/ListObjectPoliciesCommand.js +2 -2
  50. package/dist-es/commands/ListOutgoingTypedLinksCommand.js +2 -2
  51. package/dist-es/commands/ListPolicyAttachmentsCommand.js +2 -2
  52. package/dist-es/commands/ListPublishedSchemaArnsCommand.js +2 -2
  53. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  54. package/dist-es/commands/ListTypedLinkFacetAttributesCommand.js +2 -2
  55. package/dist-es/commands/ListTypedLinkFacetNamesCommand.js +2 -2
  56. package/dist-es/commands/LookupPolicyCommand.js +2 -2
  57. package/dist-es/commands/PublishSchemaCommand.js +2 -2
  58. package/dist-es/commands/PutSchemaFromJsonCommand.js +2 -2
  59. package/dist-es/commands/RemoveFacetFromObjectCommand.js +2 -2
  60. package/dist-es/commands/TagResourceCommand.js +2 -2
  61. package/dist-es/commands/UntagResourceCommand.js +2 -2
  62. package/dist-es/commands/UpdateFacetCommand.js +2 -2
  63. package/dist-es/commands/UpdateLinkAttributesCommand.js +2 -2
  64. package/dist-es/commands/UpdateObjectAttributesCommand.js +2 -2
  65. package/dist-es/commands/UpdateSchemaCommand.js +2 -2
  66. package/dist-es/commands/UpdateTypedLinkFacetCommand.js +2 -2
  67. package/dist-es/commands/UpgradeAppliedSchemaCommand.js +2 -2
  68. package/dist-es/commands/UpgradePublishedSchemaCommand.js +2 -2
  69. package/dist-es/index.js +1 -0
  70. package/dist-es/runtimeConfig.shared.js +6 -1
  71. package/dist-es/schemas/schemas_0.js +721 -677
  72. package/dist-types/CloudDirectoryClient.d.ts +1 -10
  73. package/dist-types/index.d.ts +1 -0
  74. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  75. package/dist-types/runtimeConfig.d.ts +6 -2
  76. package/dist-types/runtimeConfig.native.d.ts +6 -2
  77. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  78. package/dist-types/schemas/schemas_0.d.ts +329 -364
  79. package/dist-types/ts3.4/CloudDirectoryClient.d.ts +0 -4
  80. package/dist-types/ts3.4/index.d.ts +1 -0
  81. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  82. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  83. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  84. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  85. package/dist-types/ts3.4/schemas/schemas_0.d.ts +328 -365
  86. package/package.json +34 -34
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { AddFacetToObjectCommandInput, AddFacetToObjectCommandOutput } from "./commands/AddFacetToObjectCommand";
11
11
  import { ApplySchemaCommandInput, ApplySchemaCommandOutput } from "./commands/ApplySchemaCommand";
@@ -207,15 +207,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
207
207
  * Optional extensions
208
208
  */
209
209
  extensions?: RuntimeExtension[];
210
- /**
211
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
212
- * may be overridden. A default will always be set by the client.
213
- * Available options depend on the service's supported protocols and will not be validated by
214
- * the client.
215
- * @alpha
216
- *
217
- */
218
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
219
210
  /**
220
211
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
221
212
  */
@@ -14,6 +14,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
14
14
  export type { RuntimeExtension } from "./runtimeExtensions";
15
15
  export type { CloudDirectoryExtensionConfiguration } from "./extensionConfiguration";
16
16
  export * from "./commands";
17
+ export * from "./schemas/schemas_0";
17
18
  export * from "./pagination";
18
19
  export * from "./models/enums";
19
20
  export * from "./models/errors";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: CloudDirectoryClientConfig) => {
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: CloudDirectoryClientConfig) => {
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
34
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
35
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: CloudDirectoryClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: CloudDirectoryClientConfig) => {
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  customUserAgent?: string | import("@smithy/types").UserAgent;
36
40
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
37
41
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: CloudDirectoryClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: CloudDirectoryClientConfig) => {
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import type { CloudDirectoryClientConfig } from "./CloudDirectoryClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: CloudDirectoryClientConfig) => {
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudDirectoryHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  serviceId: string;
19
24
  urlParser: import("@smithy/types").UrlParser;
20
25
  utf8Decoder: import("@smithy/types").Decoder;