@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,34 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
|
+
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
9
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
11
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
12
|
+
export const getRuntimeConfig = (config) => {
|
|
13
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
15
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
+
return {
|
|
17
|
+
...clientSharedValues,
|
|
18
|
+
...config,
|
|
19
|
+
runtime: "browser",
|
|
20
|
+
defaultsMode,
|
|
21
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
28
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
29
|
+
sha256: config?.sha256 ?? Sha256,
|
|
30
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
31
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
32
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
+
import { Hash } from "@aws-sdk/hash-node";
|
|
6
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
|
+
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
11
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
12
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
|
+
export const getRuntimeConfig = (config) => {
|
|
17
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
18
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
19
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
|
+
return {
|
|
22
|
+
...clientSharedValues,
|
|
23
|
+
...config,
|
|
24
|
+
runtime: "node",
|
|
25
|
+
defaultsMode,
|
|
26
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
27
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
28
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
29
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
31
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
32
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
33
|
+
retryMode: config?.retryMode ??
|
|
34
|
+
loadNodeConfig({
|
|
35
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
|
+
}),
|
|
38
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
41
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
|
+
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
|
+
export const getRuntimeConfig = (config) => {
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
+
return {
|
|
6
|
+
...browserDefaults,
|
|
7
|
+
...config,
|
|
8
|
+
runtime: "react-native",
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
|
+
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
4
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
|
|
5
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
6
|
+
export const getRuntimeConfig = (config) => ({
|
|
7
|
+
apiVersion: "2023-05-19",
|
|
8
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
9
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
10
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
11
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
12
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
13
|
+
serviceId: config?.serviceId ?? "AppFabric",
|
|
14
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
15
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
16
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
17
|
+
});
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { AppFabricClient } from "./AppFabricClient";
|
|
3
|
+
import { BatchGetUserAccessTasksCommandInput, BatchGetUserAccessTasksCommandOutput } from "./commands/BatchGetUserAccessTasksCommand";
|
|
4
|
+
import { ConnectAppAuthorizationCommandInput, ConnectAppAuthorizationCommandOutput } from "./commands/ConnectAppAuthorizationCommand";
|
|
5
|
+
import { CreateAppAuthorizationCommandInput, CreateAppAuthorizationCommandOutput } from "./commands/CreateAppAuthorizationCommand";
|
|
6
|
+
import { CreateAppBundleCommandInput, CreateAppBundleCommandOutput } from "./commands/CreateAppBundleCommand";
|
|
7
|
+
import { CreateIngestionCommandInput, CreateIngestionCommandOutput } from "./commands/CreateIngestionCommand";
|
|
8
|
+
import { CreateIngestionDestinationCommandInput, CreateIngestionDestinationCommandOutput } from "./commands/CreateIngestionDestinationCommand";
|
|
9
|
+
import { DeleteAppAuthorizationCommandInput, DeleteAppAuthorizationCommandOutput } from "./commands/DeleteAppAuthorizationCommand";
|
|
10
|
+
import { DeleteAppBundleCommandInput, DeleteAppBundleCommandOutput } from "./commands/DeleteAppBundleCommand";
|
|
11
|
+
import { DeleteIngestionCommandInput, DeleteIngestionCommandOutput } from "./commands/DeleteIngestionCommand";
|
|
12
|
+
import { DeleteIngestionDestinationCommandInput, DeleteIngestionDestinationCommandOutput } from "./commands/DeleteIngestionDestinationCommand";
|
|
13
|
+
import { GetAppAuthorizationCommandInput, GetAppAuthorizationCommandOutput } from "./commands/GetAppAuthorizationCommand";
|
|
14
|
+
import { GetAppBundleCommandInput, GetAppBundleCommandOutput } from "./commands/GetAppBundleCommand";
|
|
15
|
+
import { GetIngestionCommandInput, GetIngestionCommandOutput } from "./commands/GetIngestionCommand";
|
|
16
|
+
import { GetIngestionDestinationCommandInput, GetIngestionDestinationCommandOutput } from "./commands/GetIngestionDestinationCommand";
|
|
17
|
+
import { ListAppAuthorizationsCommandInput, ListAppAuthorizationsCommandOutput } from "./commands/ListAppAuthorizationsCommand";
|
|
18
|
+
import { ListAppBundlesCommandInput, ListAppBundlesCommandOutput } from "./commands/ListAppBundlesCommand";
|
|
19
|
+
import { ListIngestionDestinationsCommandInput, ListIngestionDestinationsCommandOutput } from "./commands/ListIngestionDestinationsCommand";
|
|
20
|
+
import { ListIngestionsCommandInput, ListIngestionsCommandOutput } from "./commands/ListIngestionsCommand";
|
|
21
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
22
|
+
import { StartIngestionCommandInput, StartIngestionCommandOutput } from "./commands/StartIngestionCommand";
|
|
23
|
+
import { StartUserAccessTasksCommandInput, StartUserAccessTasksCommandOutput } from "./commands/StartUserAccessTasksCommand";
|
|
24
|
+
import { StopIngestionCommandInput, StopIngestionCommandOutput } from "./commands/StopIngestionCommand";
|
|
25
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
26
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
27
|
+
import { UpdateAppAuthorizationCommandInput, UpdateAppAuthorizationCommandOutput } from "./commands/UpdateAppAuthorizationCommand";
|
|
28
|
+
import { UpdateIngestionDestinationCommandInput, UpdateIngestionDestinationCommandOutput } from "./commands/UpdateIngestionDestinationCommand";
|
|
29
|
+
export interface AppFabric {
|
|
30
|
+
/**
|
|
31
|
+
* @see {@link BatchGetUserAccessTasksCommand}
|
|
32
|
+
*/
|
|
33
|
+
batchGetUserAccessTasks(args: BatchGetUserAccessTasksCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetUserAccessTasksCommandOutput>;
|
|
34
|
+
batchGetUserAccessTasks(args: BatchGetUserAccessTasksCommandInput, cb: (err: any, data?: BatchGetUserAccessTasksCommandOutput) => void): void;
|
|
35
|
+
batchGetUserAccessTasks(args: BatchGetUserAccessTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetUserAccessTasksCommandOutput) => void): void;
|
|
36
|
+
/**
|
|
37
|
+
* @see {@link ConnectAppAuthorizationCommand}
|
|
38
|
+
*/
|
|
39
|
+
connectAppAuthorization(args: ConnectAppAuthorizationCommandInput, options?: __HttpHandlerOptions): Promise<ConnectAppAuthorizationCommandOutput>;
|
|
40
|
+
connectAppAuthorization(args: ConnectAppAuthorizationCommandInput, cb: (err: any, data?: ConnectAppAuthorizationCommandOutput) => void): void;
|
|
41
|
+
connectAppAuthorization(args: ConnectAppAuthorizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConnectAppAuthorizationCommandOutput) => void): void;
|
|
42
|
+
/**
|
|
43
|
+
* @see {@link CreateAppAuthorizationCommand}
|
|
44
|
+
*/
|
|
45
|
+
createAppAuthorization(args: CreateAppAuthorizationCommandInput, options?: __HttpHandlerOptions): Promise<CreateAppAuthorizationCommandOutput>;
|
|
46
|
+
createAppAuthorization(args: CreateAppAuthorizationCommandInput, cb: (err: any, data?: CreateAppAuthorizationCommandOutput) => void): void;
|
|
47
|
+
createAppAuthorization(args: CreateAppAuthorizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAppAuthorizationCommandOutput) => void): void;
|
|
48
|
+
/**
|
|
49
|
+
* @see {@link CreateAppBundleCommand}
|
|
50
|
+
*/
|
|
51
|
+
createAppBundle(args: CreateAppBundleCommandInput, options?: __HttpHandlerOptions): Promise<CreateAppBundleCommandOutput>;
|
|
52
|
+
createAppBundle(args: CreateAppBundleCommandInput, cb: (err: any, data?: CreateAppBundleCommandOutput) => void): void;
|
|
53
|
+
createAppBundle(args: CreateAppBundleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAppBundleCommandOutput) => void): void;
|
|
54
|
+
/**
|
|
55
|
+
* @see {@link CreateIngestionCommand}
|
|
56
|
+
*/
|
|
57
|
+
createIngestion(args: CreateIngestionCommandInput, options?: __HttpHandlerOptions): Promise<CreateIngestionCommandOutput>;
|
|
58
|
+
createIngestion(args: CreateIngestionCommandInput, cb: (err: any, data?: CreateIngestionCommandOutput) => void): void;
|
|
59
|
+
createIngestion(args: CreateIngestionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIngestionCommandOutput) => void): void;
|
|
60
|
+
/**
|
|
61
|
+
* @see {@link CreateIngestionDestinationCommand}
|
|
62
|
+
*/
|
|
63
|
+
createIngestionDestination(args: CreateIngestionDestinationCommandInput, options?: __HttpHandlerOptions): Promise<CreateIngestionDestinationCommandOutput>;
|
|
64
|
+
createIngestionDestination(args: CreateIngestionDestinationCommandInput, cb: (err: any, data?: CreateIngestionDestinationCommandOutput) => void): void;
|
|
65
|
+
createIngestionDestination(args: CreateIngestionDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIngestionDestinationCommandOutput) => void): void;
|
|
66
|
+
/**
|
|
67
|
+
* @see {@link DeleteAppAuthorizationCommand}
|
|
68
|
+
*/
|
|
69
|
+
deleteAppAuthorization(args: DeleteAppAuthorizationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAppAuthorizationCommandOutput>;
|
|
70
|
+
deleteAppAuthorization(args: DeleteAppAuthorizationCommandInput, cb: (err: any, data?: DeleteAppAuthorizationCommandOutput) => void): void;
|
|
71
|
+
deleteAppAuthorization(args: DeleteAppAuthorizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAppAuthorizationCommandOutput) => void): void;
|
|
72
|
+
/**
|
|
73
|
+
* @see {@link DeleteAppBundleCommand}
|
|
74
|
+
*/
|
|
75
|
+
deleteAppBundle(args: DeleteAppBundleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAppBundleCommandOutput>;
|
|
76
|
+
deleteAppBundle(args: DeleteAppBundleCommandInput, cb: (err: any, data?: DeleteAppBundleCommandOutput) => void): void;
|
|
77
|
+
deleteAppBundle(args: DeleteAppBundleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAppBundleCommandOutput) => void): void;
|
|
78
|
+
/**
|
|
79
|
+
* @see {@link DeleteIngestionCommand}
|
|
80
|
+
*/
|
|
81
|
+
deleteIngestion(args: DeleteIngestionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIngestionCommandOutput>;
|
|
82
|
+
deleteIngestion(args: DeleteIngestionCommandInput, cb: (err: any, data?: DeleteIngestionCommandOutput) => void): void;
|
|
83
|
+
deleteIngestion(args: DeleteIngestionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIngestionCommandOutput) => void): void;
|
|
84
|
+
/**
|
|
85
|
+
* @see {@link DeleteIngestionDestinationCommand}
|
|
86
|
+
*/
|
|
87
|
+
deleteIngestionDestination(args: DeleteIngestionDestinationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIngestionDestinationCommandOutput>;
|
|
88
|
+
deleteIngestionDestination(args: DeleteIngestionDestinationCommandInput, cb: (err: any, data?: DeleteIngestionDestinationCommandOutput) => void): void;
|
|
89
|
+
deleteIngestionDestination(args: DeleteIngestionDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIngestionDestinationCommandOutput) => void): void;
|
|
90
|
+
/**
|
|
91
|
+
* @see {@link GetAppAuthorizationCommand}
|
|
92
|
+
*/
|
|
93
|
+
getAppAuthorization(args: GetAppAuthorizationCommandInput, options?: __HttpHandlerOptions): Promise<GetAppAuthorizationCommandOutput>;
|
|
94
|
+
getAppAuthorization(args: GetAppAuthorizationCommandInput, cb: (err: any, data?: GetAppAuthorizationCommandOutput) => void): void;
|
|
95
|
+
getAppAuthorization(args: GetAppAuthorizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAppAuthorizationCommandOutput) => void): void;
|
|
96
|
+
/**
|
|
97
|
+
* @see {@link GetAppBundleCommand}
|
|
98
|
+
*/
|
|
99
|
+
getAppBundle(args: GetAppBundleCommandInput, options?: __HttpHandlerOptions): Promise<GetAppBundleCommandOutput>;
|
|
100
|
+
getAppBundle(args: GetAppBundleCommandInput, cb: (err: any, data?: GetAppBundleCommandOutput) => void): void;
|
|
101
|
+
getAppBundle(args: GetAppBundleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAppBundleCommandOutput) => void): void;
|
|
102
|
+
/**
|
|
103
|
+
* @see {@link GetIngestionCommand}
|
|
104
|
+
*/
|
|
105
|
+
getIngestion(args: GetIngestionCommandInput, options?: __HttpHandlerOptions): Promise<GetIngestionCommandOutput>;
|
|
106
|
+
getIngestion(args: GetIngestionCommandInput, cb: (err: any, data?: GetIngestionCommandOutput) => void): void;
|
|
107
|
+
getIngestion(args: GetIngestionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIngestionCommandOutput) => void): void;
|
|
108
|
+
/**
|
|
109
|
+
* @see {@link GetIngestionDestinationCommand}
|
|
110
|
+
*/
|
|
111
|
+
getIngestionDestination(args: GetIngestionDestinationCommandInput, options?: __HttpHandlerOptions): Promise<GetIngestionDestinationCommandOutput>;
|
|
112
|
+
getIngestionDestination(args: GetIngestionDestinationCommandInput, cb: (err: any, data?: GetIngestionDestinationCommandOutput) => void): void;
|
|
113
|
+
getIngestionDestination(args: GetIngestionDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIngestionDestinationCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link ListAppAuthorizationsCommand}
|
|
116
|
+
*/
|
|
117
|
+
listAppAuthorizations(args: ListAppAuthorizationsCommandInput, options?: __HttpHandlerOptions): Promise<ListAppAuthorizationsCommandOutput>;
|
|
118
|
+
listAppAuthorizations(args: ListAppAuthorizationsCommandInput, cb: (err: any, data?: ListAppAuthorizationsCommandOutput) => void): void;
|
|
119
|
+
listAppAuthorizations(args: ListAppAuthorizationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppAuthorizationsCommandOutput) => void): void;
|
|
120
|
+
/**
|
|
121
|
+
* @see {@link ListAppBundlesCommand}
|
|
122
|
+
*/
|
|
123
|
+
listAppBundles(args: ListAppBundlesCommandInput, options?: __HttpHandlerOptions): Promise<ListAppBundlesCommandOutput>;
|
|
124
|
+
listAppBundles(args: ListAppBundlesCommandInput, cb: (err: any, data?: ListAppBundlesCommandOutput) => void): void;
|
|
125
|
+
listAppBundles(args: ListAppBundlesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppBundlesCommandOutput) => void): void;
|
|
126
|
+
/**
|
|
127
|
+
* @see {@link ListIngestionDestinationsCommand}
|
|
128
|
+
*/
|
|
129
|
+
listIngestionDestinations(args: ListIngestionDestinationsCommandInput, options?: __HttpHandlerOptions): Promise<ListIngestionDestinationsCommandOutput>;
|
|
130
|
+
listIngestionDestinations(args: ListIngestionDestinationsCommandInput, cb: (err: any, data?: ListIngestionDestinationsCommandOutput) => void): void;
|
|
131
|
+
listIngestionDestinations(args: ListIngestionDestinationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIngestionDestinationsCommandOutput) => void): void;
|
|
132
|
+
/**
|
|
133
|
+
* @see {@link ListIngestionsCommand}
|
|
134
|
+
*/
|
|
135
|
+
listIngestions(args: ListIngestionsCommandInput, options?: __HttpHandlerOptions): Promise<ListIngestionsCommandOutput>;
|
|
136
|
+
listIngestions(args: ListIngestionsCommandInput, cb: (err: any, data?: ListIngestionsCommandOutput) => void): void;
|
|
137
|
+
listIngestions(args: ListIngestionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIngestionsCommandOutput) => void): void;
|
|
138
|
+
/**
|
|
139
|
+
* @see {@link ListTagsForResourceCommand}
|
|
140
|
+
*/
|
|
141
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
142
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
143
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
144
|
+
/**
|
|
145
|
+
* @see {@link StartIngestionCommand}
|
|
146
|
+
*/
|
|
147
|
+
startIngestion(args: StartIngestionCommandInput, options?: __HttpHandlerOptions): Promise<StartIngestionCommandOutput>;
|
|
148
|
+
startIngestion(args: StartIngestionCommandInput, cb: (err: any, data?: StartIngestionCommandOutput) => void): void;
|
|
149
|
+
startIngestion(args: StartIngestionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartIngestionCommandOutput) => void): void;
|
|
150
|
+
/**
|
|
151
|
+
* @see {@link StartUserAccessTasksCommand}
|
|
152
|
+
*/
|
|
153
|
+
startUserAccessTasks(args: StartUserAccessTasksCommandInput, options?: __HttpHandlerOptions): Promise<StartUserAccessTasksCommandOutput>;
|
|
154
|
+
startUserAccessTasks(args: StartUserAccessTasksCommandInput, cb: (err: any, data?: StartUserAccessTasksCommandOutput) => void): void;
|
|
155
|
+
startUserAccessTasks(args: StartUserAccessTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartUserAccessTasksCommandOutput) => void): void;
|
|
156
|
+
/**
|
|
157
|
+
* @see {@link StopIngestionCommand}
|
|
158
|
+
*/
|
|
159
|
+
stopIngestion(args: StopIngestionCommandInput, options?: __HttpHandlerOptions): Promise<StopIngestionCommandOutput>;
|
|
160
|
+
stopIngestion(args: StopIngestionCommandInput, cb: (err: any, data?: StopIngestionCommandOutput) => void): void;
|
|
161
|
+
stopIngestion(args: StopIngestionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopIngestionCommandOutput) => void): void;
|
|
162
|
+
/**
|
|
163
|
+
* @see {@link TagResourceCommand}
|
|
164
|
+
*/
|
|
165
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
166
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
167
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
168
|
+
/**
|
|
169
|
+
* @see {@link UntagResourceCommand}
|
|
170
|
+
*/
|
|
171
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
172
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
173
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
174
|
+
/**
|
|
175
|
+
* @see {@link UpdateAppAuthorizationCommand}
|
|
176
|
+
*/
|
|
177
|
+
updateAppAuthorization(args: UpdateAppAuthorizationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAppAuthorizationCommandOutput>;
|
|
178
|
+
updateAppAuthorization(args: UpdateAppAuthorizationCommandInput, cb: (err: any, data?: UpdateAppAuthorizationCommandOutput) => void): void;
|
|
179
|
+
updateAppAuthorization(args: UpdateAppAuthorizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAppAuthorizationCommandOutput) => void): void;
|
|
180
|
+
/**
|
|
181
|
+
* @see {@link UpdateIngestionDestinationCommand}
|
|
182
|
+
*/
|
|
183
|
+
updateIngestionDestination(args: UpdateIngestionDestinationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIngestionDestinationCommandOutput>;
|
|
184
|
+
updateIngestionDestination(args: UpdateIngestionDestinationCommandInput, cb: (err: any, data?: UpdateIngestionDestinationCommandOutput) => void): void;
|
|
185
|
+
updateIngestionDestination(args: UpdateIngestionDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIngestionDestinationCommandOutput) => void): void;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
* <p>Amazon Web Services AppFabric quickly connects software as a service (SaaS) applications across your
|
|
190
|
+
* organization. This allows IT and security teams to easily manage and secure applications
|
|
191
|
+
* using a standard schema, and employees can complete everyday tasks faster using generative
|
|
192
|
+
* artificial intelligence (AI). You can use these APIs to complete AppFabric tasks, such as
|
|
193
|
+
* setting up audit log ingestions or viewing user access. For more information about AppFabric,
|
|
194
|
+
* including the required permissions to use the service, see the <a href="https://docs.aws.amazon.com/appfabric/latest/adminguide/">Amazon Web Services AppFabric Administration Guide</a>. For more
|
|
195
|
+
* information about using the Command Line Interface (CLI) to manage your
|
|
196
|
+
* AppFabric resources, see the <a href="https://docs.aws.amazon.com/cli/latest/reference/appfabric/index.html">AppFabric section of the CLI
|
|
197
|
+
* Reference</a>.</p>
|
|
198
|
+
*/
|
|
199
|
+
export declare class AppFabric extends AppFabricClient implements AppFabric {
|
|
200
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
4
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
10
|
+
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
11
|
+
import { BatchGetUserAccessTasksCommandInput, BatchGetUserAccessTasksCommandOutput } from "./commands/BatchGetUserAccessTasksCommand";
|
|
12
|
+
import { ConnectAppAuthorizationCommandInput, ConnectAppAuthorizationCommandOutput } from "./commands/ConnectAppAuthorizationCommand";
|
|
13
|
+
import { CreateAppAuthorizationCommandInput, CreateAppAuthorizationCommandOutput } from "./commands/CreateAppAuthorizationCommand";
|
|
14
|
+
import { CreateAppBundleCommandInput, CreateAppBundleCommandOutput } from "./commands/CreateAppBundleCommand";
|
|
15
|
+
import { CreateIngestionCommandInput, CreateIngestionCommandOutput } from "./commands/CreateIngestionCommand";
|
|
16
|
+
import { CreateIngestionDestinationCommandInput, CreateIngestionDestinationCommandOutput } from "./commands/CreateIngestionDestinationCommand";
|
|
17
|
+
import { DeleteAppAuthorizationCommandInput, DeleteAppAuthorizationCommandOutput } from "./commands/DeleteAppAuthorizationCommand";
|
|
18
|
+
import { DeleteAppBundleCommandInput, DeleteAppBundleCommandOutput } from "./commands/DeleteAppBundleCommand";
|
|
19
|
+
import { DeleteIngestionCommandInput, DeleteIngestionCommandOutput } from "./commands/DeleteIngestionCommand";
|
|
20
|
+
import { DeleteIngestionDestinationCommandInput, DeleteIngestionDestinationCommandOutput } from "./commands/DeleteIngestionDestinationCommand";
|
|
21
|
+
import { GetAppAuthorizationCommandInput, GetAppAuthorizationCommandOutput } from "./commands/GetAppAuthorizationCommand";
|
|
22
|
+
import { GetAppBundleCommandInput, GetAppBundleCommandOutput } from "./commands/GetAppBundleCommand";
|
|
23
|
+
import { GetIngestionCommandInput, GetIngestionCommandOutput } from "./commands/GetIngestionCommand";
|
|
24
|
+
import { GetIngestionDestinationCommandInput, GetIngestionDestinationCommandOutput } from "./commands/GetIngestionDestinationCommand";
|
|
25
|
+
import { ListAppAuthorizationsCommandInput, ListAppAuthorizationsCommandOutput } from "./commands/ListAppAuthorizationsCommand";
|
|
26
|
+
import { ListAppBundlesCommandInput, ListAppBundlesCommandOutput } from "./commands/ListAppBundlesCommand";
|
|
27
|
+
import { ListIngestionDestinationsCommandInput, ListIngestionDestinationsCommandOutput } from "./commands/ListIngestionDestinationsCommand";
|
|
28
|
+
import { ListIngestionsCommandInput, ListIngestionsCommandOutput } from "./commands/ListIngestionsCommand";
|
|
29
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
30
|
+
import { StartIngestionCommandInput, StartIngestionCommandOutput } from "./commands/StartIngestionCommand";
|
|
31
|
+
import { StartUserAccessTasksCommandInput, StartUserAccessTasksCommandOutput } from "./commands/StartUserAccessTasksCommand";
|
|
32
|
+
import { StopIngestionCommandInput, StopIngestionCommandOutput } from "./commands/StopIngestionCommand";
|
|
33
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
34
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
35
|
+
import { UpdateAppAuthorizationCommandInput, UpdateAppAuthorizationCommandOutput } from "./commands/UpdateAppAuthorizationCommand";
|
|
36
|
+
import { UpdateIngestionDestinationCommandInput, UpdateIngestionDestinationCommandOutput } from "./commands/UpdateIngestionDestinationCommand";
|
|
37
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
38
|
+
export { __Client };
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export type ServiceInputTypes = BatchGetUserAccessTasksCommandInput | ConnectAppAuthorizationCommandInput | CreateAppAuthorizationCommandInput | CreateAppBundleCommandInput | CreateIngestionCommandInput | CreateIngestionDestinationCommandInput | DeleteAppAuthorizationCommandInput | DeleteAppBundleCommandInput | DeleteIngestionCommandInput | DeleteIngestionDestinationCommandInput | GetAppAuthorizationCommandInput | GetAppBundleCommandInput | GetIngestionCommandInput | GetIngestionDestinationCommandInput | ListAppAuthorizationsCommandInput | ListAppBundlesCommandInput | ListIngestionDestinationsCommandInput | ListIngestionsCommandInput | ListTagsForResourceCommandInput | StartIngestionCommandInput | StartUserAccessTasksCommandInput | StopIngestionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAppAuthorizationCommandInput | UpdateIngestionDestinationCommandInput;
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export type ServiceOutputTypes = BatchGetUserAccessTasksCommandOutput | ConnectAppAuthorizationCommandOutput | CreateAppAuthorizationCommandOutput | CreateAppBundleCommandOutput | CreateIngestionCommandOutput | CreateIngestionDestinationCommandOutput | DeleteAppAuthorizationCommandOutput | DeleteAppBundleCommandOutput | DeleteIngestionCommandOutput | DeleteIngestionDestinationCommandOutput | GetAppAuthorizationCommandOutput | GetAppBundleCommandOutput | GetIngestionCommandOutput | GetIngestionDestinationCommandOutput | ListAppAuthorizationsCommandOutput | ListAppBundlesCommandOutput | ListIngestionDestinationsCommandOutput | ListIngestionsCommandOutput | ListTagsForResourceCommandOutput | StartIngestionCommandOutput | StartUserAccessTasksCommandOutput | StopIngestionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAppAuthorizationCommandOutput | UpdateIngestionDestinationCommandOutput;
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
51
|
+
/**
|
|
52
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
53
|
+
*/
|
|
54
|
+
requestHandler?: __HttpHandler;
|
|
55
|
+
/**
|
|
56
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
57
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
61
|
+
/**
|
|
62
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
urlParser?: __UrlParser;
|
|
66
|
+
/**
|
|
67
|
+
* A function that can calculate the length of a request body.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
71
|
+
/**
|
|
72
|
+
* A function that converts a stream into an array of bytes.
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
streamCollector?: __StreamCollector;
|
|
76
|
+
/**
|
|
77
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
base64Decoder?: __Decoder;
|
|
81
|
+
/**
|
|
82
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
base64Encoder?: __Encoder;
|
|
86
|
+
/**
|
|
87
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
utf8Decoder?: __Decoder;
|
|
91
|
+
/**
|
|
92
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
utf8Encoder?: __Encoder;
|
|
96
|
+
/**
|
|
97
|
+
* The runtime environment.
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
runtime?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
103
|
+
* trait of an operation.
|
|
104
|
+
*/
|
|
105
|
+
disableHostPrefix?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Unique service identifier.
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
serviceId?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
113
|
+
*/
|
|
114
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
115
|
+
/**
|
|
116
|
+
* Enables FIPS compatible endpoints.
|
|
117
|
+
*/
|
|
118
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
119
|
+
/**
|
|
120
|
+
* The AWS region to which this client will send requests
|
|
121
|
+
*/
|
|
122
|
+
region?: string | __Provider<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Default credentials provider; Not available in browser runtime.
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
128
|
+
/**
|
|
129
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
130
|
+
* @internal
|
|
131
|
+
*/
|
|
132
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
133
|
+
/**
|
|
134
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
135
|
+
*/
|
|
136
|
+
maxAttempts?: number | __Provider<number>;
|
|
137
|
+
/**
|
|
138
|
+
* Specifies which retry algorithm to use.
|
|
139
|
+
*/
|
|
140
|
+
retryMode?: string | __Provider<string>;
|
|
141
|
+
/**
|
|
142
|
+
* Optional logger for logging debug/info/warn/error.
|
|
143
|
+
*/
|
|
144
|
+
logger?: __Logger;
|
|
145
|
+
/**
|
|
146
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
147
|
+
*/
|
|
148
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export type AppFabricClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
*
|
|
157
|
+
* The configuration interface of AppFabricClient class constructor that set the region, credentials and other options.
|
|
158
|
+
*/
|
|
159
|
+
export interface AppFabricClientConfig extends AppFabricClientConfigType {
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
export type AppFabricClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
165
|
+
/**
|
|
166
|
+
* @public
|
|
167
|
+
*
|
|
168
|
+
* The resolved configuration interface of AppFabricClient class. This is resolved and normalized from the {@link AppFabricClientConfig | constructor configuration interface}.
|
|
169
|
+
*/
|
|
170
|
+
export interface AppFabricClientResolvedConfig extends AppFabricClientResolvedConfigType {
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* @public
|
|
174
|
+
* <p>Amazon Web Services AppFabric quickly connects software as a service (SaaS) applications across your
|
|
175
|
+
* organization. This allows IT and security teams to easily manage and secure applications
|
|
176
|
+
* using a standard schema, and employees can complete everyday tasks faster using generative
|
|
177
|
+
* artificial intelligence (AI). You can use these APIs to complete AppFabric tasks, such as
|
|
178
|
+
* setting up audit log ingestions or viewing user access. For more information about AppFabric,
|
|
179
|
+
* including the required permissions to use the service, see the <a href="https://docs.aws.amazon.com/appfabric/latest/adminguide/">Amazon Web Services AppFabric Administration Guide</a>. For more
|
|
180
|
+
* information about using the Command Line Interface (CLI) to manage your
|
|
181
|
+
* AppFabric resources, see the <a href="https://docs.aws.amazon.com/cli/latest/reference/appfabric/index.html">AppFabric section of the CLI
|
|
182
|
+
* Reference</a>.</p>
|
|
183
|
+
*/
|
|
184
|
+
export declare class AppFabricClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AppFabricClientResolvedConfig> {
|
|
185
|
+
/**
|
|
186
|
+
* The resolved configuration of AppFabricClient class. This is resolved and normalized from the {@link AppFabricClientConfig | constructor configuration interface}.
|
|
187
|
+
*/
|
|
188
|
+
readonly config: AppFabricClientResolvedConfig;
|
|
189
|
+
constructor(configuration: AppFabricClientConfig);
|
|
190
|
+
/**
|
|
191
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
192
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
193
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
194
|
+
*/
|
|
195
|
+
destroy(): void;
|
|
196
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { AppFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppFabricClient";
|
|
5
|
+
import { BatchGetUserAccessTasksRequest, BatchGetUserAccessTasksResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchGetUserAccessTasksCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchGetUserAccessTasksCommandInput extends BatchGetUserAccessTasksRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchGetUserAccessTasksCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchGetUserAccessTasksCommandOutput extends BatchGetUserAccessTasksResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Gets user access details in a batch request.</p>
|
|
27
|
+
* <p>This action polls data from the tasks that are kicked off by the
|
|
28
|
+
* <code>StartUserAccessTasks</code> action.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { AppFabricClient, BatchGetUserAccessTasksCommand } from "@aws-sdk/client-appfabric"; // ES Modules import
|
|
33
|
+
* // const { AppFabricClient, BatchGetUserAccessTasksCommand } = require("@aws-sdk/client-appfabric"); // CommonJS import
|
|
34
|
+
* const client = new AppFabricClient(config);
|
|
35
|
+
* const input = { // BatchGetUserAccessTasksRequest
|
|
36
|
+
* appBundleIdentifier: "STRING_VALUE", // required
|
|
37
|
+
* taskIdList: [ // TaskIdList // required
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
41
|
+
* const command = new BatchGetUserAccessTasksCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // BatchGetUserAccessTasksResponse
|
|
44
|
+
* // userAccessResultsList: [ // UserAccessResultsList
|
|
45
|
+
* // { // UserAccessResultItem
|
|
46
|
+
* // app: "STRING_VALUE",
|
|
47
|
+
* // tenantId: "STRING_VALUE",
|
|
48
|
+
* // tenantDisplayName: "STRING_VALUE",
|
|
49
|
+
* // taskId: "STRING_VALUE",
|
|
50
|
+
* // resultStatus: "IN_PROGRESS" || "COMPLETED" || "FAILED" || "EXPIRED",
|
|
51
|
+
* // email: "STRING_VALUE",
|
|
52
|
+
* // userId: "STRING_VALUE",
|
|
53
|
+
* // userFullName: "STRING_VALUE",
|
|
54
|
+
* // userFirstName: "STRING_VALUE",
|
|
55
|
+
* // userLastName: "STRING_VALUE",
|
|
56
|
+
* // userStatus: "STRING_VALUE",
|
|
57
|
+
* // taskError: { // TaskError
|
|
58
|
+
* // errorCode: "STRING_VALUE",
|
|
59
|
+
* // errorMessage: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param BatchGetUserAccessTasksCommandInput - {@link BatchGetUserAccessTasksCommandInput}
|
|
68
|
+
* @returns {@link BatchGetUserAccessTasksCommandOutput}
|
|
69
|
+
* @see {@link BatchGetUserAccessTasksCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link BatchGetUserAccessTasksCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link AppFabricClientResolvedConfig | config} for AppFabricClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
74
|
+
* <p>You are not authorized to perform this operation.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InternalServerException} (server fault)
|
|
77
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
78
|
+
* with an internal server.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>The specified resource does not exist.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <p>The request rate exceeds the limit.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <p>The request has invalid or missing parameters.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link AppFabricServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from AppFabric service.</p>
|
|
91
|
+
*
|
|
92
|
+
*/
|
|
93
|
+
export declare class BatchGetUserAccessTasksCommand extends $Command<BatchGetUserAccessTasksCommandInput, BatchGetUserAccessTasksCommandOutput, AppFabricClientResolvedConfig> {
|
|
94
|
+
readonly input: BatchGetUserAccessTasksCommandInput;
|
|
95
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
constructor(input: BatchGetUserAccessTasksCommandInput);
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppFabricClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetUserAccessTasksCommandInput, BatchGetUserAccessTasksCommandOutput>;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
private serialize;
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
private deserialize;
|
|
112
|
+
}
|