@aws-sdk/client-inspector2 3.321.1 → 3.326.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.
Files changed (76) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/Inspector2.js +10 -0
  3. package/dist-cjs/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +45 -0
  4. package/dist-cjs/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +45 -0
  5. package/dist-cjs/commands/GetEc2DeepInspectionConfigurationCommand.js +45 -0
  6. package/dist-cjs/commands/UpdateEc2DeepInspectionConfigurationCommand.js +45 -0
  7. package/dist-cjs/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +45 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/endpoint/ruleset.js +3 -3
  10. package/dist-cjs/models/models_0.js +15 -2
  11. package/dist-cjs/protocols/Aws_restJson1.js +327 -2
  12. package/dist-es/Inspector2.js +10 -0
  13. package/dist-es/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +41 -0
  14. package/dist-es/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +41 -0
  15. package/dist-es/commands/GetEc2DeepInspectionConfigurationCommand.js +41 -0
  16. package/dist-es/commands/UpdateEc2DeepInspectionConfigurationCommand.js +41 -0
  17. package/dist-es/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +41 -0
  18. package/dist-es/commands/index.js +5 -0
  19. package/dist-es/endpoint/ruleset.js +3 -3
  20. package/dist-es/models/models_0.js +13 -0
  21. package/dist-es/protocols/Aws_restJson1.js +315 -0
  22. package/dist-types/Inspector2.d.ts +35 -0
  23. package/dist-types/Inspector2Client.d.ts +7 -2
  24. package/dist-types/commands/AssociateMemberCommand.d.ts +7 -1
  25. package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +45 -0
  26. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +25 -0
  27. package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +97 -0
  28. package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +100 -0
  29. package/dist-types/commands/CancelFindingsReportCommand.d.ts +6 -0
  30. package/dist-types/commands/CreateFilterCommand.d.ts +6 -0
  31. package/dist-types/commands/CreateFindingsReportCommand.d.ts +7 -1
  32. package/dist-types/commands/DeleteFilterCommand.d.ts +6 -0
  33. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +11 -0
  34. package/dist-types/commands/DisableCommand.d.ts +29 -0
  35. package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +6 -0
  36. package/dist-types/commands/DisassociateMemberCommand.d.ts +6 -0
  37. package/dist-types/commands/EnableCommand.d.ts +29 -0
  38. package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +6 -0
  39. package/dist-types/commands/GetConfigurationCommand.d.ts +12 -0
  40. package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +9 -0
  41. package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +87 -0
  42. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +133 -0
  43. package/dist-types/commands/GetMemberCommand.d.ts +11 -0
  44. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +12 -0
  45. package/dist-types/commands/ListCoverageCommand.d.ts +46 -0
  46. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +13 -0
  47. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +12 -0
  48. package/dist-types/commands/ListFiltersCommand.d.ts +140 -0
  49. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +114 -0
  50. package/dist-types/commands/ListFindingsCommand.d.ts +164 -0
  51. package/dist-types/commands/ListMembersCommand.d.ts +14 -0
  52. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
  53. package/dist-types/commands/ListUsageTotalsCommand.d.ts +19 -0
  54. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  55. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  56. package/dist-types/commands/UpdateConfigurationCommand.d.ts +4 -0
  57. package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +92 -0
  58. package/dist-types/commands/UpdateFilterCommand.d.ts +6 -0
  59. package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +82 -0
  60. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +10 -0
  61. package/dist-types/commands/index.d.ts +5 -0
  62. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  63. package/dist-types/models/models_0.d.ts +200 -3
  64. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  65. package/dist-types/ts3.4/Inspector2.d.ts +115 -0
  66. package/dist-types/ts3.4/Inspector2Client.d.ts +30 -0
  67. package/dist-types/ts3.4/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +41 -0
  68. package/dist-types/ts3.4/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +41 -0
  69. package/dist-types/ts3.4/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +41 -0
  70. package/dist-types/ts3.4/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +41 -0
  71. package/dist-types/ts3.4/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +41 -0
  72. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  73. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  74. package/dist-types/ts3.4/models/models_0.d.ts +64 -0
  75. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  76. package/package.json +16 -16
@@ -35,6 +35,14 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
35
35
  * };
36
36
  * const command = new UpdateOrganizationConfigurationCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // UpdateOrganizationConfigurationResponse
39
+ * // autoEnable: { // AutoEnable
40
+ * // ec2: true || false, // required
41
+ * // ecr: true || false, // required
42
+ * // lambda: true || false,
43
+ * // },
44
+ * // };
45
+ *
38
46
  * ```
39
47
  *
40
48
  * @param UpdateOrganizationConfigurationCommandInput - {@link UpdateOrganizationConfigurationCommandInput}
@@ -56,6 +64,8 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
56
64
  * <p>The request has failed validation due to missing required fields or having invalid
57
65
  * inputs.</p>
58
66
  *
67
+ * @throws {@link Inspector2ServiceException}
68
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
59
69
  *
60
70
  */
61
71
  export declare class UpdateOrganizationConfigurationCommand extends $Command<UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput, Inspector2ClientResolvedConfig> {
@@ -1,6 +1,8 @@
1
1
  export * from "./AssociateMemberCommand";
2
2
  export * from "./BatchGetAccountStatusCommand";
3
3
  export * from "./BatchGetFreeTrialInfoCommand";
4
+ export * from "./BatchGetMemberEc2DeepInspectionStatusCommand";
5
+ export * from "./BatchUpdateMemberEc2DeepInspectionStatusCommand";
4
6
  export * from "./CancelFindingsReportCommand";
5
7
  export * from "./CreateFilterCommand";
6
8
  export * from "./CreateFindingsReportCommand";
@@ -13,6 +15,7 @@ export * from "./EnableCommand";
13
15
  export * from "./EnableDelegatedAdminAccountCommand";
14
16
  export * from "./GetConfigurationCommand";
15
17
  export * from "./GetDelegatedAdminAccountCommand";
18
+ export * from "./GetEc2DeepInspectionConfigurationCommand";
16
19
  export * from "./GetFindingsReportStatusCommand";
17
20
  export * from "./GetMemberCommand";
18
21
  export * from "./ListAccountPermissionsCommand";
@@ -28,5 +31,7 @@ export * from "./ListUsageTotalsCommand";
28
31
  export * from "./TagResourceCommand";
29
32
  export * from "./UntagResourceCommand";
30
33
  export * from "./UpdateConfigurationCommand";
34
+ export * from "./UpdateEc2DeepInspectionConfigurationCommand";
31
35
  export * from "./UpdateFilterCommand";
36
+ export * from "./UpdateOrgEc2DeepInspectionConfigurationCommand";
32
37
  export * from "./UpdateOrganizationConfigurationCommand";
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -42,7 +42,7 @@ export interface ResourceStatus {
42
42
  */
43
43
  ecr: Status | string | undefined;
44
44
  /**
45
- * <p>The status of Amazon Inspector scanning for AWS Lambda function resources.</p>
45
+ * <p>The status of Amazon Inspector scanning for AWS Lambda function.</p>
46
46
  */
47
47
  lambda?: Status | string;
48
48
  }
@@ -1560,7 +1560,7 @@ export interface AutoEnable {
1560
1560
  */
1561
1561
  ecr: boolean | undefined;
1562
1562
  /**
1563
- * <p>Represents whether AWS Lambda scans are automatically enabled for new members of your Amazon Inspector organization.
1563
+ * <p>Represents whether AWS Lambda standard scans are automatically enabled for new members of your Amazon Inspector organization.
1564
1564
  * </p>
1565
1565
  */
1566
1566
  lambda?: boolean;
@@ -1937,6 +1937,122 @@ export interface BatchGetFreeTrialInfoResponse {
1937
1937
  */
1938
1938
  failedAccounts: FreeTrialInfoError[] | undefined;
1939
1939
  }
1940
+ /**
1941
+ * @public
1942
+ */
1943
+ export interface BatchGetMemberEc2DeepInspectionStatusRequest {
1944
+ /**
1945
+ * <p>The unique identifiers for the Amazon Web Services accounts to retrieve Amazon Inspector deep inspection activation status for.
1946
+ *
1947
+ * </p>
1948
+ */
1949
+ accountIds?: string[];
1950
+ }
1951
+ /**
1952
+ * @public
1953
+ * @enum
1954
+ */
1955
+ export declare const Ec2DeepInspectionStatus: {
1956
+ readonly ACTIVATED: "ACTIVATED";
1957
+ readonly DEACTIVATED: "DEACTIVATED";
1958
+ readonly FAILED: "FAILED";
1959
+ readonly PENDING: "PENDING";
1960
+ };
1961
+ /**
1962
+ * @public
1963
+ */
1964
+ export type Ec2DeepInspectionStatus = (typeof Ec2DeepInspectionStatus)[keyof typeof Ec2DeepInspectionStatus];
1965
+ /**
1966
+ * @public
1967
+ * <p>An object that contains details about the state of Amazon Inspector deep inspection for a member account.</p>
1968
+ */
1969
+ export interface MemberAccountEc2DeepInspectionStatusState {
1970
+ /**
1971
+ * <p>The unique identifier for the Amazon Web Services account of the organization member</p>
1972
+ */
1973
+ accountId: string | undefined;
1974
+ /**
1975
+ * <p>The state of Amazon Inspector deep inspection in the member account.</p>
1976
+ */
1977
+ status?: Ec2DeepInspectionStatus | string;
1978
+ /**
1979
+ * <p>The error message explaining why the account failed to activate Amazon Inspector deep inspection.</p>
1980
+ */
1981
+ errorMessage?: string;
1982
+ }
1983
+ /**
1984
+ * @public
1985
+ * <p>An object that contains details about a member account in your organization that failed to activate Amazon Inspector deep inspection.</p>
1986
+ */
1987
+ export interface FailedMemberAccountEc2DeepInspectionStatusState {
1988
+ /**
1989
+ * <p>The unique identifier for the Amazon Web Services account of the organization member that failed to activate Amazon Inspector deep inspection.</p>
1990
+ */
1991
+ accountId: string | undefined;
1992
+ /**
1993
+ * <p>The status of EC2 scanning in the account that failed to activate Amazon Inspector deep inspection.</p>
1994
+ */
1995
+ ec2ScanStatus?: Status | string;
1996
+ /**
1997
+ * <p>The error message explaining why the account failed to activate Amazon Inspector deep inspection.</p>
1998
+ */
1999
+ errorMessage?: string;
2000
+ }
2001
+ /**
2002
+ * @public
2003
+ */
2004
+ export interface BatchGetMemberEc2DeepInspectionStatusResponse {
2005
+ /**
2006
+ * <p>An array of objects that provide details on the activation status of Amazon Inspector deep inspection for each of the requested accounts.
2007
+ *
2008
+ * </p>
2009
+ */
2010
+ accountIds?: MemberAccountEc2DeepInspectionStatusState[];
2011
+ /**
2012
+ * <p>An array of objects that provide details on any accounts that failed to activate Amazon Inspector deep inspection and why.
2013
+ *
2014
+ * </p>
2015
+ */
2016
+ failedAccountIds?: FailedMemberAccountEc2DeepInspectionStatusState[];
2017
+ }
2018
+ /**
2019
+ * @public
2020
+ * <p>An object that contains details about the status of Amazon Inspector deep inspection for a member account in your organization.</p>
2021
+ */
2022
+ export interface MemberAccountEc2DeepInspectionStatus {
2023
+ /**
2024
+ * <p>The unique identifier for the Amazon Web Services account of the organization member.</p>
2025
+ */
2026
+ accountId: string | undefined;
2027
+ /**
2028
+ * <p>Whether Amazon Inspector deep inspection is active in the account. If <code>TRUE</code> Amazon Inspector deep inspection is active, if <code>FALSE</code> it is not active.</p>
2029
+ */
2030
+ activateDeepInspection: boolean | undefined;
2031
+ }
2032
+ /**
2033
+ * @public
2034
+ */
2035
+ export interface BatchUpdateMemberEc2DeepInspectionStatusRequest {
2036
+ /**
2037
+ * <p>The unique identifiers for the Amazon Web Services accounts to change Amazon Inspector deep inspection status for.</p>
2038
+ */
2039
+ accountIds: MemberAccountEc2DeepInspectionStatus[] | undefined;
2040
+ }
2041
+ /**
2042
+ * @public
2043
+ */
2044
+ export interface BatchUpdateMemberEc2DeepInspectionStatusResponse {
2045
+ /**
2046
+ * <p>An array of objects that provide details for each of the accounts that Amazon Inspector deep inspection status was successfully changed for.
2047
+ * </p>
2048
+ */
2049
+ accountIds?: MemberAccountEc2DeepInspectionStatusState[];
2050
+ /**
2051
+ * <p>An array of objects that provide details for each of the accounts that Amazon Inspector deep inspection status could not be successfully changed for.
2052
+ * </p>
2053
+ */
2054
+ failedAccountIds?: FailedMemberAccountEc2DeepInspectionStatusState[];
2055
+ }
1940
2056
  /**
1941
2057
  * @public
1942
2058
  */
@@ -2245,6 +2361,10 @@ export interface ResourceScanMetadata {
2245
2361
  */
2246
2362
  export declare const ScanStatusReason: {
2247
2363
  readonly ACCESS_DENIED: "ACCESS_DENIED";
2364
+ readonly DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED: "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED";
2365
+ readonly DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED: "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED";
2366
+ readonly DEEP_INSPECTION_NO_INVENTORY: "DEEP_INSPECTION_NO_INVENTORY";
2367
+ readonly DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED: "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED";
2248
2368
  readonly EC2_INSTANCE_STOPPED: "EC2_INSTANCE_STOPPED";
2249
2369
  readonly EXCLUDED_BY_TAG: "EXCLUDED_BY_TAG";
2250
2370
  readonly IMAGE_SIZE_EXCEEDED: "IMAGE_SIZE_EXCEEDED";
@@ -2260,6 +2380,8 @@ export declare const ScanStatusReason: {
2260
2380
  readonly STALE_INVENTORY: "STALE_INVENTORY";
2261
2381
  readonly SUCCESSFUL: "SUCCESSFUL";
2262
2382
  readonly UNMANAGED_EC2_INSTANCE: "UNMANAGED_EC2_INSTANCE";
2383
+ readonly UNSUPPORTED_CONFIG_FILE: "UNSUPPORTED_CONFIG_FILE";
2384
+ readonly UNSUPPORTED_MEDIA_TYPE: "UNSUPPORTED_MEDIA_TYPE";
2263
2385
  readonly UNSUPPORTED_OS: "UNSUPPORTED_OS";
2264
2386
  readonly UNSUPPORTED_RUNTIME: "UNSUPPORTED_RUNTIME";
2265
2387
  };
@@ -2662,7 +2784,7 @@ export interface Destination {
2662
2784
  */
2663
2785
  bucketName: string | undefined;
2664
2786
  /**
2665
- * <p>The prefix of the KMS key used to export findings.</p>
2787
+ * <p>The prefix of the Amazon S3 bucket used to export findings.</p>
2666
2788
  */
2667
2789
  keyPrefix?: string;
2668
2790
  /**
@@ -3247,6 +3369,7 @@ export declare const PackageManager: {
3247
3369
  readonly BUNDLER: "BUNDLER";
3248
3370
  readonly CARGO: "CARGO";
3249
3371
  readonly COMPOSER: "COMPOSER";
3372
+ readonly GEMSPEC: "GEMSPEC";
3250
3373
  readonly GOBINARY: "GOBINARY";
3251
3374
  readonly GOMOD: "GOMOD";
3252
3375
  readonly JAR: "JAR";
@@ -3598,6 +3721,32 @@ export interface GetDelegatedAdminAccountResponse {
3598
3721
  */
3599
3722
  delegatedAdmin?: DelegatedAdmin;
3600
3723
  }
3724
+ /**
3725
+ * @public
3726
+ */
3727
+ export interface GetEc2DeepInspectionConfigurationRequest {
3728
+ }
3729
+ /**
3730
+ * @public
3731
+ */
3732
+ export interface GetEc2DeepInspectionConfigurationResponse {
3733
+ /**
3734
+ * <p>The Amazon Inspector deep inspection custom paths for your account.</p>
3735
+ */
3736
+ packagePaths?: string[];
3737
+ /**
3738
+ * <p>The Amazon Inspector deep inspection custom paths for your organization.</p>
3739
+ */
3740
+ orgPackagePaths?: string[];
3741
+ /**
3742
+ * <p>The activation status of Amazon Inspector deep inspection in your account.</p>
3743
+ */
3744
+ status?: Ec2DeepInspectionStatus | string;
3745
+ /**
3746
+ * <p>An error message explaining why Amazon Inspector deep inspection configurations could not be retrieved for your account.</p>
3747
+ */
3748
+ errorMessage?: string;
3749
+ }
3601
3750
  /**
3602
3751
  * @public
3603
3752
  */
@@ -4233,6 +4382,40 @@ export interface UpdateConfigurationRequest {
4233
4382
  */
4234
4383
  export interface UpdateConfigurationResponse {
4235
4384
  }
4385
+ /**
4386
+ * @public
4387
+ */
4388
+ export interface UpdateEc2DeepInspectionConfigurationRequest {
4389
+ /**
4390
+ * <p>Specify <code>TRUE</code> to activate Amazon Inspector deep inspection in your account, or <code>FALSE</code> to deactivate. Member accounts in an organization cannot deactivate deep inspection, instead the delegated administrator for the organization can deactivate a member account using <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_BatchUpdateMemberEc2DeepInspectionStatus.html">BatchUpdateMemberEc2DeepInspectionStatus</a>.</p>
4391
+ */
4392
+ activateDeepInspection?: boolean;
4393
+ /**
4394
+ * <p>The Amazon Inspector deep inspection custom paths you are adding for your account.</p>
4395
+ */
4396
+ packagePaths?: string[];
4397
+ }
4398
+ /**
4399
+ * @public
4400
+ */
4401
+ export interface UpdateEc2DeepInspectionConfigurationResponse {
4402
+ /**
4403
+ * <p>The current Amazon Inspector deep inspection custom paths for your account.</p>
4404
+ */
4405
+ packagePaths?: string[];
4406
+ /**
4407
+ * <p>The current Amazon Inspector deep inspection custom paths for the organization.</p>
4408
+ */
4409
+ orgPackagePaths?: string[];
4410
+ /**
4411
+ * <p>The status of Amazon Inspector deep inspection in your account.</p>
4412
+ */
4413
+ status?: Ec2DeepInspectionStatus | string;
4414
+ /**
4415
+ * <p>An error message explaining why new Amazon Inspector deep inspection custom paths could not be added.</p>
4416
+ */
4417
+ errorMessage?: string;
4418
+ }
4236
4419
  /**
4237
4420
  * @public
4238
4421
  */
@@ -4289,3 +4472,17 @@ export interface UpdateOrganizationConfigurationResponse {
4289
4472
  */
4290
4473
  autoEnable: AutoEnable | undefined;
4291
4474
  }
4475
+ /**
4476
+ * @public
4477
+ */
4478
+ export interface UpdateOrgEc2DeepInspectionConfigurationRequest {
4479
+ /**
4480
+ * <p>The Amazon Inspector deep inspection custom paths you are adding for your organization.</p>
4481
+ */
4482
+ orgPackagePaths: string[] | undefined;
4483
+ }
4484
+ /**
4485
+ * @public
4486
+ */
4487
+ export interface UpdateOrgEc2DeepInspectionConfigurationResponse {
4488
+ }
@@ -3,6 +3,8 @@ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
3
  import { AssociateMemberCommandInput, AssociateMemberCommandOutput } from "../commands/AssociateMemberCommand";
4
4
  import { BatchGetAccountStatusCommandInput, BatchGetAccountStatusCommandOutput } from "../commands/BatchGetAccountStatusCommand";
5
5
  import { BatchGetFreeTrialInfoCommandInput, BatchGetFreeTrialInfoCommandOutput } from "../commands/BatchGetFreeTrialInfoCommand";
6
+ import { BatchGetMemberEc2DeepInspectionStatusCommandInput, BatchGetMemberEc2DeepInspectionStatusCommandOutput } from "../commands/BatchGetMemberEc2DeepInspectionStatusCommand";
7
+ import { BatchUpdateMemberEc2DeepInspectionStatusCommandInput, BatchUpdateMemberEc2DeepInspectionStatusCommandOutput } from "../commands/BatchUpdateMemberEc2DeepInspectionStatusCommand";
6
8
  import { CancelFindingsReportCommandInput, CancelFindingsReportCommandOutput } from "../commands/CancelFindingsReportCommand";
7
9
  import { CreateFilterCommandInput, CreateFilterCommandOutput } from "../commands/CreateFilterCommand";
8
10
  import { CreateFindingsReportCommandInput, CreateFindingsReportCommandOutput } from "../commands/CreateFindingsReportCommand";
@@ -15,6 +17,7 @@ import { EnableCommandInput, EnableCommandOutput } from "../commands/EnableComma
15
17
  import { EnableDelegatedAdminAccountCommandInput, EnableDelegatedAdminAccountCommandOutput } from "../commands/EnableDelegatedAdminAccountCommand";
16
18
  import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "../commands/GetConfigurationCommand";
17
19
  import { GetDelegatedAdminAccountCommandInput, GetDelegatedAdminAccountCommandOutput } from "../commands/GetDelegatedAdminAccountCommand";
20
+ import { GetEc2DeepInspectionConfigurationCommandInput, GetEc2DeepInspectionConfigurationCommandOutput } from "../commands/GetEc2DeepInspectionConfigurationCommand";
18
21
  import { GetFindingsReportStatusCommandInput, GetFindingsReportStatusCommandOutput } from "../commands/GetFindingsReportStatusCommand";
19
22
  import { GetMemberCommandInput, GetMemberCommandOutput } from "../commands/GetMemberCommand";
20
23
  import { ListAccountPermissionsCommandInput, ListAccountPermissionsCommandOutput } from "../commands/ListAccountPermissionsCommand";
@@ -30,8 +33,10 @@ import { ListUsageTotalsCommandInput, ListUsageTotalsCommandOutput } from "../co
30
33
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
31
34
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
32
35
  import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "../commands/UpdateConfigurationCommand";
36
+ import { UpdateEc2DeepInspectionConfigurationCommandInput, UpdateEc2DeepInspectionConfigurationCommandOutput } from "../commands/UpdateEc2DeepInspectionConfigurationCommand";
33
37
  import { UpdateFilterCommandInput, UpdateFilterCommandOutput } from "../commands/UpdateFilterCommand";
34
38
  import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "../commands/UpdateOrganizationConfigurationCommand";
39
+ import { UpdateOrgEc2DeepInspectionConfigurationCommandInput, UpdateOrgEc2DeepInspectionConfigurationCommandOutput } from "../commands/UpdateOrgEc2DeepInspectionConfigurationCommand";
35
40
  /**
36
41
  * serializeAws_restJson1AssociateMemberCommand
37
42
  */
@@ -44,6 +49,14 @@ export declare const se_BatchGetAccountStatusCommand: (input: BatchGetAccountSta
44
49
  * serializeAws_restJson1BatchGetFreeTrialInfoCommand
45
50
  */
46
51
  export declare const se_BatchGetFreeTrialInfoCommand: (input: BatchGetFreeTrialInfoCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
+ /**
53
+ * serializeAws_restJson1BatchGetMemberEc2DeepInspectionStatusCommand
54
+ */
55
+ export declare const se_BatchGetMemberEc2DeepInspectionStatusCommand: (input: BatchGetMemberEc2DeepInspectionStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
56
+ /**
57
+ * serializeAws_restJson1BatchUpdateMemberEc2DeepInspectionStatusCommand
58
+ */
59
+ export declare const se_BatchUpdateMemberEc2DeepInspectionStatusCommand: (input: BatchUpdateMemberEc2DeepInspectionStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
60
  /**
48
61
  * serializeAws_restJson1CancelFindingsReportCommand
49
62
  */
@@ -92,6 +105,10 @@ export declare const se_GetConfigurationCommand: (input: GetConfigurationCommand
92
105
  * serializeAws_restJson1GetDelegatedAdminAccountCommand
93
106
  */
94
107
  export declare const se_GetDelegatedAdminAccountCommand: (input: GetDelegatedAdminAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
108
+ /**
109
+ * serializeAws_restJson1GetEc2DeepInspectionConfigurationCommand
110
+ */
111
+ export declare const se_GetEc2DeepInspectionConfigurationCommand: (input: GetEc2DeepInspectionConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
95
112
  /**
96
113
  * serializeAws_restJson1GetFindingsReportStatusCommand
97
114
  */
@@ -152,6 +169,10 @@ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput,
152
169
  * serializeAws_restJson1UpdateConfigurationCommand
153
170
  */
154
171
  export declare const se_UpdateConfigurationCommand: (input: UpdateConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
172
+ /**
173
+ * serializeAws_restJson1UpdateEc2DeepInspectionConfigurationCommand
174
+ */
175
+ export declare const se_UpdateEc2DeepInspectionConfigurationCommand: (input: UpdateEc2DeepInspectionConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
155
176
  /**
156
177
  * serializeAws_restJson1UpdateFilterCommand
157
178
  */
@@ -160,6 +181,10 @@ export declare const se_UpdateFilterCommand: (input: UpdateFilterCommandInput, c
160
181
  * serializeAws_restJson1UpdateOrganizationConfigurationCommand
161
182
  */
162
183
  export declare const se_UpdateOrganizationConfigurationCommand: (input: UpdateOrganizationConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
184
+ /**
185
+ * serializeAws_restJson1UpdateOrgEc2DeepInspectionConfigurationCommand
186
+ */
187
+ export declare const se_UpdateOrgEc2DeepInspectionConfigurationCommand: (input: UpdateOrgEc2DeepInspectionConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
163
188
  /**
164
189
  * deserializeAws_restJson1AssociateMemberCommand
165
190
  */
@@ -172,6 +197,14 @@ export declare const de_BatchGetAccountStatusCommand: (output: __HttpResponse, c
172
197
  * deserializeAws_restJson1BatchGetFreeTrialInfoCommand
173
198
  */
174
199
  export declare const de_BatchGetFreeTrialInfoCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetFreeTrialInfoCommandOutput>;
200
+ /**
201
+ * deserializeAws_restJson1BatchGetMemberEc2DeepInspectionStatusCommand
202
+ */
203
+ export declare const de_BatchGetMemberEc2DeepInspectionStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetMemberEc2DeepInspectionStatusCommandOutput>;
204
+ /**
205
+ * deserializeAws_restJson1BatchUpdateMemberEc2DeepInspectionStatusCommand
206
+ */
207
+ export declare const de_BatchUpdateMemberEc2DeepInspectionStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchUpdateMemberEc2DeepInspectionStatusCommandOutput>;
175
208
  /**
176
209
  * deserializeAws_restJson1CancelFindingsReportCommand
177
210
  */
@@ -220,6 +253,10 @@ export declare const de_GetConfigurationCommand: (output: __HttpResponse, contex
220
253
  * deserializeAws_restJson1GetDelegatedAdminAccountCommand
221
254
  */
222
255
  export declare const de_GetDelegatedAdminAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDelegatedAdminAccountCommandOutput>;
256
+ /**
257
+ * deserializeAws_restJson1GetEc2DeepInspectionConfigurationCommand
258
+ */
259
+ export declare const de_GetEc2DeepInspectionConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEc2DeepInspectionConfigurationCommandOutput>;
223
260
  /**
224
261
  * deserializeAws_restJson1GetFindingsReportStatusCommand
225
262
  */
@@ -280,6 +317,10 @@ export declare const de_UntagResourceCommand: (output: __HttpResponse, context:
280
317
  * deserializeAws_restJson1UpdateConfigurationCommand
281
318
  */
282
319
  export declare const de_UpdateConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateConfigurationCommandOutput>;
320
+ /**
321
+ * deserializeAws_restJson1UpdateEc2DeepInspectionConfigurationCommand
322
+ */
323
+ export declare const de_UpdateEc2DeepInspectionConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateEc2DeepInspectionConfigurationCommandOutput>;
283
324
  /**
284
325
  * deserializeAws_restJson1UpdateFilterCommand
285
326
  */
@@ -288,3 +329,7 @@ export declare const de_UpdateFilterCommand: (output: __HttpResponse, context: _
288
329
  * deserializeAws_restJson1UpdateOrganizationConfigurationCommand
289
330
  */
290
331
  export declare const de_UpdateOrganizationConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateOrganizationConfigurationCommandOutput>;
332
+ /**
333
+ * deserializeAws_restJson1UpdateOrgEc2DeepInspectionConfigurationCommand
334
+ */
335
+ export declare const de_UpdateOrgEc2DeepInspectionConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateOrgEc2DeepInspectionConfigurationCommandOutput>;
@@ -11,6 +11,14 @@ import {
11
11
  BatchGetFreeTrialInfoCommandInput,
12
12
  BatchGetFreeTrialInfoCommandOutput,
13
13
  } from "./commands/BatchGetFreeTrialInfoCommand";
14
+ import {
15
+ BatchGetMemberEc2DeepInspectionStatusCommandInput,
16
+ BatchGetMemberEc2DeepInspectionStatusCommandOutput,
17
+ } from "./commands/BatchGetMemberEc2DeepInspectionStatusCommand";
18
+ import {
19
+ BatchUpdateMemberEc2DeepInspectionStatusCommandInput,
20
+ BatchUpdateMemberEc2DeepInspectionStatusCommandOutput,
21
+ } from "./commands/BatchUpdateMemberEc2DeepInspectionStatusCommand";
14
22
  import {
15
23
  CancelFindingsReportCommandInput,
16
24
  CancelFindingsReportCommandOutput,
@@ -59,6 +67,10 @@ import {
59
67
  GetDelegatedAdminAccountCommandInput,
60
68
  GetDelegatedAdminAccountCommandOutput,
61
69
  } from "./commands/GetDelegatedAdminAccountCommand";
70
+ import {
71
+ GetEc2DeepInspectionConfigurationCommandInput,
72
+ GetEc2DeepInspectionConfigurationCommandOutput,
73
+ } from "./commands/GetEc2DeepInspectionConfigurationCommand";
62
74
  import {
63
75
  GetFindingsReportStatusCommandInput,
64
76
  GetFindingsReportStatusCommandOutput,
@@ -119,6 +131,10 @@ import {
119
131
  UpdateConfigurationCommandInput,
120
132
  UpdateConfigurationCommandOutput,
121
133
  } from "./commands/UpdateConfigurationCommand";
134
+ import {
135
+ UpdateEc2DeepInspectionConfigurationCommandInput,
136
+ UpdateEc2DeepInspectionConfigurationCommandOutput,
137
+ } from "./commands/UpdateEc2DeepInspectionConfigurationCommand";
122
138
  import {
123
139
  UpdateFilterCommandInput,
124
140
  UpdateFilterCommandOutput,
@@ -127,6 +143,10 @@ import {
127
143
  UpdateOrganizationConfigurationCommandInput,
128
144
  UpdateOrganizationConfigurationCommandOutput,
129
145
  } from "./commands/UpdateOrganizationConfigurationCommand";
146
+ import {
147
+ UpdateOrgEc2DeepInspectionConfigurationCommandInput,
148
+ UpdateOrgEc2DeepInspectionConfigurationCommandOutput,
149
+ } from "./commands/UpdateOrgEc2DeepInspectionConfigurationCommand";
130
150
  import { Inspector2Client } from "./Inspector2Client";
131
151
  export interface Inspector2 {
132
152
  associateMember(
@@ -168,6 +188,44 @@ export interface Inspector2 {
168
188
  options: __HttpHandlerOptions,
169
189
  cb: (err: any, data?: BatchGetFreeTrialInfoCommandOutput) => void
170
190
  ): void;
191
+ batchGetMemberEc2DeepInspectionStatus(
192
+ args: BatchGetMemberEc2DeepInspectionStatusCommandInput,
193
+ options?: __HttpHandlerOptions
194
+ ): Promise<BatchGetMemberEc2DeepInspectionStatusCommandOutput>;
195
+ batchGetMemberEc2DeepInspectionStatus(
196
+ args: BatchGetMemberEc2DeepInspectionStatusCommandInput,
197
+ cb: (
198
+ err: any,
199
+ data?: BatchGetMemberEc2DeepInspectionStatusCommandOutput
200
+ ) => void
201
+ ): void;
202
+ batchGetMemberEc2DeepInspectionStatus(
203
+ args: BatchGetMemberEc2DeepInspectionStatusCommandInput,
204
+ options: __HttpHandlerOptions,
205
+ cb: (
206
+ err: any,
207
+ data?: BatchGetMemberEc2DeepInspectionStatusCommandOutput
208
+ ) => void
209
+ ): void;
210
+ batchUpdateMemberEc2DeepInspectionStatus(
211
+ args: BatchUpdateMemberEc2DeepInspectionStatusCommandInput,
212
+ options?: __HttpHandlerOptions
213
+ ): Promise<BatchUpdateMemberEc2DeepInspectionStatusCommandOutput>;
214
+ batchUpdateMemberEc2DeepInspectionStatus(
215
+ args: BatchUpdateMemberEc2DeepInspectionStatusCommandInput,
216
+ cb: (
217
+ err: any,
218
+ data?: BatchUpdateMemberEc2DeepInspectionStatusCommandOutput
219
+ ) => void
220
+ ): void;
221
+ batchUpdateMemberEc2DeepInspectionStatus(
222
+ args: BatchUpdateMemberEc2DeepInspectionStatusCommandInput,
223
+ options: __HttpHandlerOptions,
224
+ cb: (
225
+ err: any,
226
+ data?: BatchUpdateMemberEc2DeepInspectionStatusCommandOutput
227
+ ) => void
228
+ ): void;
171
229
  cancelFindingsReport(
172
230
  args: CancelFindingsReportCommandInput,
173
231
  options?: __HttpHandlerOptions
@@ -330,6 +388,25 @@ export interface Inspector2 {
330
388
  options: __HttpHandlerOptions,
331
389
  cb: (err: any, data?: GetDelegatedAdminAccountCommandOutput) => void
332
390
  ): void;
391
+ getEc2DeepInspectionConfiguration(
392
+ args: GetEc2DeepInspectionConfigurationCommandInput,
393
+ options?: __HttpHandlerOptions
394
+ ): Promise<GetEc2DeepInspectionConfigurationCommandOutput>;
395
+ getEc2DeepInspectionConfiguration(
396
+ args: GetEc2DeepInspectionConfigurationCommandInput,
397
+ cb: (
398
+ err: any,
399
+ data?: GetEc2DeepInspectionConfigurationCommandOutput
400
+ ) => void
401
+ ): void;
402
+ getEc2DeepInspectionConfiguration(
403
+ args: GetEc2DeepInspectionConfigurationCommandInput,
404
+ options: __HttpHandlerOptions,
405
+ cb: (
406
+ err: any,
407
+ data?: GetEc2DeepInspectionConfigurationCommandOutput
408
+ ) => void
409
+ ): void;
333
410
  getFindingsReportStatus(
334
411
  args: GetFindingsReportStatusCommandInput,
335
412
  options?: __HttpHandlerOptions
@@ -525,6 +602,25 @@ export interface Inspector2 {
525
602
  options: __HttpHandlerOptions,
526
603
  cb: (err: any, data?: UpdateConfigurationCommandOutput) => void
527
604
  ): void;
605
+ updateEc2DeepInspectionConfiguration(
606
+ args: UpdateEc2DeepInspectionConfigurationCommandInput,
607
+ options?: __HttpHandlerOptions
608
+ ): Promise<UpdateEc2DeepInspectionConfigurationCommandOutput>;
609
+ updateEc2DeepInspectionConfiguration(
610
+ args: UpdateEc2DeepInspectionConfigurationCommandInput,
611
+ cb: (
612
+ err: any,
613
+ data?: UpdateEc2DeepInspectionConfigurationCommandOutput
614
+ ) => void
615
+ ): void;
616
+ updateEc2DeepInspectionConfiguration(
617
+ args: UpdateEc2DeepInspectionConfigurationCommandInput,
618
+ options: __HttpHandlerOptions,
619
+ cb: (
620
+ err: any,
621
+ data?: UpdateEc2DeepInspectionConfigurationCommandOutput
622
+ ) => void
623
+ ): void;
528
624
  updateFilter(
529
625
  args: UpdateFilterCommandInput,
530
626
  options?: __HttpHandlerOptions
@@ -551,6 +647,25 @@ export interface Inspector2 {
551
647
  options: __HttpHandlerOptions,
552
648
  cb: (err: any, data?: UpdateOrganizationConfigurationCommandOutput) => void
553
649
  ): void;
650
+ updateOrgEc2DeepInspectionConfiguration(
651
+ args: UpdateOrgEc2DeepInspectionConfigurationCommandInput,
652
+ options?: __HttpHandlerOptions
653
+ ): Promise<UpdateOrgEc2DeepInspectionConfigurationCommandOutput>;
654
+ updateOrgEc2DeepInspectionConfiguration(
655
+ args: UpdateOrgEc2DeepInspectionConfigurationCommandInput,
656
+ cb: (
657
+ err: any,
658
+ data?: UpdateOrgEc2DeepInspectionConfigurationCommandOutput
659
+ ) => void
660
+ ): void;
661
+ updateOrgEc2DeepInspectionConfiguration(
662
+ args: UpdateOrgEc2DeepInspectionConfigurationCommandInput,
663
+ options: __HttpHandlerOptions,
664
+ cb: (
665
+ err: any,
666
+ data?: UpdateOrgEc2DeepInspectionConfigurationCommandOutput
667
+ ) => void
668
+ ): void;
554
669
  }
555
670
  export declare class Inspector2
556
671
  extends Inspector2Client