@aws-sdk/client-repostspace 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 (39) hide show
  1. package/dist-cjs/index.js +224 -158
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/BatchAddChannelRoleToAccessorsCommand.js +2 -2
  4. package/dist-es/commands/BatchAddRoleCommand.js +2 -2
  5. package/dist-es/commands/BatchRemoveChannelRoleFromAccessorsCommand.js +2 -2
  6. package/dist-es/commands/BatchRemoveRoleCommand.js +2 -2
  7. package/dist-es/commands/CreateChannelCommand.js +2 -2
  8. package/dist-es/commands/CreateSpaceCommand.js +2 -2
  9. package/dist-es/commands/DeleteSpaceCommand.js +2 -2
  10. package/dist-es/commands/DeregisterAdminCommand.js +2 -2
  11. package/dist-es/commands/GetChannelCommand.js +2 -2
  12. package/dist-es/commands/GetSpaceCommand.js +2 -2
  13. package/dist-es/commands/ListChannelsCommand.js +2 -2
  14. package/dist-es/commands/ListSpacesCommand.js +2 -2
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  16. package/dist-es/commands/RegisterAdminCommand.js +2 -2
  17. package/dist-es/commands/SendInvitesCommand.js +2 -2
  18. package/dist-es/commands/TagResourceCommand.js +2 -2
  19. package/dist-es/commands/UntagResourceCommand.js +2 -2
  20. package/dist-es/commands/UpdateChannelCommand.js +2 -2
  21. package/dist-es/commands/UpdateSpaceCommand.js +2 -2
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/runtimeConfig.shared.js +6 -1
  24. package/dist-es/schemas/schemas_0.js +135 -135
  25. package/dist-types/RepostspaceClient.d.ts +1 -10
  26. package/dist-types/index.d.ts +1 -0
  27. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  28. package/dist-types/runtimeConfig.d.ts +6 -2
  29. package/dist-types/runtimeConfig.native.d.ts +6 -2
  30. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  31. package/dist-types/schemas/schemas_0.d.ts +67 -89
  32. package/dist-types/ts3.4/RepostspaceClient.d.ts +0 -4
  33. package/dist-types/ts3.4/index.d.ts +1 -0
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +66 -91
  39. package/package.json +35 -35
@@ -26,7 +26,12 @@ 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.repostspace" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.repostspace",
32
+ version: "2022-05-13",
33
+ serviceTarget: "RepostSpace",
34
+ },
30
35
  serviceId: config?.serviceId ?? "repostspace",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  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 { BatchAddChannelRoleToAccessors } from "../schemas/schemas_0";
4
+ import { BatchAddChannelRoleToAccessors$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchAddChannelRoleToAccessorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchAddChannelRoleToAccessorsCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "BatchAddChannelRoleToAccessors", {})
13
13
  .n("RepostspaceClient", "BatchAddChannelRoleToAccessorsCommand")
14
- .sc(BatchAddChannelRoleToAccessors)
14
+ .sc(BatchAddChannelRoleToAccessors$)
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 { BatchAddRole } from "../schemas/schemas_0";
4
+ import { BatchAddRole$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchAddRoleCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchAddRoleCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "BatchAddRole", {})
13
13
  .n("RepostspaceClient", "BatchAddRoleCommand")
14
- .sc(BatchAddRole)
14
+ .sc(BatchAddRole$)
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 { BatchRemoveChannelRoleFromAccessors } from "../schemas/schemas_0";
4
+ import { BatchRemoveChannelRoleFromAccessors$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchRemoveChannelRoleFromAccessorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchRemoveChannelRoleFromAccessorsCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "BatchRemoveChannelRoleFromAccessors", {})
13
13
  .n("RepostspaceClient", "BatchRemoveChannelRoleFromAccessorsCommand")
14
- .sc(BatchRemoveChannelRoleFromAccessors)
14
+ .sc(BatchRemoveChannelRoleFromAccessors$)
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 { BatchRemoveRole } from "../schemas/schemas_0";
4
+ import { BatchRemoveRole$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchRemoveRoleCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchRemoveRoleCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "BatchRemoveRole", {})
13
13
  .n("RepostspaceClient", "BatchRemoveRoleCommand")
14
- .sc(BatchRemoveRole)
14
+ .sc(BatchRemoveRole$)
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 { CreateChannel } from "../schemas/schemas_0";
4
+ import { CreateChannel$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateChannelCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateChannelCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "CreateChannel", {})
13
13
  .n("RepostspaceClient", "CreateChannelCommand")
14
- .sc(CreateChannel)
14
+ .sc(CreateChannel$)
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 { CreateSpace } from "../schemas/schemas_0";
4
+ import { CreateSpace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateSpaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateSpaceCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "CreateSpace", {})
13
13
  .n("RepostspaceClient", "CreateSpaceCommand")
14
- .sc(CreateSpace)
14
+ .sc(CreateSpace$)
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 { DeleteSpace } from "../schemas/schemas_0";
4
+ import { DeleteSpace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteSpaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteSpaceCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "DeleteSpace", {})
13
13
  .n("RepostspaceClient", "DeleteSpaceCommand")
14
- .sc(DeleteSpace)
14
+ .sc(DeleteSpace$)
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 { DeregisterAdmin } from "../schemas/schemas_0";
4
+ import { DeregisterAdmin$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeregisterAdminCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeregisterAdminCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "DeregisterAdmin", {})
13
13
  .n("RepostspaceClient", "DeregisterAdminCommand")
14
- .sc(DeregisterAdmin)
14
+ .sc(DeregisterAdmin$)
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 { GetChannel } from "../schemas/schemas_0";
4
+ import { GetChannel$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetChannelCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetChannelCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "GetChannel", {})
13
13
  .n("RepostspaceClient", "GetChannelCommand")
14
- .sc(GetChannel)
14
+ .sc(GetChannel$)
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 { GetSpace } from "../schemas/schemas_0";
4
+ import { GetSpace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSpaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSpaceCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "GetSpace", {})
13
13
  .n("RepostspaceClient", "GetSpaceCommand")
14
- .sc(GetSpace)
14
+ .sc(GetSpace$)
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 { ListChannels } from "../schemas/schemas_0";
4
+ import { ListChannels$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListChannelsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListChannelsCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "ListChannels", {})
13
13
  .n("RepostspaceClient", "ListChannelsCommand")
14
- .sc(ListChannels)
14
+ .sc(ListChannels$)
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 { ListSpaces } from "../schemas/schemas_0";
4
+ import { ListSpaces$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSpacesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSpacesCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "ListSpaces", {})
13
13
  .n("RepostspaceClient", "ListSpacesCommand")
14
- .sc(ListSpaces)
14
+ .sc(ListSpaces$)
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 { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "ListTagsForResource", {})
13
13
  .n("RepostspaceClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
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 { RegisterAdmin } from "../schemas/schemas_0";
4
+ import { RegisterAdmin$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RegisterAdminCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RegisterAdminCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "RegisterAdmin", {})
13
13
  .n("RepostspaceClient", "RegisterAdminCommand")
14
- .sc(RegisterAdmin)
14
+ .sc(RegisterAdmin$)
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 { SendInvites } from "../schemas/schemas_0";
4
+ import { SendInvites$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SendInvitesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SendInvitesCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "SendInvites", {})
13
13
  .n("RepostspaceClient", "SendInvitesCommand")
14
- .sc(SendInvites)
14
+ .sc(SendInvites$)
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("RepostSpace", "TagResource", {})
13
13
  .n("RepostspaceClient", "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("RepostSpace", "UntagResource", {})
13
13
  .n("RepostspaceClient", "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 { UpdateChannel } from "../schemas/schemas_0";
4
+ import { UpdateChannel$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateChannelCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateChannelCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "UpdateChannel", {})
13
13
  .n("RepostspaceClient", "UpdateChannelCommand")
14
- .sc(UpdateChannel)
14
+ .sc(UpdateChannel$)
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 { UpdateSpace } from "../schemas/schemas_0";
4
+ import { UpdateSpace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateSpaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateSpaceCommand extends $Command
11
11
  })
12
12
  .s("RepostSpace", "UpdateSpace", {})
13
13
  .n("RepostspaceClient", "UpdateSpaceCommand")
14
- .sc(UpdateSpace)
14
+ .sc(UpdateSpace$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./RepostspaceClient";
2
2
  export * from "./Repostspace";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./waiters";
6
7
  export * from "./models/enums";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.repostspace" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.repostspace",
29
+ version: "2022-05-13",
30
+ serviceTarget: "RepostSpace",
31
+ },
27
32
  serviceId: config?.serviceId ?? "repostspace",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,