@aws-sdk/client-chime-sdk-media-pipelines 3.79.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 (96) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +212 -0
  4. package/dist-cjs/ChimeSDKMediaPipelines.js +112 -0
  5. package/dist-cjs/ChimeSDKMediaPipelinesClient.js +35 -0
  6. package/dist-cjs/commands/CreateMediaCapturePipelineCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteMediaCapturePipelineCommand.js +36 -0
  8. package/dist-cjs/commands/GetMediaCapturePipelineCommand.js +36 -0
  9. package/dist-cjs/commands/ListMediaCapturePipelinesCommand.js +36 -0
  10. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  11. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  12. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/endpoints.js +131 -0
  15. package/dist-cjs/index.js +11 -0
  16. package/dist-cjs/models/ChimeSDKMediaPipelinesServiceException.js +11 -0
  17. package/dist-cjs/models/index.js +4 -0
  18. package/dist-cjs/models/models_0.js +339 -0
  19. package/dist-cjs/pagination/Interfaces.js +2 -0
  20. package/dist-cjs/pagination/ListMediaCapturePipelinesPaginator.js +36 -0
  21. package/dist-cjs/pagination/index.js +5 -0
  22. package/dist-cjs/protocols/Aws_restJson1.js +999 -0
  23. package/dist-cjs/runtimeConfig.browser.js +45 -0
  24. package/dist-cjs/runtimeConfig.js +50 -0
  25. package/dist-cjs/runtimeConfig.native.js +16 -0
  26. package/dist-cjs/runtimeConfig.shared.js +17 -0
  27. package/dist-es/ChimeSDKMediaPipelines.js +115 -0
  28. package/dist-es/ChimeSDKMediaPipelinesClient.js +37 -0
  29. package/dist-es/commands/CreateMediaCapturePipelineCommand.js +39 -0
  30. package/dist-es/commands/DeleteMediaCapturePipelineCommand.js +39 -0
  31. package/dist-es/commands/GetMediaCapturePipelineCommand.js +39 -0
  32. package/dist-es/commands/ListMediaCapturePipelinesCommand.js +39 -0
  33. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  34. package/dist-es/commands/TagResourceCommand.js +39 -0
  35. package/dist-es/commands/UntagResourceCommand.js +39 -0
  36. package/dist-es/commands/index.js +7 -0
  37. package/dist-es/endpoints.js +127 -0
  38. package/dist-es/index.js +6 -0
  39. package/dist-es/models/ChimeSDKMediaPipelinesServiceException.js +12 -0
  40. package/dist-es/models/index.js +1 -0
  41. package/dist-es/models/models_0.js +271 -0
  42. package/dist-es/pagination/Interfaces.js +1 -0
  43. package/dist-es/pagination/ListMediaCapturePipelinesPaginator.js +75 -0
  44. package/dist-es/pagination/index.js +2 -0
  45. package/dist-es/protocols/Aws_restJson1.js +1166 -0
  46. package/dist-es/runtimeConfig.browser.js +26 -0
  47. package/dist-es/runtimeConfig.js +28 -0
  48. package/dist-es/runtimeConfig.native.js +8 -0
  49. package/dist-es/runtimeConfig.shared.js +13 -0
  50. package/dist-types/ChimeSDKMediaPipelines.d.ts +59 -0
  51. package/dist-types/ChimeSDKMediaPipelinesClient.d.ts +154 -0
  52. package/dist-types/commands/CreateMediaCapturePipelineCommand.d.ts +35 -0
  53. package/dist-types/commands/DeleteMediaCapturePipelineCommand.d.ts +35 -0
  54. package/dist-types/commands/GetMediaCapturePipelineCommand.d.ts +35 -0
  55. package/dist-types/commands/ListMediaCapturePipelinesCommand.d.ts +35 -0
  56. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  57. package/dist-types/commands/TagResourceCommand.d.ts +35 -0
  58. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  59. package/dist-types/commands/index.d.ts +7 -0
  60. package/dist-types/endpoints.d.ts +2 -0
  61. package/dist-types/index.d.ts +6 -0
  62. package/dist-types/models/ChimeSDKMediaPipelinesServiceException.d.ts +10 -0
  63. package/dist-types/models/index.d.ts +1 -0
  64. package/dist-types/models/models_0.d.ts +581 -0
  65. package/dist-types/pagination/Interfaces.d.ts +6 -0
  66. package/dist-types/pagination/ListMediaCapturePipelinesPaginator.d.ts +4 -0
  67. package/dist-types/pagination/index.d.ts +2 -0
  68. package/dist-types/protocols/Aws_restJson1.d.ts +23 -0
  69. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  70. package/dist-types/runtimeConfig.d.ts +40 -0
  71. package/dist-types/runtimeConfig.native.d.ts +39 -0
  72. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  73. package/dist-types/ts3.4/ChimeSDKMediaPipelines.d.ts +40 -0
  74. package/dist-types/ts3.4/ChimeSDKMediaPipelinesClient.d.ts +80 -0
  75. package/dist-types/ts3.4/commands/CreateMediaCapturePipelineCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/DeleteMediaCapturePipelineCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/GetMediaCapturePipelineCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/ListMediaCapturePipelinesCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  83. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  84. package/dist-types/ts3.4/index.d.ts +6 -0
  85. package/dist-types/ts3.4/models/ChimeSDKMediaPipelinesServiceException.d.ts +6 -0
  86. package/dist-types/ts3.4/models/index.d.ts +1 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +370 -0
  88. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  89. package/dist-types/ts3.4/pagination/ListMediaCapturePipelinesPaginator.d.ts +4 -0
  90. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  91. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +23 -0
  92. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  93. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  94. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  95. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  96. package/package.json +95 -0
@@ -0,0 +1,127 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
+ var regionHash = {};
4
+ var partitionHash = {
5
+ aws: {
6
+ regions: [
7
+ "af-south-1",
8
+ "ap-east-1",
9
+ "ap-northeast-1",
10
+ "ap-northeast-2",
11
+ "ap-northeast-3",
12
+ "ap-south-1",
13
+ "ap-southeast-1",
14
+ "ap-southeast-2",
15
+ "ap-southeast-3",
16
+ "ca-central-1",
17
+ "eu-central-1",
18
+ "eu-north-1",
19
+ "eu-south-1",
20
+ "eu-west-1",
21
+ "eu-west-2",
22
+ "eu-west-3",
23
+ "me-south-1",
24
+ "sa-east-1",
25
+ "us-east-1",
26
+ "us-east-2",
27
+ "us-west-1",
28
+ "us-west-2",
29
+ ],
30
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
31
+ variants: [
32
+ {
33
+ hostname: "media-pipelines-chime.{region}.amazonaws.com",
34
+ tags: [],
35
+ },
36
+ {
37
+ hostname: "media-pipelines-chime-fips.{region}.amazonaws.com",
38
+ tags: ["fips"],
39
+ },
40
+ {
41
+ hostname: "media-pipelines-chime-fips.{region}.api.aws",
42
+ tags: ["dualstack", "fips"],
43
+ },
44
+ {
45
+ hostname: "media-pipelines-chime.{region}.api.aws",
46
+ tags: ["dualstack"],
47
+ },
48
+ ],
49
+ },
50
+ "aws-cn": {
51
+ regions: ["cn-north-1", "cn-northwest-1"],
52
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
53
+ variants: [
54
+ {
55
+ hostname: "media-pipelines-chime.{region}.amazonaws.com.cn",
56
+ tags: [],
57
+ },
58
+ {
59
+ hostname: "media-pipelines-chime-fips.{region}.amazonaws.com.cn",
60
+ tags: ["fips"],
61
+ },
62
+ {
63
+ hostname: "media-pipelines-chime-fips.{region}.api.amazonwebservices.com.cn",
64
+ tags: ["dualstack", "fips"],
65
+ },
66
+ {
67
+ hostname: "media-pipelines-chime.{region}.api.amazonwebservices.com.cn",
68
+ tags: ["dualstack"],
69
+ },
70
+ ],
71
+ },
72
+ "aws-iso": {
73
+ regions: ["us-iso-east-1", "us-iso-west-1"],
74
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
75
+ variants: [
76
+ {
77
+ hostname: "media-pipelines-chime.{region}.c2s.ic.gov",
78
+ tags: [],
79
+ },
80
+ {
81
+ hostname: "media-pipelines-chime-fips.{region}.c2s.ic.gov",
82
+ tags: ["fips"],
83
+ },
84
+ ],
85
+ },
86
+ "aws-iso-b": {
87
+ regions: ["us-isob-east-1"],
88
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
89
+ variants: [
90
+ {
91
+ hostname: "media-pipelines-chime.{region}.sc2s.sgov.gov",
92
+ tags: [],
93
+ },
94
+ {
95
+ hostname: "media-pipelines-chime-fips.{region}.sc2s.sgov.gov",
96
+ tags: ["fips"],
97
+ },
98
+ ],
99
+ },
100
+ "aws-us-gov": {
101
+ regions: ["us-gov-east-1", "us-gov-west-1"],
102
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
103
+ variants: [
104
+ {
105
+ hostname: "media-pipelines-chime.{region}.amazonaws.com",
106
+ tags: [],
107
+ },
108
+ {
109
+ hostname: "media-pipelines-chime-fips.{region}.amazonaws.com",
110
+ tags: ["fips"],
111
+ },
112
+ {
113
+ hostname: "media-pipelines-chime-fips.{region}.api.aws",
114
+ tags: ["dualstack", "fips"],
115
+ },
116
+ {
117
+ hostname: "media-pipelines-chime.{region}.api.aws",
118
+ tags: ["dualstack"],
119
+ },
120
+ ],
121
+ },
122
+ };
123
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
124
+ return __generator(this, function (_a) {
125
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "chime", regionHash: regionHash, partitionHash: partitionHash }))];
126
+ });
127
+ }); };
@@ -0,0 +1,6 @@
1
+ export * from "./ChimeSDKMediaPipelines";
2
+ export * from "./ChimeSDKMediaPipelinesClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { ChimeSDKMediaPipelinesServiceException } from "./models/ChimeSDKMediaPipelinesServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var ChimeSDKMediaPipelinesServiceException = (function (_super) {
4
+ __extends(ChimeSDKMediaPipelinesServiceException, _super);
5
+ function ChimeSDKMediaPipelinesServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, ChimeSDKMediaPipelinesServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return ChimeSDKMediaPipelinesServiceException;
11
+ }(__ServiceException));
12
+ export { ChimeSDKMediaPipelinesServiceException };
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,271 @@
1
+ import { __assign, __extends } from "tslib";
2
+ import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { ChimeSDKMediaPipelinesServiceException as __BaseException } from "./ChimeSDKMediaPipelinesServiceException";
4
+ export var AudioMuxType;
5
+ (function (AudioMuxType) {
6
+ AudioMuxType["AudioOnly"] = "AudioOnly";
7
+ AudioMuxType["AudioWithActiveSpeakerVideo"] = "AudioWithActiveSpeakerVideo";
8
+ })(AudioMuxType || (AudioMuxType = {}));
9
+ export var AudioArtifactsConfiguration;
10
+ (function (AudioArtifactsConfiguration) {
11
+ AudioArtifactsConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
12
+ })(AudioArtifactsConfiguration || (AudioArtifactsConfiguration = {}));
13
+ export var ContentMuxType;
14
+ (function (ContentMuxType) {
15
+ ContentMuxType["ContentOnly"] = "ContentOnly";
16
+ })(ContentMuxType || (ContentMuxType = {}));
17
+ export var ArtifactsState;
18
+ (function (ArtifactsState) {
19
+ ArtifactsState["Disabled"] = "Disabled";
20
+ ArtifactsState["Enabled"] = "Enabled";
21
+ })(ArtifactsState || (ArtifactsState = {}));
22
+ export var ContentArtifactsConfiguration;
23
+ (function (ContentArtifactsConfiguration) {
24
+ ContentArtifactsConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
25
+ })(ContentArtifactsConfiguration || (ContentArtifactsConfiguration = {}));
26
+ export var VideoMuxType;
27
+ (function (VideoMuxType) {
28
+ VideoMuxType["VideoOnly"] = "VideoOnly";
29
+ })(VideoMuxType || (VideoMuxType = {}));
30
+ export var VideoArtifactsConfiguration;
31
+ (function (VideoArtifactsConfiguration) {
32
+ VideoArtifactsConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
33
+ })(VideoArtifactsConfiguration || (VideoArtifactsConfiguration = {}));
34
+ export var ArtifactsConfiguration;
35
+ (function (ArtifactsConfiguration) {
36
+ ArtifactsConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
37
+ })(ArtifactsConfiguration || (ArtifactsConfiguration = {}));
38
+ export var ErrorCode;
39
+ (function (ErrorCode) {
40
+ ErrorCode["BadRequest"] = "BadRequest";
41
+ ErrorCode["Forbidden"] = "Forbidden";
42
+ ErrorCode["NotFound"] = "NotFound";
43
+ ErrorCode["ResourceLimitExceeded"] = "ResourceLimitExceeded";
44
+ ErrorCode["ServiceFailure"] = "ServiceFailure";
45
+ ErrorCode["ServiceUnavailable"] = "ServiceUnavailable";
46
+ ErrorCode["Throttling"] = "Throttling";
47
+ })(ErrorCode || (ErrorCode = {}));
48
+ var BadRequestException = (function (_super) {
49
+ __extends(BadRequestException, _super);
50
+ function BadRequestException(opts) {
51
+ var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
52
+ _this.name = "BadRequestException";
53
+ _this.$fault = "client";
54
+ Object.setPrototypeOf(_this, BadRequestException.prototype);
55
+ _this.Code = opts.Code;
56
+ _this.Message = opts.Message;
57
+ _this.RequestId = opts.RequestId;
58
+ return _this;
59
+ }
60
+ return BadRequestException;
61
+ }(__BaseException));
62
+ export { BadRequestException };
63
+ export var SelectedVideoStreams;
64
+ (function (SelectedVideoStreams) {
65
+ SelectedVideoStreams.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ExternalUserIds && { ExternalUserIds: SENSITIVE_STRING }))); };
66
+ })(SelectedVideoStreams || (SelectedVideoStreams = {}));
67
+ export var SourceConfiguration;
68
+ (function (SourceConfiguration) {
69
+ SourceConfiguration.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.SelectedVideoStreams && {
70
+ SelectedVideoStreams: SelectedVideoStreams.filterSensitiveLog(obj.SelectedVideoStreams),
71
+ }))); };
72
+ })(SourceConfiguration || (SourceConfiguration = {}));
73
+ export var ChimeSdkMeetingConfiguration;
74
+ (function (ChimeSdkMeetingConfiguration) {
75
+ ChimeSdkMeetingConfiguration.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.SourceConfiguration && {
76
+ SourceConfiguration: SourceConfiguration.filterSensitiveLog(obj.SourceConfiguration),
77
+ }))); };
78
+ })(ChimeSdkMeetingConfiguration || (ChimeSdkMeetingConfiguration = {}));
79
+ export var MediaPipelineSinkType;
80
+ (function (MediaPipelineSinkType) {
81
+ MediaPipelineSinkType["S3Bucket"] = "S3Bucket";
82
+ })(MediaPipelineSinkType || (MediaPipelineSinkType = {}));
83
+ export var MediaPipelineSourceType;
84
+ (function (MediaPipelineSourceType) {
85
+ MediaPipelineSourceType["ChimeSdkMeeting"] = "ChimeSdkMeeting";
86
+ })(MediaPipelineSourceType || (MediaPipelineSourceType = {}));
87
+ export var Tag;
88
+ (function (Tag) {
89
+ Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
90
+ })(Tag || (Tag = {}));
91
+ export var CreateMediaCapturePipelineRequest;
92
+ (function (CreateMediaCapturePipelineRequest) {
93
+ CreateMediaCapturePipelineRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.SourceArn && { SourceArn: SENSITIVE_STRING })), (obj.SinkArn && { SinkArn: SENSITIVE_STRING })), (obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING })), (obj.ChimeSdkMeetingConfiguration && {
94
+ ChimeSdkMeetingConfiguration: ChimeSdkMeetingConfiguration.filterSensitiveLog(obj.ChimeSdkMeetingConfiguration),
95
+ }))); };
96
+ })(CreateMediaCapturePipelineRequest || (CreateMediaCapturePipelineRequest = {}));
97
+ export var MediaPipelineStatus;
98
+ (function (MediaPipelineStatus) {
99
+ MediaPipelineStatus["Failed"] = "Failed";
100
+ MediaPipelineStatus["InProgress"] = "InProgress";
101
+ MediaPipelineStatus["Initializing"] = "Initializing";
102
+ MediaPipelineStatus["Stopped"] = "Stopped";
103
+ MediaPipelineStatus["Stopping"] = "Stopping";
104
+ })(MediaPipelineStatus || (MediaPipelineStatus = {}));
105
+ export var MediaCapturePipeline;
106
+ (function (MediaCapturePipeline) {
107
+ MediaCapturePipeline.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.SourceArn && { SourceArn: SENSITIVE_STRING })), (obj.SinkArn && { SinkArn: SENSITIVE_STRING })), (obj.ChimeSdkMeetingConfiguration && {
108
+ ChimeSdkMeetingConfiguration: ChimeSdkMeetingConfiguration.filterSensitiveLog(obj.ChimeSdkMeetingConfiguration),
109
+ }))); };
110
+ })(MediaCapturePipeline || (MediaCapturePipeline = {}));
111
+ export var CreateMediaCapturePipelineResponse;
112
+ (function (CreateMediaCapturePipelineResponse) {
113
+ CreateMediaCapturePipelineResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.MediaCapturePipeline && {
114
+ MediaCapturePipeline: MediaCapturePipeline.filterSensitiveLog(obj.MediaCapturePipeline),
115
+ }))); };
116
+ })(CreateMediaCapturePipelineResponse || (CreateMediaCapturePipelineResponse = {}));
117
+ var ForbiddenException = (function (_super) {
118
+ __extends(ForbiddenException, _super);
119
+ function ForbiddenException(opts) {
120
+ var _this = _super.call(this, __assign({ name: "ForbiddenException", $fault: "client" }, opts)) || this;
121
+ _this.name = "ForbiddenException";
122
+ _this.$fault = "client";
123
+ Object.setPrototypeOf(_this, ForbiddenException.prototype);
124
+ _this.Code = opts.Code;
125
+ _this.Message = opts.Message;
126
+ _this.RequestId = opts.RequestId;
127
+ return _this;
128
+ }
129
+ return ForbiddenException;
130
+ }(__BaseException));
131
+ export { ForbiddenException };
132
+ var ResourceLimitExceededException = (function (_super) {
133
+ __extends(ResourceLimitExceededException, _super);
134
+ function ResourceLimitExceededException(opts) {
135
+ var _this = _super.call(this, __assign({ name: "ResourceLimitExceededException", $fault: "client" }, opts)) || this;
136
+ _this.name = "ResourceLimitExceededException";
137
+ _this.$fault = "client";
138
+ Object.setPrototypeOf(_this, ResourceLimitExceededException.prototype);
139
+ _this.Code = opts.Code;
140
+ _this.Message = opts.Message;
141
+ _this.RequestId = opts.RequestId;
142
+ return _this;
143
+ }
144
+ return ResourceLimitExceededException;
145
+ }(__BaseException));
146
+ export { ResourceLimitExceededException };
147
+ var ServiceFailureException = (function (_super) {
148
+ __extends(ServiceFailureException, _super);
149
+ function ServiceFailureException(opts) {
150
+ var _this = _super.call(this, __assign({ name: "ServiceFailureException", $fault: "server" }, opts)) || this;
151
+ _this.name = "ServiceFailureException";
152
+ _this.$fault = "server";
153
+ Object.setPrototypeOf(_this, ServiceFailureException.prototype);
154
+ _this.Code = opts.Code;
155
+ _this.Message = opts.Message;
156
+ _this.RequestId = opts.RequestId;
157
+ return _this;
158
+ }
159
+ return ServiceFailureException;
160
+ }(__BaseException));
161
+ export { ServiceFailureException };
162
+ var ServiceUnavailableException = (function (_super) {
163
+ __extends(ServiceUnavailableException, _super);
164
+ function ServiceUnavailableException(opts) {
165
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
166
+ _this.name = "ServiceUnavailableException";
167
+ _this.$fault = "server";
168
+ Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
169
+ _this.Code = opts.Code;
170
+ _this.Message = opts.Message;
171
+ _this.RequestId = opts.RequestId;
172
+ return _this;
173
+ }
174
+ return ServiceUnavailableException;
175
+ }(__BaseException));
176
+ export { ServiceUnavailableException };
177
+ var ThrottledClientException = (function (_super) {
178
+ __extends(ThrottledClientException, _super);
179
+ function ThrottledClientException(opts) {
180
+ var _this = _super.call(this, __assign({ name: "ThrottledClientException", $fault: "client" }, opts)) || this;
181
+ _this.name = "ThrottledClientException";
182
+ _this.$fault = "client";
183
+ Object.setPrototypeOf(_this, ThrottledClientException.prototype);
184
+ _this.Code = opts.Code;
185
+ _this.Message = opts.Message;
186
+ _this.RequestId = opts.RequestId;
187
+ return _this;
188
+ }
189
+ return ThrottledClientException;
190
+ }(__BaseException));
191
+ export { ThrottledClientException };
192
+ var UnauthorizedClientException = (function (_super) {
193
+ __extends(UnauthorizedClientException, _super);
194
+ function UnauthorizedClientException(opts) {
195
+ var _this = _super.call(this, __assign({ name: "UnauthorizedClientException", $fault: "client" }, opts)) || this;
196
+ _this.name = "UnauthorizedClientException";
197
+ _this.$fault = "client";
198
+ Object.setPrototypeOf(_this, UnauthorizedClientException.prototype);
199
+ _this.Code = opts.Code;
200
+ _this.Message = opts.Message;
201
+ _this.RequestId = opts.RequestId;
202
+ return _this;
203
+ }
204
+ return UnauthorizedClientException;
205
+ }(__BaseException));
206
+ export { UnauthorizedClientException };
207
+ export var DeleteMediaCapturePipelineRequest;
208
+ (function (DeleteMediaCapturePipelineRequest) {
209
+ DeleteMediaCapturePipelineRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
210
+ })(DeleteMediaCapturePipelineRequest || (DeleteMediaCapturePipelineRequest = {}));
211
+ var NotFoundException = (function (_super) {
212
+ __extends(NotFoundException, _super);
213
+ function NotFoundException(opts) {
214
+ var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
215
+ _this.name = "NotFoundException";
216
+ _this.$fault = "client";
217
+ Object.setPrototypeOf(_this, NotFoundException.prototype);
218
+ _this.Code = opts.Code;
219
+ _this.Message = opts.Message;
220
+ _this.RequestId = opts.RequestId;
221
+ return _this;
222
+ }
223
+ return NotFoundException;
224
+ }(__BaseException));
225
+ export { NotFoundException };
226
+ export var GetMediaCapturePipelineRequest;
227
+ (function (GetMediaCapturePipelineRequest) {
228
+ GetMediaCapturePipelineRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
229
+ })(GetMediaCapturePipelineRequest || (GetMediaCapturePipelineRequest = {}));
230
+ export var GetMediaCapturePipelineResponse;
231
+ (function (GetMediaCapturePipelineResponse) {
232
+ GetMediaCapturePipelineResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.MediaCapturePipeline && {
233
+ MediaCapturePipeline: MediaCapturePipeline.filterSensitiveLog(obj.MediaCapturePipeline),
234
+ }))); };
235
+ })(GetMediaCapturePipelineResponse || (GetMediaCapturePipelineResponse = {}));
236
+ export var ListMediaCapturePipelinesRequest;
237
+ (function (ListMediaCapturePipelinesRequest) {
238
+ ListMediaCapturePipelinesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
239
+ })(ListMediaCapturePipelinesRequest || (ListMediaCapturePipelinesRequest = {}));
240
+ export var MediaCapturePipelineSummary;
241
+ (function (MediaCapturePipelineSummary) {
242
+ MediaCapturePipelineSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
243
+ })(MediaCapturePipelineSummary || (MediaCapturePipelineSummary = {}));
244
+ export var ListMediaCapturePipelinesResponse;
245
+ (function (ListMediaCapturePipelinesResponse) {
246
+ ListMediaCapturePipelinesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
247
+ })(ListMediaCapturePipelinesResponse || (ListMediaCapturePipelinesResponse = {}));
248
+ export var ListTagsForResourceRequest;
249
+ (function (ListTagsForResourceRequest) {
250
+ ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
251
+ })(ListTagsForResourceRequest || (ListTagsForResourceRequest = {}));
252
+ export var ListTagsForResourceResponse;
253
+ (function (ListTagsForResourceResponse) {
254
+ ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
255
+ })(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
256
+ export var TagResourceRequest;
257
+ (function (TagResourceRequest) {
258
+ TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
259
+ })(TagResourceRequest || (TagResourceRequest = {}));
260
+ export var TagResourceResponse;
261
+ (function (TagResourceResponse) {
262
+ TagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
263
+ })(TagResourceResponse || (TagResourceResponse = {}));
264
+ export var UntagResourceRequest;
265
+ (function (UntagResourceRequest) {
266
+ UntagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
267
+ })(UntagResourceRequest || (UntagResourceRequest = {}));
268
+ export var UntagResourceResponse;
269
+ (function (UntagResourceResponse) {
270
+ UntagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
271
+ })(UntagResourceResponse || (UntagResourceResponse = {}));
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,75 @@
1
+ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
2
+ import { ChimeSDKMediaPipelines } from "../ChimeSDKMediaPipelines";
3
+ import { ChimeSDKMediaPipelinesClient } from "../ChimeSDKMediaPipelinesClient";
4
+ import { ListMediaCapturePipelinesCommand, } from "../commands/ListMediaCapturePipelinesCommand";
5
+ var makePagedClientRequest = function (client, input) {
6
+ var args = [];
7
+ for (var _i = 2; _i < arguments.length; _i++) {
8
+ args[_i - 2] = arguments[_i];
9
+ }
10
+ return __awaiter(void 0, void 0, void 0, function () {
11
+ return __generator(this, function (_a) {
12
+ switch (_a.label) {
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListMediaCapturePipelinesCommand(input)], __read(args), false))];
14
+ case 1: return [2, _a.sent()];
15
+ }
16
+ });
17
+ });
18
+ };
19
+ var makePagedRequest = function (client, input) {
20
+ var args = [];
21
+ for (var _i = 2; _i < arguments.length; _i++) {
22
+ args[_i - 2] = arguments[_i];
23
+ }
24
+ return __awaiter(void 0, void 0, void 0, function () {
25
+ return __generator(this, function (_a) {
26
+ switch (_a.label) {
27
+ case 0: return [4, client.listMediaCapturePipelines.apply(client, __spreadArray([input], __read(args), false))];
28
+ case 1: return [2, _a.sent()];
29
+ }
30
+ });
31
+ });
32
+ };
33
+ export function paginateListMediaCapturePipelines(config, input) {
34
+ var additionalArguments = [];
35
+ for (var _i = 2; _i < arguments.length; _i++) {
36
+ additionalArguments[_i - 2] = arguments[_i];
37
+ }
38
+ return __asyncGenerator(this, arguments, function paginateListMediaCapturePipelines_1() {
39
+ var token, hasNext, page, prevToken;
40
+ return __generator(this, function (_a) {
41
+ switch (_a.label) {
42
+ case 0:
43
+ token = config.startingToken || undefined;
44
+ hasNext = true;
45
+ _a.label = 1;
46
+ case 1:
47
+ if (!hasNext) return [3, 9];
48
+ input.NextToken = token;
49
+ input["MaxResults"] = config.pageSize;
50
+ if (!(config.client instanceof ChimeSDKMediaPipelines)) return [3, 3];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
+ case 2:
53
+ page = _a.sent();
54
+ return [3, 6];
55
+ case 3:
56
+ if (!(config.client instanceof ChimeSDKMediaPipelinesClient)) return [3, 5];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
+ case 4:
59
+ page = _a.sent();
60
+ return [3, 6];
61
+ case 5: throw new Error("Invalid client, expected ChimeSDKMediaPipelines | ChimeSDKMediaPipelinesClient");
62
+ case 6: return [4, __await(page)];
63
+ case 7: return [4, _a.sent()];
64
+ case 8:
65
+ _a.sent();
66
+ prevToken = token;
67
+ token = page.NextToken;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
69
+ return [3, 1];
70
+ case 9: return [4, __await(undefined)];
71
+ case 10: return [2, _a.sent()];
72
+ }
73
+ });
74
+ });
75
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListMediaCapturePipelinesPaginator";