@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.
- package/dist-types/Inspector.d.ts +38 -0
- package/dist-types/InspectorClient.d.ts +24 -4
- package/dist-types/commands/AddAttributesToFindingsCommand.d.ts +16 -0
- package/dist-types/commands/CreateAssessmentTargetCommand.d.ts +16 -0
- package/dist-types/commands/CreateAssessmentTemplateCommand.d.ts +16 -0
- package/dist-types/commands/CreateExclusionsPreviewCommand.d.ts +16 -0
- package/dist-types/commands/CreateResourceGroupCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAssessmentRunCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAssessmentTargetCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAssessmentTemplateCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAssessmentRunsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAssessmentTargetsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAssessmentTemplatesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeCrossAccountAccessRoleCommand.d.ts +16 -0
- package/dist-types/commands/DescribeExclusionsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeFindingsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeResourceGroupsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRulesPackagesCommand.d.ts +16 -0
- package/dist-types/commands/GetAssessmentReportCommand.d.ts +16 -0
- package/dist-types/commands/GetExclusionsPreviewCommand.d.ts +16 -0
- package/dist-types/commands/GetTelemetryMetadataCommand.d.ts +16 -0
- package/dist-types/commands/ListAssessmentRunAgentsCommand.d.ts +16 -0
- package/dist-types/commands/ListAssessmentRunsCommand.d.ts +16 -0
- package/dist-types/commands/ListAssessmentTargetsCommand.d.ts +16 -0
- package/dist-types/commands/ListAssessmentTemplatesCommand.d.ts +16 -0
- package/dist-types/commands/ListEventSubscriptionsCommand.d.ts +16 -0
- package/dist-types/commands/ListExclusionsCommand.d.ts +16 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +16 -0
- package/dist-types/commands/ListRulesPackagesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/PreviewAgentsCommand.d.ts +16 -0
- package/dist-types/commands/RegisterCrossAccountAccessRoleCommand.d.ts +16 -0
- package/dist-types/commands/RemoveAttributesFromFindingsCommand.d.ts +16 -0
- package/dist-types/commands/SetTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/StartAssessmentRunCommand.d.ts +16 -0
- package/dist-types/commands/StopAssessmentRunCommand.d.ts +16 -0
- package/dist-types/commands/SubscribeToEventCommand.d.ts +16 -0
- package/dist-types/commands/UnsubscribeFromEventCommand.d.ts +16 -0
- package/dist-types/commands/UpdateAssessmentTargetCommand.d.ts +16 -0
- package/dist-types/models/InspectorServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +298 -2
- package/dist-types/pagination/GetExclusionsPreviewPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListAssessmentRunAgentsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAssessmentRunsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAssessmentTargetsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAssessmentTemplatesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListEventSubscriptionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListExclusionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListFindingsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListRulesPackagesPaginator.d.ts +3 -0
- package/dist-types/pagination/PreviewAgentsPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -38,6 +38,7 @@ import { UnsubscribeFromEventCommandInput, UnsubscribeFromEventCommandOutput } f
|
|
|
38
38
|
import { UpdateAssessmentTargetCommandInput, UpdateAssessmentTargetCommandOutput } from "./commands/UpdateAssessmentTargetCommand";
|
|
39
39
|
import { InspectorClient } from "./InspectorClient";
|
|
40
40
|
/**
|
|
41
|
+
* @public
|
|
41
42
|
* <fullname>Amazon Inspector</fullname>
|
|
42
43
|
* <p>Amazon Inspector enables you to analyze the behavior of your AWS resources and to
|
|
43
44
|
* identify potential security issues. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_introduction.html"> Amazon Inspector User
|
|
@@ -45,6 +46,7 @@ import { InspectorClient } from "./InspectorClient";
|
|
|
45
46
|
*/
|
|
46
47
|
export declare class Inspector extends InspectorClient {
|
|
47
48
|
/**
|
|
49
|
+
* @public
|
|
48
50
|
* <p>Assigns attributes (key and value pairs) to the findings that are specified by the
|
|
49
51
|
* ARNs of the findings.</p>
|
|
50
52
|
*/
|
|
@@ -52,6 +54,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
52
54
|
addAttributesToFindings(args: AddAttributesToFindingsCommandInput, cb: (err: any, data?: AddAttributesToFindingsCommandOutput) => void): void;
|
|
53
55
|
addAttributesToFindings(args: AddAttributesToFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddAttributesToFindingsCommandOutput) => void): void;
|
|
54
56
|
/**
|
|
57
|
+
* @public
|
|
55
58
|
* <p>Creates a new assessment target using the ARN of the resource group that is generated
|
|
56
59
|
* by <a>CreateResourceGroup</a>. If resourceGroupArn is not specified, all EC2
|
|
57
60
|
* instances in the current AWS account and region are included in the assessment target. If
|
|
@@ -65,6 +68,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
65
68
|
createAssessmentTarget(args: CreateAssessmentTargetCommandInput, cb: (err: any, data?: CreateAssessmentTargetCommandOutput) => void): void;
|
|
66
69
|
createAssessmentTarget(args: CreateAssessmentTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssessmentTargetCommandOutput) => void): void;
|
|
67
70
|
/**
|
|
71
|
+
* @public
|
|
68
72
|
* <p>Creates an assessment template for the assessment target that is specified by the ARN
|
|
69
73
|
* of the assessment target. If the <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_slr.html">service-linked role</a> isn’t already registered, this action also creates and
|
|
70
74
|
* registers a service-linked role to grant Amazon Inspector access to AWS Services needed to
|
|
@@ -74,6 +78,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
74
78
|
createAssessmentTemplate(args: CreateAssessmentTemplateCommandInput, cb: (err: any, data?: CreateAssessmentTemplateCommandOutput) => void): void;
|
|
75
79
|
createAssessmentTemplate(args: CreateAssessmentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssessmentTemplateCommandOutput) => void): void;
|
|
76
80
|
/**
|
|
81
|
+
* @public
|
|
77
82
|
* <p>Starts the generation of an exclusions preview for the specified assessment template.
|
|
78
83
|
* The exclusions preview lists the potential exclusions (ExclusionPreview) that Inspector can
|
|
79
84
|
* detect before it runs the assessment. </p>
|
|
@@ -82,6 +87,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
82
87
|
createExclusionsPreview(args: CreateExclusionsPreviewCommandInput, cb: (err: any, data?: CreateExclusionsPreviewCommandOutput) => void): void;
|
|
83
88
|
createExclusionsPreview(args: CreateExclusionsPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExclusionsPreviewCommandOutput) => void): void;
|
|
84
89
|
/**
|
|
90
|
+
* @public
|
|
85
91
|
* <p>Creates a resource group using the specified set of tags (key and value pairs) that
|
|
86
92
|
* are used to select the EC2 instances to be included in an Amazon Inspector assessment
|
|
87
93
|
* target. The created resource group is then used to create an Amazon Inspector assessment
|
|
@@ -91,6 +97,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
91
97
|
createResourceGroup(args: CreateResourceGroupCommandInput, cb: (err: any, data?: CreateResourceGroupCommandOutput) => void): void;
|
|
92
98
|
createResourceGroup(args: CreateResourceGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourceGroupCommandOutput) => void): void;
|
|
93
99
|
/**
|
|
100
|
+
* @public
|
|
94
101
|
* <p>Deletes the assessment run that is specified by the ARN of the assessment
|
|
95
102
|
* run.</p>
|
|
96
103
|
*/
|
|
@@ -98,6 +105,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
98
105
|
deleteAssessmentRun(args: DeleteAssessmentRunCommandInput, cb: (err: any, data?: DeleteAssessmentRunCommandOutput) => void): void;
|
|
99
106
|
deleteAssessmentRun(args: DeleteAssessmentRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssessmentRunCommandOutput) => void): void;
|
|
100
107
|
/**
|
|
108
|
+
* @public
|
|
101
109
|
* <p>Deletes the assessment target that is specified by the ARN of the assessment
|
|
102
110
|
* target.</p>
|
|
103
111
|
*/
|
|
@@ -105,6 +113,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
105
113
|
deleteAssessmentTarget(args: DeleteAssessmentTargetCommandInput, cb: (err: any, data?: DeleteAssessmentTargetCommandOutput) => void): void;
|
|
106
114
|
deleteAssessmentTarget(args: DeleteAssessmentTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssessmentTargetCommandOutput) => void): void;
|
|
107
115
|
/**
|
|
116
|
+
* @public
|
|
108
117
|
* <p>Deletes the assessment template that is specified by the ARN of the assessment
|
|
109
118
|
* template.</p>
|
|
110
119
|
*/
|
|
@@ -112,6 +121,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
112
121
|
deleteAssessmentTemplate(args: DeleteAssessmentTemplateCommandInput, cb: (err: any, data?: DeleteAssessmentTemplateCommandOutput) => void): void;
|
|
113
122
|
deleteAssessmentTemplate(args: DeleteAssessmentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssessmentTemplateCommandOutput) => void): void;
|
|
114
123
|
/**
|
|
124
|
+
* @public
|
|
115
125
|
* <p>Describes the assessment runs that are specified by the ARNs of the assessment
|
|
116
126
|
* runs.</p>
|
|
117
127
|
*/
|
|
@@ -119,6 +129,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
119
129
|
describeAssessmentRuns(args: DescribeAssessmentRunsCommandInput, cb: (err: any, data?: DescribeAssessmentRunsCommandOutput) => void): void;
|
|
120
130
|
describeAssessmentRuns(args: DescribeAssessmentRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAssessmentRunsCommandOutput) => void): void;
|
|
121
131
|
/**
|
|
132
|
+
* @public
|
|
122
133
|
* <p>Describes the assessment targets that are specified by the ARNs of the assessment
|
|
123
134
|
* targets.</p>
|
|
124
135
|
*/
|
|
@@ -126,6 +137,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
126
137
|
describeAssessmentTargets(args: DescribeAssessmentTargetsCommandInput, cb: (err: any, data?: DescribeAssessmentTargetsCommandOutput) => void): void;
|
|
127
138
|
describeAssessmentTargets(args: DescribeAssessmentTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAssessmentTargetsCommandOutput) => void): void;
|
|
128
139
|
/**
|
|
140
|
+
* @public
|
|
129
141
|
* <p>Describes the assessment templates that are specified by the ARNs of the assessment
|
|
130
142
|
* templates.</p>
|
|
131
143
|
*/
|
|
@@ -133,6 +145,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
133
145
|
describeAssessmentTemplates(args: DescribeAssessmentTemplatesCommandInput, cb: (err: any, data?: DescribeAssessmentTemplatesCommandOutput) => void): void;
|
|
134
146
|
describeAssessmentTemplates(args: DescribeAssessmentTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAssessmentTemplatesCommandOutput) => void): void;
|
|
135
147
|
/**
|
|
148
|
+
* @public
|
|
136
149
|
* <p>Describes the IAM role that enables Amazon Inspector to access your AWS
|
|
137
150
|
* account.</p>
|
|
138
151
|
*/
|
|
@@ -140,18 +153,21 @@ export declare class Inspector extends InspectorClient {
|
|
|
140
153
|
describeCrossAccountAccessRole(args: DescribeCrossAccountAccessRoleCommandInput, cb: (err: any, data?: DescribeCrossAccountAccessRoleCommandOutput) => void): void;
|
|
141
154
|
describeCrossAccountAccessRole(args: DescribeCrossAccountAccessRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCrossAccountAccessRoleCommandOutput) => void): void;
|
|
142
155
|
/**
|
|
156
|
+
* @public
|
|
143
157
|
* <p>Describes the exclusions that are specified by the exclusions' ARNs.</p>
|
|
144
158
|
*/
|
|
145
159
|
describeExclusions(args: DescribeExclusionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeExclusionsCommandOutput>;
|
|
146
160
|
describeExclusions(args: DescribeExclusionsCommandInput, cb: (err: any, data?: DescribeExclusionsCommandOutput) => void): void;
|
|
147
161
|
describeExclusions(args: DescribeExclusionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExclusionsCommandOutput) => void): void;
|
|
148
162
|
/**
|
|
163
|
+
* @public
|
|
149
164
|
* <p>Describes the findings that are specified by the ARNs of the findings.</p>
|
|
150
165
|
*/
|
|
151
166
|
describeFindings(args: DescribeFindingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFindingsCommandOutput>;
|
|
152
167
|
describeFindings(args: DescribeFindingsCommandInput, cb: (err: any, data?: DescribeFindingsCommandOutput) => void): void;
|
|
153
168
|
describeFindings(args: DescribeFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFindingsCommandOutput) => void): void;
|
|
154
169
|
/**
|
|
170
|
+
* @public
|
|
155
171
|
* <p>Describes the resource groups that are specified by the ARNs of the resource
|
|
156
172
|
* groups.</p>
|
|
157
173
|
*/
|
|
@@ -159,6 +175,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
159
175
|
describeResourceGroups(args: DescribeResourceGroupsCommandInput, cb: (err: any, data?: DescribeResourceGroupsCommandOutput) => void): void;
|
|
160
176
|
describeResourceGroups(args: DescribeResourceGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResourceGroupsCommandOutput) => void): void;
|
|
161
177
|
/**
|
|
178
|
+
* @public
|
|
162
179
|
* <p>Describes the rules packages that are specified by the ARNs of the rules
|
|
163
180
|
* packages.</p>
|
|
164
181
|
*/
|
|
@@ -166,6 +183,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
166
183
|
describeRulesPackages(args: DescribeRulesPackagesCommandInput, cb: (err: any, data?: DescribeRulesPackagesCommandOutput) => void): void;
|
|
167
184
|
describeRulesPackages(args: DescribeRulesPackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRulesPackagesCommandOutput) => void): void;
|
|
168
185
|
/**
|
|
186
|
+
* @public
|
|
169
187
|
* <p>Produces an assessment report that includes detailed and comprehensive results of a
|
|
170
188
|
* specified assessment run. </p>
|
|
171
189
|
*/
|
|
@@ -173,6 +191,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
173
191
|
getAssessmentReport(args: GetAssessmentReportCommandInput, cb: (err: any, data?: GetAssessmentReportCommandOutput) => void): void;
|
|
174
192
|
getAssessmentReport(args: GetAssessmentReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssessmentReportCommandOutput) => void): void;
|
|
175
193
|
/**
|
|
194
|
+
* @public
|
|
176
195
|
* <p>Retrieves the exclusions preview (a list of ExclusionPreview objects) specified by
|
|
177
196
|
* the preview token. You can obtain the preview token by running the CreateExclusionsPreview
|
|
178
197
|
* API.</p>
|
|
@@ -181,6 +200,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
181
200
|
getExclusionsPreview(args: GetExclusionsPreviewCommandInput, cb: (err: any, data?: GetExclusionsPreviewCommandOutput) => void): void;
|
|
182
201
|
getExclusionsPreview(args: GetExclusionsPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExclusionsPreviewCommandOutput) => void): void;
|
|
183
202
|
/**
|
|
203
|
+
* @public
|
|
184
204
|
* <p>Information about the data that is collected for the specified assessment
|
|
185
205
|
* run.</p>
|
|
186
206
|
*/
|
|
@@ -188,6 +208,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
188
208
|
getTelemetryMetadata(args: GetTelemetryMetadataCommandInput, cb: (err: any, data?: GetTelemetryMetadataCommandOutput) => void): void;
|
|
189
209
|
getTelemetryMetadata(args: GetTelemetryMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTelemetryMetadataCommandOutput) => void): void;
|
|
190
210
|
/**
|
|
211
|
+
* @public
|
|
191
212
|
* <p>Lists the agents of the assessment runs that are specified by the ARNs of the
|
|
192
213
|
* assessment runs.</p>
|
|
193
214
|
*/
|
|
@@ -195,6 +216,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
195
216
|
listAssessmentRunAgents(args: ListAssessmentRunAgentsCommandInput, cb: (err: any, data?: ListAssessmentRunAgentsCommandOutput) => void): void;
|
|
196
217
|
listAssessmentRunAgents(args: ListAssessmentRunAgentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentRunAgentsCommandOutput) => void): void;
|
|
197
218
|
/**
|
|
219
|
+
* @public
|
|
198
220
|
* <p>Lists the assessment runs that correspond to the assessment templates that are
|
|
199
221
|
* specified by the ARNs of the assessment templates.</p>
|
|
200
222
|
*/
|
|
@@ -202,6 +224,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
202
224
|
listAssessmentRuns(args: ListAssessmentRunsCommandInput, cb: (err: any, data?: ListAssessmentRunsCommandOutput) => void): void;
|
|
203
225
|
listAssessmentRuns(args: ListAssessmentRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentRunsCommandOutput) => void): void;
|
|
204
226
|
/**
|
|
227
|
+
* @public
|
|
205
228
|
* <p>Lists the ARNs of the assessment targets within this AWS account. For more
|
|
206
229
|
* information about assessment targets, see <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_applications.html">Amazon Inspector Assessment
|
|
207
230
|
* Targets</a>.</p>
|
|
@@ -210,6 +233,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
210
233
|
listAssessmentTargets(args: ListAssessmentTargetsCommandInput, cb: (err: any, data?: ListAssessmentTargetsCommandOutput) => void): void;
|
|
211
234
|
listAssessmentTargets(args: ListAssessmentTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentTargetsCommandOutput) => void): void;
|
|
212
235
|
/**
|
|
236
|
+
* @public
|
|
213
237
|
* <p>Lists the assessment templates that correspond to the assessment targets that are
|
|
214
238
|
* specified by the ARNs of the assessment targets.</p>
|
|
215
239
|
*/
|
|
@@ -217,6 +241,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
217
241
|
listAssessmentTemplates(args: ListAssessmentTemplatesCommandInput, cb: (err: any, data?: ListAssessmentTemplatesCommandOutput) => void): void;
|
|
218
242
|
listAssessmentTemplates(args: ListAssessmentTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentTemplatesCommandOutput) => void): void;
|
|
219
243
|
/**
|
|
244
|
+
* @public
|
|
220
245
|
* <p>Lists all the event subscriptions for the assessment template that is specified by
|
|
221
246
|
* the ARN of the assessment template. For more information, see <a>SubscribeToEvent</a> and <a>UnsubscribeFromEvent</a>.</p>
|
|
222
247
|
*/
|
|
@@ -224,12 +249,14 @@ export declare class Inspector extends InspectorClient {
|
|
|
224
249
|
listEventSubscriptions(args: ListEventSubscriptionsCommandInput, cb: (err: any, data?: ListEventSubscriptionsCommandOutput) => void): void;
|
|
225
250
|
listEventSubscriptions(args: ListEventSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventSubscriptionsCommandOutput) => void): void;
|
|
226
251
|
/**
|
|
252
|
+
* @public
|
|
227
253
|
* <p>List exclusions that are generated by the assessment run.</p>
|
|
228
254
|
*/
|
|
229
255
|
listExclusions(args: ListExclusionsCommandInput, options?: __HttpHandlerOptions): Promise<ListExclusionsCommandOutput>;
|
|
230
256
|
listExclusions(args: ListExclusionsCommandInput, cb: (err: any, data?: ListExclusionsCommandOutput) => void): void;
|
|
231
257
|
listExclusions(args: ListExclusionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExclusionsCommandOutput) => void): void;
|
|
232
258
|
/**
|
|
259
|
+
* @public
|
|
233
260
|
* <p>Lists findings that are generated by the assessment runs that are specified by the
|
|
234
261
|
* ARNs of the assessment runs.</p>
|
|
235
262
|
*/
|
|
@@ -237,18 +264,21 @@ export declare class Inspector extends InspectorClient {
|
|
|
237
264
|
listFindings(args: ListFindingsCommandInput, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
|
|
238
265
|
listFindings(args: ListFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
|
|
239
266
|
/**
|
|
267
|
+
* @public
|
|
240
268
|
* <p>Lists all available Amazon Inspector rules packages.</p>
|
|
241
269
|
*/
|
|
242
270
|
listRulesPackages(args: ListRulesPackagesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesPackagesCommandOutput>;
|
|
243
271
|
listRulesPackages(args: ListRulesPackagesCommandInput, cb: (err: any, data?: ListRulesPackagesCommandOutput) => void): void;
|
|
244
272
|
listRulesPackages(args: ListRulesPackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesPackagesCommandOutput) => void): void;
|
|
245
273
|
/**
|
|
274
|
+
* @public
|
|
246
275
|
* <p>Lists all tags associated with an assessment template.</p>
|
|
247
276
|
*/
|
|
248
277
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
249
278
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
250
279
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
251
280
|
/**
|
|
281
|
+
* @public
|
|
252
282
|
* <p>Previews the agents installed on the EC2 instances that are part of the specified
|
|
253
283
|
* assessment target.</p>
|
|
254
284
|
*/
|
|
@@ -256,6 +286,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
256
286
|
previewAgents(args: PreviewAgentsCommandInput, cb: (err: any, data?: PreviewAgentsCommandOutput) => void): void;
|
|
257
287
|
previewAgents(args: PreviewAgentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PreviewAgentsCommandOutput) => void): void;
|
|
258
288
|
/**
|
|
289
|
+
* @public
|
|
259
290
|
* <p>Registers the IAM role that grants Amazon Inspector access to AWS Services needed to
|
|
260
291
|
* perform security assessments.</p>
|
|
261
292
|
*/
|
|
@@ -263,6 +294,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
263
294
|
registerCrossAccountAccessRole(args: RegisterCrossAccountAccessRoleCommandInput, cb: (err: any, data?: RegisterCrossAccountAccessRoleCommandOutput) => void): void;
|
|
264
295
|
registerCrossAccountAccessRole(args: RegisterCrossAccountAccessRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterCrossAccountAccessRoleCommandOutput) => void): void;
|
|
265
296
|
/**
|
|
297
|
+
* @public
|
|
266
298
|
* <p>Removes entire attributes (key and value pairs) from the findings that are specified
|
|
267
299
|
* by the ARNs of the findings where an attribute with the specified key exists.</p>
|
|
268
300
|
*/
|
|
@@ -270,6 +302,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
270
302
|
removeAttributesFromFindings(args: RemoveAttributesFromFindingsCommandInput, cb: (err: any, data?: RemoveAttributesFromFindingsCommandOutput) => void): void;
|
|
271
303
|
removeAttributesFromFindings(args: RemoveAttributesFromFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveAttributesFromFindingsCommandOutput) => void): void;
|
|
272
304
|
/**
|
|
305
|
+
* @public
|
|
273
306
|
* <p>Sets tags (key and value pairs) to the assessment template that is specified by the
|
|
274
307
|
* ARN of the assessment template.</p>
|
|
275
308
|
*/
|
|
@@ -277,6 +310,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
277
310
|
setTagsForResource(args: SetTagsForResourceCommandInput, cb: (err: any, data?: SetTagsForResourceCommandOutput) => void): void;
|
|
278
311
|
setTagsForResource(args: SetTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetTagsForResourceCommandOutput) => void): void;
|
|
279
312
|
/**
|
|
313
|
+
* @public
|
|
280
314
|
* <p>Starts the assessment run specified by the ARN of the assessment template. For this
|
|
281
315
|
* API to function properly, you must not exceed the limit of running up to 500 concurrent
|
|
282
316
|
* agents per AWS account.</p>
|
|
@@ -285,6 +319,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
285
319
|
startAssessmentRun(args: StartAssessmentRunCommandInput, cb: (err: any, data?: StartAssessmentRunCommandOutput) => void): void;
|
|
286
320
|
startAssessmentRun(args: StartAssessmentRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAssessmentRunCommandOutput) => void): void;
|
|
287
321
|
/**
|
|
322
|
+
* @public
|
|
288
323
|
* <p>Stops the assessment run that is specified by the ARN of the assessment
|
|
289
324
|
* run.</p>
|
|
290
325
|
*/
|
|
@@ -292,6 +327,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
292
327
|
stopAssessmentRun(args: StopAssessmentRunCommandInput, cb: (err: any, data?: StopAssessmentRunCommandOutput) => void): void;
|
|
293
328
|
stopAssessmentRun(args: StopAssessmentRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopAssessmentRunCommandOutput) => void): void;
|
|
294
329
|
/**
|
|
330
|
+
* @public
|
|
295
331
|
* <p>Enables the process of sending Amazon Simple Notification Service (SNS) notifications
|
|
296
332
|
* about a specified event to a specified SNS topic.</p>
|
|
297
333
|
*/
|
|
@@ -299,6 +335,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
299
335
|
subscribeToEvent(args: SubscribeToEventCommandInput, cb: (err: any, data?: SubscribeToEventCommandOutput) => void): void;
|
|
300
336
|
subscribeToEvent(args: SubscribeToEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubscribeToEventCommandOutput) => void): void;
|
|
301
337
|
/**
|
|
338
|
+
* @public
|
|
302
339
|
* <p>Disables the process of sending Amazon Simple Notification Service (SNS)
|
|
303
340
|
* notifications about a specified event to a specified SNS topic.</p>
|
|
304
341
|
*/
|
|
@@ -306,6 +343,7 @@ export declare class Inspector extends InspectorClient {
|
|
|
306
343
|
unsubscribeFromEvent(args: UnsubscribeFromEventCommandInput, cb: (err: any, data?: UnsubscribeFromEventCommandOutput) => void): void;
|
|
307
344
|
unsubscribeFromEvent(args: UnsubscribeFromEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeFromEventCommandOutput) => void): void;
|
|
308
345
|
/**
|
|
346
|
+
* @public
|
|
309
347
|
* <p>Updates the assessment target that is specified by the ARN of the assessment
|
|
310
348
|
* target.</p>
|
|
311
349
|
* <p>If resourceGroupArn is not specified, all EC2 instances in the current AWS account
|
|
@@ -45,15 +45,24 @@ import { SubscribeToEventCommandInput, SubscribeToEventCommandOutput } from "./c
|
|
|
45
45
|
import { UnsubscribeFromEventCommandInput, UnsubscribeFromEventCommandOutput } from "./commands/UnsubscribeFromEventCommand";
|
|
46
46
|
import { UpdateAssessmentTargetCommandInput, UpdateAssessmentTargetCommandOutput } from "./commands/UpdateAssessmentTargetCommand";
|
|
47
47
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
48
51
|
export 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;
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
49
55
|
export 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;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
50
59
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
51
60
|
/**
|
|
52
61
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
53
62
|
*/
|
|
54
63
|
requestHandler?: __HttpHandler;
|
|
55
64
|
/**
|
|
56
|
-
* A constructor for a class implementing the {@link
|
|
65
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
57
66
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
58
67
|
* @internal
|
|
59
68
|
*/
|
|
@@ -143,23 +152,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
143
152
|
*/
|
|
144
153
|
logger?: __Logger;
|
|
145
154
|
/**
|
|
146
|
-
* The {@link
|
|
155
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
147
156
|
*/
|
|
148
157
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
149
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
150
162
|
type InspectorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
151
163
|
/**
|
|
152
|
-
*
|
|
164
|
+
* @public
|
|
165
|
+
*
|
|
166
|
+
* The configuration interface of InspectorClient class constructor that set the region, credentials and other options.
|
|
153
167
|
*/
|
|
154
168
|
export interface InspectorClientConfig extends InspectorClientConfigType {
|
|
155
169
|
}
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
156
173
|
type InspectorClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
157
174
|
/**
|
|
158
|
-
*
|
|
175
|
+
* @public
|
|
176
|
+
*
|
|
177
|
+
* The resolved configuration interface of InspectorClient class. This is resolved and normalized from the {@link InspectorClientConfig | constructor configuration interface}.
|
|
159
178
|
*/
|
|
160
179
|
export interface InspectorClientResolvedConfig extends InspectorClientResolvedConfigType {
|
|
161
180
|
}
|
|
162
181
|
/**
|
|
182
|
+
* @public
|
|
163
183
|
* <fullname>Amazon Inspector</fullname>
|
|
164
184
|
* <p>Amazon Inspector enables you to analyze the behavior of your AWS resources and to
|
|
165
185
|
* identify potential security issues. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_introduction.html"> Amazon Inspector User
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
|
|
5
5
|
import { AddAttributesToFindingsRequest, AddAttributesToFindingsResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AddAttributesToFindingsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AddAttributesToFindingsCommandInput extends AddAttributesToFindingsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AddAttributesToFindingsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AddAttributesToFindingsCommandOutput extends AddAttributesToFindingsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Assigns attributes (key and value pairs) to the findings that are specified by the
|
|
18
23
|
* ARNs of the findings.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface AddAttributesToFindingsCommandOutput extends AddAttributesToFin
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param AddAttributesToFindingsCommandInput - {@link AddAttributesToFindingsCommandInput}
|
|
35
|
+
* @returns {@link AddAttributesToFindingsCommandOutput}
|
|
29
36
|
* @see {@link AddAttributesToFindingsCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link AddAttributesToFindingsCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
@@ -76,11 +83,20 @@ export interface AddAttributesToFindingsCommandOutput extends AddAttributesToFin
|
|
|
76
83
|
export declare class AddAttributesToFindingsCommand extends $Command<AddAttributesToFindingsCommandInput, AddAttributesToFindingsCommandOutput, InspectorClientResolvedConfig> {
|
|
77
84
|
readonly input: AddAttributesToFindingsCommandInput;
|
|
78
85
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
79
89
|
constructor(input: AddAttributesToFindingsCommandInput);
|
|
80
90
|
/**
|
|
81
91
|
* @internal
|
|
82
92
|
*/
|
|
83
93
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddAttributesToFindingsCommandInput, AddAttributesToFindingsCommandOutput>;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
84
97
|
private serialize;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
85
101
|
private deserialize;
|
|
86
102
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
|
|
5
5
|
import { CreateAssessmentTargetRequest, CreateAssessmentTargetResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateAssessmentTargetCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateAssessmentTargetCommandInput extends CreateAssessmentTargetRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateAssessmentTargetCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateAssessmentTargetCommandOutput extends CreateAssessmentTargetResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a new assessment target using the ARN of the resource group that is generated
|
|
18
23
|
* by <a>CreateResourceGroup</a>. If resourceGroupArn is not specified, all EC2
|
|
19
24
|
* instances in the current AWS account and region are included in the assessment target. If
|
|
@@ -32,6 +37,8 @@ export interface CreateAssessmentTargetCommandOutput extends CreateAssessmentTar
|
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
40
|
+
* @param CreateAssessmentTargetCommandInput - {@link CreateAssessmentTargetCommandInput}
|
|
41
|
+
* @returns {@link CreateAssessmentTargetCommandOutput}
|
|
35
42
|
* @see {@link CreateAssessmentTargetCommandInput} for command's `input` shape.
|
|
36
43
|
* @see {@link CreateAssessmentTargetCommandOutput} for command's `response` shape.
|
|
37
44
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
@@ -83,11 +90,20 @@ export interface CreateAssessmentTargetCommandOutput extends CreateAssessmentTar
|
|
|
83
90
|
export declare class CreateAssessmentTargetCommand extends $Command<CreateAssessmentTargetCommandInput, CreateAssessmentTargetCommandOutput, InspectorClientResolvedConfig> {
|
|
84
91
|
readonly input: CreateAssessmentTargetCommandInput;
|
|
85
92
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
86
96
|
constructor(input: CreateAssessmentTargetCommandInput);
|
|
87
97
|
/**
|
|
88
98
|
* @internal
|
|
89
99
|
*/
|
|
90
100
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAssessmentTargetCommandInput, CreateAssessmentTargetCommandOutput>;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
91
104
|
private serialize;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
92
108
|
private deserialize;
|
|
93
109
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
|
|
5
5
|
import { CreateAssessmentTemplateRequest, CreateAssessmentTemplateResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateAssessmentTemplateCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateAssessmentTemplateCommandInput extends CreateAssessmentTemplateRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateAssessmentTemplateCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateAssessmentTemplateCommandOutput extends CreateAssessmentTemplateResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates an assessment template for the assessment target that is specified by the ARN
|
|
18
23
|
* of the assessment target. If the <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_slr.html">service-linked role</a> isn’t already registered, this action also creates and
|
|
19
24
|
* registers a service-linked role to grant Amazon Inspector access to AWS Services needed to
|
|
@@ -28,6 +33,8 @@ export interface CreateAssessmentTemplateCommandOutput extends CreateAssessmentT
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param CreateAssessmentTemplateCommandInput - {@link CreateAssessmentTemplateCommandInput}
|
|
37
|
+
* @returns {@link CreateAssessmentTemplateCommandOutput}
|
|
31
38
|
* @see {@link CreateAssessmentTemplateCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link CreateAssessmentTemplateCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
@@ -85,11 +92,20 @@ export interface CreateAssessmentTemplateCommandOutput extends CreateAssessmentT
|
|
|
85
92
|
export declare class CreateAssessmentTemplateCommand extends $Command<CreateAssessmentTemplateCommandInput, CreateAssessmentTemplateCommandOutput, InspectorClientResolvedConfig> {
|
|
86
93
|
readonly input: CreateAssessmentTemplateCommandInput;
|
|
87
94
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
95
|
+
/**
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
88
98
|
constructor(input: CreateAssessmentTemplateCommandInput);
|
|
89
99
|
/**
|
|
90
100
|
* @internal
|
|
91
101
|
*/
|
|
92
102
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAssessmentTemplateCommandInput, CreateAssessmentTemplateCommandOutput>;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
93
106
|
private serialize;
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
94
110
|
private deserialize;
|
|
95
111
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
|
|
5
5
|
import { CreateExclusionsPreviewRequest, CreateExclusionsPreviewResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateExclusionsPreviewCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateExclusionsPreviewCommandInput extends CreateExclusionsPreviewRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateExclusionsPreviewCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateExclusionsPreviewCommandOutput extends CreateExclusionsPreviewResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Starts the generation of an exclusions preview for the specified assessment template.
|
|
18
23
|
* The exclusions preview lists the potential exclusions (ExclusionPreview) that Inspector can
|
|
19
24
|
* detect before it runs the assessment. </p>
|
|
@@ -27,6 +32,8 @@ export interface CreateExclusionsPreviewCommandOutput extends CreateExclusionsPr
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param CreateExclusionsPreviewCommandInput - {@link CreateExclusionsPreviewCommandInput}
|
|
36
|
+
* @returns {@link CreateExclusionsPreviewCommandOutput}
|
|
30
37
|
* @see {@link CreateExclusionsPreviewCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link CreateExclusionsPreviewCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
@@ -57,11 +64,20 @@ export interface CreateExclusionsPreviewCommandOutput extends CreateExclusionsPr
|
|
|
57
64
|
export declare class CreateExclusionsPreviewCommand extends $Command<CreateExclusionsPreviewCommandInput, CreateExclusionsPreviewCommandOutput, InspectorClientResolvedConfig> {
|
|
58
65
|
readonly input: CreateExclusionsPreviewCommandInput;
|
|
59
66
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
60
70
|
constructor(input: CreateExclusionsPreviewCommandInput);
|
|
61
71
|
/**
|
|
62
72
|
* @internal
|
|
63
73
|
*/
|
|
64
74
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateExclusionsPreviewCommandInput, CreateExclusionsPreviewCommandOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
65
78
|
private serialize;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
66
82
|
private deserialize;
|
|
67
83
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
|
|
5
5
|
import { CreateResourceGroupRequest, CreateResourceGroupResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateResourceGroupCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateResourceGroupCommandInput extends CreateResourceGroupRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateResourceGroupCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateResourceGroupCommandOutput extends CreateResourceGroupResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a resource group using the specified set of tags (key and value pairs) that
|
|
18
23
|
* are used to select the EC2 instances to be included in an Amazon Inspector assessment
|
|
19
24
|
* target. The created resource group is then used to create an Amazon Inspector assessment
|
|
@@ -28,6 +33,8 @@ export interface CreateResourceGroupCommandOutput extends CreateResourceGroupRes
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param CreateResourceGroupCommandInput - {@link CreateResourceGroupCommandInput}
|
|
37
|
+
* @returns {@link CreateResourceGroupCommandOutput}
|
|
31
38
|
* @see {@link CreateResourceGroupCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link CreateResourceGroupCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape.
|
|
@@ -75,11 +82,20 @@ export interface CreateResourceGroupCommandOutput extends CreateResourceGroupRes
|
|
|
75
82
|
export declare class CreateResourceGroupCommand extends $Command<CreateResourceGroupCommandInput, CreateResourceGroupCommandOutput, InspectorClientResolvedConfig> {
|
|
76
83
|
readonly input: CreateResourceGroupCommandInput;
|
|
77
84
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
78
88
|
constructor(input: CreateResourceGroupCommandInput);
|
|
79
89
|
/**
|
|
80
90
|
* @internal
|
|
81
91
|
*/
|
|
82
92
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateResourceGroupCommandInput, CreateResourceGroupCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
83
96
|
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
84
100
|
private deserialize;
|
|
85
101
|
}
|