@aws-sdk/client-dax 3.952.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 (41) hide show
  1. package/dist-cjs/index.js +413 -298
  2. package/dist-cjs/runtimeConfig.shared.js +7 -6
  3. package/dist-es/commands/CreateClusterCommand.js +2 -2
  4. package/dist-es/commands/CreateParameterGroupCommand.js +2 -2
  5. package/dist-es/commands/CreateSubnetGroupCommand.js +2 -2
  6. package/dist-es/commands/DecreaseReplicationFactorCommand.js +2 -2
  7. package/dist-es/commands/DeleteClusterCommand.js +2 -2
  8. package/dist-es/commands/DeleteParameterGroupCommand.js +2 -2
  9. package/dist-es/commands/DeleteSubnetGroupCommand.js +2 -2
  10. package/dist-es/commands/DescribeClustersCommand.js +2 -2
  11. package/dist-es/commands/DescribeDefaultParametersCommand.js +2 -2
  12. package/dist-es/commands/DescribeEventsCommand.js +2 -2
  13. package/dist-es/commands/DescribeParameterGroupsCommand.js +2 -2
  14. package/dist-es/commands/DescribeParametersCommand.js +2 -2
  15. package/dist-es/commands/DescribeSubnetGroupsCommand.js +2 -2
  16. package/dist-es/commands/IncreaseReplicationFactorCommand.js +2 -2
  17. package/dist-es/commands/ListTagsCommand.js +2 -2
  18. package/dist-es/commands/RebootNodeCommand.js +2 -2
  19. package/dist-es/commands/TagResourceCommand.js +2 -2
  20. package/dist-es/commands/UntagResourceCommand.js +2 -2
  21. package/dist-es/commands/UpdateClusterCommand.js +2 -2
  22. package/dist-es/commands/UpdateParameterGroupCommand.js +2 -2
  23. package/dist-es/commands/UpdateSubnetGroupCommand.js +2 -2
  24. package/dist-es/index.js +1 -0
  25. package/dist-es/runtimeConfig.shared.js +7 -6
  26. package/dist-es/schemas/schemas_0.js +209 -202
  27. package/dist-types/DAXClient.d.ts +1 -10
  28. package/dist-types/index.d.ts +1 -0
  29. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  30. package/dist-types/runtimeConfig.d.ts +6 -2
  31. package/dist-types/runtimeConfig.native.d.ts +6 -2
  32. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  33. package/dist-types/schemas/schemas_0.d.ts +109 -129
  34. package/dist-types/ts3.4/DAXClient.d.ts +0 -4
  35. package/dist-types/ts3.4/index.d.ts +1 -0
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +108 -129
  41. package/package.json +34 -34
@@ -26,12 +26,13 @@ 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_1Protocol({
31
- defaultNamespace: "com.amazonaws.dax",
32
- serviceTarget: "AmazonDAXV3",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.dax",
32
+ xmlNamespace: "http://dax.amazonaws.com/doc/2017-04-19/",
33
+ version: "2017-04-19",
34
+ serviceTarget: "AmazonDAXV3",
35
+ },
35
36
  serviceId: config?.serviceId ?? "DAX",
36
37
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
38
  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 { CreateCluster } from "../schemas/schemas_0";
4
+ import { CreateCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateClusterCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "CreateCluster", {})
13
13
  .n("DAXClient", "CreateClusterCommand")
14
- .sc(CreateCluster)
14
+ .sc(CreateCluster$)
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 { CreateParameterGroup } from "../schemas/schemas_0";
4
+ import { CreateParameterGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateParameterGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateParameterGroupCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "CreateParameterGroup", {})
13
13
  .n("DAXClient", "CreateParameterGroupCommand")
14
- .sc(CreateParameterGroup)
14
+ .sc(CreateParameterGroup$)
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 { CreateSubnetGroup } from "../schemas/schemas_0";
4
+ import { CreateSubnetGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateSubnetGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateSubnetGroupCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "CreateSubnetGroup", {})
13
13
  .n("DAXClient", "CreateSubnetGroupCommand")
14
- .sc(CreateSubnetGroup)
14
+ .sc(CreateSubnetGroup$)
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 { DecreaseReplicationFactor } from "../schemas/schemas_0";
4
+ import { DecreaseReplicationFactor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DecreaseReplicationFactorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DecreaseReplicationFactorCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "DecreaseReplicationFactor", {})
13
13
  .n("DAXClient", "DecreaseReplicationFactorCommand")
14
- .sc(DecreaseReplicationFactor)
14
+ .sc(DecreaseReplicationFactor$)
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 { DeleteCluster } from "../schemas/schemas_0";
4
+ import { DeleteCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteClusterCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "DeleteCluster", {})
13
13
  .n("DAXClient", "DeleteClusterCommand")
14
- .sc(DeleteCluster)
14
+ .sc(DeleteCluster$)
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 { DeleteParameterGroup } from "../schemas/schemas_0";
4
+ import { DeleteParameterGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteParameterGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteParameterGroupCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "DeleteParameterGroup", {})
13
13
  .n("DAXClient", "DeleteParameterGroupCommand")
14
- .sc(DeleteParameterGroup)
14
+ .sc(DeleteParameterGroup$)
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 { DeleteSubnetGroup } from "../schemas/schemas_0";
4
+ import { DeleteSubnetGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteSubnetGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteSubnetGroupCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "DeleteSubnetGroup", {})
13
13
  .n("DAXClient", "DeleteSubnetGroupCommand")
14
- .sc(DeleteSubnetGroup)
14
+ .sc(DeleteSubnetGroup$)
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 { DescribeClusters } from "../schemas/schemas_0";
4
+ import { DescribeClusters$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeClustersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeClustersCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "DescribeClusters", {})
13
13
  .n("DAXClient", "DescribeClustersCommand")
14
- .sc(DescribeClusters)
14
+ .sc(DescribeClusters$)
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 { DescribeDefaultParameters } from "../schemas/schemas_0";
4
+ import { DescribeDefaultParameters$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeDefaultParametersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeDefaultParametersCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "DescribeDefaultParameters", {})
13
13
  .n("DAXClient", "DescribeDefaultParametersCommand")
14
- .sc(DescribeDefaultParameters)
14
+ .sc(DescribeDefaultParameters$)
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 { DescribeEvents } from "../schemas/schemas_0";
4
+ import { DescribeEvents$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeEventsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeEventsCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "DescribeEvents", {})
13
13
  .n("DAXClient", "DescribeEventsCommand")
14
- .sc(DescribeEvents)
14
+ .sc(DescribeEvents$)
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 { DescribeParameterGroups } from "../schemas/schemas_0";
4
+ import { DescribeParameterGroups$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeParameterGroupsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeParameterGroupsCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "DescribeParameterGroups", {})
13
13
  .n("DAXClient", "DescribeParameterGroupsCommand")
14
- .sc(DescribeParameterGroups)
14
+ .sc(DescribeParameterGroups$)
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 { DescribeParameters } from "../schemas/schemas_0";
4
+ import { DescribeParameters$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeParametersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeParametersCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "DescribeParameters", {})
13
13
  .n("DAXClient", "DescribeParametersCommand")
14
- .sc(DescribeParameters)
14
+ .sc(DescribeParameters$)
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 { DescribeSubnetGroups } from "../schemas/schemas_0";
4
+ import { DescribeSubnetGroups$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeSubnetGroupsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeSubnetGroupsCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "DescribeSubnetGroups", {})
13
13
  .n("DAXClient", "DescribeSubnetGroupsCommand")
14
- .sc(DescribeSubnetGroups)
14
+ .sc(DescribeSubnetGroups$)
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 { IncreaseReplicationFactor } from "../schemas/schemas_0";
4
+ import { IncreaseReplicationFactor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class IncreaseReplicationFactorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class IncreaseReplicationFactorCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "IncreaseReplicationFactor", {})
13
13
  .n("DAXClient", "IncreaseReplicationFactorCommand")
14
- .sc(IncreaseReplicationFactor)
14
+ .sc(IncreaseReplicationFactor$)
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 { ListTags } from "../schemas/schemas_0";
4
+ import { ListTags$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "ListTags", {})
13
13
  .n("DAXClient", "ListTagsCommand")
14
- .sc(ListTags)
14
+ .sc(ListTags$)
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 { RebootNode } from "../schemas/schemas_0";
4
+ import { RebootNode$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RebootNodeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RebootNodeCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "RebootNode", {})
13
13
  .n("DAXClient", "RebootNodeCommand")
14
- .sc(RebootNode)
14
+ .sc(RebootNode$)
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("AmazonDAXV3", "TagResource", {})
13
13
  .n("DAXClient", "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("AmazonDAXV3", "UntagResource", {})
13
13
  .n("DAXClient", "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 { UpdateCluster } from "../schemas/schemas_0";
4
+ import { UpdateCluster$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateClusterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateClusterCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "UpdateCluster", {})
13
13
  .n("DAXClient", "UpdateClusterCommand")
14
- .sc(UpdateCluster)
14
+ .sc(UpdateCluster$)
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 { UpdateParameterGroup } from "../schemas/schemas_0";
4
+ import { UpdateParameterGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateParameterGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateParameterGroupCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "UpdateParameterGroup", {})
13
13
  .n("DAXClient", "UpdateParameterGroupCommand")
14
- .sc(UpdateParameterGroup)
14
+ .sc(UpdateParameterGroup$)
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 { UpdateSubnetGroup } from "../schemas/schemas_0";
4
+ import { UpdateSubnetGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateSubnetGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateSubnetGroupCommand extends $Command
11
11
  })
12
12
  .s("AmazonDAXV3", "UpdateSubnetGroup", {})
13
13
  .n("DAXClient", "UpdateSubnetGroupCommand")
14
- .sc(UpdateSubnetGroup)
14
+ .sc(UpdateSubnetGroup$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./DAXClient";
2
2
  export * from "./DAX";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { DAXServiceException } from "./models/DAXServiceException";
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.dax",
29
- serviceTarget: "AmazonDAXV3",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.dax",
29
+ xmlNamespace: "http://dax.amazonaws.com/doc/2017-04-19/",
30
+ version: "2017-04-19",
31
+ serviceTarget: "AmazonDAXV3",
32
+ },
32
33
  serviceId: config?.serviceId ?? "DAX",
33
34
  urlParser: config?.urlParser ?? parseUrl,
34
35
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,