@aws-sdk/client-inspector 3.296.0 → 3.297.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 (53) hide show
  1. package/dist-types/Inspector.d.ts +38 -0
  2. package/dist-types/InspectorClient.d.ts +24 -4
  3. package/dist-types/commands/AddAttributesToFindingsCommand.d.ts +16 -0
  4. package/dist-types/commands/CreateAssessmentTargetCommand.d.ts +16 -0
  5. package/dist-types/commands/CreateAssessmentTemplateCommand.d.ts +16 -0
  6. package/dist-types/commands/CreateExclusionsPreviewCommand.d.ts +16 -0
  7. package/dist-types/commands/CreateResourceGroupCommand.d.ts +16 -0
  8. package/dist-types/commands/DeleteAssessmentRunCommand.d.ts +16 -0
  9. package/dist-types/commands/DeleteAssessmentTargetCommand.d.ts +16 -0
  10. package/dist-types/commands/DeleteAssessmentTemplateCommand.d.ts +16 -0
  11. package/dist-types/commands/DescribeAssessmentRunsCommand.d.ts +16 -0
  12. package/dist-types/commands/DescribeAssessmentTargetsCommand.d.ts +16 -0
  13. package/dist-types/commands/DescribeAssessmentTemplatesCommand.d.ts +16 -0
  14. package/dist-types/commands/DescribeCrossAccountAccessRoleCommand.d.ts +16 -0
  15. package/dist-types/commands/DescribeExclusionsCommand.d.ts +16 -0
  16. package/dist-types/commands/DescribeFindingsCommand.d.ts +16 -0
  17. package/dist-types/commands/DescribeResourceGroupsCommand.d.ts +16 -0
  18. package/dist-types/commands/DescribeRulesPackagesCommand.d.ts +16 -0
  19. package/dist-types/commands/GetAssessmentReportCommand.d.ts +16 -0
  20. package/dist-types/commands/GetExclusionsPreviewCommand.d.ts +16 -0
  21. package/dist-types/commands/GetTelemetryMetadataCommand.d.ts +16 -0
  22. package/dist-types/commands/ListAssessmentRunAgentsCommand.d.ts +16 -0
  23. package/dist-types/commands/ListAssessmentRunsCommand.d.ts +16 -0
  24. package/dist-types/commands/ListAssessmentTargetsCommand.d.ts +16 -0
  25. package/dist-types/commands/ListAssessmentTemplatesCommand.d.ts +16 -0
  26. package/dist-types/commands/ListEventSubscriptionsCommand.d.ts +16 -0
  27. package/dist-types/commands/ListExclusionsCommand.d.ts +16 -0
  28. package/dist-types/commands/ListFindingsCommand.d.ts +16 -0
  29. package/dist-types/commands/ListRulesPackagesCommand.d.ts +16 -0
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  31. package/dist-types/commands/PreviewAgentsCommand.d.ts +16 -0
  32. package/dist-types/commands/RegisterCrossAccountAccessRoleCommand.d.ts +16 -0
  33. package/dist-types/commands/RemoveAttributesFromFindingsCommand.d.ts +16 -0
  34. package/dist-types/commands/SetTagsForResourceCommand.d.ts +16 -0
  35. package/dist-types/commands/StartAssessmentRunCommand.d.ts +16 -0
  36. package/dist-types/commands/StopAssessmentRunCommand.d.ts +16 -0
  37. package/dist-types/commands/SubscribeToEventCommand.d.ts +16 -0
  38. package/dist-types/commands/UnsubscribeFromEventCommand.d.ts +16 -0
  39. package/dist-types/commands/UpdateAssessmentTargetCommand.d.ts +16 -0
  40. package/dist-types/models/InspectorServiceException.d.ts +2 -0
  41. package/dist-types/models/models_0.d.ts +298 -2
  42. package/dist-types/pagination/GetExclusionsPreviewPaginator.d.ts +3 -0
  43. package/dist-types/pagination/Interfaces.d.ts +3 -0
  44. package/dist-types/pagination/ListAssessmentRunAgentsPaginator.d.ts +3 -0
  45. package/dist-types/pagination/ListAssessmentRunsPaginator.d.ts +3 -0
  46. package/dist-types/pagination/ListAssessmentTargetsPaginator.d.ts +3 -0
  47. package/dist-types/pagination/ListAssessmentTemplatesPaginator.d.ts +3 -0
  48. package/dist-types/pagination/ListEventSubscriptionsPaginator.d.ts +3 -0
  49. package/dist-types/pagination/ListExclusionsPaginator.d.ts +3 -0
  50. package/dist-types/pagination/ListFindingsPaginator.d.ts +3 -0
  51. package/dist-types/pagination/ListRulesPackagesPaginator.d.ts +3 -0
  52. package/dist-types/pagination/PreviewAgentsPaginator.d.ts +3 -0
  53. package/package.json +3 -3
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
5
5
  import { SetTagsForResourceRequest } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link SetTagsForResourceCommand}.
8
10
  */
9
11
  export interface SetTagsForResourceCommandInput extends SetTagsForResourceRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link SetTagsForResourceCommand}.
13
17
  */
14
18
  export interface SetTagsForResourceCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Sets tags (key and value pairs) to the assessment template that is specified by the
18
23
  * ARN of the assessment template.</p>
19
24
  * @example
@@ -26,6 +31,8 @@ export interface SetTagsForResourceCommandOutput extends __MetadataBearer {
26
31
  * const response = await client.send(command);
27
32
  * ```
28
33
  *
34
+ * @param SetTagsForResourceCommandInput - {@link SetTagsForResourceCommandInput}
35
+ * @returns {@link SetTagsForResourceCommandOutput}
29
36
  * @see {@link SetTagsForResourceCommandInput} for command's `input` shape.
30
37
  * @see {@link SetTagsForResourceCommandOutput} for command's `response` shape.
31
38
  * @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
@@ -69,11 +76,20 @@ export interface SetTagsForResourceCommandOutput extends __MetadataBearer {
69
76
  export declare class SetTagsForResourceCommand extends $Command<SetTagsForResourceCommandInput, SetTagsForResourceCommandOutput, InspectorClientResolvedConfig> {
70
77
  readonly input: SetTagsForResourceCommandInput;
71
78
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
+ /**
80
+ * @public
81
+ */
72
82
  constructor(input: SetTagsForResourceCommandInput);
73
83
  /**
74
84
  * @internal
75
85
  */
76
86
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetTagsForResourceCommandInput, SetTagsForResourceCommandOutput>;
87
+ /**
88
+ * @internal
89
+ */
77
90
  private serialize;
91
+ /**
92
+ * @internal
93
+ */
78
94
  private deserialize;
79
95
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
5
5
  import { StartAssessmentRunRequest, StartAssessmentRunResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link StartAssessmentRunCommand}.
8
10
  */
9
11
  export interface StartAssessmentRunCommandInput extends StartAssessmentRunRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link StartAssessmentRunCommand}.
13
17
  */
14
18
  export interface StartAssessmentRunCommandOutput extends StartAssessmentRunResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Starts the assessment run specified by the ARN of the assessment template. For this
18
23
  * API to function properly, you must not exceed the limit of running up to 500 concurrent
19
24
  * agents per AWS account.</p>
@@ -27,6 +32,8 @@ export interface StartAssessmentRunCommandOutput extends StartAssessmentRunRespo
27
32
  * const response = await client.send(command);
28
33
  * ```
29
34
  *
35
+ * @param StartAssessmentRunCommandInput - {@link StartAssessmentRunCommandInput}
36
+ * @returns {@link StartAssessmentRunCommandOutput}
30
37
  * @see {@link StartAssessmentRunCommandInput} for command's `input` shape.
31
38
  * @see {@link StartAssessmentRunCommandOutput} for command's `response` shape.
32
39
  * @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
@@ -82,11 +89,20 @@ export interface StartAssessmentRunCommandOutput extends StartAssessmentRunRespo
82
89
  export declare class StartAssessmentRunCommand extends $Command<StartAssessmentRunCommandInput, StartAssessmentRunCommandOutput, InspectorClientResolvedConfig> {
83
90
  readonly input: StartAssessmentRunCommandInput;
84
91
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
92
+ /**
93
+ * @public
94
+ */
85
95
  constructor(input: StartAssessmentRunCommandInput);
86
96
  /**
87
97
  * @internal
88
98
  */
89
99
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartAssessmentRunCommandInput, StartAssessmentRunCommandOutput>;
100
+ /**
101
+ * @internal
102
+ */
90
103
  private serialize;
104
+ /**
105
+ * @internal
106
+ */
91
107
  private deserialize;
92
108
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
5
5
  import { StopAssessmentRunRequest } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link StopAssessmentRunCommand}.
8
10
  */
9
11
  export interface StopAssessmentRunCommandInput extends StopAssessmentRunRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link StopAssessmentRunCommand}.
13
17
  */
14
18
  export interface StopAssessmentRunCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Stops the assessment run that is specified by the ARN of the assessment
18
23
  * run.</p>
19
24
  * @example
@@ -26,6 +31,8 @@ export interface StopAssessmentRunCommandOutput extends __MetadataBearer {
26
31
  * const response = await client.send(command);
27
32
  * ```
28
33
  *
34
+ * @param StopAssessmentRunCommandInput - {@link StopAssessmentRunCommandInput}
35
+ * @returns {@link StopAssessmentRunCommandOutput}
29
36
  * @see {@link StopAssessmentRunCommandInput} for command's `input` shape.
30
37
  * @see {@link StopAssessmentRunCommandOutput} for command's `response` shape.
31
38
  * @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
@@ -63,11 +70,20 @@ export interface StopAssessmentRunCommandOutput extends __MetadataBearer {
63
70
  export declare class StopAssessmentRunCommand extends $Command<StopAssessmentRunCommandInput, StopAssessmentRunCommandOutput, InspectorClientResolvedConfig> {
64
71
  readonly input: StopAssessmentRunCommandInput;
65
72
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
+ /**
74
+ * @public
75
+ */
66
76
  constructor(input: StopAssessmentRunCommandInput);
67
77
  /**
68
78
  * @internal
69
79
  */
70
80
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopAssessmentRunCommandInput, StopAssessmentRunCommandOutput>;
81
+ /**
82
+ * @internal
83
+ */
71
84
  private serialize;
85
+ /**
86
+ * @internal
87
+ */
72
88
  private deserialize;
73
89
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
5
5
  import { SubscribeToEventRequest } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link SubscribeToEventCommand}.
8
10
  */
9
11
  export interface SubscribeToEventCommandInput extends SubscribeToEventRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link SubscribeToEventCommand}.
13
17
  */
14
18
  export interface SubscribeToEventCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Enables the process of sending Amazon Simple Notification Service (SNS) notifications
18
23
  * about a specified event to a specified SNS topic.</p>
19
24
  * @example
@@ -26,6 +31,8 @@ export interface SubscribeToEventCommandOutput extends __MetadataBearer {
26
31
  * const response = await client.send(command);
27
32
  * ```
28
33
  *
34
+ * @param SubscribeToEventCommandInput - {@link SubscribeToEventCommandInput}
35
+ * @returns {@link SubscribeToEventCommandOutput}
29
36
  * @see {@link SubscribeToEventCommandInput} for command's `input` shape.
30
37
  * @see {@link SubscribeToEventCommandOutput} for command's `response` shape.
31
38
  * @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
@@ -69,11 +76,20 @@ export interface SubscribeToEventCommandOutput extends __MetadataBearer {
69
76
  export declare class SubscribeToEventCommand extends $Command<SubscribeToEventCommandInput, SubscribeToEventCommandOutput, InspectorClientResolvedConfig> {
70
77
  readonly input: SubscribeToEventCommandInput;
71
78
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
+ /**
80
+ * @public
81
+ */
72
82
  constructor(input: SubscribeToEventCommandInput);
73
83
  /**
74
84
  * @internal
75
85
  */
76
86
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SubscribeToEventCommandInput, SubscribeToEventCommandOutput>;
87
+ /**
88
+ * @internal
89
+ */
77
90
  private serialize;
91
+ /**
92
+ * @internal
93
+ */
78
94
  private deserialize;
79
95
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
5
5
  import { UnsubscribeFromEventRequest } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UnsubscribeFromEventCommand}.
8
10
  */
9
11
  export interface UnsubscribeFromEventCommandInput extends UnsubscribeFromEventRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UnsubscribeFromEventCommand}.
13
17
  */
14
18
  export interface UnsubscribeFromEventCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Disables the process of sending Amazon Simple Notification Service (SNS)
18
23
  * notifications about a specified event to a specified SNS topic.</p>
19
24
  * @example
@@ -26,6 +31,8 @@ export interface UnsubscribeFromEventCommandOutput extends __MetadataBearer {
26
31
  * const response = await client.send(command);
27
32
  * ```
28
33
  *
34
+ * @param UnsubscribeFromEventCommandInput - {@link UnsubscribeFromEventCommandInput}
35
+ * @returns {@link UnsubscribeFromEventCommandOutput}
29
36
  * @see {@link UnsubscribeFromEventCommandInput} for command's `input` shape.
30
37
  * @see {@link UnsubscribeFromEventCommandOutput} for command's `response` shape.
31
38
  * @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
@@ -65,11 +72,20 @@ export interface UnsubscribeFromEventCommandOutput extends __MetadataBearer {
65
72
  export declare class UnsubscribeFromEventCommand extends $Command<UnsubscribeFromEventCommandInput, UnsubscribeFromEventCommandOutput, InspectorClientResolvedConfig> {
66
73
  readonly input: UnsubscribeFromEventCommandInput;
67
74
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
75
+ /**
76
+ * @public
77
+ */
68
78
  constructor(input: UnsubscribeFromEventCommandInput);
69
79
  /**
70
80
  * @internal
71
81
  */
72
82
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UnsubscribeFromEventCommandInput, UnsubscribeFromEventCommandOutput>;
83
+ /**
84
+ * @internal
85
+ */
73
86
  private serialize;
87
+ /**
88
+ * @internal
89
+ */
74
90
  private deserialize;
75
91
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
5
5
  import { UpdateAssessmentTargetRequest } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateAssessmentTargetCommand}.
8
10
  */
9
11
  export interface UpdateAssessmentTargetCommandInput extends UpdateAssessmentTargetRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateAssessmentTargetCommand}.
13
17
  */
14
18
  export interface UpdateAssessmentTargetCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Updates the assessment target that is specified by the ARN of the assessment
18
23
  * target.</p>
19
24
  * <p>If resourceGroupArn is not specified, all EC2 instances in the current AWS account
@@ -28,6 +33,8 @@ export interface UpdateAssessmentTargetCommandOutput extends __MetadataBearer {
28
33
  * const response = await client.send(command);
29
34
  * ```
30
35
  *
36
+ * @param UpdateAssessmentTargetCommandInput - {@link UpdateAssessmentTargetCommandInput}
37
+ * @returns {@link UpdateAssessmentTargetCommandOutput}
31
38
  * @see {@link UpdateAssessmentTargetCommandInput} for command's `input` shape.
32
39
  * @see {@link UpdateAssessmentTargetCommandOutput} for command's `response` shape.
33
40
  * @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
@@ -67,11 +74,20 @@ export interface UpdateAssessmentTargetCommandOutput extends __MetadataBearer {
67
74
  export declare class UpdateAssessmentTargetCommand extends $Command<UpdateAssessmentTargetCommandInput, UpdateAssessmentTargetCommandOutput, InspectorClientResolvedConfig> {
68
75
  readonly input: UpdateAssessmentTargetCommandInput;
69
76
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
+ /**
78
+ * @public
79
+ */
70
80
  constructor(input: UpdateAssessmentTargetCommandInput);
71
81
  /**
72
82
  * @internal
73
83
  */
74
84
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAssessmentTargetCommandInput, UpdateAssessmentTargetCommandOutput>;
85
+ /**
86
+ * @internal
87
+ */
75
88
  private serialize;
89
+ /**
90
+ * @internal
91
+ */
76
92
  private deserialize;
77
93
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from Inspector service.
4
6
  */
5
7
  export declare class InspectorServiceException extends __ServiceException {