@aws-sdk/client-appfabric 3.361.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/LICENSE +201 -0
- package/README.md +421 -0
- package/dist-cjs/AppFabric.js +63 -0
- package/dist-cjs/AppFabricClient.js +41 -0
- package/dist-cjs/commands/BatchGetUserAccessTasksCommand.js +47 -0
- package/dist-cjs/commands/ConnectAppAuthorizationCommand.js +47 -0
- package/dist-cjs/commands/CreateAppAuthorizationCommand.js +47 -0
- package/dist-cjs/commands/CreateAppBundleCommand.js +46 -0
- package/dist-cjs/commands/CreateIngestionCommand.js +46 -0
- package/dist-cjs/commands/CreateIngestionDestinationCommand.js +46 -0
- package/dist-cjs/commands/DeleteAppAuthorizationCommand.js +46 -0
- package/dist-cjs/commands/DeleteAppBundleCommand.js +46 -0
- package/dist-cjs/commands/DeleteIngestionCommand.js +46 -0
- package/dist-cjs/commands/DeleteIngestionDestinationCommand.js +46 -0
- package/dist-cjs/commands/GetAppAuthorizationCommand.js +46 -0
- package/dist-cjs/commands/GetAppBundleCommand.js +46 -0
- package/dist-cjs/commands/GetIngestionCommand.js +46 -0
- package/dist-cjs/commands/GetIngestionDestinationCommand.js +46 -0
- package/dist-cjs/commands/ListAppAuthorizationsCommand.js +46 -0
- package/dist-cjs/commands/ListAppBundlesCommand.js +46 -0
- package/dist-cjs/commands/ListIngestionDestinationsCommand.js +46 -0
- package/dist-cjs/commands/ListIngestionsCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/StartIngestionCommand.js +46 -0
- package/dist-cjs/commands/StartUserAccessTasksCommand.js +47 -0
- package/dist-cjs/commands/StopIngestionCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateAppAuthorizationCommand.js +47 -0
- package/dist-cjs/commands/UpdateIngestionDestinationCommand.js +46 -0
- package/dist-cjs/commands/index.js +29 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/AppFabricServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +255 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAppAuthorizationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListAppBundlesPaginator.js +29 -0
- package/dist-cjs/pagination/ListIngestionDestinationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListIngestionsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1988 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-es/AppFabric.js +59 -0
- package/dist-es/AppFabricClient.js +37 -0
- package/dist-es/commands/BatchGetUserAccessTasksCommand.js +43 -0
- package/dist-es/commands/ConnectAppAuthorizationCommand.js +43 -0
- package/dist-es/commands/CreateAppAuthorizationCommand.js +43 -0
- package/dist-es/commands/CreateAppBundleCommand.js +42 -0
- package/dist-es/commands/CreateIngestionCommand.js +42 -0
- package/dist-es/commands/CreateIngestionDestinationCommand.js +42 -0
- package/dist-es/commands/DeleteAppAuthorizationCommand.js +42 -0
- package/dist-es/commands/DeleteAppBundleCommand.js +42 -0
- package/dist-es/commands/DeleteIngestionCommand.js +42 -0
- package/dist-es/commands/DeleteIngestionDestinationCommand.js +42 -0
- package/dist-es/commands/GetAppAuthorizationCommand.js +42 -0
- package/dist-es/commands/GetAppBundleCommand.js +42 -0
- package/dist-es/commands/GetIngestionCommand.js +42 -0
- package/dist-es/commands/GetIngestionDestinationCommand.js +42 -0
- package/dist-es/commands/ListAppAuthorizationsCommand.js +42 -0
- package/dist-es/commands/ListAppBundlesCommand.js +42 -0
- package/dist-es/commands/ListIngestionDestinationsCommand.js +42 -0
- package/dist-es/commands/ListIngestionsCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/StartIngestionCommand.js +42 -0
- package/dist-es/commands/StartUserAccessTasksCommand.js +43 -0
- package/dist-es/commands/StopIngestionCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateAppAuthorizationCommand.js +43 -0
- package/dist-es/commands/UpdateIngestionDestinationCommand.js +42 -0
- package/dist-es/commands/index.js +26 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/AppFabricServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +235 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAppAuthorizationsPaginator.js +25 -0
- package/dist-es/pagination/ListAppBundlesPaginator.js +25 -0
- package/dist-es/pagination/ListIngestionDestinationsPaginator.js +25 -0
- package/dist-es/pagination/ListIngestionsPaginator.js +25 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +1932 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +17 -0
- package/dist-types/AppFabric.d.ts +200 -0
- package/dist-types/AppFabricClient.d.ts +196 -0
- package/dist-types/commands/BatchGetUserAccessTasksCommand.d.ts +112 -0
- package/dist-types/commands/ConnectAppAuthorizationCommand.d.ts +105 -0
- package/dist-types/commands/CreateAppAuthorizationCommand.d.ts +132 -0
- package/dist-types/commands/CreateAppBundleCommand.d.ts +102 -0
- package/dist-types/commands/CreateIngestionCommand.d.ts +111 -0
- package/dist-types/commands/CreateIngestionDestinationCommand.d.ts +146 -0
- package/dist-types/commands/DeleteAppAuthorizationCommand.d.ts +89 -0
- package/dist-types/commands/DeleteAppBundleCommand.d.ts +88 -0
- package/dist-types/commands/DeleteIngestionCommand.d.ts +89 -0
- package/dist-types/commands/DeleteIngestionDestinationCommand.d.ts +93 -0
- package/dist-types/commands/GetAppAuthorizationCommand.d.ts +104 -0
- package/dist-types/commands/GetAppBundleCommand.d.ts +92 -0
- package/dist-types/commands/GetIngestionCommand.d.ts +99 -0
- package/dist-types/commands/GetIngestionDestinationCommand.d.ts +117 -0
- package/dist-types/commands/ListAppAuthorizationsCommand.d.ts +104 -0
- package/dist-types/commands/ListAppBundlesCommand.d.ts +92 -0
- package/dist-types/commands/ListIngestionDestinationsCommand.d.ts +97 -0
- package/dist-types/commands/ListIngestionsCommand.d.ts +99 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +94 -0
- package/dist-types/commands/StartIngestionCommand.d.ts +91 -0
- package/dist-types/commands/StartUserAccessTasksCommand.d.ts +102 -0
- package/dist-types/commands/StopIngestionCommand.d.ts +91 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UpdateAppAuthorizationCommand.d.ts +120 -0
- package/dist-types/commands/UpdateIngestionDestinationCommand.d.ts +137 -0
- package/dist-types/commands/index.d.ts +26 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +19 -0
- package/dist-types/models/AppFabricServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1860 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAppAuthorizationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAppBundlesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIngestionDestinationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIngestionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +236 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +18 -0
- package/dist-types/ts3.4/AppFabric.d.ts +447 -0
- package/dist-types/ts3.4/AppFabricClient.d.ts +270 -0
- package/dist-types/ts3.4/commands/BatchGetUserAccessTasksCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ConnectAppAuthorizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAppAuthorizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAppBundleCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateIngestionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateIngestionDestinationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteAppAuthorizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteAppBundleCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteIngestionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteIngestionDestinationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAppAuthorizationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetAppBundleCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetIngestionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetIngestionDestinationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAppAuthorizationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAppBundlesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListIngestionDestinationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListIngestionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartIngestionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartUserAccessTasksCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopIngestionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateAppAuthorizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateIngestionDestinationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/AppFabricServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +551 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAppAuthorizationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAppBundlesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIngestionDestinationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIngestionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +317 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +85 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
- package/package.json +101 -0
|
@@ -0,0 +1,39 @@
|
|
|
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 util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
|
+
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
12
|
+
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
|
+
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
15
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
|
+
const getRuntimeConfig = (config) => {
|
|
17
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
19
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
20
|
+
return {
|
|
21
|
+
...clientSharedValues,
|
|
22
|
+
...config,
|
|
23
|
+
runtime: "browser",
|
|
24
|
+
defaultsMode,
|
|
25
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
+
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
|
+
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
|
+
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
|
+
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
32
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
|
|
33
|
+
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
34
|
+
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
35
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
36
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,48 @@
|
|
|
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_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
14
|
+
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
15
|
+
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
|
+
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
18
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
|
+
const smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
20
|
+
const getRuntimeConfig = (config) => {
|
|
21
|
+
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
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
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
31
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
32
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
33
|
+
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
34
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
35
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
36
|
+
requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
37
|
+
retryMode: config?.retryMode ??
|
|
38
|
+
(0, node_config_provider_1.loadConfig)({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
42
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
43
|
+
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
44
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
8
|
+
return {
|
|
9
|
+
...browserDefaults,
|
|
10
|
+
...config,
|
|
11
|
+
runtime: "react-native",
|
|
12
|
+
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
|
+
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
7
|
+
const util_utf8_1 = require("@aws-sdk/util-utf8");
|
|
8
|
+
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
9
|
+
const getRuntimeConfig = (config) => ({
|
|
10
|
+
apiVersion: "2023-05-19",
|
|
11
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
12
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
13
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
14
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
15
|
+
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
16
|
+
serviceId: config?.serviceId ?? "AppFabric",
|
|
17
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
18
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
19
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
20
|
+
});
|
|
21
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AppFabricClient } from "./AppFabricClient";
|
|
3
|
+
import { BatchGetUserAccessTasksCommand, } from "./commands/BatchGetUserAccessTasksCommand";
|
|
4
|
+
import { ConnectAppAuthorizationCommand, } from "./commands/ConnectAppAuthorizationCommand";
|
|
5
|
+
import { CreateAppAuthorizationCommand, } from "./commands/CreateAppAuthorizationCommand";
|
|
6
|
+
import { CreateAppBundleCommand, } from "./commands/CreateAppBundleCommand";
|
|
7
|
+
import { CreateIngestionCommand, } from "./commands/CreateIngestionCommand";
|
|
8
|
+
import { CreateIngestionDestinationCommand, } from "./commands/CreateIngestionDestinationCommand";
|
|
9
|
+
import { DeleteAppAuthorizationCommand, } from "./commands/DeleteAppAuthorizationCommand";
|
|
10
|
+
import { DeleteAppBundleCommand, } from "./commands/DeleteAppBundleCommand";
|
|
11
|
+
import { DeleteIngestionCommand, } from "./commands/DeleteIngestionCommand";
|
|
12
|
+
import { DeleteIngestionDestinationCommand, } from "./commands/DeleteIngestionDestinationCommand";
|
|
13
|
+
import { GetAppAuthorizationCommand, } from "./commands/GetAppAuthorizationCommand";
|
|
14
|
+
import { GetAppBundleCommand, } from "./commands/GetAppBundleCommand";
|
|
15
|
+
import { GetIngestionCommand, } from "./commands/GetIngestionCommand";
|
|
16
|
+
import { GetIngestionDestinationCommand, } from "./commands/GetIngestionDestinationCommand";
|
|
17
|
+
import { ListAppAuthorizationsCommand, } from "./commands/ListAppAuthorizationsCommand";
|
|
18
|
+
import { ListAppBundlesCommand, } from "./commands/ListAppBundlesCommand";
|
|
19
|
+
import { ListIngestionDestinationsCommand, } from "./commands/ListIngestionDestinationsCommand";
|
|
20
|
+
import { ListIngestionsCommand, } from "./commands/ListIngestionsCommand";
|
|
21
|
+
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
22
|
+
import { StartIngestionCommand, } from "./commands/StartIngestionCommand";
|
|
23
|
+
import { StartUserAccessTasksCommand, } from "./commands/StartUserAccessTasksCommand";
|
|
24
|
+
import { StopIngestionCommand, } from "./commands/StopIngestionCommand";
|
|
25
|
+
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
26
|
+
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
27
|
+
import { UpdateAppAuthorizationCommand, } from "./commands/UpdateAppAuthorizationCommand";
|
|
28
|
+
import { UpdateIngestionDestinationCommand, } from "./commands/UpdateIngestionDestinationCommand";
|
|
29
|
+
const commands = {
|
|
30
|
+
BatchGetUserAccessTasksCommand,
|
|
31
|
+
ConnectAppAuthorizationCommand,
|
|
32
|
+
CreateAppAuthorizationCommand,
|
|
33
|
+
CreateAppBundleCommand,
|
|
34
|
+
CreateIngestionCommand,
|
|
35
|
+
CreateIngestionDestinationCommand,
|
|
36
|
+
DeleteAppAuthorizationCommand,
|
|
37
|
+
DeleteAppBundleCommand,
|
|
38
|
+
DeleteIngestionCommand,
|
|
39
|
+
DeleteIngestionDestinationCommand,
|
|
40
|
+
GetAppAuthorizationCommand,
|
|
41
|
+
GetAppBundleCommand,
|
|
42
|
+
GetIngestionCommand,
|
|
43
|
+
GetIngestionDestinationCommand,
|
|
44
|
+
ListAppAuthorizationsCommand,
|
|
45
|
+
ListAppBundlesCommand,
|
|
46
|
+
ListIngestionDestinationsCommand,
|
|
47
|
+
ListIngestionsCommand,
|
|
48
|
+
ListTagsForResourceCommand,
|
|
49
|
+
StartIngestionCommand,
|
|
50
|
+
StartUserAccessTasksCommand,
|
|
51
|
+
StopIngestionCommand,
|
|
52
|
+
TagResourceCommand,
|
|
53
|
+
UntagResourceCommand,
|
|
54
|
+
UpdateAppAuthorizationCommand,
|
|
55
|
+
UpdateIngestionDestinationCommand,
|
|
56
|
+
};
|
|
57
|
+
export class AppFabric extends AppFabricClient {
|
|
58
|
+
}
|
|
59
|
+
createAggregatedClient(commands, AppFabric);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { resolveRegionConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
|
+
import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
|
|
4
|
+
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
7
|
+
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
8
|
+
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
|
+
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
|
+
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
+
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
|
+
export { __Client };
|
|
14
|
+
export class AppFabricClient extends __Client {
|
|
15
|
+
constructor(configuration) {
|
|
16
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
18
|
+
const _config_2 = resolveRegionConfig(_config_1);
|
|
19
|
+
const _config_3 = resolveEndpointConfig(_config_2);
|
|
20
|
+
const _config_4 = resolveRetryConfig(_config_3);
|
|
21
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
22
|
+
const _config_6 = resolveAwsAuthConfig(_config_5);
|
|
23
|
+
const _config_7 = resolveUserAgentConfig(_config_6);
|
|
24
|
+
super(_config_7);
|
|
25
|
+
this.config = _config_7;
|
|
26
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
27
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
28
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
29
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
30
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
31
|
+
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
32
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
|
+
}
|
|
34
|
+
destroy() {
|
|
35
|
+
super.destroy();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { BatchGetUserAccessTasksResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_BatchGetUserAccessTasksCommand, se_BatchGetUserAccessTasksCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class BatchGetUserAccessTasksCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, BatchGetUserAccessTasksCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "AppFabricClient";
|
|
26
|
+
const commandName = "BatchGetUserAccessTasksCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: BatchGetUserAccessTasksResponseFilterSensitiveLog,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_BatchGetUserAccessTasksCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_BatchGetUserAccessTasksCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ConnectAppAuthorizationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_ConnectAppAuthorizationCommand, se_ConnectAppAuthorizationCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ConnectAppAuthorizationCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ConnectAppAuthorizationCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "AppFabricClient";
|
|
26
|
+
const commandName = "ConnectAppAuthorizationCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: ConnectAppAuthorizationRequestFilterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_ConnectAppAuthorizationCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_ConnectAppAuthorizationCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateAppAuthorizationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_CreateAppAuthorizationCommand, se_CreateAppAuthorizationCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateAppAuthorizationCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateAppAuthorizationCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "AppFabricClient";
|
|
26
|
+
const commandName = "CreateAppAuthorizationCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: CreateAppAuthorizationRequestFilterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_CreateAppAuthorizationCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_CreateAppAuthorizationCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_CreateAppBundleCommand, se_CreateAppBundleCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateAppBundleCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateAppBundleCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "AppFabricClient";
|
|
25
|
+
const commandName = "CreateAppBundleCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_CreateAppBundleCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_CreateAppBundleCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_CreateIngestionCommand, se_CreateIngestionCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateIngestionCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateIngestionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "AppFabricClient";
|
|
25
|
+
const commandName = "CreateIngestionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_CreateIngestionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_CreateIngestionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_CreateIngestionDestinationCommand, se_CreateIngestionDestinationCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateIngestionDestinationCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateIngestionDestinationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "AppFabricClient";
|
|
25
|
+
const commandName = "CreateIngestionDestinationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_CreateIngestionDestinationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_CreateIngestionDestinationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DeleteAppAuthorizationCommand, se_DeleteAppAuthorizationCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteAppAuthorizationCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAppAuthorizationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "AppFabricClient";
|
|
25
|
+
const commandName = "DeleteAppAuthorizationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteAppAuthorizationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteAppAuthorizationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DeleteAppBundleCommand, se_DeleteAppBundleCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteAppBundleCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAppBundleCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "AppFabricClient";
|
|
25
|
+
const commandName = "DeleteAppBundleCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteAppBundleCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteAppBundleCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DeleteIngestionCommand, se_DeleteIngestionCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteIngestionCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteIngestionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "AppFabricClient";
|
|
25
|
+
const commandName = "DeleteIngestionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteIngestionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteIngestionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|