@aws-sdk/client-inspector 3.50.0 → 3.53.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 (75) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/InspectorServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +166 -3
  5. package/dist-cjs/protocols/Aws_json1_1.js +403 -1415
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/InspectorServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +153 -1
  9. package/dist-es/protocols/Aws_json1_1.js +860 -1542
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/InspectorServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +79 -72
  13. package/dist-types/ts3.4/Inspector.d.ts +190 -0
  14. package/dist-types/ts3.4/InspectorClient.d.ts +110 -0
  15. package/dist-types/ts3.4/commands/AddAttributesToFindingsCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateAssessmentTargetCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateAssessmentTemplateCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateExclusionsPreviewCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateResourceGroupCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DeleteAssessmentRunCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DeleteAssessmentTargetCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DeleteAssessmentTemplateCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/DescribeAssessmentRunsCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DescribeAssessmentTargetsCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DescribeAssessmentTemplatesCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DescribeCrossAccountAccessRoleCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DescribeExclusionsCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DescribeFindingsCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DescribeResourceGroupsCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DescribeRulesPackagesCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/GetAssessmentReportCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/GetExclusionsPreviewCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/GetTelemetryMetadataCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/ListAssessmentRunAgentsCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/ListAssessmentRunsCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/ListAssessmentTargetsCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/ListAssessmentTemplatesCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/ListEventSubscriptionsCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/ListExclusionsCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/ListRulesPackagesCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/PreviewAgentsCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/RegisterCrossAccountAccessRoleCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/RemoveAttributesFromFindingsCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/SetTagsForResourceCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/StartAssessmentRunCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/StopAssessmentRunCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/SubscribeToEventCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/UnsubscribeFromEventCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/UpdateAssessmentTargetCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/index.d.ts +37 -0
  53. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  54. package/dist-types/ts3.4/index.d.ts +6 -0
  55. package/dist-types/ts3.4/models/InspectorServiceException.d.ts +6 -0
  56. package/dist-types/ts3.4/models/index.d.ts +1 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +1506 -0
  58. package/dist-types/ts3.4/pagination/GetExclusionsPreviewPaginator.d.ts +4 -0
  59. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  60. package/dist-types/ts3.4/pagination/ListAssessmentRunAgentsPaginator.d.ts +4 -0
  61. package/dist-types/ts3.4/pagination/ListAssessmentRunsPaginator.d.ts +4 -0
  62. package/dist-types/ts3.4/pagination/ListAssessmentTargetsPaginator.d.ts +4 -0
  63. package/dist-types/ts3.4/pagination/ListAssessmentTemplatesPaginator.d.ts +4 -0
  64. package/dist-types/ts3.4/pagination/ListEventSubscriptionsPaginator.d.ts +4 -0
  65. package/dist-types/ts3.4/pagination/ListExclusionsPaginator.d.ts +4 -0
  66. package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +4 -0
  67. package/dist-types/ts3.4/pagination/ListRulesPackagesPaginator.d.ts +4 -0
  68. package/dist-types/ts3.4/pagination/PreviewAgentsPaginator.d.ts +4 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +11 -0
  70. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +113 -0
  71. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  72. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  73. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  74. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  75. package/package.json +33 -33
@@ -3,3 +3,4 @@ export * from "./InspectorClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { InspectorServiceException } from "./models/InspectorServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Inspector service.
4
+ */
5
+ export declare class InspectorServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { InspectorServiceException as __BaseException } from "./InspectorServiceException";
2
3
  export declare enum AccessDeniedErrorCode {
3
4
  ACCESS_DENIED_TO_ASSESSMENT_RUN = "ACCESS_DENIED_TO_ASSESSMENT_RUN",
4
5
  ACCESS_DENIED_TO_ASSESSMENT_TARGET = "ACCESS_DENIED_TO_ASSESSMENT_TARGET",
@@ -12,13 +13,9 @@ export declare enum AccessDeniedErrorCode {
12
13
  /**
13
14
  * <p>You do not have required permissions to access the requested resource.</p>
14
15
  */
15
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
16
- name: "AccessDeniedException";
17
- $fault: "client";
18
- /**
19
- * <p>Details of the exception error.</p>
20
- */
21
- message: string | undefined;
16
+ export declare class AccessDeniedException extends __BaseException {
17
+ readonly name: "AccessDeniedException";
18
+ readonly $fault: "client";
22
19
  /**
23
20
  * <p>Code that indicates the type of error that is generated.</p>
24
21
  */
@@ -27,6 +24,10 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
27
24
  * <p>You can immediately retry your request.</p>
28
25
  */
29
26
  canRetry: boolean | undefined;
27
+ /**
28
+ * @internal
29
+ */
30
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
30
31
  }
31
32
  /**
32
33
  * <p>This data type is used as a request parameter in the <a>AddAttributesToFindings</a> and <a>CreateAssessmentTemplate</a>
@@ -110,17 +111,17 @@ export declare namespace AddAttributesToFindingsResponse {
110
111
  /**
111
112
  * <p>Internal server error.</p>
112
113
  */
113
- export interface InternalException extends __SmithyException, $MetadataBearer {
114
- name: "InternalException";
115
- $fault: "server";
116
- /**
117
- * <p>Details of the exception error.</p>
118
- */
119
- message: string | undefined;
114
+ export declare class InternalException extends __BaseException {
115
+ readonly name: "InternalException";
116
+ readonly $fault: "server";
120
117
  /**
121
118
  * <p>You can immediately retry your request.</p>
122
119
  */
123
120
  canRetry: boolean | undefined;
121
+ /**
122
+ * @internal
123
+ */
124
+ constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
124
125
  }
125
126
  export declare enum InvalidInputErrorCode {
126
127
  ASSESSMENT_TARGET_NAME_ALREADY_TAKEN = "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN",
@@ -182,13 +183,9 @@ export declare enum InvalidInputErrorCode {
182
183
  * <p>The request was rejected because an invalid or out-of-range value was supplied for an
183
184
  * input parameter.</p>
184
185
  */
185
- export interface InvalidInputException extends __SmithyException, $MetadataBearer {
186
- name: "InvalidInputException";
187
- $fault: "client";
188
- /**
189
- * <p>Details of the exception error.</p>
190
- */
191
- message: string | undefined;
186
+ export declare class InvalidInputException extends __BaseException {
187
+ readonly name: "InvalidInputException";
188
+ readonly $fault: "client";
192
189
  /**
193
190
  * <p>Code that indicates the type of error that is generated.</p>
194
191
  */
@@ -197,6 +194,10 @@ export interface InvalidInputException extends __SmithyException, $MetadataBeare
197
194
  * <p>You can immediately retry your request.</p>
198
195
  */
199
196
  canRetry: boolean | undefined;
197
+ /**
198
+ * @internal
199
+ */
200
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
200
201
  }
201
202
  export declare enum NoSuchEntityErrorCode {
202
203
  ASSESSMENT_RUN_DOES_NOT_EXIST = "ASSESSMENT_RUN_DOES_NOT_EXIST",
@@ -212,13 +213,9 @@ export declare enum NoSuchEntityErrorCode {
212
213
  * <p>The request was rejected because it referenced an entity that does not exist. The
213
214
  * error code describes the entity.</p>
214
215
  */
215
- export interface NoSuchEntityException extends __SmithyException, $MetadataBearer {
216
- name: "NoSuchEntityException";
217
- $fault: "client";
218
- /**
219
- * <p>Details of the exception error.</p>
220
- */
221
- message: string | undefined;
216
+ export declare class NoSuchEntityException extends __BaseException {
217
+ readonly name: "NoSuchEntityException";
218
+ readonly $fault: "client";
222
219
  /**
223
220
  * <p>Code that indicates the type of error that is generated.</p>
224
221
  */
@@ -227,21 +224,25 @@ export interface NoSuchEntityException extends __SmithyException, $MetadataBeare
227
224
  * <p>You can immediately retry your request.</p>
228
225
  */
229
226
  canRetry: boolean | undefined;
227
+ /**
228
+ * @internal
229
+ */
230
+ constructor(opts: __ExceptionOptionType<NoSuchEntityException, __BaseException>);
230
231
  }
231
232
  /**
232
233
  * <p>The serice is temporary unavailable.</p>
233
234
  */
234
- export interface ServiceTemporarilyUnavailableException extends __SmithyException, $MetadataBearer {
235
- name: "ServiceTemporarilyUnavailableException";
236
- $fault: "server";
237
- /**
238
- * <p>Details of the exception error.</p>
239
- */
240
- message: string | undefined;
235
+ export declare class ServiceTemporarilyUnavailableException extends __BaseException {
236
+ readonly name: "ServiceTemporarilyUnavailableException";
237
+ readonly $fault: "server";
241
238
  /**
242
239
  * <p>You can wait and then retry your request.</p>
243
240
  */
244
241
  canRetry: boolean | undefined;
242
+ /**
243
+ * @internal
244
+ */
245
+ constructor(opts: __ExceptionOptionType<ServiceTemporarilyUnavailableException, __BaseException>);
245
246
  }
246
247
  /**
247
248
  * <p>Used in the exception error that is thrown if you start an assessment run for an
@@ -349,13 +350,9 @@ export declare namespace AgentPreview {
349
350
  * <p>You started an assessment run, but one of the instances is already participating in
350
351
  * another assessment run.</p>
351
352
  */
352
- export interface AgentsAlreadyRunningAssessmentException extends __SmithyException, $MetadataBearer {
353
- name: "AgentsAlreadyRunningAssessmentException";
354
- $fault: "client";
355
- /**
356
- * <p>Details of the exception error.</p>
357
- */
358
- message: string | undefined;
353
+ export declare class AgentsAlreadyRunningAssessmentException extends __BaseException {
354
+ readonly name: "AgentsAlreadyRunningAssessmentException";
355
+ readonly $fault: "client";
359
356
  /**
360
357
  * <p></p>
361
358
  */
@@ -368,6 +365,10 @@ export interface AgentsAlreadyRunningAssessmentException extends __SmithyExcepti
368
365
  * <p>You can immediately retry your request.</p>
369
366
  */
370
367
  canRetry: boolean | undefined;
368
+ /**
369
+ * @internal
370
+ */
371
+ constructor(opts: __ExceptionOptionType<AgentsAlreadyRunningAssessmentException, __BaseException>);
371
372
  }
372
373
  export declare enum Severity {
373
374
  HIGH = "High",
@@ -707,13 +708,9 @@ export declare namespace AssessmentRunFilter {
707
708
  * <p>You cannot perform a specified action if an assessment run is currently in
708
709
  * progress.</p>
709
710
  */
710
- export interface AssessmentRunInProgressException extends __SmithyException, $MetadataBearer {
711
- name: "AssessmentRunInProgressException";
712
- $fault: "client";
713
- /**
714
- * <p>Details of the exception error.</p>
715
- */
716
- message: string | undefined;
711
+ export declare class AssessmentRunInProgressException extends __BaseException {
712
+ readonly name: "AssessmentRunInProgressException";
713
+ readonly $fault: "client";
717
714
  /**
718
715
  * <p>The ARNs of the assessment runs that are currently in progress.</p>
719
716
  */
@@ -727,6 +724,10 @@ export interface AssessmentRunInProgressException extends __SmithyException, $Me
727
724
  * <p>You can immediately retry your request.</p>
728
725
  */
729
726
  canRetry: boolean | undefined;
727
+ /**
728
+ * @internal
729
+ */
730
+ constructor(opts: __ExceptionOptionType<AssessmentRunInProgressException, __BaseException>);
730
731
  }
731
732
  /**
732
733
  * <p>Contains information about an Amazon Inspector application. This data type is used as
@@ -1069,13 +1070,9 @@ export declare enum InvalidCrossAccountRoleErrorCode {
1069
1070
  * <p>Amazon Inspector cannot assume the cross-account role that it needs to list your EC2
1070
1071
  * instances during the assessment run.</p>
1071
1072
  */
1072
- export interface InvalidCrossAccountRoleException extends __SmithyException, $MetadataBearer {
1073
- name: "InvalidCrossAccountRoleException";
1074
- $fault: "client";
1075
- /**
1076
- * <p>Details of the exception error.</p>
1077
- */
1078
- message: string | undefined;
1073
+ export declare class InvalidCrossAccountRoleException extends __BaseException {
1074
+ readonly name: "InvalidCrossAccountRoleException";
1075
+ readonly $fault: "client";
1079
1076
  /**
1080
1077
  * <p>Code that indicates the type of error that is generated.</p>
1081
1078
  */
@@ -1084,6 +1081,10 @@ export interface InvalidCrossAccountRoleException extends __SmithyException, $Me
1084
1081
  * <p>You can immediately retry your request.</p>
1085
1082
  */
1086
1083
  canRetry: boolean | undefined;
1084
+ /**
1085
+ * @internal
1086
+ */
1087
+ constructor(opts: __ExceptionOptionType<InvalidCrossAccountRoleException, __BaseException>);
1087
1088
  }
1088
1089
  export declare enum LimitExceededErrorCode {
1089
1090
  ASSESSMENT_RUN_LIMIT_EXCEEDED = "ASSESSMENT_RUN_LIMIT_EXCEEDED",
@@ -1096,13 +1097,9 @@ export declare enum LimitExceededErrorCode {
1096
1097
  * <p>The request was rejected because it attempted to create resources beyond the current
1097
1098
  * AWS account limits. The error code describes the limit exceeded.</p>
1098
1099
  */
1099
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
1100
- name: "LimitExceededException";
1101
- $fault: "client";
1102
- /**
1103
- * <p>Details of the exception error.</p>
1104
- */
1105
- message: string | undefined;
1100
+ export declare class LimitExceededException extends __BaseException {
1101
+ readonly name: "LimitExceededException";
1102
+ readonly $fault: "client";
1106
1103
  /**
1107
1104
  * <p>Code that indicates the type of error that is generated.</p>
1108
1105
  */
@@ -1111,6 +1108,10 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
1111
1108
  * <p>You can immediately retry your request.</p>
1112
1109
  */
1113
1110
  canRetry: boolean | undefined;
1111
+ /**
1112
+ * @internal
1113
+ */
1114
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
1114
1115
  }
1115
1116
  export interface CreateAssessmentTemplateRequest {
1116
1117
  /**
@@ -1191,10 +1192,13 @@ export declare namespace CreateExclusionsPreviewResponse {
1191
1192
  * <p>The request is rejected. The specified assessment template is currently generating an
1192
1193
  * exclusions preview.</p>
1193
1194
  */
1194
- export interface PreviewGenerationInProgressException extends __SmithyException, $MetadataBearer {
1195
- name: "PreviewGenerationInProgressException";
1196
- $fault: "client";
1197
- message: string | undefined;
1195
+ export declare class PreviewGenerationInProgressException extends __BaseException {
1196
+ readonly name: "PreviewGenerationInProgressException";
1197
+ readonly $fault: "client";
1198
+ /**
1199
+ * @internal
1200
+ */
1201
+ constructor(opts: __ExceptionOptionType<PreviewGenerationInProgressException, __BaseException>);
1198
1202
  }
1199
1203
  /**
1200
1204
  * <p>This data type is used as one of the elements of the <a>ResourceGroup</a>
@@ -1926,11 +1930,14 @@ export declare namespace GetAssessmentReportResponse {
1926
1930
  * took place or will take place after generating reports in Amazon Inspector became
1927
1931
  * available.</p>
1928
1932
  */
1929
- export interface UnsupportedFeatureException extends __SmithyException, $MetadataBearer {
1930
- name: "UnsupportedFeatureException";
1931
- $fault: "client";
1932
- message: string | undefined;
1933
+ export declare class UnsupportedFeatureException extends __BaseException {
1934
+ readonly name: "UnsupportedFeatureException";
1935
+ readonly $fault: "client";
1933
1936
  canRetry: boolean | undefined;
1937
+ /**
1938
+ * @internal
1939
+ */
1940
+ constructor(opts: __ExceptionOptionType<UnsupportedFeatureException, __BaseException>);
1934
1941
  }
1935
1942
  export interface GetExclusionsPreviewRequest {
1936
1943
  /**
@@ -0,0 +1,190 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { AddAttributesToFindingsCommandInput, AddAttributesToFindingsCommandOutput } from "./commands/AddAttributesToFindingsCommand";
3
+ import { CreateAssessmentTargetCommandInput, CreateAssessmentTargetCommandOutput } from "./commands/CreateAssessmentTargetCommand";
4
+ import { CreateAssessmentTemplateCommandInput, CreateAssessmentTemplateCommandOutput } from "./commands/CreateAssessmentTemplateCommand";
5
+ import { CreateExclusionsPreviewCommandInput, CreateExclusionsPreviewCommandOutput } from "./commands/CreateExclusionsPreviewCommand";
6
+ import { CreateResourceGroupCommandInput, CreateResourceGroupCommandOutput } from "./commands/CreateResourceGroupCommand";
7
+ import { DeleteAssessmentRunCommandInput, DeleteAssessmentRunCommandOutput } from "./commands/DeleteAssessmentRunCommand";
8
+ import { DeleteAssessmentTargetCommandInput, DeleteAssessmentTargetCommandOutput } from "./commands/DeleteAssessmentTargetCommand";
9
+ import { DeleteAssessmentTemplateCommandInput, DeleteAssessmentTemplateCommandOutput } from "./commands/DeleteAssessmentTemplateCommand";
10
+ import { DescribeAssessmentRunsCommandInput, DescribeAssessmentRunsCommandOutput } from "./commands/DescribeAssessmentRunsCommand";
11
+ import { DescribeAssessmentTargetsCommandInput, DescribeAssessmentTargetsCommandOutput } from "./commands/DescribeAssessmentTargetsCommand";
12
+ import { DescribeAssessmentTemplatesCommandInput, DescribeAssessmentTemplatesCommandOutput } from "./commands/DescribeAssessmentTemplatesCommand";
13
+ import { DescribeCrossAccountAccessRoleCommandInput, DescribeCrossAccountAccessRoleCommandOutput } from "./commands/DescribeCrossAccountAccessRoleCommand";
14
+ import { DescribeExclusionsCommandInput, DescribeExclusionsCommandOutput } from "./commands/DescribeExclusionsCommand";
15
+ import { DescribeFindingsCommandInput, DescribeFindingsCommandOutput } from "./commands/DescribeFindingsCommand";
16
+ import { DescribeResourceGroupsCommandInput, DescribeResourceGroupsCommandOutput } from "./commands/DescribeResourceGroupsCommand";
17
+ import { DescribeRulesPackagesCommandInput, DescribeRulesPackagesCommandOutput } from "./commands/DescribeRulesPackagesCommand";
18
+ import { GetAssessmentReportCommandInput, GetAssessmentReportCommandOutput } from "./commands/GetAssessmentReportCommand";
19
+ import { GetExclusionsPreviewCommandInput, GetExclusionsPreviewCommandOutput } from "./commands/GetExclusionsPreviewCommand";
20
+ import { GetTelemetryMetadataCommandInput, GetTelemetryMetadataCommandOutput } from "./commands/GetTelemetryMetadataCommand";
21
+ import { ListAssessmentRunAgentsCommandInput, ListAssessmentRunAgentsCommandOutput } from "./commands/ListAssessmentRunAgentsCommand";
22
+ import { ListAssessmentRunsCommandInput, ListAssessmentRunsCommandOutput } from "./commands/ListAssessmentRunsCommand";
23
+ import { ListAssessmentTargetsCommandInput, ListAssessmentTargetsCommandOutput } from "./commands/ListAssessmentTargetsCommand";
24
+ import { ListAssessmentTemplatesCommandInput, ListAssessmentTemplatesCommandOutput } from "./commands/ListAssessmentTemplatesCommand";
25
+ import { ListEventSubscriptionsCommandInput, ListEventSubscriptionsCommandOutput } from "./commands/ListEventSubscriptionsCommand";
26
+ import { ListExclusionsCommandInput, ListExclusionsCommandOutput } from "./commands/ListExclusionsCommand";
27
+ import { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
28
+ import { ListRulesPackagesCommandInput, ListRulesPackagesCommandOutput } from "./commands/ListRulesPackagesCommand";
29
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
30
+ import { PreviewAgentsCommandInput, PreviewAgentsCommandOutput } from "./commands/PreviewAgentsCommand";
31
+ import { RegisterCrossAccountAccessRoleCommandInput, RegisterCrossAccountAccessRoleCommandOutput } from "./commands/RegisterCrossAccountAccessRoleCommand";
32
+ import { RemoveAttributesFromFindingsCommandInput, RemoveAttributesFromFindingsCommandOutput } from "./commands/RemoveAttributesFromFindingsCommand";
33
+ import { SetTagsForResourceCommandInput, SetTagsForResourceCommandOutput } from "./commands/SetTagsForResourceCommand";
34
+ import { StartAssessmentRunCommandInput, StartAssessmentRunCommandOutput } from "./commands/StartAssessmentRunCommand";
35
+ import { StopAssessmentRunCommandInput, StopAssessmentRunCommandOutput } from "./commands/StopAssessmentRunCommand";
36
+ import { SubscribeToEventCommandInput, SubscribeToEventCommandOutput } from "./commands/SubscribeToEventCommand";
37
+ import { UnsubscribeFromEventCommandInput, UnsubscribeFromEventCommandOutput } from "./commands/UnsubscribeFromEventCommand";
38
+ import { UpdateAssessmentTargetCommandInput, UpdateAssessmentTargetCommandOutput } from "./commands/UpdateAssessmentTargetCommand";
39
+ import { InspectorClient } from "./InspectorClient";
40
+
41
+ export declare class Inspector extends InspectorClient {
42
+
43
+ addAttributesToFindings(args: AddAttributesToFindingsCommandInput, options?: __HttpHandlerOptions): Promise<AddAttributesToFindingsCommandOutput>;
44
+ addAttributesToFindings(args: AddAttributesToFindingsCommandInput, cb: (err: any, data?: AddAttributesToFindingsCommandOutput) => void): void;
45
+ addAttributesToFindings(args: AddAttributesToFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddAttributesToFindingsCommandOutput) => void): void;
46
+
47
+ createAssessmentTarget(args: CreateAssessmentTargetCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssessmentTargetCommandOutput>;
48
+ createAssessmentTarget(args: CreateAssessmentTargetCommandInput, cb: (err: any, data?: CreateAssessmentTargetCommandOutput) => void): void;
49
+ createAssessmentTarget(args: CreateAssessmentTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssessmentTargetCommandOutput) => void): void;
50
+
51
+ createAssessmentTemplate(args: CreateAssessmentTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssessmentTemplateCommandOutput>;
52
+ createAssessmentTemplate(args: CreateAssessmentTemplateCommandInput, cb: (err: any, data?: CreateAssessmentTemplateCommandOutput) => void): void;
53
+ createAssessmentTemplate(args: CreateAssessmentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssessmentTemplateCommandOutput) => void): void;
54
+
55
+ createExclusionsPreview(args: CreateExclusionsPreviewCommandInput, options?: __HttpHandlerOptions): Promise<CreateExclusionsPreviewCommandOutput>;
56
+ createExclusionsPreview(args: CreateExclusionsPreviewCommandInput, cb: (err: any, data?: CreateExclusionsPreviewCommandOutput) => void): void;
57
+ createExclusionsPreview(args: CreateExclusionsPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExclusionsPreviewCommandOutput) => void): void;
58
+
59
+ createResourceGroup(args: CreateResourceGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateResourceGroupCommandOutput>;
60
+ createResourceGroup(args: CreateResourceGroupCommandInput, cb: (err: any, data?: CreateResourceGroupCommandOutput) => void): void;
61
+ createResourceGroup(args: CreateResourceGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourceGroupCommandOutput) => void): void;
62
+
63
+ deleteAssessmentRun(args: DeleteAssessmentRunCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssessmentRunCommandOutput>;
64
+ deleteAssessmentRun(args: DeleteAssessmentRunCommandInput, cb: (err: any, data?: DeleteAssessmentRunCommandOutput) => void): void;
65
+ deleteAssessmentRun(args: DeleteAssessmentRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssessmentRunCommandOutput) => void): void;
66
+
67
+ deleteAssessmentTarget(args: DeleteAssessmentTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssessmentTargetCommandOutput>;
68
+ deleteAssessmentTarget(args: DeleteAssessmentTargetCommandInput, cb: (err: any, data?: DeleteAssessmentTargetCommandOutput) => void): void;
69
+ deleteAssessmentTarget(args: DeleteAssessmentTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssessmentTargetCommandOutput) => void): void;
70
+
71
+ deleteAssessmentTemplate(args: DeleteAssessmentTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssessmentTemplateCommandOutput>;
72
+ deleteAssessmentTemplate(args: DeleteAssessmentTemplateCommandInput, cb: (err: any, data?: DeleteAssessmentTemplateCommandOutput) => void): void;
73
+ deleteAssessmentTemplate(args: DeleteAssessmentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssessmentTemplateCommandOutput) => void): void;
74
+
75
+ describeAssessmentRuns(args: DescribeAssessmentRunsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAssessmentRunsCommandOutput>;
76
+ describeAssessmentRuns(args: DescribeAssessmentRunsCommandInput, cb: (err: any, data?: DescribeAssessmentRunsCommandOutput) => void): void;
77
+ describeAssessmentRuns(args: DescribeAssessmentRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAssessmentRunsCommandOutput) => void): void;
78
+
79
+ describeAssessmentTargets(args: DescribeAssessmentTargetsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAssessmentTargetsCommandOutput>;
80
+ describeAssessmentTargets(args: DescribeAssessmentTargetsCommandInput, cb: (err: any, data?: DescribeAssessmentTargetsCommandOutput) => void): void;
81
+ describeAssessmentTargets(args: DescribeAssessmentTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAssessmentTargetsCommandOutput) => void): void;
82
+
83
+ describeAssessmentTemplates(args: DescribeAssessmentTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAssessmentTemplatesCommandOutput>;
84
+ describeAssessmentTemplates(args: DescribeAssessmentTemplatesCommandInput, cb: (err: any, data?: DescribeAssessmentTemplatesCommandOutput) => void): void;
85
+ describeAssessmentTemplates(args: DescribeAssessmentTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAssessmentTemplatesCommandOutput) => void): void;
86
+
87
+ describeCrossAccountAccessRole(args: DescribeCrossAccountAccessRoleCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCrossAccountAccessRoleCommandOutput>;
88
+ describeCrossAccountAccessRole(args: DescribeCrossAccountAccessRoleCommandInput, cb: (err: any, data?: DescribeCrossAccountAccessRoleCommandOutput) => void): void;
89
+ describeCrossAccountAccessRole(args: DescribeCrossAccountAccessRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCrossAccountAccessRoleCommandOutput) => void): void;
90
+
91
+ describeExclusions(args: DescribeExclusionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeExclusionsCommandOutput>;
92
+ describeExclusions(args: DescribeExclusionsCommandInput, cb: (err: any, data?: DescribeExclusionsCommandOutput) => void): void;
93
+ describeExclusions(args: DescribeExclusionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExclusionsCommandOutput) => void): void;
94
+
95
+ describeFindings(args: DescribeFindingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFindingsCommandOutput>;
96
+ describeFindings(args: DescribeFindingsCommandInput, cb: (err: any, data?: DescribeFindingsCommandOutput) => void): void;
97
+ describeFindings(args: DescribeFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFindingsCommandOutput) => void): void;
98
+
99
+ describeResourceGroups(args: DescribeResourceGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeResourceGroupsCommandOutput>;
100
+ describeResourceGroups(args: DescribeResourceGroupsCommandInput, cb: (err: any, data?: DescribeResourceGroupsCommandOutput) => void): void;
101
+ describeResourceGroups(args: DescribeResourceGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResourceGroupsCommandOutput) => void): void;
102
+
103
+ describeRulesPackages(args: DescribeRulesPackagesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRulesPackagesCommandOutput>;
104
+ describeRulesPackages(args: DescribeRulesPackagesCommandInput, cb: (err: any, data?: DescribeRulesPackagesCommandOutput) => void): void;
105
+ describeRulesPackages(args: DescribeRulesPackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRulesPackagesCommandOutput) => void): void;
106
+
107
+ getAssessmentReport(args: GetAssessmentReportCommandInput, options?: __HttpHandlerOptions): Promise<GetAssessmentReportCommandOutput>;
108
+ getAssessmentReport(args: GetAssessmentReportCommandInput, cb: (err: any, data?: GetAssessmentReportCommandOutput) => void): void;
109
+ getAssessmentReport(args: GetAssessmentReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssessmentReportCommandOutput) => void): void;
110
+
111
+ getExclusionsPreview(args: GetExclusionsPreviewCommandInput, options?: __HttpHandlerOptions): Promise<GetExclusionsPreviewCommandOutput>;
112
+ getExclusionsPreview(args: GetExclusionsPreviewCommandInput, cb: (err: any, data?: GetExclusionsPreviewCommandOutput) => void): void;
113
+ getExclusionsPreview(args: GetExclusionsPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExclusionsPreviewCommandOutput) => void): void;
114
+
115
+ getTelemetryMetadata(args: GetTelemetryMetadataCommandInput, options?: __HttpHandlerOptions): Promise<GetTelemetryMetadataCommandOutput>;
116
+ getTelemetryMetadata(args: GetTelemetryMetadataCommandInput, cb: (err: any, data?: GetTelemetryMetadataCommandOutput) => void): void;
117
+ getTelemetryMetadata(args: GetTelemetryMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTelemetryMetadataCommandOutput) => void): void;
118
+
119
+ listAssessmentRunAgents(args: ListAssessmentRunAgentsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssessmentRunAgentsCommandOutput>;
120
+ listAssessmentRunAgents(args: ListAssessmentRunAgentsCommandInput, cb: (err: any, data?: ListAssessmentRunAgentsCommandOutput) => void): void;
121
+ listAssessmentRunAgents(args: ListAssessmentRunAgentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentRunAgentsCommandOutput) => void): void;
122
+
123
+ listAssessmentRuns(args: ListAssessmentRunsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssessmentRunsCommandOutput>;
124
+ listAssessmentRuns(args: ListAssessmentRunsCommandInput, cb: (err: any, data?: ListAssessmentRunsCommandOutput) => void): void;
125
+ listAssessmentRuns(args: ListAssessmentRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentRunsCommandOutput) => void): void;
126
+
127
+ listAssessmentTargets(args: ListAssessmentTargetsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssessmentTargetsCommandOutput>;
128
+ listAssessmentTargets(args: ListAssessmentTargetsCommandInput, cb: (err: any, data?: ListAssessmentTargetsCommandOutput) => void): void;
129
+ listAssessmentTargets(args: ListAssessmentTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentTargetsCommandOutput) => void): void;
130
+
131
+ listAssessmentTemplates(args: ListAssessmentTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListAssessmentTemplatesCommandOutput>;
132
+ listAssessmentTemplates(args: ListAssessmentTemplatesCommandInput, cb: (err: any, data?: ListAssessmentTemplatesCommandOutput) => void): void;
133
+ listAssessmentTemplates(args: ListAssessmentTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentTemplatesCommandOutput) => void): void;
134
+
135
+ listEventSubscriptions(args: ListEventSubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<ListEventSubscriptionsCommandOutput>;
136
+ listEventSubscriptions(args: ListEventSubscriptionsCommandInput, cb: (err: any, data?: ListEventSubscriptionsCommandOutput) => void): void;
137
+ listEventSubscriptions(args: ListEventSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventSubscriptionsCommandOutput) => void): void;
138
+
139
+ listExclusions(args: ListExclusionsCommandInput, options?: __HttpHandlerOptions): Promise<ListExclusionsCommandOutput>;
140
+ listExclusions(args: ListExclusionsCommandInput, cb: (err: any, data?: ListExclusionsCommandOutput) => void): void;
141
+ listExclusions(args: ListExclusionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExclusionsCommandOutput) => void): void;
142
+
143
+ listFindings(args: ListFindingsCommandInput, options?: __HttpHandlerOptions): Promise<ListFindingsCommandOutput>;
144
+ listFindings(args: ListFindingsCommandInput, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
145
+ listFindings(args: ListFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
146
+
147
+ listRulesPackages(args: ListRulesPackagesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesPackagesCommandOutput>;
148
+ listRulesPackages(args: ListRulesPackagesCommandInput, cb: (err: any, data?: ListRulesPackagesCommandOutput) => void): void;
149
+ listRulesPackages(args: ListRulesPackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesPackagesCommandOutput) => void): void;
150
+
151
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
152
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
153
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
154
+
155
+ previewAgents(args: PreviewAgentsCommandInput, options?: __HttpHandlerOptions): Promise<PreviewAgentsCommandOutput>;
156
+ previewAgents(args: PreviewAgentsCommandInput, cb: (err: any, data?: PreviewAgentsCommandOutput) => void): void;
157
+ previewAgents(args: PreviewAgentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PreviewAgentsCommandOutput) => void): void;
158
+
159
+ registerCrossAccountAccessRole(args: RegisterCrossAccountAccessRoleCommandInput, options?: __HttpHandlerOptions): Promise<RegisterCrossAccountAccessRoleCommandOutput>;
160
+ registerCrossAccountAccessRole(args: RegisterCrossAccountAccessRoleCommandInput, cb: (err: any, data?: RegisterCrossAccountAccessRoleCommandOutput) => void): void;
161
+ registerCrossAccountAccessRole(args: RegisterCrossAccountAccessRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterCrossAccountAccessRoleCommandOutput) => void): void;
162
+
163
+ removeAttributesFromFindings(args: RemoveAttributesFromFindingsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveAttributesFromFindingsCommandOutput>;
164
+ removeAttributesFromFindings(args: RemoveAttributesFromFindingsCommandInput, cb: (err: any, data?: RemoveAttributesFromFindingsCommandOutput) => void): void;
165
+ removeAttributesFromFindings(args: RemoveAttributesFromFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveAttributesFromFindingsCommandOutput) => void): void;
166
+
167
+ setTagsForResource(args: SetTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<SetTagsForResourceCommandOutput>;
168
+ setTagsForResource(args: SetTagsForResourceCommandInput, cb: (err: any, data?: SetTagsForResourceCommandOutput) => void): void;
169
+ setTagsForResource(args: SetTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetTagsForResourceCommandOutput) => void): void;
170
+
171
+ startAssessmentRun(args: StartAssessmentRunCommandInput, options?: __HttpHandlerOptions): Promise<StartAssessmentRunCommandOutput>;
172
+ startAssessmentRun(args: StartAssessmentRunCommandInput, cb: (err: any, data?: StartAssessmentRunCommandOutput) => void): void;
173
+ startAssessmentRun(args: StartAssessmentRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAssessmentRunCommandOutput) => void): void;
174
+
175
+ stopAssessmentRun(args: StopAssessmentRunCommandInput, options?: __HttpHandlerOptions): Promise<StopAssessmentRunCommandOutput>;
176
+ stopAssessmentRun(args: StopAssessmentRunCommandInput, cb: (err: any, data?: StopAssessmentRunCommandOutput) => void): void;
177
+ stopAssessmentRun(args: StopAssessmentRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopAssessmentRunCommandOutput) => void): void;
178
+
179
+ subscribeToEvent(args: SubscribeToEventCommandInput, options?: __HttpHandlerOptions): Promise<SubscribeToEventCommandOutput>;
180
+ subscribeToEvent(args: SubscribeToEventCommandInput, cb: (err: any, data?: SubscribeToEventCommandOutput) => void): void;
181
+ subscribeToEvent(args: SubscribeToEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubscribeToEventCommandOutput) => void): void;
182
+
183
+ unsubscribeFromEvent(args: UnsubscribeFromEventCommandInput, options?: __HttpHandlerOptions): Promise<UnsubscribeFromEventCommandOutput>;
184
+ unsubscribeFromEvent(args: UnsubscribeFromEventCommandInput, cb: (err: any, data?: UnsubscribeFromEventCommandOutput) => void): void;
185
+ unsubscribeFromEvent(args: UnsubscribeFromEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeFromEventCommandOutput) => void): void;
186
+
187
+ updateAssessmentTarget(args: UpdateAssessmentTargetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAssessmentTargetCommandOutput>;
188
+ updateAssessmentTarget(args: UpdateAssessmentTargetCommandInput, cb: (err: any, data?: UpdateAssessmentTargetCommandOutput) => void): void;
189
+ updateAssessmentTarget(args: UpdateAssessmentTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAssessmentTargetCommandOutput) => void): void;
190
+ }
@@ -0,0 +1,110 @@
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, DefaultsMode, 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 { AddAttributesToFindingsCommandInput, AddAttributesToFindingsCommandOutput } from "./commands/AddAttributesToFindingsCommand";
10
+ import { CreateAssessmentTargetCommandInput, CreateAssessmentTargetCommandOutput } from "./commands/CreateAssessmentTargetCommand";
11
+ import { CreateAssessmentTemplateCommandInput, CreateAssessmentTemplateCommandOutput } from "./commands/CreateAssessmentTemplateCommand";
12
+ import { CreateExclusionsPreviewCommandInput, CreateExclusionsPreviewCommandOutput } from "./commands/CreateExclusionsPreviewCommand";
13
+ import { CreateResourceGroupCommandInput, CreateResourceGroupCommandOutput } from "./commands/CreateResourceGroupCommand";
14
+ import { DeleteAssessmentRunCommandInput, DeleteAssessmentRunCommandOutput } from "./commands/DeleteAssessmentRunCommand";
15
+ import { DeleteAssessmentTargetCommandInput, DeleteAssessmentTargetCommandOutput } from "./commands/DeleteAssessmentTargetCommand";
16
+ import { DeleteAssessmentTemplateCommandInput, DeleteAssessmentTemplateCommandOutput } from "./commands/DeleteAssessmentTemplateCommand";
17
+ import { DescribeAssessmentRunsCommandInput, DescribeAssessmentRunsCommandOutput } from "./commands/DescribeAssessmentRunsCommand";
18
+ import { DescribeAssessmentTargetsCommandInput, DescribeAssessmentTargetsCommandOutput } from "./commands/DescribeAssessmentTargetsCommand";
19
+ import { DescribeAssessmentTemplatesCommandInput, DescribeAssessmentTemplatesCommandOutput } from "./commands/DescribeAssessmentTemplatesCommand";
20
+ import { DescribeCrossAccountAccessRoleCommandInput, DescribeCrossAccountAccessRoleCommandOutput } from "./commands/DescribeCrossAccountAccessRoleCommand";
21
+ import { DescribeExclusionsCommandInput, DescribeExclusionsCommandOutput } from "./commands/DescribeExclusionsCommand";
22
+ import { DescribeFindingsCommandInput, DescribeFindingsCommandOutput } from "./commands/DescribeFindingsCommand";
23
+ import { DescribeResourceGroupsCommandInput, DescribeResourceGroupsCommandOutput } from "./commands/DescribeResourceGroupsCommand";
24
+ import { DescribeRulesPackagesCommandInput, DescribeRulesPackagesCommandOutput } from "./commands/DescribeRulesPackagesCommand";
25
+ import { GetAssessmentReportCommandInput, GetAssessmentReportCommandOutput } from "./commands/GetAssessmentReportCommand";
26
+ import { GetExclusionsPreviewCommandInput, GetExclusionsPreviewCommandOutput } from "./commands/GetExclusionsPreviewCommand";
27
+ import { GetTelemetryMetadataCommandInput, GetTelemetryMetadataCommandOutput } from "./commands/GetTelemetryMetadataCommand";
28
+ import { ListAssessmentRunAgentsCommandInput, ListAssessmentRunAgentsCommandOutput } from "./commands/ListAssessmentRunAgentsCommand";
29
+ import { ListAssessmentRunsCommandInput, ListAssessmentRunsCommandOutput } from "./commands/ListAssessmentRunsCommand";
30
+ import { ListAssessmentTargetsCommandInput, ListAssessmentTargetsCommandOutput } from "./commands/ListAssessmentTargetsCommand";
31
+ import { ListAssessmentTemplatesCommandInput, ListAssessmentTemplatesCommandOutput } from "./commands/ListAssessmentTemplatesCommand";
32
+ import { ListEventSubscriptionsCommandInput, ListEventSubscriptionsCommandOutput } from "./commands/ListEventSubscriptionsCommand";
33
+ import { ListExclusionsCommandInput, ListExclusionsCommandOutput } from "./commands/ListExclusionsCommand";
34
+ import { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
35
+ import { ListRulesPackagesCommandInput, ListRulesPackagesCommandOutput } from "./commands/ListRulesPackagesCommand";
36
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
37
+ import { PreviewAgentsCommandInput, PreviewAgentsCommandOutput } from "./commands/PreviewAgentsCommand";
38
+ import { RegisterCrossAccountAccessRoleCommandInput, RegisterCrossAccountAccessRoleCommandOutput } from "./commands/RegisterCrossAccountAccessRoleCommand";
39
+ import { RemoveAttributesFromFindingsCommandInput, RemoveAttributesFromFindingsCommandOutput } from "./commands/RemoveAttributesFromFindingsCommand";
40
+ import { SetTagsForResourceCommandInput, SetTagsForResourceCommandOutput } from "./commands/SetTagsForResourceCommand";
41
+ import { StartAssessmentRunCommandInput, StartAssessmentRunCommandOutput } from "./commands/StartAssessmentRunCommand";
42
+ import { StopAssessmentRunCommandInput, StopAssessmentRunCommandOutput } from "./commands/StopAssessmentRunCommand";
43
+ import { SubscribeToEventCommandInput, SubscribeToEventCommandOutput } from "./commands/SubscribeToEventCommand";
44
+ import { UnsubscribeFromEventCommandInput, UnsubscribeFromEventCommandOutput } from "./commands/UnsubscribeFromEventCommand";
45
+ import { UpdateAssessmentTargetCommandInput, UpdateAssessmentTargetCommandOutput } from "./commands/UpdateAssessmentTargetCommand";
46
+ export declare type ServiceInputTypes = AddAttributesToFindingsCommandInput | CreateAssessmentTargetCommandInput | CreateAssessmentTemplateCommandInput | CreateExclusionsPreviewCommandInput | CreateResourceGroupCommandInput | DeleteAssessmentRunCommandInput | DeleteAssessmentTargetCommandInput | DeleteAssessmentTemplateCommandInput | DescribeAssessmentRunsCommandInput | DescribeAssessmentTargetsCommandInput | DescribeAssessmentTemplatesCommandInput | DescribeCrossAccountAccessRoleCommandInput | DescribeExclusionsCommandInput | DescribeFindingsCommandInput | DescribeResourceGroupsCommandInput | DescribeRulesPackagesCommandInput | GetAssessmentReportCommandInput | GetExclusionsPreviewCommandInput | GetTelemetryMetadataCommandInput | ListAssessmentRunAgentsCommandInput | ListAssessmentRunsCommandInput | ListAssessmentTargetsCommandInput | ListAssessmentTemplatesCommandInput | ListEventSubscriptionsCommandInput | ListExclusionsCommandInput | ListFindingsCommandInput | ListRulesPackagesCommandInput | ListTagsForResourceCommandInput | PreviewAgentsCommandInput | RegisterCrossAccountAccessRoleCommandInput | RemoveAttributesFromFindingsCommandInput | SetTagsForResourceCommandInput | StartAssessmentRunCommandInput | StopAssessmentRunCommandInput | SubscribeToEventCommandInput | UnsubscribeFromEventCommandInput | UpdateAssessmentTargetCommandInput;
47
+ export declare type ServiceOutputTypes = AddAttributesToFindingsCommandOutput | CreateAssessmentTargetCommandOutput | CreateAssessmentTemplateCommandOutput | CreateExclusionsPreviewCommandOutput | CreateResourceGroupCommandOutput | DeleteAssessmentRunCommandOutput | DeleteAssessmentTargetCommandOutput | DeleteAssessmentTemplateCommandOutput | DescribeAssessmentRunsCommandOutput | DescribeAssessmentTargetsCommandOutput | DescribeAssessmentTemplatesCommandOutput | DescribeCrossAccountAccessRoleCommandOutput | DescribeExclusionsCommandOutput | DescribeFindingsCommandOutput | DescribeResourceGroupsCommandOutput | DescribeRulesPackagesCommandOutput | GetAssessmentReportCommandOutput | GetExclusionsPreviewCommandOutput | GetTelemetryMetadataCommandOutput | ListAssessmentRunAgentsCommandOutput | ListAssessmentRunsCommandOutput | ListAssessmentTargetsCommandOutput | ListAssessmentTemplatesCommandOutput | ListEventSubscriptionsCommandOutput | ListExclusionsCommandOutput | ListFindingsCommandOutput | ListRulesPackagesCommandOutput | ListTagsForResourceCommandOutput | PreviewAgentsCommandOutput | RegisterCrossAccountAccessRoleCommandOutput | RemoveAttributesFromFindingsCommandOutput | SetTagsForResourceCommandOutput | StartAssessmentRunCommandOutput | StopAssessmentRunCommandOutput | SubscribeToEventCommandOutput | UnsubscribeFromEventCommandOutput | UpdateAssessmentTargetCommandOutput;
48
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
49
+
50
+ requestHandler?: __HttpHandler;
51
+
52
+ sha256?: __HashConstructor;
53
+
54
+ urlParser?: __UrlParser;
55
+
56
+ bodyLengthChecker?: (body: any) => number | undefined;
57
+
58
+ streamCollector?: __StreamCollector;
59
+
60
+ base64Decoder?: __Decoder;
61
+
62
+ base64Encoder?: __Encoder;
63
+
64
+ utf8Decoder?: __Decoder;
65
+
66
+ utf8Encoder?: __Encoder;
67
+
68
+ runtime?: string;
69
+
70
+ disableHostPrefix?: boolean;
71
+
72
+ maxAttempts?: number | __Provider<number>;
73
+
74
+ retryMode?: string | __Provider<string>;
75
+
76
+ logger?: __Logger;
77
+
78
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
79
+
80
+ useFipsEndpoint?: boolean | __Provider<boolean>;
81
+
82
+ serviceId?: string;
83
+
84
+ region?: string | __Provider<string>;
85
+
86
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
87
+
88
+ regionInfoProvider?: RegionInfoProvider;
89
+
90
+ defaultUserAgentProvider?: Provider<__UserAgent>;
91
+
92
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
93
+ }
94
+ declare type InspectorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
95
+
96
+ export interface InspectorClientConfig extends InspectorClientConfigType {
97
+ }
98
+ declare type InspectorClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
99
+
100
+ export interface InspectorClientResolvedConfig extends InspectorClientResolvedConfigType {
101
+ }
102
+
103
+ export declare class InspectorClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, InspectorClientResolvedConfig> {
104
+
105
+ readonly config: InspectorClientResolvedConfig;
106
+ constructor(configuration: InspectorClientConfig);
107
+
108
+ destroy(): void;
109
+ }
110
+ export {};
@@ -0,0 +1,17 @@
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 { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
4
+ import { AddAttributesToFindingsRequest, AddAttributesToFindingsResponse } from "../models/models_0";
5
+ export interface AddAttributesToFindingsCommandInput extends AddAttributesToFindingsRequest {
6
+ }
7
+ export interface AddAttributesToFindingsCommandOutput extends AddAttributesToFindingsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class AddAttributesToFindingsCommand extends $Command<AddAttributesToFindingsCommandInput, AddAttributesToFindingsCommandOutput, InspectorClientResolvedConfig> {
11
+ readonly input: AddAttributesToFindingsCommandInput;
12
+ constructor(input: AddAttributesToFindingsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddAttributesToFindingsCommandInput, AddAttributesToFindingsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }