@aws-sdk/client-directory-service-data 3.948.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 (37) hide show
  1. package/dist-cjs/index.js +219 -154
  2. package/dist-cjs/runtimeConfig.shared.js +7 -1
  3. package/dist-es/commands/AddGroupMemberCommand.js +2 -2
  4. package/dist-es/commands/CreateGroupCommand.js +2 -2
  5. package/dist-es/commands/CreateUserCommand.js +2 -2
  6. package/dist-es/commands/DeleteGroupCommand.js +2 -2
  7. package/dist-es/commands/DeleteUserCommand.js +2 -2
  8. package/dist-es/commands/DescribeGroupCommand.js +2 -2
  9. package/dist-es/commands/DescribeUserCommand.js +2 -2
  10. package/dist-es/commands/DisableUserCommand.js +2 -2
  11. package/dist-es/commands/ListGroupMembersCommand.js +2 -2
  12. package/dist-es/commands/ListGroupsCommand.js +2 -2
  13. package/dist-es/commands/ListGroupsForMemberCommand.js +2 -2
  14. package/dist-es/commands/ListUsersCommand.js +2 -2
  15. package/dist-es/commands/RemoveGroupMemberCommand.js +2 -2
  16. package/dist-es/commands/SearchGroupsCommand.js +2 -2
  17. package/dist-es/commands/SearchUsersCommand.js +2 -2
  18. package/dist-es/commands/UpdateGroupCommand.js +2 -2
  19. package/dist-es/commands/UpdateUserCommand.js +2 -2
  20. package/dist-es/index.js +1 -0
  21. package/dist-es/runtimeConfig.shared.js +7 -1
  22. package/dist-es/schemas/schemas_0.js +127 -127
  23. package/dist-types/DirectoryServiceDataClient.d.ts +1 -10
  24. package/dist-types/index.d.ts +1 -0
  25. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  26. package/dist-types/runtimeConfig.d.ts +6 -2
  27. package/dist-types/runtimeConfig.native.d.ts +6 -2
  28. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  29. package/dist-types/schemas/schemas_0.d.ts +66 -84
  30. package/dist-types/ts3.4/DirectoryServiceDataClient.d.ts +0 -4
  31. package/dist-types/ts3.4/index.d.ts +1 -0
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  35. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +65 -86
  37. package/package.json +34 -34
@@ -26,7 +26,13 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.directoryservicedata" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.directoryservicedata",
32
+ xmlNamespace: "http://directoryservicedata.amazonaws.com/doc/2023-05-31/",
33
+ version: "2023-05-31",
34
+ serviceTarget: "DirectoryServiceData",
35
+ },
30
36
  serviceId: config?.serviceId ?? "Directory Service Data",
31
37
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
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 { AddGroupMember } from "../schemas/schemas_0";
4
+ import { AddGroupMember$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class AddGroupMemberCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class AddGroupMemberCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "AddGroupMember", {})
13
13
  .n("DirectoryServiceDataClient", "AddGroupMemberCommand")
14
- .sc(AddGroupMember)
14
+ .sc(AddGroupMember$)
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 { CreateGroup } from "../schemas/schemas_0";
4
+ import { CreateGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateGroupCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "CreateGroup", {})
13
13
  .n("DirectoryServiceDataClient", "CreateGroupCommand")
14
- .sc(CreateGroup)
14
+ .sc(CreateGroup$)
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 { CreateUser } from "../schemas/schemas_0";
4
+ import { CreateUser$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateUserCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateUserCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "CreateUser", {})
13
13
  .n("DirectoryServiceDataClient", "CreateUserCommand")
14
- .sc(CreateUser)
14
+ .sc(CreateUser$)
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 { DeleteGroup } from "../schemas/schemas_0";
4
+ import { DeleteGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteGroupCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "DeleteGroup", {})
13
13
  .n("DirectoryServiceDataClient", "DeleteGroupCommand")
14
- .sc(DeleteGroup)
14
+ .sc(DeleteGroup$)
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 { DeleteUser } from "../schemas/schemas_0";
4
+ import { DeleteUser$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteUserCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteUserCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "DeleteUser", {})
13
13
  .n("DirectoryServiceDataClient", "DeleteUserCommand")
14
- .sc(DeleteUser)
14
+ .sc(DeleteUser$)
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 { DescribeGroup } from "../schemas/schemas_0";
4
+ import { DescribeGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeGroupCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "DescribeGroup", {})
13
13
  .n("DirectoryServiceDataClient", "DescribeGroupCommand")
14
- .sc(DescribeGroup)
14
+ .sc(DescribeGroup$)
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 { DescribeUser } from "../schemas/schemas_0";
4
+ import { DescribeUser$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeUserCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeUserCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "DescribeUser", {})
13
13
  .n("DirectoryServiceDataClient", "DescribeUserCommand")
14
- .sc(DescribeUser)
14
+ .sc(DescribeUser$)
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 { DisableUser } from "../schemas/schemas_0";
4
+ import { DisableUser$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DisableUserCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DisableUserCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "DisableUser", {})
13
13
  .n("DirectoryServiceDataClient", "DisableUserCommand")
14
- .sc(DisableUser)
14
+ .sc(DisableUser$)
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 { ListGroupMembers } from "../schemas/schemas_0";
4
+ import { ListGroupMembers$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListGroupMembersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListGroupMembersCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "ListGroupMembers", {})
13
13
  .n("DirectoryServiceDataClient", "ListGroupMembersCommand")
14
- .sc(ListGroupMembers)
14
+ .sc(ListGroupMembers$)
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 { ListGroups } from "../schemas/schemas_0";
4
+ import { ListGroups$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListGroupsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListGroupsCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "ListGroups", {})
13
13
  .n("DirectoryServiceDataClient", "ListGroupsCommand")
14
- .sc(ListGroups)
14
+ .sc(ListGroups$)
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 { ListGroupsForMember } from "../schemas/schemas_0";
4
+ import { ListGroupsForMember$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListGroupsForMemberCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListGroupsForMemberCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "ListGroupsForMember", {})
13
13
  .n("DirectoryServiceDataClient", "ListGroupsForMemberCommand")
14
- .sc(ListGroupsForMember)
14
+ .sc(ListGroupsForMember$)
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 { ListUsers } from "../schemas/schemas_0";
4
+ import { ListUsers$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListUsersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListUsersCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "ListUsers", {})
13
13
  .n("DirectoryServiceDataClient", "ListUsersCommand")
14
- .sc(ListUsers)
14
+ .sc(ListUsers$)
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 { RemoveGroupMember } from "../schemas/schemas_0";
4
+ import { RemoveGroupMember$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RemoveGroupMemberCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RemoveGroupMemberCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "RemoveGroupMember", {})
13
13
  .n("DirectoryServiceDataClient", "RemoveGroupMemberCommand")
14
- .sc(RemoveGroupMember)
14
+ .sc(RemoveGroupMember$)
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 { SearchGroups } from "../schemas/schemas_0";
4
+ import { SearchGroups$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SearchGroupsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SearchGroupsCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "SearchGroups", {})
13
13
  .n("DirectoryServiceDataClient", "SearchGroupsCommand")
14
- .sc(SearchGroups)
14
+ .sc(SearchGroups$)
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 { SearchUsers } from "../schemas/schemas_0";
4
+ import { SearchUsers$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SearchUsersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SearchUsersCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "SearchUsers", {})
13
13
  .n("DirectoryServiceDataClient", "SearchUsersCommand")
14
- .sc(SearchUsers)
14
+ .sc(SearchUsers$)
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 { UpdateGroup } from "../schemas/schemas_0";
4
+ import { UpdateGroup$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateGroupCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateGroupCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "UpdateGroup", {})
13
13
  .n("DirectoryServiceDataClient", "UpdateGroupCommand")
14
- .sc(UpdateGroup)
14
+ .sc(UpdateGroup$)
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 { UpdateUser } from "../schemas/schemas_0";
4
+ import { UpdateUser$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateUserCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateUserCommand extends $Command
11
11
  })
12
12
  .s("DirectoryServiceData", "UpdateUser", {})
13
13
  .n("DirectoryServiceDataClient", "UpdateUserCommand")
14
- .sc(UpdateUser)
14
+ .sc(UpdateUser$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./DirectoryServiceDataClient";
2
2
  export * from "./DirectoryServiceData";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,13 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.directoryservicedata" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.directoryservicedata",
29
+ xmlNamespace: "http://directoryservicedata.amazonaws.com/doc/2023-05-31/",
30
+ version: "2023-05-31",
31
+ serviceTarget: "DirectoryServiceData",
32
+ },
27
33
  serviceId: config?.serviceId ?? "Directory Service Data",
28
34
  urlParser: config?.urlParser ?? parseUrl,
29
35
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,