@aws-sdk/client-ivs-realtime 3.306.0 → 3.309.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 (29) hide show
  1. package/dist-cjs/commands/CreateParticipantTokenCommand.js +4 -3
  2. package/dist-cjs/commands/CreateStageCommand.js +4 -3
  3. package/dist-cjs/commands/DeleteStageCommand.js +2 -2
  4. package/dist-cjs/commands/DisconnectParticipantCommand.js +2 -2
  5. package/dist-cjs/commands/GetStageCommand.js +2 -2
  6. package/dist-cjs/commands/ListStagesCommand.js +2 -2
  7. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  8. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  9. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  10. package/dist-cjs/commands/UpdateStageCommand.js +2 -2
  11. package/dist-cjs/models/models_0.js +19 -1
  12. package/dist-cjs/protocols/Aws_restJson1.js +141 -153
  13. package/dist-es/commands/CreateParticipantTokenCommand.js +5 -4
  14. package/dist-es/commands/CreateStageCommand.js +5 -4
  15. package/dist-es/commands/DeleteStageCommand.js +3 -3
  16. package/dist-es/commands/DisconnectParticipantCommand.js +3 -3
  17. package/dist-es/commands/GetStageCommand.js +3 -3
  18. package/dist-es/commands/ListStagesCommand.js +3 -3
  19. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  20. package/dist-es/commands/TagResourceCommand.js +3 -3
  21. package/dist-es/commands/UntagResourceCommand.js +3 -3
  22. package/dist-es/commands/UpdateStageCommand.js +3 -3
  23. package/dist-es/models/models_0.js +15 -0
  24. package/dist-es/protocols/Aws_restJson1.js +121 -133
  25. package/dist-types/models/models_0.d.ts +12 -0
  26. package/dist-types/protocols/Aws_restJson1.d.ts +80 -20
  27. package/dist-types/ts3.4/models/models_0.d.ts +9 -0
  28. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +20 -20
  29. package/package.json +6 -6
@@ -4,6 +4,7 @@ exports.CreateParticipantTokenCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class CreateParticipantTokenCommand extends smithy_client_1.Command {
9
10
  constructor(input) {
@@ -30,16 +31,16 @@ class CreateParticipantTokenCommand extends smithy_client_1.Command {
30
31
  clientName,
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: models_0_1.CreateParticipantTokenResponseFilterSensitiveLog,
34
35
  };
35
36
  const { requestHandler } = configuration;
36
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
38
  }
38
39
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1CreateParticipantTokenCommand)(input, context);
40
+ return (0, Aws_restJson1_1.se_CreateParticipantTokenCommand)(input, context);
40
41
  }
41
42
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1CreateParticipantTokenCommand)(output, context);
43
+ return (0, Aws_restJson1_1.de_CreateParticipantTokenCommand)(output, context);
43
44
  }
44
45
  }
45
46
  exports.CreateParticipantTokenCommand = CreateParticipantTokenCommand;
@@ -4,6 +4,7 @@ exports.CreateStageCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class CreateStageCommand extends smithy_client_1.Command {
9
10
  constructor(input) {
@@ -30,16 +31,16 @@ class CreateStageCommand extends smithy_client_1.Command {
30
31
  clientName,
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: models_0_1.CreateStageResponseFilterSensitiveLog,
34
35
  };
35
36
  const { requestHandler } = configuration;
36
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
38
  }
38
39
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1CreateStageCommand)(input, context);
40
+ return (0, Aws_restJson1_1.se_CreateStageCommand)(input, context);
40
41
  }
41
42
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1CreateStageCommand)(output, context);
43
+ return (0, Aws_restJson1_1.de_CreateStageCommand)(output, context);
43
44
  }
44
45
  }
45
46
  exports.CreateStageCommand = CreateStageCommand;
@@ -36,10 +36,10 @@ class DeleteStageCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteStageCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DeleteStageCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteStageCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DeleteStageCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DeleteStageCommand = DeleteStageCommand;
@@ -36,10 +36,10 @@ class DisconnectParticipantCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DisconnectParticipantCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DisconnectParticipantCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DisconnectParticipantCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DisconnectParticipantCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DisconnectParticipantCommand = DisconnectParticipantCommand;
@@ -36,10 +36,10 @@ class GetStageCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetStageCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetStageCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetStageCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetStageCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetStageCommand = GetStageCommand;
@@ -36,10 +36,10 @@ class ListStagesCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1ListStagesCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_ListStagesCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1ListStagesCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_ListStagesCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ListStagesCommand = ListStagesCommand;
@@ -36,10 +36,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_ListTagsForResourceCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_ListTagsForResourceCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -36,10 +36,10 @@ class TagResourceCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_TagResourceCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_TagResourceCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.TagResourceCommand = TagResourceCommand;
@@ -36,10 +36,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_UntagResourceCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_UntagResourceCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -36,10 +36,10 @@ class UpdateStageCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1UpdateStageCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_UpdateStageCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateStageCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_UpdateStageCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.UpdateStageCommand = UpdateStageCommand;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InternalServerException = exports.ConflictException = exports.ValidationException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.PendingVerification = exports.ParticipantTokenCapability = exports.AccessDeniedException = void 0;
3
+ exports.CreateStageResponseFilterSensitiveLog = exports.CreateParticipantTokenResponseFilterSensitiveLog = exports.ParticipantTokenFilterSensitiveLog = exports.InternalServerException = exports.ConflictException = exports.ValidationException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.PendingVerification = exports.ParticipantTokenCapability = exports.AccessDeniedException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const IVSRealTimeServiceException_1 = require("./IVSRealTimeServiceException");
5
6
  class AccessDeniedException extends IVSRealTimeServiceException_1.IVSRealTimeServiceException {
6
7
  constructor(opts) {
@@ -104,3 +105,20 @@ class InternalServerException extends IVSRealTimeServiceException_1.IVSRealTimeS
104
105
  }
105
106
  }
106
107
  exports.InternalServerException = InternalServerException;
108
+ const ParticipantTokenFilterSensitiveLog = (obj) => ({
109
+ ...obj,
110
+ ...(obj.token && { token: smithy_client_1.SENSITIVE_STRING }),
111
+ });
112
+ exports.ParticipantTokenFilterSensitiveLog = ParticipantTokenFilterSensitiveLog;
113
+ const CreateParticipantTokenResponseFilterSensitiveLog = (obj) => ({
114
+ ...obj,
115
+ ...(obj.participantToken && { participantToken: (0, exports.ParticipantTokenFilterSensitiveLog)(obj.participantToken) }),
116
+ });
117
+ exports.CreateParticipantTokenResponseFilterSensitiveLog = CreateParticipantTokenResponseFilterSensitiveLog;
118
+ const CreateStageResponseFilterSensitiveLog = (obj) => ({
119
+ ...obj,
120
+ ...(obj.participantTokens && {
121
+ participantTokens: obj.participantTokens.map((item) => (0, exports.ParticipantTokenFilterSensitiveLog)(item)),
122
+ }),
123
+ });
124
+ exports.CreateStageResponseFilterSensitiveLog = CreateStageResponseFilterSensitiveLog;