@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.
- package/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +212 -0
- package/dist-cjs/ChimeSDKMediaPipelines.js +112 -0
- package/dist-cjs/ChimeSDKMediaPipelinesClient.js +35 -0
- package/dist-cjs/commands/CreateMediaCapturePipelineCommand.js +36 -0
- package/dist-cjs/commands/DeleteMediaCapturePipelineCommand.js +36 -0
- package/dist-cjs/commands/GetMediaCapturePipelineCommand.js +36 -0
- package/dist-cjs/commands/ListMediaCapturePipelinesCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/ChimeSDKMediaPipelinesServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +339 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListMediaCapturePipelinesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +999 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/ChimeSDKMediaPipelines.js +115 -0
- package/dist-es/ChimeSDKMediaPipelinesClient.js +37 -0
- package/dist-es/commands/CreateMediaCapturePipelineCommand.js +39 -0
- package/dist-es/commands/DeleteMediaCapturePipelineCommand.js +39 -0
- package/dist-es/commands/GetMediaCapturePipelineCommand.js +39 -0
- package/dist-es/commands/ListMediaCapturePipelinesCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/ChimeSDKMediaPipelinesServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +271 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListMediaCapturePipelinesPaginator.js +75 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1166 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +28 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/ChimeSDKMediaPipelines.d.ts +59 -0
- package/dist-types/ChimeSDKMediaPipelinesClient.d.ts +154 -0
- package/dist-types/commands/CreateMediaCapturePipelineCommand.d.ts +35 -0
- package/dist-types/commands/DeleteMediaCapturePipelineCommand.d.ts +35 -0
- package/dist-types/commands/GetMediaCapturePipelineCommand.d.ts +35 -0
- package/dist-types/commands/ListMediaCapturePipelinesCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/ChimeSDKMediaPipelinesServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +581 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListMediaCapturePipelinesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +23 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/ChimeSDKMediaPipelines.d.ts +40 -0
- package/dist-types/ts3.4/ChimeSDKMediaPipelinesClient.d.ts +80 -0
- package/dist-types/ts3.4/commands/CreateMediaCapturePipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMediaCapturePipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMediaCapturePipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMediaCapturePipelinesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/ChimeSDKMediaPipelinesServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +370 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListMediaCapturePipelinesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +23 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +95 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
+
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
|
+
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
|
+
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
10
|
+
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
|
+
const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
|
|
12
|
+
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
13
|
+
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
|
+
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
|
+
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
|
+
const getRuntimeConfig = (config) => {
|
|
19
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
|
+
return {
|
|
24
|
+
...clientSharedValues,
|
|
25
|
+
...config,
|
|
26
|
+
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
28
|
+
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
29
|
+
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
|
+
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
|
+
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
38
|
+
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
39
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
40
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
41
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
42
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
+
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
|
+
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
|
+
const hash_node_1 = require("@aws-sdk/hash-node");
|
|
10
|
+
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
|
+
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
12
|
+
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
13
|
+
const util_base64_node_1 = require("@aws-sdk/util-base64-node");
|
|
14
|
+
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
15
|
+
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
|
+
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
|
+
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
|
+
const getRuntimeConfig = (config) => {
|
|
21
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
|
+
return {
|
|
26
|
+
...clientSharedValues,
|
|
27
|
+
...config,
|
|
28
|
+
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
30
|
+
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
31
|
+
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
32
|
+
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
33
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
34
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
42
|
+
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
43
|
+
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
44
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
47
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
|
+
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
+
const getRuntimeConfig = (config) => {
|
|
7
|
+
var _a;
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
|
+
return {
|
|
10
|
+
...browserDefaults,
|
|
11
|
+
...config,
|
|
12
|
+
runtime: "react-native",
|
|
13
|
+
sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : sha256_js_1.Sha256,
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
6
|
+
const getRuntimeConfig = (config) => {
|
|
7
|
+
var _a, _b, _c, _d, _e;
|
|
8
|
+
return ({
|
|
9
|
+
apiVersion: "2021-07-15",
|
|
10
|
+
disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
|
|
11
|
+
logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
|
|
12
|
+
regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : endpoints_1.defaultRegionInfoProvider,
|
|
13
|
+
serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "Chime SDK Media Pipelines",
|
|
14
|
+
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ChimeSDKMediaPipelinesClient } from "./ChimeSDKMediaPipelinesClient";
|
|
3
|
+
import { CreateMediaCapturePipelineCommand, } from "./commands/CreateMediaCapturePipelineCommand";
|
|
4
|
+
import { DeleteMediaCapturePipelineCommand, } from "./commands/DeleteMediaCapturePipelineCommand";
|
|
5
|
+
import { GetMediaCapturePipelineCommand, } from "./commands/GetMediaCapturePipelineCommand";
|
|
6
|
+
import { ListMediaCapturePipelinesCommand, } from "./commands/ListMediaCapturePipelinesCommand";
|
|
7
|
+
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
8
|
+
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
9
|
+
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
10
|
+
var ChimeSDKMediaPipelines = (function (_super) {
|
|
11
|
+
__extends(ChimeSDKMediaPipelines, _super);
|
|
12
|
+
function ChimeSDKMediaPipelines() {
|
|
13
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
14
|
+
}
|
|
15
|
+
ChimeSDKMediaPipelines.prototype.createMediaCapturePipeline = function (args, optionsOrCb, cb) {
|
|
16
|
+
var command = new CreateMediaCapturePipelineCommand(args);
|
|
17
|
+
if (typeof optionsOrCb === "function") {
|
|
18
|
+
this.send(command, optionsOrCb);
|
|
19
|
+
}
|
|
20
|
+
else if (typeof cb === "function") {
|
|
21
|
+
if (typeof optionsOrCb !== "object")
|
|
22
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
23
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
return this.send(command, optionsOrCb);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
ChimeSDKMediaPipelines.prototype.deleteMediaCapturePipeline = function (args, optionsOrCb, cb) {
|
|
30
|
+
var command = new DeleteMediaCapturePipelineCommand(args);
|
|
31
|
+
if (typeof optionsOrCb === "function") {
|
|
32
|
+
this.send(command, optionsOrCb);
|
|
33
|
+
}
|
|
34
|
+
else if (typeof cb === "function") {
|
|
35
|
+
if (typeof optionsOrCb !== "object")
|
|
36
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
37
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
return this.send(command, optionsOrCb);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
ChimeSDKMediaPipelines.prototype.getMediaCapturePipeline = function (args, optionsOrCb, cb) {
|
|
44
|
+
var command = new GetMediaCapturePipelineCommand(args);
|
|
45
|
+
if (typeof optionsOrCb === "function") {
|
|
46
|
+
this.send(command, optionsOrCb);
|
|
47
|
+
}
|
|
48
|
+
else if (typeof cb === "function") {
|
|
49
|
+
if (typeof optionsOrCb !== "object")
|
|
50
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
51
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
return this.send(command, optionsOrCb);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
ChimeSDKMediaPipelines.prototype.listMediaCapturePipelines = function (args, optionsOrCb, cb) {
|
|
58
|
+
var command = new ListMediaCapturePipelinesCommand(args);
|
|
59
|
+
if (typeof optionsOrCb === "function") {
|
|
60
|
+
this.send(command, optionsOrCb);
|
|
61
|
+
}
|
|
62
|
+
else if (typeof cb === "function") {
|
|
63
|
+
if (typeof optionsOrCb !== "object")
|
|
64
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
65
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
return this.send(command, optionsOrCb);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
ChimeSDKMediaPipelines.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
|
|
72
|
+
var command = new ListTagsForResourceCommand(args);
|
|
73
|
+
if (typeof optionsOrCb === "function") {
|
|
74
|
+
this.send(command, optionsOrCb);
|
|
75
|
+
}
|
|
76
|
+
else if (typeof cb === "function") {
|
|
77
|
+
if (typeof optionsOrCb !== "object")
|
|
78
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
79
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
return this.send(command, optionsOrCb);
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
ChimeSDKMediaPipelines.prototype.tagResource = function (args, optionsOrCb, cb) {
|
|
86
|
+
var command = new TagResourceCommand(args);
|
|
87
|
+
if (typeof optionsOrCb === "function") {
|
|
88
|
+
this.send(command, optionsOrCb);
|
|
89
|
+
}
|
|
90
|
+
else if (typeof cb === "function") {
|
|
91
|
+
if (typeof optionsOrCb !== "object")
|
|
92
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
93
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
return this.send(command, optionsOrCb);
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
ChimeSDKMediaPipelines.prototype.untagResource = function (args, optionsOrCb, cb) {
|
|
100
|
+
var command = new UntagResourceCommand(args);
|
|
101
|
+
if (typeof optionsOrCb === "function") {
|
|
102
|
+
this.send(command, optionsOrCb);
|
|
103
|
+
}
|
|
104
|
+
else if (typeof cb === "function") {
|
|
105
|
+
if (typeof optionsOrCb !== "object")
|
|
106
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
107
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
return this.send(command, optionsOrCb);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
return ChimeSDKMediaPipelines;
|
|
114
|
+
}(ChimeSDKMediaPipelinesClient));
|
|
115
|
+
export { ChimeSDKMediaPipelines };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
3
|
+
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
|
+
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
|
+
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
|
+
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
+
var ChimeSDKMediaPipelinesClient = (function (_super) {
|
|
12
|
+
__extends(ChimeSDKMediaPipelinesClient, _super);
|
|
13
|
+
function ChimeSDKMediaPipelinesClient(configuration) {
|
|
14
|
+
var _this = this;
|
|
15
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
16
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
17
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
18
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
19
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
20
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
21
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
22
|
+
_this = _super.call(this, _config_6) || this;
|
|
23
|
+
_this.config = _config_6;
|
|
24
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
25
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
|
+
return _this;
|
|
31
|
+
}
|
|
32
|
+
ChimeSDKMediaPipelinesClient.prototype.destroy = function () {
|
|
33
|
+
_super.prototype.destroy.call(this);
|
|
34
|
+
};
|
|
35
|
+
return ChimeSDKMediaPipelinesClient;
|
|
36
|
+
}(__Client));
|
|
37
|
+
export { ChimeSDKMediaPipelinesClient };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateMediaCapturePipelineRequest, CreateMediaCapturePipelineResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateMediaCapturePipelineCommand, serializeAws_restJson1CreateMediaCapturePipelineCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateMediaCapturePipelineCommand = (function (_super) {
|
|
7
|
+
__extends(CreateMediaCapturePipelineCommand, _super);
|
|
8
|
+
function CreateMediaCapturePipelineCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateMediaCapturePipelineCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMediaPipelinesClient";
|
|
18
|
+
var commandName = "CreateMediaCapturePipelineCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateMediaCapturePipelineRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateMediaCapturePipelineResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateMediaCapturePipelineCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CreateMediaCapturePipelineCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateMediaCapturePipelineCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CreateMediaCapturePipelineCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateMediaCapturePipelineCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateMediaCapturePipelineCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteMediaCapturePipelineRequest } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteMediaCapturePipelineCommand, serializeAws_restJson1DeleteMediaCapturePipelineCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeleteMediaCapturePipelineCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteMediaCapturePipelineCommand, _super);
|
|
8
|
+
function DeleteMediaCapturePipelineCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteMediaCapturePipelineCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMediaPipelinesClient";
|
|
18
|
+
var commandName = "DeleteMediaCapturePipelineCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteMediaCapturePipelineRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteMediaCapturePipelineCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DeleteMediaCapturePipelineCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteMediaCapturePipelineCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DeleteMediaCapturePipelineCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteMediaCapturePipelineCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteMediaCapturePipelineCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetMediaCapturePipelineRequest, GetMediaCapturePipelineResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetMediaCapturePipelineCommand, serializeAws_restJson1GetMediaCapturePipelineCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetMediaCapturePipelineCommand = (function (_super) {
|
|
7
|
+
__extends(GetMediaCapturePipelineCommand, _super);
|
|
8
|
+
function GetMediaCapturePipelineCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetMediaCapturePipelineCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMediaPipelinesClient";
|
|
18
|
+
var commandName = "GetMediaCapturePipelineCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetMediaCapturePipelineRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetMediaCapturePipelineResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetMediaCapturePipelineCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetMediaCapturePipelineCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetMediaCapturePipelineCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetMediaCapturePipelineCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetMediaCapturePipelineCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetMediaCapturePipelineCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListMediaCapturePipelinesRequest, ListMediaCapturePipelinesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListMediaCapturePipelinesCommand, serializeAws_restJson1ListMediaCapturePipelinesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListMediaCapturePipelinesCommand = (function (_super) {
|
|
7
|
+
__extends(ListMediaCapturePipelinesCommand, _super);
|
|
8
|
+
function ListMediaCapturePipelinesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListMediaCapturePipelinesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMediaPipelinesClient";
|
|
18
|
+
var commandName = "ListMediaCapturePipelinesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListMediaCapturePipelinesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListMediaCapturePipelinesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListMediaCapturePipelinesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListMediaCapturePipelinesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListMediaCapturePipelinesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListMediaCapturePipelinesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListMediaCapturePipelinesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListMediaCapturePipelinesCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListTagsForResourceCommand = (function (_super) {
|
|
7
|
+
__extends(ListTagsForResourceCommand, _super);
|
|
8
|
+
function ListTagsForResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMediaPipelinesClient";
|
|
18
|
+
var commandName = "ListTagsForResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListTagsForResourceCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListTagsForResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListTagsForResourceCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var TagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(TagResourceCommand, _super);
|
|
8
|
+
function TagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMediaPipelinesClient";
|
|
18
|
+
var commandName = "TagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
TagResourceCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1TagResourceCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
TagResourceCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1TagResourceCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return TagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { TagResourceCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UntagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(UntagResourceCommand, _super);
|
|
8
|
+
function UntagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMediaPipelinesClient";
|
|
18
|
+
var commandName = "UntagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UntagResourceCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UntagResourceCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UntagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UntagResourceCommand };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./CreateMediaCapturePipelineCommand";
|
|
2
|
+
export * from "./DeleteMediaCapturePipelineCommand";
|
|
3
|
+
export * from "./GetMediaCapturePipelineCommand";
|
|
4
|
+
export * from "./ListMediaCapturePipelinesCommand";
|
|
5
|
+
export * from "./ListTagsForResourceCommand";
|
|
6
|
+
export * from "./TagResourceCommand";
|
|
7
|
+
export * from "./UntagResourceCommand";
|