@aws-sdk/client-inspector2 3.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +204 -0
- package/dist-cjs/Inspector2.js +457 -0
- package/dist-cjs/Inspector2Client.js +35 -0
- package/dist-cjs/commands/AssociateMemberCommand.js +36 -0
- package/dist-cjs/commands/BatchGetAccountStatusCommand.js +36 -0
- package/dist-cjs/commands/BatchGetFreeTrialInfoCommand.js +36 -0
- package/dist-cjs/commands/CancelFindingsReportCommand.js +36 -0
- package/dist-cjs/commands/CreateFilterCommand.js +36 -0
- package/dist-cjs/commands/CreateFindingsReportCommand.js +36 -0
- package/dist-cjs/commands/DeleteFilterCommand.js +36 -0
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DisableCommand.js +36 -0
- package/dist-cjs/commands/DisableDelegatedAdminAccountCommand.js +36 -0
- package/dist-cjs/commands/DisassociateMemberCommand.js +36 -0
- package/dist-cjs/commands/EnableCommand.js +36 -0
- package/dist-cjs/commands/EnableDelegatedAdminAccountCommand.js +36 -0
- package/dist-cjs/commands/GetDelegatedAdminAccountCommand.js +36 -0
- package/dist-cjs/commands/GetFindingsReportStatusCommand.js +36 -0
- package/dist-cjs/commands/GetMemberCommand.js +36 -0
- package/dist-cjs/commands/ListAccountPermissionsCommand.js +36 -0
- package/dist-cjs/commands/ListCoverageCommand.js +36 -0
- package/dist-cjs/commands/ListCoverageStatisticsCommand.js +36 -0
- package/dist-cjs/commands/ListDelegatedAdminAccountsCommand.js +36 -0
- package/dist-cjs/commands/ListFiltersCommand.js +36 -0
- package/dist-cjs/commands/ListFindingAggregationsCommand.js +36 -0
- package/dist-cjs/commands/ListFindingsCommand.js +36 -0
- package/dist-cjs/commands/ListMembersCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/ListUsageTotalsCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateFilterCommand.js +36 -0
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +33 -0
- package/dist-cjs/endpoints.js +130 -0
- package/dist-cjs/index.js +8 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +1287 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAccountPermissionsPaginator.js +35 -0
- package/dist-cjs/pagination/ListCoveragePaginator.js +35 -0
- package/dist-cjs/pagination/ListCoverageStatisticsPaginator.js +34 -0
- package/dist-cjs/pagination/ListDelegatedAdminAccountsPaginator.js +35 -0
- package/dist-cjs/pagination/ListFiltersPaginator.js +35 -0
- package/dist-cjs/pagination/ListFindingAggregationsPaginator.js +35 -0
- package/dist-cjs/pagination/ListFindingsPaginator.js +35 -0
- package/dist-cjs/pagination/ListMembersPaginator.js +35 -0
- package/dist-cjs/pagination/ListUsageTotalsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +13 -0
- package/dist-cjs/protocols/Aws_restJson1.js +4893 -0
- package/dist-cjs/runtimeConfig.browser.js +40 -0
- package/dist-cjs/runtimeConfig.js +44 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/Inspector2.js +460 -0
- package/dist-es/Inspector2Client.js +37 -0
- package/dist-es/commands/AssociateMemberCommand.js +39 -0
- package/dist-es/commands/BatchGetAccountStatusCommand.js +39 -0
- package/dist-es/commands/BatchGetFreeTrialInfoCommand.js +39 -0
- package/dist-es/commands/CancelFindingsReportCommand.js +39 -0
- package/dist-es/commands/CreateFilterCommand.js +39 -0
- package/dist-es/commands/CreateFindingsReportCommand.js +39 -0
- package/dist-es/commands/DeleteFilterCommand.js +39 -0
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +39 -0
- package/dist-es/commands/DisableCommand.js +39 -0
- package/dist-es/commands/DisableDelegatedAdminAccountCommand.js +39 -0
- package/dist-es/commands/DisassociateMemberCommand.js +39 -0
- package/dist-es/commands/EnableCommand.js +39 -0
- package/dist-es/commands/EnableDelegatedAdminAccountCommand.js +39 -0
- package/dist-es/commands/GetDelegatedAdminAccountCommand.js +39 -0
- package/dist-es/commands/GetFindingsReportStatusCommand.js +39 -0
- package/dist-es/commands/GetMemberCommand.js +39 -0
- package/dist-es/commands/ListAccountPermissionsCommand.js +39 -0
- package/dist-es/commands/ListCoverageCommand.js +39 -0
- package/dist-es/commands/ListCoverageStatisticsCommand.js +39 -0
- package/dist-es/commands/ListDelegatedAdminAccountsCommand.js +39 -0
- package/dist-es/commands/ListFiltersCommand.js +39 -0
- package/dist-es/commands/ListFindingAggregationsCommand.js +39 -0
- package/dist-es/commands/ListFindingsCommand.js +39 -0
- package/dist-es/commands/ListMembersCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/ListUsageTotalsCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateFilterCommand.js +39 -0
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +30 -0
- package/dist-es/endpoints.js +126 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +1000 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccountPermissionsPaginator.js +74 -0
- package/dist-es/pagination/ListCoveragePaginator.js +74 -0
- package/dist-es/pagination/ListCoverageStatisticsPaginator.js +73 -0
- package/dist-es/pagination/ListDelegatedAdminAccountsPaginator.js +74 -0
- package/dist-es/pagination/ListFiltersPaginator.js +74 -0
- package/dist-es/pagination/ListFindingAggregationsPaginator.js +74 -0
- package/dist-es/pagination/ListFindingsPaginator.js +74 -0
- package/dist-es/pagination/ListMembersPaginator.js +74 -0
- package/dist-es/pagination/ListUsageTotalsPaginator.js +74 -0
- package/dist-es/pagination/index.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +5265 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.js +21 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/Inspector2.d.ts +222 -0
- package/dist-types/Inspector2Client.d.ts +171 -0
- package/dist-types/commands/AssociateMemberCommand.d.ts +35 -0
- package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +35 -0
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +35 -0
- package/dist-types/commands/CancelFindingsReportCommand.d.ts +35 -0
- package/dist-types/commands/CreateFilterCommand.d.ts +35 -0
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +35 -0
- package/dist-types/commands/DeleteFilterCommand.d.ts +35 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/DisableCommand.d.ts +36 -0
- package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateMemberCommand.d.ts +35 -0
- package/dist-types/commands/EnableCommand.d.ts +35 -0
- package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +35 -0
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +36 -0
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +35 -0
- package/dist-types/commands/GetMemberCommand.d.ts +35 -0
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +35 -0
- package/dist-types/commands/ListCoverageCommand.d.ts +35 -0
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +35 -0
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +36 -0
- package/dist-types/commands/ListFiltersCommand.d.ts +35 -0
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +35 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +35 -0
- package/dist-types/commands/ListMembersCommand.d.ts +36 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +35 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateFilterCommand.d.ts +35 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +30 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +3837 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAccountPermissionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListCoveragePaginator.d.ts +4 -0
- package/dist-types/pagination/ListCoverageStatisticsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDelegatedAdminAccountsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFiltersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFindingAggregationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFindingsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMembersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListUsageTotalsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
- package/dist-types/runtimeConfig.browser.d.ts +39 -0
- package/dist-types/runtimeConfig.d.ts +39 -0
- package/dist-types/runtimeConfig.native.d.ts +38 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/Inspector2.d.ts +155 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +101 -0
- package/dist-types/ts3.4/commands/AssociateMemberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetAccountStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetFreeTrialInfoCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CancelFindingsReportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateFindingsReportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableDelegatedAdminAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateMemberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableDelegatedAdminAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +30 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2416 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAccountPermissionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCoveragePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCoverageStatisticsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDelegatedAdminAccountsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListFiltersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListFindingAggregationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListUsageTotalsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +92 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +96 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { __assign } from "tslib";
|
|
2
|
+
import packageInfo from "../package.json";
|
|
3
|
+
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
+
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
|
+
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
|
+
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
9
|
+
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
10
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
export var getRuntimeConfig = function (config) {
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
15
|
+
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { __assign } from "tslib";
|
|
2
|
+
import packageInfo from "../package.json";
|
|
3
|
+
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
|
+
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";
|
|
5
|
+
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
|
+
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
8
|
+
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
+
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
|
+
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
|
+
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
|
+
export var getRuntimeConfig = function (config) {
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
19
|
+
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { __assign } from "tslib";
|
|
2
|
+
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
3
|
+
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
|
+
export var getRuntimeConfig = function (config) {
|
|
5
|
+
var _a;
|
|
6
|
+
var browserDefaults = getBrowserRuntimeConfig(config);
|
|
7
|
+
return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
|
|
8
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
+
import { defaultRegionInfoProvider } from "./endpoints";
|
|
3
|
+
export var getRuntimeConfig = function (config) {
|
|
4
|
+
var _a, _b, _c, _d, _e;
|
|
5
|
+
return ({
|
|
6
|
+
apiVersion: "2020-06-08",
|
|
7
|
+
disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
|
|
8
|
+
logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
|
|
9
|
+
regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : defaultRegionInfoProvider,
|
|
10
|
+
serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "Inspector2",
|
|
11
|
+
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
|
|
12
|
+
});
|
|
13
|
+
};
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { AssociateMemberCommandInput, AssociateMemberCommandOutput } from "./commands/AssociateMemberCommand";
|
|
3
|
+
import { BatchGetAccountStatusCommandInput, BatchGetAccountStatusCommandOutput } from "./commands/BatchGetAccountStatusCommand";
|
|
4
|
+
import { BatchGetFreeTrialInfoCommandInput, BatchGetFreeTrialInfoCommandOutput } from "./commands/BatchGetFreeTrialInfoCommand";
|
|
5
|
+
import { CancelFindingsReportCommandInput, CancelFindingsReportCommandOutput } from "./commands/CancelFindingsReportCommand";
|
|
6
|
+
import { CreateFilterCommandInput, CreateFilterCommandOutput } from "./commands/CreateFilterCommand";
|
|
7
|
+
import { CreateFindingsReportCommandInput, CreateFindingsReportCommandOutput } from "./commands/CreateFindingsReportCommand";
|
|
8
|
+
import { DeleteFilterCommandInput, DeleteFilterCommandOutput } from "./commands/DeleteFilterCommand";
|
|
9
|
+
import { DescribeOrganizationConfigurationCommandInput, DescribeOrganizationConfigurationCommandOutput } from "./commands/DescribeOrganizationConfigurationCommand";
|
|
10
|
+
import { DisableCommandInput, DisableCommandOutput } from "./commands/DisableCommand";
|
|
11
|
+
import { DisableDelegatedAdminAccountCommandInput, DisableDelegatedAdminAccountCommandOutput } from "./commands/DisableDelegatedAdminAccountCommand";
|
|
12
|
+
import { DisassociateMemberCommandInput, DisassociateMemberCommandOutput } from "./commands/DisassociateMemberCommand";
|
|
13
|
+
import { EnableCommandInput, EnableCommandOutput } from "./commands/EnableCommand";
|
|
14
|
+
import { EnableDelegatedAdminAccountCommandInput, EnableDelegatedAdminAccountCommandOutput } from "./commands/EnableDelegatedAdminAccountCommand";
|
|
15
|
+
import { GetDelegatedAdminAccountCommandInput, GetDelegatedAdminAccountCommandOutput } from "./commands/GetDelegatedAdminAccountCommand";
|
|
16
|
+
import { GetFindingsReportStatusCommandInput, GetFindingsReportStatusCommandOutput } from "./commands/GetFindingsReportStatusCommand";
|
|
17
|
+
import { GetMemberCommandInput, GetMemberCommandOutput } from "./commands/GetMemberCommand";
|
|
18
|
+
import { ListAccountPermissionsCommandInput, ListAccountPermissionsCommandOutput } from "./commands/ListAccountPermissionsCommand";
|
|
19
|
+
import { ListCoverageCommandInput, ListCoverageCommandOutput } from "./commands/ListCoverageCommand";
|
|
20
|
+
import { ListCoverageStatisticsCommandInput, ListCoverageStatisticsCommandOutput } from "./commands/ListCoverageStatisticsCommand";
|
|
21
|
+
import { ListDelegatedAdminAccountsCommandInput, ListDelegatedAdminAccountsCommandOutput } from "./commands/ListDelegatedAdminAccountsCommand";
|
|
22
|
+
import { ListFiltersCommandInput, ListFiltersCommandOutput } from "./commands/ListFiltersCommand";
|
|
23
|
+
import { ListFindingAggregationsCommandInput, ListFindingAggregationsCommandOutput } from "./commands/ListFindingAggregationsCommand";
|
|
24
|
+
import { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
25
|
+
import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
26
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
27
|
+
import { ListUsageTotalsCommandInput, ListUsageTotalsCommandOutput } from "./commands/ListUsageTotalsCommand";
|
|
28
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
29
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
30
|
+
import { UpdateFilterCommandInput, UpdateFilterCommandOutput } from "./commands/UpdateFilterCommand";
|
|
31
|
+
import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "./commands/UpdateOrganizationConfigurationCommand";
|
|
32
|
+
import { Inspector2Client } from "./Inspector2Client";
|
|
33
|
+
/**
|
|
34
|
+
* <p>Amazon Inspector is a vulnerability discovery service that automates continuous scanning for
|
|
35
|
+
* security vulnerabilities within your Amazon EC2 and Amazon ECR environments.</p>
|
|
36
|
+
*/
|
|
37
|
+
export declare class Inspector2 extends Inspector2Client {
|
|
38
|
+
/**
|
|
39
|
+
* <p>Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.</p>
|
|
40
|
+
*/
|
|
41
|
+
associateMember(args: AssociateMemberCommandInput, options?: __HttpHandlerOptions): Promise<AssociateMemberCommandOutput>;
|
|
42
|
+
associateMember(args: AssociateMemberCommandInput, cb: (err: any, data?: AssociateMemberCommandOutput) => void): void;
|
|
43
|
+
associateMember(args: AssociateMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateMemberCommandOutput) => void): void;
|
|
44
|
+
/**
|
|
45
|
+
* <p>Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.</p>
|
|
46
|
+
*/
|
|
47
|
+
batchGetAccountStatus(args: BatchGetAccountStatusCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetAccountStatusCommandOutput>;
|
|
48
|
+
batchGetAccountStatus(args: BatchGetAccountStatusCommandInput, cb: (err: any, data?: BatchGetAccountStatusCommandOutput) => void): void;
|
|
49
|
+
batchGetAccountStatus(args: BatchGetAccountStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetAccountStatusCommandOutput) => void): void;
|
|
50
|
+
/**
|
|
51
|
+
* <p>Gets free trial status for multiple Amazon Web Services accounts.</p>
|
|
52
|
+
*/
|
|
53
|
+
batchGetFreeTrialInfo(args: BatchGetFreeTrialInfoCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetFreeTrialInfoCommandOutput>;
|
|
54
|
+
batchGetFreeTrialInfo(args: BatchGetFreeTrialInfoCommandInput, cb: (err: any, data?: BatchGetFreeTrialInfoCommandOutput) => void): void;
|
|
55
|
+
batchGetFreeTrialInfo(args: BatchGetFreeTrialInfoCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetFreeTrialInfoCommandOutput) => void): void;
|
|
56
|
+
/**
|
|
57
|
+
* <p>Cancels the given findings report.</p>
|
|
58
|
+
*/
|
|
59
|
+
cancelFindingsReport(args: CancelFindingsReportCommandInput, options?: __HttpHandlerOptions): Promise<CancelFindingsReportCommandOutput>;
|
|
60
|
+
cancelFindingsReport(args: CancelFindingsReportCommandInput, cb: (err: any, data?: CancelFindingsReportCommandOutput) => void): void;
|
|
61
|
+
cancelFindingsReport(args: CancelFindingsReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelFindingsReportCommandOutput) => void): void;
|
|
62
|
+
/**
|
|
63
|
+
* <p>Creates a filter resource using specified filter criteria.</p>
|
|
64
|
+
*/
|
|
65
|
+
createFilter(args: CreateFilterCommandInput, options?: __HttpHandlerOptions): Promise<CreateFilterCommandOutput>;
|
|
66
|
+
createFilter(args: CreateFilterCommandInput, cb: (err: any, data?: CreateFilterCommandOutput) => void): void;
|
|
67
|
+
createFilter(args: CreateFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFilterCommandOutput) => void): void;
|
|
68
|
+
/**
|
|
69
|
+
* <p>Creates a finding report.</p>
|
|
70
|
+
*/
|
|
71
|
+
createFindingsReport(args: CreateFindingsReportCommandInput, options?: __HttpHandlerOptions): Promise<CreateFindingsReportCommandOutput>;
|
|
72
|
+
createFindingsReport(args: CreateFindingsReportCommandInput, cb: (err: any, data?: CreateFindingsReportCommandOutput) => void): void;
|
|
73
|
+
createFindingsReport(args: CreateFindingsReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFindingsReportCommandOutput) => void): void;
|
|
74
|
+
/**
|
|
75
|
+
* <p>Deletes a filter resource.</p>
|
|
76
|
+
*/
|
|
77
|
+
deleteFilter(args: DeleteFilterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFilterCommandOutput>;
|
|
78
|
+
deleteFilter(args: DeleteFilterCommandInput, cb: (err: any, data?: DeleteFilterCommandOutput) => void): void;
|
|
79
|
+
deleteFilter(args: DeleteFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFilterCommandOutput) => void): void;
|
|
80
|
+
/**
|
|
81
|
+
* <p>Describe Amazon Inspector configuration settings for an Amazon Web Services organization</p>
|
|
82
|
+
*/
|
|
83
|
+
describeOrganizationConfiguration(args: DescribeOrganizationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeOrganizationConfigurationCommandOutput>;
|
|
84
|
+
describeOrganizationConfiguration(args: DescribeOrganizationConfigurationCommandInput, cb: (err: any, data?: DescribeOrganizationConfigurationCommandOutput) => void): void;
|
|
85
|
+
describeOrganizationConfiguration(args: DescribeOrganizationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeOrganizationConfigurationCommandOutput) => void): void;
|
|
86
|
+
/**
|
|
87
|
+
* <p>Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account
|
|
88
|
+
* disables the Amazon Inspector service.</p>
|
|
89
|
+
*/
|
|
90
|
+
disable(args: DisableCommandInput, options?: __HttpHandlerOptions): Promise<DisableCommandOutput>;
|
|
91
|
+
disable(args: DisableCommandInput, cb: (err: any, data?: DisableCommandOutput) => void): void;
|
|
92
|
+
disable(args: DisableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableCommandOutput) => void): void;
|
|
93
|
+
/**
|
|
94
|
+
* <p>Disables the Amazon Inspector delegated administrator for your organization.</p>
|
|
95
|
+
*/
|
|
96
|
+
disableDelegatedAdminAccount(args: DisableDelegatedAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<DisableDelegatedAdminAccountCommandOutput>;
|
|
97
|
+
disableDelegatedAdminAccount(args: DisableDelegatedAdminAccountCommandInput, cb: (err: any, data?: DisableDelegatedAdminAccountCommandOutput) => void): void;
|
|
98
|
+
disableDelegatedAdminAccount(args: DisableDelegatedAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableDelegatedAdminAccountCommandOutput) => void): void;
|
|
99
|
+
/**
|
|
100
|
+
* <p>Disassociates a member account from an Amazon Inspector delegated administrator.</p>
|
|
101
|
+
*/
|
|
102
|
+
disassociateMember(args: DisassociateMemberCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateMemberCommandOutput>;
|
|
103
|
+
disassociateMember(args: DisassociateMemberCommandInput, cb: (err: any, data?: DisassociateMemberCommandOutput) => void): void;
|
|
104
|
+
disassociateMember(args: DisassociateMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateMemberCommandOutput) => void): void;
|
|
105
|
+
/**
|
|
106
|
+
* <p>Enables Amazon Inspector scans for one or more Amazon Web Services accounts.</p>
|
|
107
|
+
*/
|
|
108
|
+
enable(args: EnableCommandInput, options?: __HttpHandlerOptions): Promise<EnableCommandOutput>;
|
|
109
|
+
enable(args: EnableCommandInput, cb: (err: any, data?: EnableCommandOutput) => void): void;
|
|
110
|
+
enable(args: EnableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableCommandOutput) => void): void;
|
|
111
|
+
/**
|
|
112
|
+
* <p>Enables the Amazon Inspector delegated administrator for your Organizations organization.</p>
|
|
113
|
+
*/
|
|
114
|
+
enableDelegatedAdminAccount(args: EnableDelegatedAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<EnableDelegatedAdminAccountCommandOutput>;
|
|
115
|
+
enableDelegatedAdminAccount(args: EnableDelegatedAdminAccountCommandInput, cb: (err: any, data?: EnableDelegatedAdminAccountCommandOutput) => void): void;
|
|
116
|
+
enableDelegatedAdminAccount(args: EnableDelegatedAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableDelegatedAdminAccountCommandOutput) => void): void;
|
|
117
|
+
/**
|
|
118
|
+
* <p>Retrieves information about the Amazon Inspector delegated administrator for your
|
|
119
|
+
* organization.</p>
|
|
120
|
+
*/
|
|
121
|
+
getDelegatedAdminAccount(args: GetDelegatedAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<GetDelegatedAdminAccountCommandOutput>;
|
|
122
|
+
getDelegatedAdminAccount(args: GetDelegatedAdminAccountCommandInput, cb: (err: any, data?: GetDelegatedAdminAccountCommandOutput) => void): void;
|
|
123
|
+
getDelegatedAdminAccount(args: GetDelegatedAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDelegatedAdminAccountCommandOutput) => void): void;
|
|
124
|
+
/**
|
|
125
|
+
* <p>Gets the status of a findings report.</p>
|
|
126
|
+
*/
|
|
127
|
+
getFindingsReportStatus(args: GetFindingsReportStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetFindingsReportStatusCommandOutput>;
|
|
128
|
+
getFindingsReportStatus(args: GetFindingsReportStatusCommandInput, cb: (err: any, data?: GetFindingsReportStatusCommandOutput) => void): void;
|
|
129
|
+
getFindingsReportStatus(args: GetFindingsReportStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFindingsReportStatusCommandOutput) => void): void;
|
|
130
|
+
/**
|
|
131
|
+
* <p>Gets member information for your organization.</p>
|
|
132
|
+
*/
|
|
133
|
+
getMember(args: GetMemberCommandInput, options?: __HttpHandlerOptions): Promise<GetMemberCommandOutput>;
|
|
134
|
+
getMember(args: GetMemberCommandInput, cb: (err: any, data?: GetMemberCommandOutput) => void): void;
|
|
135
|
+
getMember(args: GetMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMemberCommandOutput) => void): void;
|
|
136
|
+
/**
|
|
137
|
+
* <p>Lists the permissions an account has to configure Amazon Inspector.</p>
|
|
138
|
+
*/
|
|
139
|
+
listAccountPermissions(args: ListAccountPermissionsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccountPermissionsCommandOutput>;
|
|
140
|
+
listAccountPermissions(args: ListAccountPermissionsCommandInput, cb: (err: any, data?: ListAccountPermissionsCommandOutput) => void): void;
|
|
141
|
+
listAccountPermissions(args: ListAccountPermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccountPermissionsCommandOutput) => void): void;
|
|
142
|
+
/**
|
|
143
|
+
* <p>Lists coverage details for you environment.</p>
|
|
144
|
+
*/
|
|
145
|
+
listCoverage(args: ListCoverageCommandInput, options?: __HttpHandlerOptions): Promise<ListCoverageCommandOutput>;
|
|
146
|
+
listCoverage(args: ListCoverageCommandInput, cb: (err: any, data?: ListCoverageCommandOutput) => void): void;
|
|
147
|
+
listCoverage(args: ListCoverageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCoverageCommandOutput) => void): void;
|
|
148
|
+
/**
|
|
149
|
+
* <p>Lists Amazon Inspector coverage statistics for your environment.</p>
|
|
150
|
+
*/
|
|
151
|
+
listCoverageStatistics(args: ListCoverageStatisticsCommandInput, options?: __HttpHandlerOptions): Promise<ListCoverageStatisticsCommandOutput>;
|
|
152
|
+
listCoverageStatistics(args: ListCoverageStatisticsCommandInput, cb: (err: any, data?: ListCoverageStatisticsCommandOutput) => void): void;
|
|
153
|
+
listCoverageStatistics(args: ListCoverageStatisticsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCoverageStatisticsCommandOutput) => void): void;
|
|
154
|
+
/**
|
|
155
|
+
* <p>Lists information about the Amazon Inspector delegated administrator of your
|
|
156
|
+
* organization.</p>
|
|
157
|
+
*/
|
|
158
|
+
listDelegatedAdminAccounts(args: ListDelegatedAdminAccountsCommandInput, options?: __HttpHandlerOptions): Promise<ListDelegatedAdminAccountsCommandOutput>;
|
|
159
|
+
listDelegatedAdminAccounts(args: ListDelegatedAdminAccountsCommandInput, cb: (err: any, data?: ListDelegatedAdminAccountsCommandOutput) => void): void;
|
|
160
|
+
listDelegatedAdminAccounts(args: ListDelegatedAdminAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDelegatedAdminAccountsCommandOutput) => void): void;
|
|
161
|
+
/**
|
|
162
|
+
* <p>Lists the filters associated with your account.</p>
|
|
163
|
+
*/
|
|
164
|
+
listFilters(args: ListFiltersCommandInput, options?: __HttpHandlerOptions): Promise<ListFiltersCommandOutput>;
|
|
165
|
+
listFilters(args: ListFiltersCommandInput, cb: (err: any, data?: ListFiltersCommandOutput) => void): void;
|
|
166
|
+
listFilters(args: ListFiltersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFiltersCommandOutput) => void): void;
|
|
167
|
+
/**
|
|
168
|
+
* <p>Lists aggregated finding data for your environment based on specific criteria.</p>
|
|
169
|
+
*/
|
|
170
|
+
listFindingAggregations(args: ListFindingAggregationsCommandInput, options?: __HttpHandlerOptions): Promise<ListFindingAggregationsCommandOutput>;
|
|
171
|
+
listFindingAggregations(args: ListFindingAggregationsCommandInput, cb: (err: any, data?: ListFindingAggregationsCommandOutput) => void): void;
|
|
172
|
+
listFindingAggregations(args: ListFindingAggregationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFindingAggregationsCommandOutput) => void): void;
|
|
173
|
+
/**
|
|
174
|
+
* <p>Lists findings for your environment.</p>
|
|
175
|
+
*/
|
|
176
|
+
listFindings(args: ListFindingsCommandInput, options?: __HttpHandlerOptions): Promise<ListFindingsCommandOutput>;
|
|
177
|
+
listFindings(args: ListFindingsCommandInput, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
|
|
178
|
+
listFindings(args: ListFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
|
|
179
|
+
/**
|
|
180
|
+
* <p>List members associated with the Amazon Inspector delegated administrator for your
|
|
181
|
+
* organization.</p>
|
|
182
|
+
*/
|
|
183
|
+
listMembers(args: ListMembersCommandInput, options?: __HttpHandlerOptions): Promise<ListMembersCommandOutput>;
|
|
184
|
+
listMembers(args: ListMembersCommandInput, cb: (err: any, data?: ListMembersCommandOutput) => void): void;
|
|
185
|
+
listMembers(args: ListMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMembersCommandOutput) => void): void;
|
|
186
|
+
/**
|
|
187
|
+
* <p>Lists all tags attached to a given resource.</p>
|
|
188
|
+
*/
|
|
189
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
190
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
191
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
192
|
+
/**
|
|
193
|
+
* <p>Lists the Amazon Inspector usage totals over the last 30 days.</p>
|
|
194
|
+
*/
|
|
195
|
+
listUsageTotals(args: ListUsageTotalsCommandInput, options?: __HttpHandlerOptions): Promise<ListUsageTotalsCommandOutput>;
|
|
196
|
+
listUsageTotals(args: ListUsageTotalsCommandInput, cb: (err: any, data?: ListUsageTotalsCommandOutput) => void): void;
|
|
197
|
+
listUsageTotals(args: ListUsageTotalsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUsageTotalsCommandOutput) => void): void;
|
|
198
|
+
/**
|
|
199
|
+
* <p>Adds tags to a resource.</p>
|
|
200
|
+
*/
|
|
201
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
202
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
203
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
204
|
+
/**
|
|
205
|
+
* <p>Removes tags from a resource.</p>
|
|
206
|
+
*/
|
|
207
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
208
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
209
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
210
|
+
/**
|
|
211
|
+
* <p>Specifies the action that is to be applied to the findings that match the filter.</p>
|
|
212
|
+
*/
|
|
213
|
+
updateFilter(args: UpdateFilterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFilterCommandOutput>;
|
|
214
|
+
updateFilter(args: UpdateFilterCommandInput, cb: (err: any, data?: UpdateFilterCommandOutput) => void): void;
|
|
215
|
+
updateFilter(args: UpdateFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFilterCommandOutput) => void): void;
|
|
216
|
+
/**
|
|
217
|
+
* <p>Updates the configurations for your Amazon Inspector organization.</p>
|
|
218
|
+
*/
|
|
219
|
+
updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateOrganizationConfigurationCommandOutput>;
|
|
220
|
+
updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, cb: (err: any, data?: UpdateOrganizationConfigurationCommandOutput) => void): void;
|
|
221
|
+
updateOrganizationConfiguration(args: UpdateOrganizationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOrganizationConfigurationCommandOutput) => void): void;
|
|
222
|
+
}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { AssociateMemberCommandInput, AssociateMemberCommandOutput } from "./commands/AssociateMemberCommand";
|
|
10
|
+
import { BatchGetAccountStatusCommandInput, BatchGetAccountStatusCommandOutput } from "./commands/BatchGetAccountStatusCommand";
|
|
11
|
+
import { BatchGetFreeTrialInfoCommandInput, BatchGetFreeTrialInfoCommandOutput } from "./commands/BatchGetFreeTrialInfoCommand";
|
|
12
|
+
import { CancelFindingsReportCommandInput, CancelFindingsReportCommandOutput } from "./commands/CancelFindingsReportCommand";
|
|
13
|
+
import { CreateFilterCommandInput, CreateFilterCommandOutput } from "./commands/CreateFilterCommand";
|
|
14
|
+
import { CreateFindingsReportCommandInput, CreateFindingsReportCommandOutput } from "./commands/CreateFindingsReportCommand";
|
|
15
|
+
import { DeleteFilterCommandInput, DeleteFilterCommandOutput } from "./commands/DeleteFilterCommand";
|
|
16
|
+
import { DescribeOrganizationConfigurationCommandInput, DescribeOrganizationConfigurationCommandOutput } from "./commands/DescribeOrganizationConfigurationCommand";
|
|
17
|
+
import { DisableCommandInput, DisableCommandOutput } from "./commands/DisableCommand";
|
|
18
|
+
import { DisableDelegatedAdminAccountCommandInput, DisableDelegatedAdminAccountCommandOutput } from "./commands/DisableDelegatedAdminAccountCommand";
|
|
19
|
+
import { DisassociateMemberCommandInput, DisassociateMemberCommandOutput } from "./commands/DisassociateMemberCommand";
|
|
20
|
+
import { EnableCommandInput, EnableCommandOutput } from "./commands/EnableCommand";
|
|
21
|
+
import { EnableDelegatedAdminAccountCommandInput, EnableDelegatedAdminAccountCommandOutput } from "./commands/EnableDelegatedAdminAccountCommand";
|
|
22
|
+
import { GetDelegatedAdminAccountCommandInput, GetDelegatedAdminAccountCommandOutput } from "./commands/GetDelegatedAdminAccountCommand";
|
|
23
|
+
import { GetFindingsReportStatusCommandInput, GetFindingsReportStatusCommandOutput } from "./commands/GetFindingsReportStatusCommand";
|
|
24
|
+
import { GetMemberCommandInput, GetMemberCommandOutput } from "./commands/GetMemberCommand";
|
|
25
|
+
import { ListAccountPermissionsCommandInput, ListAccountPermissionsCommandOutput } from "./commands/ListAccountPermissionsCommand";
|
|
26
|
+
import { ListCoverageCommandInput, ListCoverageCommandOutput } from "./commands/ListCoverageCommand";
|
|
27
|
+
import { ListCoverageStatisticsCommandInput, ListCoverageStatisticsCommandOutput } from "./commands/ListCoverageStatisticsCommand";
|
|
28
|
+
import { ListDelegatedAdminAccountsCommandInput, ListDelegatedAdminAccountsCommandOutput } from "./commands/ListDelegatedAdminAccountsCommand";
|
|
29
|
+
import { ListFiltersCommandInput, ListFiltersCommandOutput } from "./commands/ListFiltersCommand";
|
|
30
|
+
import { ListFindingAggregationsCommandInput, ListFindingAggregationsCommandOutput } from "./commands/ListFindingAggregationsCommand";
|
|
31
|
+
import { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
32
|
+
import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
33
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
34
|
+
import { ListUsageTotalsCommandInput, ListUsageTotalsCommandOutput } from "./commands/ListUsageTotalsCommand";
|
|
35
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
36
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
37
|
+
import { UpdateFilterCommandInput, UpdateFilterCommandOutput } from "./commands/UpdateFilterCommand";
|
|
38
|
+
import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "./commands/UpdateOrganizationConfigurationCommand";
|
|
39
|
+
export declare type ServiceInputTypes = AssociateMemberCommandInput | BatchGetAccountStatusCommandInput | BatchGetFreeTrialInfoCommandInput | CancelFindingsReportCommandInput | CreateFilterCommandInput | CreateFindingsReportCommandInput | DeleteFilterCommandInput | DescribeOrganizationConfigurationCommandInput | DisableCommandInput | DisableDelegatedAdminAccountCommandInput | DisassociateMemberCommandInput | EnableCommandInput | EnableDelegatedAdminAccountCommandInput | GetDelegatedAdminAccountCommandInput | GetFindingsReportStatusCommandInput | GetMemberCommandInput | ListAccountPermissionsCommandInput | ListCoverageCommandInput | ListCoverageStatisticsCommandInput | ListDelegatedAdminAccountsCommandInput | ListFiltersCommandInput | ListFindingAggregationsCommandInput | ListFindingsCommandInput | ListMembersCommandInput | ListTagsForResourceCommandInput | ListUsageTotalsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFilterCommandInput | UpdateOrganizationConfigurationCommandInput;
|
|
40
|
+
export declare type ServiceOutputTypes = AssociateMemberCommandOutput | BatchGetAccountStatusCommandOutput | BatchGetFreeTrialInfoCommandOutput | CancelFindingsReportCommandOutput | CreateFilterCommandOutput | CreateFindingsReportCommandOutput | DeleteFilterCommandOutput | DescribeOrganizationConfigurationCommandOutput | DisableCommandOutput | DisableDelegatedAdminAccountCommandOutput | DisassociateMemberCommandOutput | EnableCommandOutput | EnableDelegatedAdminAccountCommandOutput | GetDelegatedAdminAccountCommandOutput | GetFindingsReportStatusCommandOutput | GetMemberCommandOutput | ListAccountPermissionsCommandOutput | ListCoverageCommandOutput | ListCoverageStatisticsCommandOutput | ListDelegatedAdminAccountsCommandOutput | ListFiltersCommandOutput | ListFindingAggregationsCommandOutput | ListFindingsCommandOutput | ListMembersCommandOutput | ListTagsForResourceCommandOutput | ListUsageTotalsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFilterCommandOutput | UpdateOrganizationConfigurationCommandOutput;
|
|
41
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
42
|
+
/**
|
|
43
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
44
|
+
*/
|
|
45
|
+
requestHandler?: __HttpHandler;
|
|
46
|
+
/**
|
|
47
|
+
* A constructor for a class implementing the {@link __Hash} interface
|
|
48
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
sha256?: __HashConstructor;
|
|
52
|
+
/**
|
|
53
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
urlParser?: __UrlParser;
|
|
57
|
+
/**
|
|
58
|
+
* A function that can calculate the length of a request body.
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* A function that converts a stream into an array of bytes.
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
streamCollector?: __StreamCollector;
|
|
67
|
+
/**
|
|
68
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
base64Decoder?: __Decoder;
|
|
72
|
+
/**
|
|
73
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
base64Encoder?: __Encoder;
|
|
77
|
+
/**
|
|
78
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
utf8Decoder?: __Decoder;
|
|
82
|
+
/**
|
|
83
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
utf8Encoder?: __Encoder;
|
|
87
|
+
/**
|
|
88
|
+
* The runtime environment.
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
runtime?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
94
|
+
* trait of an operation.
|
|
95
|
+
*/
|
|
96
|
+
disableHostPrefix?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
99
|
+
*/
|
|
100
|
+
maxAttempts?: number | __Provider<number>;
|
|
101
|
+
/**
|
|
102
|
+
* Specifies which retry algorithm to use.
|
|
103
|
+
*/
|
|
104
|
+
retryMode?: string | __Provider<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Optional logger for logging debug/info/warn/error.
|
|
107
|
+
*/
|
|
108
|
+
logger?: __Logger;
|
|
109
|
+
/**
|
|
110
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
111
|
+
*/
|
|
112
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
113
|
+
/**
|
|
114
|
+
* Enables FIPS compatible endpoints.
|
|
115
|
+
*/
|
|
116
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
117
|
+
/**
|
|
118
|
+
* Unique service identifier.
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
serviceId?: string;
|
|
122
|
+
/**
|
|
123
|
+
* The AWS region to which this client will send requests
|
|
124
|
+
*/
|
|
125
|
+
region?: string | __Provider<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Default credentials provider; Not available in browser runtime.
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
131
|
+
/**
|
|
132
|
+
* Fetch related hostname, signing name or signing region with given region.
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
136
|
+
/**
|
|
137
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
141
|
+
}
|
|
142
|
+
declare type Inspector2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
143
|
+
/**
|
|
144
|
+
* The configuration interface of Inspector2Client class constructor that set the region, credentials and other options.
|
|
145
|
+
*/
|
|
146
|
+
export interface Inspector2ClientConfig extends Inspector2ClientConfigType {
|
|
147
|
+
}
|
|
148
|
+
declare type Inspector2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
149
|
+
/**
|
|
150
|
+
* The resolved configuration interface of Inspector2Client class. This is resolved and normalized from the {@link Inspector2ClientConfig | constructor configuration interface}.
|
|
151
|
+
*/
|
|
152
|
+
export interface Inspector2ClientResolvedConfig extends Inspector2ClientResolvedConfigType {
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* <p>Amazon Inspector is a vulnerability discovery service that automates continuous scanning for
|
|
156
|
+
* security vulnerabilities within your Amazon EC2 and Amazon ECR environments.</p>
|
|
157
|
+
*/
|
|
158
|
+
export declare class Inspector2Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, Inspector2ClientResolvedConfig> {
|
|
159
|
+
/**
|
|
160
|
+
* The resolved configuration of Inspector2Client class. This is resolved and normalized from the {@link Inspector2ClientConfig | constructor configuration interface}.
|
|
161
|
+
*/
|
|
162
|
+
readonly config: Inspector2ClientResolvedConfig;
|
|
163
|
+
constructor(configuration: Inspector2ClientConfig);
|
|
164
|
+
/**
|
|
165
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
166
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
167
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
168
|
+
*/
|
|
169
|
+
destroy(): void;
|
|
170
|
+
}
|
|
171
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
+
import { AssociateMemberRequest, AssociateMemberResponse } from "../models/models_0";
|
|
5
|
+
export interface AssociateMemberCommandInput extends AssociateMemberRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface AssociateMemberCommandOutput extends AssociateMemberResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { Inspector2Client, AssociateMemberCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
15
|
+
* // const { Inspector2Client, AssociateMemberCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
16
|
+
* const client = new Inspector2Client(config);
|
|
17
|
+
* const command = new AssociateMemberCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link AssociateMemberCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link AssociateMemberCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class AssociateMemberCommand extends $Command<AssociateMemberCommandInput, AssociateMemberCommandOutput, Inspector2ClientResolvedConfig> {
|
|
27
|
+
readonly input: AssociateMemberCommandInput;
|
|
28
|
+
constructor(input: AssociateMemberCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateMemberCommandInput, AssociateMemberCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
+
import { BatchGetAccountStatusRequest, BatchGetAccountStatusResponse } from "../models/models_0";
|
|
5
|
+
export interface BatchGetAccountStatusCommandInput extends BatchGetAccountStatusRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface BatchGetAccountStatusCommandOutput extends BatchGetAccountStatusResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { Inspector2Client, BatchGetAccountStatusCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
15
|
+
* // const { Inspector2Client, BatchGetAccountStatusCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
16
|
+
* const client = new Inspector2Client(config);
|
|
17
|
+
* const command = new BatchGetAccountStatusCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link BatchGetAccountStatusCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link BatchGetAccountStatusCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class BatchGetAccountStatusCommand extends $Command<BatchGetAccountStatusCommandInput, BatchGetAccountStatusCommandOutput, Inspector2ClientResolvedConfig> {
|
|
27
|
+
readonly input: BatchGetAccountStatusCommandInput;
|
|
28
|
+
constructor(input: BatchGetAccountStatusCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetAccountStatusCommandInput, BatchGetAccountStatusCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
+
import { BatchGetFreeTrialInfoRequest, BatchGetFreeTrialInfoResponse } from "../models/models_0";
|
|
5
|
+
export interface BatchGetFreeTrialInfoCommandInput extends BatchGetFreeTrialInfoRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface BatchGetFreeTrialInfoCommandOutput extends BatchGetFreeTrialInfoResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets free trial status for multiple Amazon Web Services accounts.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { Inspector2Client, BatchGetFreeTrialInfoCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
15
|
+
* // const { Inspector2Client, BatchGetFreeTrialInfoCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
16
|
+
* const client = new Inspector2Client(config);
|
|
17
|
+
* const command = new BatchGetFreeTrialInfoCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link BatchGetFreeTrialInfoCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link BatchGetFreeTrialInfoCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class BatchGetFreeTrialInfoCommand extends $Command<BatchGetFreeTrialInfoCommandInput, BatchGetFreeTrialInfoCommandOutput, Inspector2ClientResolvedConfig> {
|
|
27
|
+
readonly input: BatchGetFreeTrialInfoCommandInput;
|
|
28
|
+
constructor(input: BatchGetFreeTrialInfoCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetFreeTrialInfoCommandInput, BatchGetFreeTrialInfoCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
+
import { CancelFindingsReportRequest, CancelFindingsReportResponse } from "../models/models_0";
|
|
5
|
+
export interface CancelFindingsReportCommandInput extends CancelFindingsReportRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CancelFindingsReportCommandOutput extends CancelFindingsReportResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Cancels the given findings report.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { Inspector2Client, CancelFindingsReportCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
15
|
+
* // const { Inspector2Client, CancelFindingsReportCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
16
|
+
* const client = new Inspector2Client(config);
|
|
17
|
+
* const command = new CancelFindingsReportCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link CancelFindingsReportCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link CancelFindingsReportCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class CancelFindingsReportCommand extends $Command<CancelFindingsReportCommandInput, CancelFindingsReportCommandOutput, Inspector2ClientResolvedConfig> {
|
|
27
|
+
readonly input: CancelFindingsReportCommandInput;
|
|
28
|
+
constructor(input: CancelFindingsReportCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelFindingsReportCommandInput, CancelFindingsReportCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|