@aws-sdk/client-clouddirectory 3.929.0 → 3.931.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -131,22 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends CloudDirectory
131
131
  this.Message = opts.Message;
132
132
  }
133
133
  };
134
- exports.TypedAttributeValue = void 0;
135
- (function (TypedAttributeValue) {
136
- TypedAttributeValue.visit = (value, visitor) => {
137
- if (value.StringValue !== undefined)
138
- return visitor.StringValue(value.StringValue);
139
- if (value.BinaryValue !== undefined)
140
- return visitor.BinaryValue(value.BinaryValue);
141
- if (value.BooleanValue !== undefined)
142
- return visitor.BooleanValue(value.BooleanValue);
143
- if (value.NumberValue !== undefined)
144
- return visitor.NumberValue(value.NumberValue);
145
- if (value.DatetimeValue !== undefined)
146
- return visitor.DatetimeValue(value.DatetimeValue);
147
- return visitor._(value.$unknown[0], value.$unknown[1]);
148
- };
149
- })(exports.TypedAttributeValue || (exports.TypedAttributeValue = {}));
150
134
  let DirectoryNotEnabledException$1 = class DirectoryNotEnabledException extends CloudDirectoryServiceException$1 {
151
135
  name = "DirectoryNotEnabledException";
152
136
  $fault = "client";
@@ -13,22 +13,6 @@ export class AccessDeniedException extends __BaseException {
13
13
  this.Message = opts.Message;
14
14
  }
15
15
  }
16
- export var TypedAttributeValue;
17
- (function (TypedAttributeValue) {
18
- TypedAttributeValue.visit = (value, visitor) => {
19
- if (value.StringValue !== undefined)
20
- return visitor.StringValue(value.StringValue);
21
- if (value.BinaryValue !== undefined)
22
- return visitor.BinaryValue(value.BinaryValue);
23
- if (value.BooleanValue !== undefined)
24
- return visitor.BooleanValue(value.BooleanValue);
25
- if (value.NumberValue !== undefined)
26
- return visitor.NumberValue(value.NumberValue);
27
- if (value.DatetimeValue !== undefined)
28
- return visitor.DatetimeValue(value.DatetimeValue);
29
- return visitor._(value.$unknown[0], value.$unknown[1]);
30
- };
31
- })(TypedAttributeValue || (TypedAttributeValue = {}));
32
16
  export class DirectoryNotEnabledException extends __BaseException {
33
17
  name = "DirectoryNotEnabledException";
34
18
  $fault = "client";
@@ -117,6 +117,10 @@ export declare namespace TypedAttributeValue {
117
117
  DatetimeValue?: never;
118
118
  $unknown: [string, any];
119
119
  }
120
+ /**
121
+ * @deprecated unused in schema-serde mode.
122
+ *
123
+ */
120
124
  interface Visitor<T> {
121
125
  StringValue: (value: string) => T;
122
126
  BinaryValue: (value: Uint8Array) => T;
@@ -125,7 +129,6 @@ export declare namespace TypedAttributeValue {
125
129
  DatetimeValue: (value: Date) => T;
126
130
  _: (name: string, value: any) => T;
127
131
  }
128
- const visit: <T>(value: TypedAttributeValue, visitor: Visitor<T>) => T;
129
132
  }
130
133
  /**
131
134
  * <p>The combination of an attribute key and an attribute value.</p>
@@ -77,7 +77,6 @@ export declare namespace TypedAttributeValue {
77
77
  DatetimeValue: (value: Date) => T;
78
78
  _: (name: string, value: any) => T;
79
79
  }
80
- const visit: <T>(value: TypedAttributeValue, visitor: Visitor<T>) => T;
81
80
  }
82
81
  export interface AttributeKeyAndValue {
83
82
  Key: AttributeKey | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-clouddirectory",
3
3
  "description": "AWS SDK for JavaScript Clouddirectory Client for Node.js, Browser and React Native",
4
- "version": "3.929.0",
4
+ "version": "3.931.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-clouddirectory",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.931.0",
24
+ "@aws-sdk/credential-provider-node": "3.931.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.931.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.931.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },