awscdk-construct-scte-scheduler 0.0.19 → 0.0.21
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/.jsii +4 -4
- package/lib/EventBridgeSchedule.js +1 -1
- package/lib/Lambda.js +1 -1
- package/lib/ScteScheduler.js +9 -6
- package/node_modules/@aws-sdk/client-medialive/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-medialive/dist-es/MediaLiveClient.js +12 -18
- package/node_modules/@aws-sdk/client-medialive/dist-types/MediaLiveClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-medialive/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-medialive/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-medialive/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-medialive/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-medialive/dist-types/ts3.4/MediaLiveClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-medialive/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-medialive/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-medialive/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-medialive/package.json +12 -12
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +12 -18
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso/package.json +8 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +12 -18
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +10 -10
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +12 -18
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +17 -4
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +12 -18
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +17 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/package.json +10 -10
- package/node_modules/@aws-sdk/core/account-id-endpoint.js +6 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +97 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +43 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +15 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConstants.js +5 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +24 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +18 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +14 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +30 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +10 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +25 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +12 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +17 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +6 -1
- package/node_modules/@aws-sdk/core/package.json +16 -6
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +6 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +3 -0
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-env/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +3 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +9 -3
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +6 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ProcessCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/ProcessCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-process/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +11 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@smithy/core/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +1 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +1 -1
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/command.js +1 -0
- package/node_modules/@smithy/smithy-client/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-stream/package.json +2 -2
- package/node_modules/fast-xml-parser/CHANGELOG.md +349 -309
- package/node_modules/fast-xml-parser/README.md +83 -51
- package/node_modules/fast-xml-parser/package.json +8 -5
- package/node_modules/fast-xml-parser/src/fxp.d.ts +365 -71
- package/node_modules/fast-xml-parser/src/v5/CharsSymbol.js +16 -0
- package/node_modules/fast-xml-parser/src/v5/EntitiesParser.js +107 -0
- package/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js +64 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js +71 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js +103 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js +102 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js +156 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js +99 -0
- package/node_modules/fast-xml-parser/src/v5/Report.js +0 -0
- package/node_modules/fast-xml-parser/src/v5/TagPath.js +81 -0
- package/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js +15 -0
- package/node_modules/fast-xml-parser/src/v5/XMLParser.js +85 -0
- package/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js +237 -0
- package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +212 -0
- package/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js +118 -0
- package/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js +118 -0
- package/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js +123 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js +107 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js +23 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js +20 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js +40 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/join.js +14 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/number.js +16 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js +8 -0
- package/node_modules/fast-xml-parser/src/validator.js +2 -0
- package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +31 -9
- package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +4 -0
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +25 -12
- package/package.json +7 -7
package/.jsii
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
9
|
"bundled": {
|
|
10
|
-
"@aws-sdk/client-medialive": "^3.
|
|
10
|
+
"@aws-sdk/client-medialive": "^3.624.0"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"aws-cdk-lib": "^2.132.0",
|
|
@@ -3806,7 +3806,7 @@
|
|
|
3806
3806
|
"stability": "stable"
|
|
3807
3807
|
},
|
|
3808
3808
|
"homepage": "https://github.com/kuu/awscdk-construct-scte-scheduler.git",
|
|
3809
|
-
"jsiiVersion": "5.3.
|
|
3809
|
+
"jsiiVersion": "5.3.48 (build e731dd5)",
|
|
3810
3810
|
"keywords": [
|
|
3811
3811
|
"EventBridge",
|
|
3812
3812
|
"Lambda",
|
|
@@ -4231,6 +4231,6 @@
|
|
|
4231
4231
|
"symbolId": "src/ScteScheduler:ScteSchedulerProps"
|
|
4232
4232
|
}
|
|
4233
4233
|
},
|
|
4234
|
-
"version": "0.0.
|
|
4235
|
-
"fingerprint": "
|
|
4234
|
+
"version": "0.0.21",
|
|
4235
|
+
"fingerprint": "q67ha51dFFwIOAVXn3jzkRsA1Y5wjH/2U9O5PJyHVjw="
|
|
4236
4236
|
}
|
|
@@ -24,7 +24,7 @@ class EventBridgeSchedule extends constructs_1.Construct {
|
|
|
24
24
|
}
|
|
25
25
|
exports.EventBridgeSchedule = EventBridgeSchedule;
|
|
26
26
|
_a = JSII_RTTI_SYMBOL_1;
|
|
27
|
-
EventBridgeSchedule[_a] = { fqn: "awscdk-construct-scte-scheduler.EventBridgeSchedule", version: "0.0.
|
|
27
|
+
EventBridgeSchedule[_a] = { fqn: "awscdk-construct-scte-scheduler.EventBridgeSchedule", version: "0.0.21" };
|
|
28
28
|
function isFunction(target) {
|
|
29
29
|
return target instanceof aws_lambda_nodejs_1.NodejsFunction;
|
|
30
30
|
}
|
package/lib/Lambda.js
CHANGED
|
@@ -41,5 +41,5 @@ class Lambda extends constructs_1.Construct {
|
|
|
41
41
|
}
|
|
42
42
|
exports.Lambda = Lambda;
|
|
43
43
|
_a = JSII_RTTI_SYMBOL_1;
|
|
44
|
-
Lambda[_a] = { fqn: "awscdk-construct-scte-scheduler.Lambda", version: "0.0.
|
|
44
|
+
Lambda[_a] = { fqn: "awscdk-construct-scte-scheduler.Lambda", version: "0.0.21" };
|
|
45
45
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGFtYmRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL0xhbWJkYS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHlCQUF5QjtBQUN6Qiw2QkFBNkI7QUFDN0IsNkNBQXlEO0FBQ3pELGlEQUFzRDtBQUN0RCx1REFBaUQ7QUFDakQscUVBQStEO0FBQy9ELDJDQUF1QztBQU92QyxNQUFhLE1BQU8sU0FBUSxzQkFBUztJQUduQyxZQUFZLEtBQWdCLEVBQUU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lRXT19XRUVLUyxcbiAgICB9KTtcbiAgICAvLyBBZGQgYSBzdGF0ZW1lbnQgdG8gY2FsbCBNZWRpYUxpdmUgc2NoZWR1bGUgQVBJXG4gICAgdGhpcy5mdW5jLmFkZFRvUm9sZVBvbGljeShcbiAgICAgIFBvbGljeVN0YXRlbWVudC5mcm9tSnNvbih7XG4gICAgICAgIEVmZmVjdDogJ0FsbG93JyxcbiAgICAgICAgQWN0aW9uOiAnbWVkaWFsaXZlOionLFxuICAgICAgICBSZXNvdXJjZTogJyonLFxuICAgICAgfSksXG4gICAgKTtcbiAgfVxufSJdfQ==
|
package/lib/ScteScheduler.js
CHANGED
|
@@ -35,19 +35,22 @@ class ScteScheduler extends constructs_1.Construct {
|
|
|
35
35
|
lambdaFunction: this.lambda.func,
|
|
36
36
|
inputPath: '$.Payload',
|
|
37
37
|
});
|
|
38
|
-
const
|
|
38
|
+
const wait1 = new aws_stepfunctions_1.Wait(this, `Wait for ${intervalInMinutes}-min`, {
|
|
39
39
|
time: aws_stepfunctions_1.WaitTime.duration(aws_cdk_lib_1.Duration.minutes(intervalInMinutes)),
|
|
40
40
|
});
|
|
41
|
+
const wait2 = new aws_stepfunctions_1.Wait(this, `Wait for ${intervalInMinutes * 60 + scteDurationInSeconds}-sec`, {
|
|
42
|
+
time: aws_stepfunctions_1.WaitTime.duration(aws_cdk_lib_1.Duration.seconds(intervalInMinutes * 60 + scteDurationInSeconds)),
|
|
43
|
+
});
|
|
41
44
|
const lastTask = callback ? new aws_stepfunctions_tasks_1.LambdaInvoke(this, 'Callback', {
|
|
42
45
|
lambdaFunction: callback,
|
|
43
46
|
}) : new aws_stepfunctions_1.Succeed(this, 'Done');
|
|
44
47
|
const stateMachine = new aws_stepfunctions_1.StateMachine(this, 'StateMachine', {
|
|
45
48
|
definitionBody: aws_stepfunctions_1.DefinitionBody.fromChainable(aws_stepfunctions_1.Chain.start(new aws_stepfunctions_1.Pass(this, 'Start', { parameters: { Payload: { i: 0 } } }))
|
|
46
|
-
.next(
|
|
49
|
+
.next(wait1)
|
|
47
50
|
.next(invoke)
|
|
48
51
|
.next(new aws_stepfunctions_1.Choice(this, `Check if repaeted ${repeatCount} times`)
|
|
49
|
-
.when(aws_stepfunctions_1.Condition.numberLessThan('$.Payload.i', repeatCount),
|
|
50
|
-
.otherwise(lastTask))),
|
|
52
|
+
.when(aws_stepfunctions_1.Condition.numberLessThan('$.Payload.i', repeatCount), wait1)
|
|
53
|
+
.otherwise(aws_stepfunctions_1.Chain.start(wait2).next(lastTask)))),
|
|
51
54
|
});
|
|
52
55
|
// Start the execution of the state machine immediately
|
|
53
56
|
new custom_resources_1.AwsCustomResource(scope, 'StartStateMachine', {
|
|
@@ -70,5 +73,5 @@ class ScteScheduler extends constructs_1.Construct {
|
|
|
70
73
|
}
|
|
71
74
|
exports.ScteScheduler = ScteScheduler;
|
|
72
75
|
_a = JSII_RTTI_SYMBOL_1;
|
|
73
|
-
ScteScheduler[_a] = { fqn: "awscdk-construct-scte-scheduler.ScteScheduler", version: "0.0.
|
|
74
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
76
|
+
ScteScheduler[_a] = { fqn: "awscdk-construct-scte-scheduler.ScteScheduler", version: "0.0.21" };
|
|
77
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2N0ZVNjaGVkdWxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9TY3RlU2NoZWR1bGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsaUNBQWlDO0FBQ2pDLDZDQUF1QztBQUN2Qyx1REFBa0Q7QUFFbEQscUVBVXVDO0FBQ3ZDLGlGQUFtRTtBQUNuRSxtRUFBOEc7QUFDOUcsMkNBQXVDO0FBQ3ZDLCtEQUE0RDtBQUM1RCxxQ0FBa0M7QUFVbEMsTUFBYSxhQUFjLFNBQVEsc0JBQVM7SUFJMUMsWUFB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zLCAnRG9uZScpO1xuICAgICAgY29uc3Qgc3RhdGVNYWNoaW5lID0gbmV3IFN0YXRlTWFjaGluZSh0aGlzLCAnU3RhdGVNYWNoaW5lJywge1xuICAgICAgICBkZWZpbml0aW9uQm9keTogRGVmaW5pdGlvbkJvZHkuZnJvbUNoYWluYWJsZShcbiAgICAgICAgICBDaGFpbi5zdGFydChcbiAgICAgICAgICAgIG5ldyBQYXNzKHRoaXMsICdTdGFydCcsIHsgcGFyYW1ldGVyczogeyBQYXlsb2FkOiB7IGk6IDAgfSB9IH0pLFxuICAgICAgICAgIClcbiAgICAgICAgICAgIC5uZXh0KHdhaXQxKVxuICAgICAgICAgICAgLm5leHQoaW52b2tlKVxuICAgICAgICAgICAgLm5leHQoXG4gICAgICAgICAgICAgIG5ldyBDaG9pY2UodGhpcywgYENoZWNrIGlmIHJlcGFldGVkICR7cmVwZWF0Q291bnR9IHRpbWVzYClcbiAgICAgICAgICAgICAgICAud2hlbihcbiAgICAgICAgICAgICAgICAgIENvbmRpdGlvbi5udW1iZXJMZXNzVGhhbignJC5QYXlsb2FkLmknLCByZXBlYXRDb3VudCksXG4gICAgICAgICAgICAgICAgICB3YWl0MSxcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgLm90aGVyd2lzZShcbiAgICAgICAgICAgICAgICAgIENoYWluLnN0YXJ0KHdhaXQyKS5uZXh0KGxhc3RUYXNrKSxcbiAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgKSxcbiAgICAgICAgKSxcbiAgICAgIH0pO1xuICAgICAgLy8gU3RhcnQgdGhlIGV4ZWN1dGlvbiBvZiB0aGUgc3RhdGUgbWFjaGluZSBpbW1lZGlhdGVseVxuICAgICAgbmV3IEF3c0N1c3RvbVJlc291cmNlKHNjb3BlLCAnU3RhcnRTdGF0ZU1hY2hpbmUnLCB7XG4gICAgICAgIG9uQ3JlYXRlOiB7XG4gICAgICAgICAgc2VydmljZTogJ1N0ZXBGdW5jdGlvbnMnLFxuICAgICAgICAgIGFjdGlvbjogJ1N0YXJ0RXhlY3V0aW9uJyxcbiAgICAgICAgICBwYXJhbWV0ZXJzOiB7XG4gICAgICAgICAgICBzdGF0ZU1hY2hpbmVBcm46IHN0YXRlTWFjaGluZS5zdGF0ZU1hY2hpbmVBcm4sXG4gICAgICAgICAgICBpbnB1dDogJ3sgXCJQYXlsb2FkXCI6IHsgXCJpXCI6IDAgfSB9JyxcbiAgICAgICAgICB9LFxuICAgICAgICAgIHBoeXNpY2FsUmVzb3VyY2VJZDogUGh5c2ljYWxSZXNvdXJjZUlkLm9mKGAke2NyeXB0by5yYW5kb21VVUlEKCl9YCksXG4gICAgICAgIH0sXG4gICAgICAgIC8vV2lsbCBpZ25vcmUgYW55IHJlc291cmNlIGFuZCB1c2UgdGhlIGFzc3VtZWRSb2xlQXJuIGFzIHJlc291cmNlIGFuZCAnc3RzOkFzc3VtZVJvbGUnIGZvciBzZXJ2aWNlOmFjdGlvblxuICAgICAgICBwb2xpY3k6IEF3c0N1c3RvbVJlc291cmNlUG9saWN5LmZyb21TZGtDYWxscyh7XG4gICAgICAgICAgcmVzb3VyY2VzOiBBd3NDdXN0b21SZXNvdXJjZVBvbGljeS5BTllfUkVTT1VSQ0UsXG4gICAgICAgIH0pLFxuICAgICAgfSk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -571,25 +571,27 @@ var _MediaLiveClient = class _MediaLiveClient extends import_smithy_client.Clien
|
|
|
571
571
|
constructor(...[configuration]) {
|
|
572
572
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
573
573
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
574
|
-
const _config_2 = (0,
|
|
575
|
-
const _config_3 = (0,
|
|
576
|
-
const _config_4 = (0,
|
|
577
|
-
const _config_5 = (0,
|
|
578
|
-
const _config_6 = (0,
|
|
574
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
575
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
576
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
577
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
578
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
579
579
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
580
580
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
581
581
|
super(_config_8);
|
|
582
582
|
this.config = _config_8;
|
|
583
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
584
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
585
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
586
583
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
587
584
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
588
585
|
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
586
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
587
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
588
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
589
589
|
this.middlewareStack.use(
|
|
590
590
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
591
|
-
httpAuthSchemeParametersProvider:
|
|
592
|
-
identityProviderConfigProvider:
|
|
591
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultMediaLiveHttpAuthSchemeParametersProvider,
|
|
592
|
+
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
593
|
+
"aws.auth#sigv4": config.credentials
|
|
594
|
+
})
|
|
593
595
|
})
|
|
594
596
|
);
|
|
595
597
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -602,14 +604,6 @@ var _MediaLiveClient = class _MediaLiveClient extends import_smithy_client.Clien
|
|
|
602
604
|
destroy() {
|
|
603
605
|
super.destroy();
|
|
604
606
|
}
|
|
605
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
606
|
-
return import_httpAuthSchemeProvider.defaultMediaLiveHttpAuthSchemeParametersProvider;
|
|
607
|
-
}
|
|
608
|
-
getIdentityProviderConfigProvider() {
|
|
609
|
-
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
610
|
-
"aws.auth#sigv4": config.credentials
|
|
611
|
-
});
|
|
612
|
-
}
|
|
613
607
|
};
|
|
614
608
|
__name(_MediaLiveClient, "MediaLiveClient");
|
|
615
609
|
var MediaLiveClient = _MediaLiveClient;
|
|
@@ -17,36 +17,30 @@ export class MediaLiveClient extends __Client {
|
|
|
17
17
|
constructor(...[configuration]) {
|
|
18
18
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
19
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
20
|
-
const _config_2 =
|
|
21
|
-
const _config_3 =
|
|
22
|
-
const _config_4 =
|
|
23
|
-
const _config_5 =
|
|
24
|
-
const _config_6 =
|
|
20
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
21
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
22
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
23
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
24
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
25
25
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
26
26
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
27
27
|
super(_config_8);
|
|
28
28
|
this.config = _config_8;
|
|
29
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
30
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
31
|
-
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
32
29
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
30
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
34
31
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
32
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
35
35
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
36
|
-
httpAuthSchemeParametersProvider:
|
|
37
|
-
identityProviderConfigProvider:
|
|
36
|
+
httpAuthSchemeParametersProvider: defaultMediaLiveHttpAuthSchemeParametersProvider,
|
|
37
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
38
|
+
"aws.auth#sigv4": config.credentials,
|
|
39
|
+
}),
|
|
38
40
|
}));
|
|
39
41
|
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
40
42
|
}
|
|
41
43
|
destroy() {
|
|
42
44
|
super.destroy();
|
|
43
45
|
}
|
|
44
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
45
|
-
return defaultMediaLiveHttpAuthSchemeParametersProvider;
|
|
46
|
-
}
|
|
47
|
-
getIdentityProviderConfigProvider() {
|
|
48
|
-
return async (config) => new DefaultIdentityProviderConfig({
|
|
49
|
-
"aws.auth#sigv4": config.credentials,
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
46
|
}
|
|
@@ -228,7 +228,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
228
228
|
/**
|
|
229
229
|
* @public
|
|
230
230
|
*/
|
|
231
|
-
export type MediaLiveClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults &
|
|
231
|
+
export type MediaLiveClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
232
232
|
/**
|
|
233
233
|
* @public
|
|
234
234
|
*
|
|
@@ -239,7 +239,7 @@ export interface MediaLiveClientConfig extends MediaLiveClientConfigType {
|
|
|
239
239
|
/**
|
|
240
240
|
* @public
|
|
241
241
|
*/
|
|
242
|
-
export type MediaLiveClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig &
|
|
242
|
+
export type MediaLiveClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
243
243
|
/**
|
|
244
244
|
* @public
|
|
245
245
|
*
|
|
@@ -263,6 +263,4 @@ export declare class MediaLiveClient extends __Client<__HttpHandlerOptions, Serv
|
|
|
263
263
|
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
264
264
|
*/
|
|
265
265
|
destroy(): void;
|
|
266
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
267
|
-
private getIdentityProviderConfigProvider;
|
|
268
266
|
}
|
|
@@ -30,12 +30,12 @@ export declare const defaultMediaLiveHttpAuthSchemeProvider: MediaLiveHttpAuthSc
|
|
|
30
30
|
*/
|
|
31
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
36
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
39
|
* @internal
|
|
40
40
|
*/
|
|
41
41
|
httpAuthSchemeProvider?: MediaLiveHttpAuthSchemeProvider;
|
|
@@ -45,12 +45,12 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
|
45
45
|
*/
|
|
46
46
|
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
49
|
* @internal
|
|
50
50
|
*/
|
|
51
51
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
54
|
* @internal
|
|
55
55
|
*/
|
|
56
56
|
readonly httpAuthSchemeProvider: MediaLiveHttpAuthSchemeProvider;
|
|
@@ -28,13 +28,13 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
|
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
30
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
31
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
31
33
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
32
34
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
33
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
36
|
}) => import("@smithy/types").EndpointV2;
|
|
35
37
|
tls?: boolean | undefined;
|
|
36
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
39
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MediaLiveHttpAuthSchemeProvider;
|
|
40
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -28,13 +28,13 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
|
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
30
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
31
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
31
33
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
32
34
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
33
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
36
|
}) => import("@smithy/types").EndpointV2;
|
|
35
37
|
tls?: boolean | undefined;
|
|
36
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
39
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MediaLiveHttpAuthSchemeProvider;
|
|
40
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -27,13 +27,13 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
|
|
|
27
27
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
28
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
29
29
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
30
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
31
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
30
32
|
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
31
33
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
35
|
}) => import("@smithy/types").EndpointV2;
|
|
34
36
|
tls?: boolean | undefined;
|
|
35
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
38
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MediaLiveHttpAuthSchemeProvider;
|
|
39
39
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -637,11 +637,11 @@ export type MediaLiveClientConfigType = Partial<
|
|
|
637
637
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
638
638
|
> &
|
|
639
639
|
ClientDefaults &
|
|
640
|
-
RegionInputConfig &
|
|
641
|
-
EndpointInputConfig<EndpointParameters> &
|
|
642
|
-
HostHeaderInputConfig &
|
|
643
640
|
UserAgentInputConfig &
|
|
644
641
|
RetryInputConfig &
|
|
642
|
+
RegionInputConfig &
|
|
643
|
+
HostHeaderInputConfig &
|
|
644
|
+
EndpointInputConfig<EndpointParameters> &
|
|
645
645
|
HttpAuthSchemeInputConfig &
|
|
646
646
|
ClientInputEndpointParameters;
|
|
647
647
|
export interface MediaLiveClientConfig extends MediaLiveClientConfigType {}
|
|
@@ -649,11 +649,11 @@ export type MediaLiveClientResolvedConfigType =
|
|
|
649
649
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
650
650
|
Required<ClientDefaults> &
|
|
651
651
|
RuntimeExtensionsConfig &
|
|
652
|
-
RegionResolvedConfig &
|
|
653
|
-
EndpointResolvedConfig<EndpointParameters> &
|
|
654
|
-
HostHeaderResolvedConfig &
|
|
655
652
|
UserAgentResolvedConfig &
|
|
656
653
|
RetryResolvedConfig &
|
|
654
|
+
RegionResolvedConfig &
|
|
655
|
+
HostHeaderResolvedConfig &
|
|
656
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
657
657
|
HttpAuthSchemeResolvedConfig &
|
|
658
658
|
ClientResolvedEndpointParameters;
|
|
659
659
|
export interface MediaLiveClientResolvedConfig
|
|
@@ -669,6 +669,4 @@ export declare class MediaLiveClient extends __Client<
|
|
|
669
669
|
...[configuration]: __CheckOptionalClientConfig<MediaLiveClientConfig>
|
|
670
670
|
);
|
|
671
671
|
destroy(): void;
|
|
672
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
673
|
-
private getIdentityProviderConfigProvider;
|
|
674
672
|
}
|
|
@@ -33,6 +33,11 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
|
|
|
33
33
|
logger: import("@smithy/types").Logger;
|
|
34
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
35
35
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
36
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
+
retryStrategy?:
|
|
38
|
+
| import("@smithy/types").RetryStrategy
|
|
39
|
+
| import("@smithy/types").RetryStrategyV2
|
|
40
|
+
| undefined;
|
|
36
41
|
endpoint?:
|
|
37
42
|
| ((
|
|
38
43
|
| string
|
|
@@ -57,11 +62,6 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
|
|
|
57
62
|
}
|
|
58
63
|
) => import("@smithy/types").EndpointV2;
|
|
59
64
|
tls?: boolean | undefined;
|
|
60
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
61
|
-
retryStrategy?:
|
|
62
|
-
| import("@smithy/types").RetryStrategy
|
|
63
|
-
| import("@smithy/types").RetryStrategyV2
|
|
64
|
-
| undefined;
|
|
65
65
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
66
66
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MediaLiveHttpAuthSchemeProvider;
|
|
67
67
|
credentials?:
|
|
@@ -37,6 +37,11 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
|
|
|
37
37
|
logger: import("@smithy/types").Logger;
|
|
38
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
39
39
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
40
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
41
|
+
retryStrategy?:
|
|
42
|
+
| import("@smithy/types").RetryStrategy
|
|
43
|
+
| import("@smithy/types").RetryStrategyV2
|
|
44
|
+
| undefined;
|
|
40
45
|
endpoint?:
|
|
41
46
|
| ((
|
|
42
47
|
| string
|
|
@@ -61,11 +66,6 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
|
|
|
61
66
|
}
|
|
62
67
|
) => import("@smithy/types").EndpointV2;
|
|
63
68
|
tls?: boolean | undefined;
|
|
64
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
65
|
-
retryStrategy?:
|
|
66
|
-
| import("@smithy/types").RetryStrategy
|
|
67
|
-
| import("@smithy/types").RetryStrategyV2
|
|
68
|
-
| undefined;
|
|
69
69
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
70
70
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MediaLiveHttpAuthSchemeProvider;
|
|
71
71
|
credentials?:
|
|
@@ -37,6 +37,11 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
|
|
|
37
37
|
import("@smithy/smithy-client").DefaultsMode
|
|
38
38
|
>;
|
|
39
39
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
40
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
41
|
+
retryStrategy?:
|
|
42
|
+
| import("@smithy/types").RetryStrategy
|
|
43
|
+
| import("@smithy/types").RetryStrategyV2
|
|
44
|
+
| undefined;
|
|
40
45
|
endpoint?:
|
|
41
46
|
| string
|
|
42
47
|
| import("@smithy/types").Endpoint
|
|
@@ -51,11 +56,6 @@ export declare const getRuntimeConfig: (config: MediaLiveClientConfig) => {
|
|
|
51
56
|
}
|
|
52
57
|
) => import("@smithy/types").EndpointV2;
|
|
53
58
|
tls?: boolean | undefined;
|
|
54
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
55
|
-
retryStrategy?:
|
|
56
|
-
| import("@smithy/types").RetryStrategy
|
|
57
|
-
| import("@smithy/types").RetryStrategyV2
|
|
58
|
-
| undefined;
|
|
59
59
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
60
60
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MediaLiveHttpAuthSchemeProvider;
|
|
61
61
|
credentials?:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-medialive",
|
|
3
3
|
"description": "AWS SDK for JavaScript Medialive Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.624.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-medialive",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.624.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.624.0",
|
|
25
|
+
"@aws-sdk/core": "3.624.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.624.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
@@ -34,30 +34,30 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|
|
37
|
-
"@smithy/core": "^2.3.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
37
|
+
"@smithy/core": "^2.3.2",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.4",
|
|
39
39
|
"@smithy/hash-node": "^3.0.3",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
41
41
|
"@smithy/middleware-content-length": "^3.0.5",
|
|
42
42
|
"@smithy/middleware-endpoint": "^3.1.0",
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.14",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.3",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.3",
|
|
46
46
|
"@smithy/node-config-provider": "^3.1.4",
|
|
47
47
|
"@smithy/node-http-handler": "^3.1.4",
|
|
48
48
|
"@smithy/protocol-http": "^4.1.0",
|
|
49
|
-
"@smithy/smithy-client": "^3.1.
|
|
49
|
+
"@smithy/smithy-client": "^3.1.12",
|
|
50
50
|
"@smithy/types": "^3.3.0",
|
|
51
51
|
"@smithy/url-parser": "^3.0.3",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.14",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.14",
|
|
57
57
|
"@smithy/util-endpoints": "^2.0.5",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.3",
|
|
59
59
|
"@smithy/util-retry": "^3.0.3",
|
|
60
|
-
"@smithy/util-stream": "^3.1.
|
|
60
|
+
"@smithy/util-stream": "^3.1.3",
|
|
61
61
|
"@smithy/util-utf8": "^3.0.0",
|
|
62
62
|
"@smithy/util-waiter": "^3.1.2",
|
|
63
63
|
"tslib": "^2.6.2",
|
|
@@ -144,25 +144,27 @@ var _SSOClient = class _SSOClient extends import_smithy_client.Client {
|
|
|
144
144
|
constructor(...[configuration]) {
|
|
145
145
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
146
146
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
147
|
-
const _config_2 = (0,
|
|
148
|
-
const _config_3 = (0,
|
|
149
|
-
const _config_4 = (0,
|
|
150
|
-
const _config_5 = (0,
|
|
151
|
-
const _config_6 = (0,
|
|
147
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
148
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
149
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
150
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
151
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
152
152
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
153
153
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
154
154
|
super(_config_8);
|
|
155
155
|
this.config = _config_8;
|
|
156
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
157
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
158
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
159
156
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
160
157
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
161
158
|
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
159
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
160
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
161
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
162
162
|
this.middlewareStack.use(
|
|
163
163
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
164
|
-
httpAuthSchemeParametersProvider:
|
|
165
|
-
identityProviderConfigProvider:
|
|
164
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider,
|
|
165
|
+
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
166
|
+
"aws.auth#sigv4": config.credentials
|
|
167
|
+
})
|
|
166
168
|
})
|
|
167
169
|
);
|
|
168
170
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -175,14 +177,6 @@ var _SSOClient = class _SSOClient extends import_smithy_client.Client {
|
|
|
175
177
|
destroy() {
|
|
176
178
|
super.destroy();
|
|
177
179
|
}
|
|
178
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
179
|
-
return import_httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider;
|
|
180
|
-
}
|
|
181
|
-
getIdentityProviderConfigProvider() {
|
|
182
|
-
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
183
|
-
"aws.auth#sigv4": config.credentials
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
180
|
};
|
|
187
181
|
__name(_SSOClient, "SSOClient");
|
|
188
182
|
var SSOClient = _SSOClient;
|
|
@@ -17,36 +17,30 @@ export class SSOClient extends __Client {
|
|
|
17
17
|
constructor(...[configuration]) {
|
|
18
18
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
19
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
20
|
-
const _config_2 =
|
|
21
|
-
const _config_3 =
|
|
22
|
-
const _config_4 =
|
|
23
|
-
const _config_5 =
|
|
24
|
-
const _config_6 =
|
|
20
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
21
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
22
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
23
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
24
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
25
25
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
26
26
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
27
27
|
super(_config_8);
|
|
28
28
|
this.config = _config_8;
|
|
29
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
30
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
31
|
-
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
32
29
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
30
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
34
31
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
32
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
35
35
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
36
|
-
httpAuthSchemeParametersProvider:
|
|
37
|
-
identityProviderConfigProvider:
|
|
36
|
+
httpAuthSchemeParametersProvider: defaultSSOHttpAuthSchemeParametersProvider,
|
|
37
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
38
|
+
"aws.auth#sigv4": config.credentials,
|
|
39
|
+
}),
|
|
38
40
|
}));
|
|
39
41
|
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
40
42
|
}
|
|
41
43
|
destroy() {
|
|
42
44
|
super.destroy();
|
|
43
45
|
}
|
|
44
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
45
|
-
return defaultSSOHttpAuthSchemeParametersProvider;
|
|
46
|
-
}
|
|
47
|
-
getIdentityProviderConfigProvider() {
|
|
48
|
-
return async (config) => new DefaultIdentityProviderConfig({
|
|
49
|
-
"aws.auth#sigv4": config.credentials,
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
46
|
}
|