@aws-sdk/client-marketplace-catalog 3.1111.0 → 3.1113.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/README.md +21 -7
- package/dist-cjs/index.js +210 -7
- package/dist-es/MarketplaceCatalog.js +8 -0
- package/dist-es/commands/DescribeAssessmentCommand.js +4 -0
- package/dist-es/commands/ListAssessmentsCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +16 -0
- package/dist-es/models/errors.js +2 -0
- package/dist-es/pagination/DescribeAssessmentPaginator.js +4 -0
- package/dist-es/pagination/ListAssessmentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +151 -6
- package/dist-types/MarketplaceCatalog.d.ts +28 -0
- package/dist-types/MarketplaceCatalogClient.d.ts +4 -2
- package/dist-types/commands/DescribeAssessmentCommand.d.ts +134 -0
- package/dist-types/commands/ListAssessmentsCommand.d.ts +132 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +40 -0
- package/dist-types/models/errors.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +482 -1
- package/dist-types/pagination/DescribeAssessmentPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAssessmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +19 -0
- package/dist-types/ts3.4/MarketplaceCatalog.d.ts +48 -0
- package/dist-types/ts3.4/MarketplaceCatalogClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribeAssessmentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAssessmentsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +21 -0
- package/dist-types/ts3.4/models/errors.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +137 -0
- package/dist-types/ts3.4/pagination/DescribeAssessmentPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAssessmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +19 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AmiProductSortBy, AmiProductVisibilityString, ChangeStatus, ContainerProductSortBy, ContainerProductVisibilityString, DataProductSortBy, DataProductVisibilityString, FailureCode, Intent, MachineLearningProductSortBy, MachineLearningProductVisibilityString, OfferCreatedBySourceString, OfferSetSortBy, OfferSetStateString, OfferSortBy, OfferStateString, OfferTargetAgreementIntentString, OfferTargetingString, OwnershipType, ResaleAuthorizationResellerRoleString, ResaleAuthorizationSortBy, ResaleAuthorizationStatusString, SaaSProductSortBy, SaaSProductVisibilityString, SortOrder } from "./enums";
|
|
2
|
+
import type { AmiProductSortBy, AmiProductVisibilityString, AssessmentResult, ChangeStatus, ContainerProductSortBy, ContainerProductVisibilityString, ControlAssessmentResult, DataProductSortBy, DataProductVisibilityString, FailureCode, Intent, MachineLearningProductSortBy, MachineLearningProductVisibilityString, OfferCreatedBySourceString, OfferSetSortBy, OfferSetStateString, OfferSortBy, OfferStateString, OfferTargetAgreementIntentString, OfferTargetingString, OwnershipType, ResaleAuthorizationResellerRoleString, ResaleAuthorizationSortBy, ResaleAuthorizationStatusString, SaaSProductSortBy, SaaSProductVisibilityString, SortOrder, ValidationExceptionReason } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Object that allows filtering on entity id of an AMI product.</p>
|
|
5
5
|
* @public
|
|
@@ -124,6 +124,171 @@ export interface AmiProductSummary {
|
|
|
124
124
|
*/
|
|
125
125
|
Visibility?: AmiProductVisibilityString | undefined;
|
|
126
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* <p>Filters that apply to assessments performed against the AMI Security framework.</p>
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export interface AMISecurityFilters {
|
|
132
|
+
/**
|
|
133
|
+
* <p>The unique ID of the delivery option whose AMI Security assessments you want to
|
|
134
|
+
* list.</p>
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
DeliveryOptionId?: string | undefined;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* <p>The details of the resource assessed under the AMI Security framework.</p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export interface AMISecuritySummary {
|
|
144
|
+
/**
|
|
145
|
+
* <p>The unique ID of the delivery option that was evaluated.</p>
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
DeliveryOptionId?: string | undefined;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* <p>Identifies the entity or change set that was assessed.</p>
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export interface AssessmentTargetSummary {
|
|
155
|
+
/**
|
|
156
|
+
* <p>The unique ID of the entity that was assessed.</p>
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
EntityId?: string | undefined;
|
|
160
|
+
/**
|
|
161
|
+
* <p>The unique ID of the change set that was assessed.</p>
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
ChangeSetId?: string | undefined;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* <p>The details of the resource assessed under the Container Security framework.</p>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export interface ContainerSecuritySummary {
|
|
171
|
+
/**
|
|
172
|
+
* <p>The unique ID of the delivery option that was evaluated.</p>
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
DeliveryOptionId?: string | undefined;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* <p>The framework-specific details of the assessed resource. Exactly one member is set,
|
|
179
|
+
* corresponding to the framework that was assessed.</p>
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
export type FrameworkSummary = FrameworkSummary.AMISecuritySummaryMember | FrameworkSummary.ContainerSecuritySummaryMember | FrameworkSummary.$UnknownMember;
|
|
183
|
+
/**
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
export declare namespace FrameworkSummary {
|
|
187
|
+
/**
|
|
188
|
+
* <p>The details of the resource assessed under the AMI Security framework.</p>
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
interface AMISecuritySummaryMember {
|
|
192
|
+
AMISecuritySummary: AMISecuritySummary;
|
|
193
|
+
ContainerSecuritySummary?: never;
|
|
194
|
+
$unknown?: never;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* <p>The details of the resource assessed under the Container Security framework.</p>
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
interface ContainerSecuritySummaryMember {
|
|
201
|
+
AMISecuritySummary?: never;
|
|
202
|
+
ContainerSecuritySummary: ContainerSecuritySummary;
|
|
203
|
+
$unknown?: never;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
interface $UnknownMember {
|
|
209
|
+
AMISecuritySummary?: never;
|
|
210
|
+
ContainerSecuritySummary?: never;
|
|
211
|
+
$unknown: [string, any];
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* @deprecated unused in schema-serde mode.
|
|
215
|
+
*
|
|
216
|
+
*/
|
|
217
|
+
interface Visitor<T> {
|
|
218
|
+
AMISecuritySummary: (value: AMISecuritySummary) => T;
|
|
219
|
+
ContainerSecuritySummary: (value: ContainerSecuritySummary) => T;
|
|
220
|
+
_: (name: string, value: any) => T;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* <p>Summarized information about an assessment.</p>
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
export interface AssessmentSummary {
|
|
228
|
+
/**
|
|
229
|
+
* <p>The ARN associated with the assessment.</p>
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
AssessmentArn?: string | undefined;
|
|
233
|
+
/**
|
|
234
|
+
* <p>The unique ID of the assessment.</p>
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
237
|
+
AssessmentId?: string | undefined;
|
|
238
|
+
/**
|
|
239
|
+
* <p>The identifier of the framework that was evaluated by this assessment, in the format
|
|
240
|
+
* <code>frameworkId@version</code> (for example,
|
|
241
|
+
* <code>AMISecurity@1.0</code>).</p>
|
|
242
|
+
* @public
|
|
243
|
+
*/
|
|
244
|
+
FrameworkId?: string | undefined;
|
|
245
|
+
/**
|
|
246
|
+
* <p>Identifies the entity or change set that was assessed.</p>
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
AssessmentTargetSummary?: AssessmentTargetSummary | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* <p>The framework-specific details of the assessed resource. The set member corresponds
|
|
252
|
+
* to the framework identified by <code>FrameworkId</code>.</p>
|
|
253
|
+
* @public
|
|
254
|
+
*/
|
|
255
|
+
FrameworkSummary?: FrameworkSummary | undefined;
|
|
256
|
+
/**
|
|
257
|
+
* <p>The overall result of the assessment.</p>
|
|
258
|
+
* @public
|
|
259
|
+
*/
|
|
260
|
+
AssessmentResult?: AssessmentResult | undefined;
|
|
261
|
+
/**
|
|
262
|
+
* <p>The date and time the assessment was created, in ISO 8601 format
|
|
263
|
+
* (<code>2018-02-27T13:45:22Z</code>).</p>
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
CreatedAt?: string | undefined;
|
|
267
|
+
/**
|
|
268
|
+
* <p>The date and time the assessment expires, in ISO 8601 format
|
|
269
|
+
* (<code>2018-02-27T13:45:22Z</code>).</p>
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
ExpiresAt?: string | undefined;
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* <p>Filters assessment list results by the resource that was assessed. Provide an entity
|
|
276
|
+
* identifier, a change set identifier, or both.</p>
|
|
277
|
+
* @public
|
|
278
|
+
*/
|
|
279
|
+
export interface AssessmentTargetFilter {
|
|
280
|
+
/**
|
|
281
|
+
* <p>The unique ID of the entity whose assessments you want to list.</p>
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
EntityId?: string | undefined;
|
|
285
|
+
/**
|
|
286
|
+
* <p>The unique ID of the change set that triggered the assessments you want to
|
|
287
|
+
* list.</p>
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
ChangeSetId?: string | undefined;
|
|
291
|
+
}
|
|
127
292
|
/**
|
|
128
293
|
* <p>An object that contains entity ID and the catalog in which the entity is present.</p>
|
|
129
294
|
* @public
|
|
@@ -215,6 +380,49 @@ export interface BatchDescribeEntitiesResponse {
|
|
|
215
380
|
*/
|
|
216
381
|
Errors?: Record<string, BatchDescribeErrorDetail> | undefined;
|
|
217
382
|
}
|
|
383
|
+
/**
|
|
384
|
+
* <p>Detailed information about a single request field that failed
|
|
385
|
+
* validation, including the field's location, the reason it failed, and a
|
|
386
|
+
* human-readable message.</p>
|
|
387
|
+
* @public
|
|
388
|
+
*/
|
|
389
|
+
export interface ValidationExceptionField {
|
|
390
|
+
/**
|
|
391
|
+
* <p>The reason the field failed validation.</p>
|
|
392
|
+
* @public
|
|
393
|
+
*/
|
|
394
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
395
|
+
/**
|
|
396
|
+
* <p>The entity type the failing field applies to, if the field is on a
|
|
397
|
+
* specific entity. For example, <code>AmiProduct@1.0</code>.</p>
|
|
398
|
+
* @public
|
|
399
|
+
*/
|
|
400
|
+
EntityType?: string | undefined;
|
|
401
|
+
/**
|
|
402
|
+
* <p>The entity identifier the failing field applies to, if the field is on a
|
|
403
|
+
* specific entity.</p>
|
|
404
|
+
* @public
|
|
405
|
+
*/
|
|
406
|
+
EntityId?: string | undefined;
|
|
407
|
+
/**
|
|
408
|
+
* <p>The change type the failing field applies to, if the field is part of a
|
|
409
|
+
* change request. For example, <code>AddDeliveryOptions</code>.</p>
|
|
410
|
+
* @public
|
|
411
|
+
*/
|
|
412
|
+
ChangeType?: string | undefined;
|
|
413
|
+
/**
|
|
414
|
+
* <p>The name of the request field that failed validation, expressed as a
|
|
415
|
+
* JSON path (for example, <code>Details.DeliveryOptions[0].Type</code>).</p>
|
|
416
|
+
* @public
|
|
417
|
+
*/
|
|
418
|
+
Field?: string | undefined;
|
|
419
|
+
/**
|
|
420
|
+
* <p>A human-readable message describing why the field failed
|
|
421
|
+
* validation.</p>
|
|
422
|
+
* @public
|
|
423
|
+
*/
|
|
424
|
+
Message?: string | undefined;
|
|
425
|
+
}
|
|
218
426
|
/**
|
|
219
427
|
* @public
|
|
220
428
|
*/
|
|
@@ -263,6 +471,162 @@ export interface DeleteResourcePolicyRequest {
|
|
|
263
471
|
*/
|
|
264
472
|
export interface DeleteResourcePolicyResponse {
|
|
265
473
|
}
|
|
474
|
+
/**
|
|
475
|
+
* @public
|
|
476
|
+
*/
|
|
477
|
+
export interface DescribeAssessmentRequest {
|
|
478
|
+
/**
|
|
479
|
+
* <p>The catalog related to the request. Fixed value: <code>AWSMarketplace</code>
|
|
480
|
+
* </p>
|
|
481
|
+
* @public
|
|
482
|
+
*/
|
|
483
|
+
Catalog: string | undefined;
|
|
484
|
+
/**
|
|
485
|
+
* <p>The unique identifier of the assessment to describe. You can provide either
|
|
486
|
+
* the assessment ID (for example, <code>assessment-12345</code>) or the full
|
|
487
|
+
* assessment ARN (for example,
|
|
488
|
+
* <code>arn:aws:aws-marketplace:us-east-1::AWSMarketplace/Assessment/assessment-12345</code>).</p>
|
|
489
|
+
* @public
|
|
490
|
+
*/
|
|
491
|
+
AssessmentIdentifier: string | undefined;
|
|
492
|
+
/**
|
|
493
|
+
* <p>Specifies the upper limit of <code>ControlAssessment</code> elements returned on a
|
|
494
|
+
* single page. If a value isn't provided, the default value is 50. Valid values range
|
|
495
|
+
* from 1 to 100.</p>
|
|
496
|
+
* @public
|
|
497
|
+
*/
|
|
498
|
+
MaxResults?: number | undefined;
|
|
499
|
+
/**
|
|
500
|
+
* <p>The value of the next token, if it exists. <code>null</code> if there are no more
|
|
501
|
+
* results.</p>
|
|
502
|
+
* @public
|
|
503
|
+
*/
|
|
504
|
+
NextToken?: string | undefined;
|
|
505
|
+
}
|
|
506
|
+
/**
|
|
507
|
+
* <p>A name-value pair that identifies the resource or attribute that a
|
|
508
|
+
* <code>ControlError</code> applies to.</p>
|
|
509
|
+
* @public
|
|
510
|
+
*/
|
|
511
|
+
export interface ErrorScope {
|
|
512
|
+
/**
|
|
513
|
+
* <p>The name of the resource field the error applies to (for example,
|
|
514
|
+
* <code>AMI_ID</code>, <code>FILE_PATH</code>, or <code>PACKAGE_NAME</code>).</p>
|
|
515
|
+
* @public
|
|
516
|
+
*/
|
|
517
|
+
Name?: string | undefined;
|
|
518
|
+
/**
|
|
519
|
+
* <p>The value of the resource field the error applies to.</p>
|
|
520
|
+
* @public
|
|
521
|
+
*/
|
|
522
|
+
Value?: string | undefined;
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
* <p>An error reported during the evaluation of a single control.</p>
|
|
526
|
+
* @public
|
|
527
|
+
*/
|
|
528
|
+
export interface ControlError {
|
|
529
|
+
/**
|
|
530
|
+
* <p>The error code that identifies the type of error.</p>
|
|
531
|
+
* @public
|
|
532
|
+
*/
|
|
533
|
+
Code?: string | undefined;
|
|
534
|
+
/**
|
|
535
|
+
* <p>The message for the error.</p>
|
|
536
|
+
* @public
|
|
537
|
+
*/
|
|
538
|
+
Message?: string | undefined;
|
|
539
|
+
/**
|
|
540
|
+
* <p>The list of name-value pairs that identify the resource or attribute that the error
|
|
541
|
+
* applies to.</p>
|
|
542
|
+
* @public
|
|
543
|
+
*/
|
|
544
|
+
Scope?: ErrorScope[] | undefined;
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* <p>The result of evaluating a single control as part of an assessment.</p>
|
|
548
|
+
* @public
|
|
549
|
+
*/
|
|
550
|
+
export interface ControlAssessment {
|
|
551
|
+
/**
|
|
552
|
+
* <p>The unique ID of the control that was evaluated.</p>
|
|
553
|
+
* @public
|
|
554
|
+
*/
|
|
555
|
+
ControlId?: string | undefined;
|
|
556
|
+
/**
|
|
557
|
+
* <p>The result of the control evaluation.</p>
|
|
558
|
+
* @public
|
|
559
|
+
*/
|
|
560
|
+
ControlAssessmentResult?: ControlAssessmentResult | undefined;
|
|
561
|
+
/**
|
|
562
|
+
* <p>An array of <code>ControlError</code> objects associated with the control
|
|
563
|
+
* evaluation.</p>
|
|
564
|
+
* @public
|
|
565
|
+
*/
|
|
566
|
+
Errors?: ControlError[] | undefined;
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* @public
|
|
570
|
+
*/
|
|
571
|
+
export interface DescribeAssessmentResponse {
|
|
572
|
+
/**
|
|
573
|
+
* <p>The ARN associated with the assessment.</p>
|
|
574
|
+
* @public
|
|
575
|
+
*/
|
|
576
|
+
AssessmentArn?: string | undefined;
|
|
577
|
+
/**
|
|
578
|
+
* <p>The unique ID of the assessment.</p>
|
|
579
|
+
* @public
|
|
580
|
+
*/
|
|
581
|
+
AssessmentId?: string | undefined;
|
|
582
|
+
/**
|
|
583
|
+
* <p>The identifier of the framework that was evaluated by this assessment, in the format
|
|
584
|
+
* <code>frameworkId@version</code> (for example,
|
|
585
|
+
* <code>AMISecurity@1.0</code>).</p>
|
|
586
|
+
* @public
|
|
587
|
+
*/
|
|
588
|
+
FrameworkId?: string | undefined;
|
|
589
|
+
/**
|
|
590
|
+
* <p>Identifies the entity or change set that was assessed.</p>
|
|
591
|
+
* @public
|
|
592
|
+
*/
|
|
593
|
+
AssessmentTargetSummary?: AssessmentTargetSummary | undefined;
|
|
594
|
+
/**
|
|
595
|
+
* <p>The framework-specific details of the assessed resource. The set member corresponds
|
|
596
|
+
* to the framework identified by <code>FrameworkId</code>.</p>
|
|
597
|
+
* @public
|
|
598
|
+
*/
|
|
599
|
+
FrameworkSummary?: FrameworkSummary | undefined;
|
|
600
|
+
/**
|
|
601
|
+
* <p>The overall result of the assessment.</p>
|
|
602
|
+
* @public
|
|
603
|
+
*/
|
|
604
|
+
AssessmentResult?: AssessmentResult | undefined;
|
|
605
|
+
/**
|
|
606
|
+
* <p>The date and time the assessment was created, in ISO 8601 format
|
|
607
|
+
* (<code>2018-02-27T13:45:22Z</code>).</p>
|
|
608
|
+
* @public
|
|
609
|
+
*/
|
|
610
|
+
CreatedAt?: string | undefined;
|
|
611
|
+
/**
|
|
612
|
+
* <p>The date and time the assessment expires, in ISO 8601 format
|
|
613
|
+
* (<code>2018-02-27T13:45:22Z</code>).</p>
|
|
614
|
+
* @public
|
|
615
|
+
*/
|
|
616
|
+
ExpiresAt?: string | undefined;
|
|
617
|
+
/**
|
|
618
|
+
* <p>An array of <code>ControlAssessment</code> objects, each containing the result of an
|
|
619
|
+
* individual control evaluated as part of the assessment.</p>
|
|
620
|
+
* @public
|
|
621
|
+
*/
|
|
622
|
+
ControlAssessments?: ControlAssessment[] | undefined;
|
|
623
|
+
/**
|
|
624
|
+
* <p>The value of the next token, if it exists. <code>null</code> if there are no more
|
|
625
|
+
* results.</p>
|
|
626
|
+
* @public
|
|
627
|
+
*/
|
|
628
|
+
NextToken?: string | undefined;
|
|
629
|
+
}
|
|
266
630
|
/**
|
|
267
631
|
* @public
|
|
268
632
|
*/
|
|
@@ -497,6 +861,123 @@ export interface GetResourcePolicyResponse {
|
|
|
497
861
|
*/
|
|
498
862
|
Policy?: string | undefined;
|
|
499
863
|
}
|
|
864
|
+
/**
|
|
865
|
+
* <p>Filters that apply to assessments performed against the Container Security
|
|
866
|
+
* framework.</p>
|
|
867
|
+
* @public
|
|
868
|
+
*/
|
|
869
|
+
export interface ContainerSecurityFilters {
|
|
870
|
+
/**
|
|
871
|
+
* <p>The unique ID of the delivery option whose Container Security assessments you want
|
|
872
|
+
* to list.</p>
|
|
873
|
+
* @public
|
|
874
|
+
*/
|
|
875
|
+
DeliveryOptionId?: string | undefined;
|
|
876
|
+
}
|
|
877
|
+
/**
|
|
878
|
+
* <p>Framework-specific filters used to scope <code>ListAssessments</code> results. Set
|
|
879
|
+
* exactly one member, corresponding to the framework you want to filter by.</p>
|
|
880
|
+
* @public
|
|
881
|
+
*/
|
|
882
|
+
export type FrameworkFilters = FrameworkFilters.AMISecurityFiltersMember | FrameworkFilters.ContainerSecurityFiltersMember | FrameworkFilters.$UnknownMember;
|
|
883
|
+
/**
|
|
884
|
+
* @public
|
|
885
|
+
*/
|
|
886
|
+
export declare namespace FrameworkFilters {
|
|
887
|
+
/**
|
|
888
|
+
* <p>Filters that apply to assessments performed against the AMI Security framework.</p>
|
|
889
|
+
* @public
|
|
890
|
+
*/
|
|
891
|
+
interface AMISecurityFiltersMember {
|
|
892
|
+
AMISecurityFilters: AMISecurityFilters;
|
|
893
|
+
ContainerSecurityFilters?: never;
|
|
894
|
+
$unknown?: never;
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* <p>Filters that apply to assessments performed against the Container Security
|
|
898
|
+
* framework.</p>
|
|
899
|
+
* @public
|
|
900
|
+
*/
|
|
901
|
+
interface ContainerSecurityFiltersMember {
|
|
902
|
+
AMISecurityFilters?: never;
|
|
903
|
+
ContainerSecurityFilters: ContainerSecurityFilters;
|
|
904
|
+
$unknown?: never;
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* @public
|
|
908
|
+
*/
|
|
909
|
+
interface $UnknownMember {
|
|
910
|
+
AMISecurityFilters?: never;
|
|
911
|
+
ContainerSecurityFilters?: never;
|
|
912
|
+
$unknown: [string, any];
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* @deprecated unused in schema-serde mode.
|
|
916
|
+
*
|
|
917
|
+
*/
|
|
918
|
+
interface Visitor<T> {
|
|
919
|
+
AMISecurityFilters: (value: AMISecurityFilters) => T;
|
|
920
|
+
ContainerSecurityFilters: (value: ContainerSecurityFilters) => T;
|
|
921
|
+
_: (name: string, value: any) => T;
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
/**
|
|
925
|
+
* @public
|
|
926
|
+
*/
|
|
927
|
+
export interface ListAssessmentsRequest {
|
|
928
|
+
/**
|
|
929
|
+
* <p>The catalog related to the request. Fixed value: <code>AWSMarketplace</code>
|
|
930
|
+
* </p>
|
|
931
|
+
* @public
|
|
932
|
+
*/
|
|
933
|
+
Catalog: string | undefined;
|
|
934
|
+
/**
|
|
935
|
+
* <p>The unique identifier of a framework. When specified, only assessments performed
|
|
936
|
+
* against this framework are returned. For example, <code>AMISecurity</code>.</p>
|
|
937
|
+
* @public
|
|
938
|
+
*/
|
|
939
|
+
FrameworkId?: string | undefined;
|
|
940
|
+
/**
|
|
941
|
+
* <p>Filters the list of assessments to those performed against a specific entity or
|
|
942
|
+
* change set.</p>
|
|
943
|
+
* @public
|
|
944
|
+
*/
|
|
945
|
+
AssessmentTargetFilter?: AssessmentTargetFilter | undefined;
|
|
946
|
+
/**
|
|
947
|
+
* <p>Framework-specific filters. Set exactly one member to filter results to assessments
|
|
948
|
+
* performed against that framework.</p>
|
|
949
|
+
* @public
|
|
950
|
+
*/
|
|
951
|
+
FrameworkFilters?: FrameworkFilters | undefined;
|
|
952
|
+
/**
|
|
953
|
+
* <p>Specifies the upper limit of the elements on a single page. If a value isn't provided,
|
|
954
|
+
* the default value is 20. Valid values range from 1 to 100.</p>
|
|
955
|
+
* @public
|
|
956
|
+
*/
|
|
957
|
+
MaxResults?: number | undefined;
|
|
958
|
+
/**
|
|
959
|
+
* <p>The value of the next token, if it exists. <code>null</code> if there are no more
|
|
960
|
+
* results.</p>
|
|
961
|
+
* @public
|
|
962
|
+
*/
|
|
963
|
+
NextToken?: string | undefined;
|
|
964
|
+
}
|
|
965
|
+
/**
|
|
966
|
+
* @public
|
|
967
|
+
*/
|
|
968
|
+
export interface ListAssessmentsResponse {
|
|
969
|
+
/**
|
|
970
|
+
* <p>An array of <code>AssessmentSummary</code> objects.</p>
|
|
971
|
+
* @public
|
|
972
|
+
*/
|
|
973
|
+
AssessmentSummaryList?: AssessmentSummary[] | undefined;
|
|
974
|
+
/**
|
|
975
|
+
* <p>The value of the next token, if it exists. <code>null</code> if there are no more
|
|
976
|
+
* results.</p>
|
|
977
|
+
* @public
|
|
978
|
+
*/
|
|
979
|
+
NextToken?: string | undefined;
|
|
980
|
+
}
|
|
500
981
|
/**
|
|
501
982
|
* <p>A filter object, used to optionally filter results from calls to the
|
|
502
983
|
* <code>ListEntities</code> and <code>ListChangeSets</code> actions.</p>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { DescribeAssessmentCommandInput, DescribeAssessmentCommandOutput } from "../commands/DescribeAssessmentCommand";
|
|
3
|
+
import type { MarketplaceCatalogPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateDescribeAssessment: (config: MarketplaceCatalogPaginationConfiguration, input: DescribeAssessmentCommandInput, ...rest: any[]) => Paginator<DescribeAssessmentCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListAssessmentsCommandInput, ListAssessmentsCommandOutput } from "../commands/ListAssessmentsCommand";
|
|
3
|
+
import type { MarketplaceCatalogPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListAssessments: (config: MarketplaceCatalogPaginationConfiguration, input: ListAssessmentsCommandInput, ...rest: any[]) => Paginator<ListAssessmentsCommandOutput>;
|
|
@@ -23,6 +23,11 @@ export declare var AmiProductSort$: StaticStructureSchema;
|
|
|
23
23
|
export declare var AmiProductSummary$: StaticStructureSchema;
|
|
24
24
|
export declare var AmiProductTitleFilter$: StaticStructureSchema;
|
|
25
25
|
export declare var AmiProductVisibilityFilter$: StaticStructureSchema;
|
|
26
|
+
export declare var AMISecurityFilters$: StaticStructureSchema;
|
|
27
|
+
export declare var AMISecuritySummary$: StaticStructureSchema;
|
|
28
|
+
export declare var AssessmentSummary$: StaticStructureSchema;
|
|
29
|
+
export declare var AssessmentTargetFilter$: StaticStructureSchema;
|
|
30
|
+
export declare var AssessmentTargetSummary$: StaticStructureSchema;
|
|
26
31
|
export declare var BatchDescribeEntitiesRequest$: StaticStructureSchema;
|
|
27
32
|
export declare var BatchDescribeEntitiesResponse$: StaticStructureSchema;
|
|
28
33
|
export declare var BatchDescribeErrorDetail$: StaticStructureSchema;
|
|
@@ -39,6 +44,10 @@ export declare var ContainerProductSort$: StaticStructureSchema;
|
|
|
39
44
|
export declare var ContainerProductSummary$: StaticStructureSchema;
|
|
40
45
|
export declare var ContainerProductTitleFilter$: StaticStructureSchema;
|
|
41
46
|
export declare var ContainerProductVisibilityFilter$: StaticStructureSchema;
|
|
47
|
+
export declare var ContainerSecurityFilters$: StaticStructureSchema;
|
|
48
|
+
export declare var ContainerSecuritySummary$: StaticStructureSchema;
|
|
49
|
+
export declare var ControlAssessment$: StaticStructureSchema;
|
|
50
|
+
export declare var ControlError$: StaticStructureSchema;
|
|
42
51
|
export declare var DataProductEntityIdFilter$: StaticStructureSchema;
|
|
43
52
|
export declare var DataProductFilters$: StaticStructureSchema;
|
|
44
53
|
export declare var DataProductLastModifiedDateFilter$: StaticStructureSchema;
|
|
@@ -49,6 +58,8 @@ export declare var DataProductTitleFilter$: StaticStructureSchema;
|
|
|
49
58
|
export declare var DataProductVisibilityFilter$: StaticStructureSchema;
|
|
50
59
|
export declare var DeleteResourcePolicyRequest$: StaticStructureSchema;
|
|
51
60
|
export declare var DeleteResourcePolicyResponse$: StaticStructureSchema;
|
|
61
|
+
export declare var DescribeAssessmentRequest$: StaticStructureSchema;
|
|
62
|
+
export declare var DescribeAssessmentResponse$: StaticStructureSchema;
|
|
52
63
|
export declare var DescribeChangeSetRequest$: StaticStructureSchema;
|
|
53
64
|
export declare var DescribeChangeSetResponse$: StaticStructureSchema;
|
|
54
65
|
export declare var DescribeEntityRequest$: StaticStructureSchema;
|
|
@@ -58,9 +69,12 @@ export declare var EntityDetail$: StaticStructureSchema;
|
|
|
58
69
|
export declare var EntityRequest$: StaticStructureSchema;
|
|
59
70
|
export declare var EntitySummary$: StaticStructureSchema;
|
|
60
71
|
export declare var ErrorDetail$: StaticStructureSchema;
|
|
72
|
+
export declare var ErrorScope$: StaticStructureSchema;
|
|
61
73
|
export declare var Filter$: StaticStructureSchema;
|
|
62
74
|
export declare var GetResourcePolicyRequest$: StaticStructureSchema;
|
|
63
75
|
export declare var GetResourcePolicyResponse$: StaticStructureSchema;
|
|
76
|
+
export declare var ListAssessmentsRequest$: StaticStructureSchema;
|
|
77
|
+
export declare var ListAssessmentsResponse$: StaticStructureSchema;
|
|
64
78
|
export declare var ListChangeSetsRequest$: StaticStructureSchema;
|
|
65
79
|
export declare var ListChangeSetsResponse$: StaticStructureSchema;
|
|
66
80
|
export declare var ListEntitiesRequest$: StaticStructureSchema;
|
|
@@ -145,14 +159,19 @@ export declare var TagResourceRequest$: StaticStructureSchema;
|
|
|
145
159
|
export declare var TagResourceResponse$: StaticStructureSchema;
|
|
146
160
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
147
161
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
162
|
+
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
148
163
|
export declare var EntityTypeFilters$: StaticUnionSchema;
|
|
149
164
|
export declare var EntityTypeSort$: StaticUnionSchema;
|
|
165
|
+
export declare var FrameworkFilters$: StaticUnionSchema;
|
|
166
|
+
export declare var FrameworkSummary$: StaticUnionSchema;
|
|
150
167
|
export declare var BatchDescribeEntities$: StaticOperationSchema;
|
|
151
168
|
export declare var CancelChangeSet$: StaticOperationSchema;
|
|
152
169
|
export declare var DeleteResourcePolicy$: StaticOperationSchema;
|
|
170
|
+
export declare var DescribeAssessment$: StaticOperationSchema;
|
|
153
171
|
export declare var DescribeChangeSet$: StaticOperationSchema;
|
|
154
172
|
export declare var DescribeEntity$: StaticOperationSchema;
|
|
155
173
|
export declare var GetResourcePolicy$: StaticOperationSchema;
|
|
174
|
+
export declare var ListAssessments$: StaticOperationSchema;
|
|
156
175
|
export declare var ListChangeSets$: StaticOperationSchema;
|
|
157
176
|
export declare var ListEntities$: StaticOperationSchema;
|
|
158
177
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
@@ -15,6 +15,10 @@ import {
|
|
|
15
15
|
DeleteResourcePolicyCommandInput,
|
|
16
16
|
DeleteResourcePolicyCommandOutput,
|
|
17
17
|
} from "./commands/DeleteResourcePolicyCommand";
|
|
18
|
+
import {
|
|
19
|
+
DescribeAssessmentCommandInput,
|
|
20
|
+
DescribeAssessmentCommandOutput,
|
|
21
|
+
} from "./commands/DescribeAssessmentCommand";
|
|
18
22
|
import {
|
|
19
23
|
DescribeChangeSetCommandInput,
|
|
20
24
|
DescribeChangeSetCommandOutput,
|
|
@@ -27,6 +31,10 @@ import {
|
|
|
27
31
|
GetResourcePolicyCommandInput,
|
|
28
32
|
GetResourcePolicyCommandOutput,
|
|
29
33
|
} from "./commands/GetResourcePolicyCommand";
|
|
34
|
+
import {
|
|
35
|
+
ListAssessmentsCommandInput,
|
|
36
|
+
ListAssessmentsCommandOutput,
|
|
37
|
+
} from "./commands/ListAssessmentsCommand";
|
|
30
38
|
import {
|
|
31
39
|
ListChangeSetsCommandInput,
|
|
32
40
|
ListChangeSetsCommandOutput,
|
|
@@ -93,6 +101,19 @@ export interface MarketplaceCatalog {
|
|
|
93
101
|
options: __HttpHandlerOptions,
|
|
94
102
|
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
|
|
95
103
|
): void;
|
|
104
|
+
describeAssessment(
|
|
105
|
+
args: DescribeAssessmentCommandInput,
|
|
106
|
+
options?: __HttpHandlerOptions,
|
|
107
|
+
): Promise<DescribeAssessmentCommandOutput>;
|
|
108
|
+
describeAssessment(
|
|
109
|
+
args: DescribeAssessmentCommandInput,
|
|
110
|
+
cb: (err: any, data?: DescribeAssessmentCommandOutput) => void,
|
|
111
|
+
): void;
|
|
112
|
+
describeAssessment(
|
|
113
|
+
args: DescribeAssessmentCommandInput,
|
|
114
|
+
options: __HttpHandlerOptions,
|
|
115
|
+
cb: (err: any, data?: DescribeAssessmentCommandOutput) => void,
|
|
116
|
+
): void;
|
|
96
117
|
describeChangeSet(
|
|
97
118
|
args: DescribeChangeSetCommandInput,
|
|
98
119
|
options?: __HttpHandlerOptions,
|
|
@@ -132,6 +153,19 @@ export interface MarketplaceCatalog {
|
|
|
132
153
|
options: __HttpHandlerOptions,
|
|
133
154
|
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
|
|
134
155
|
): void;
|
|
156
|
+
listAssessments(
|
|
157
|
+
args: ListAssessmentsCommandInput,
|
|
158
|
+
options?: __HttpHandlerOptions,
|
|
159
|
+
): Promise<ListAssessmentsCommandOutput>;
|
|
160
|
+
listAssessments(
|
|
161
|
+
args: ListAssessmentsCommandInput,
|
|
162
|
+
cb: (err: any, data?: ListAssessmentsCommandOutput) => void,
|
|
163
|
+
): void;
|
|
164
|
+
listAssessments(
|
|
165
|
+
args: ListAssessmentsCommandInput,
|
|
166
|
+
options: __HttpHandlerOptions,
|
|
167
|
+
cb: (err: any, data?: ListAssessmentsCommandOutput) => void,
|
|
168
|
+
): void;
|
|
135
169
|
listChangeSets(
|
|
136
170
|
args: ListChangeSetsCommandInput,
|
|
137
171
|
options?: __HttpHandlerOptions,
|
|
@@ -223,6 +257,20 @@ export interface MarketplaceCatalog {
|
|
|
223
257
|
options: __HttpHandlerOptions,
|
|
224
258
|
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
225
259
|
): void;
|
|
260
|
+
paginateDescribeAssessment(
|
|
261
|
+
args: DescribeAssessmentCommandInput,
|
|
262
|
+
paginationConfig?: Pick<
|
|
263
|
+
PaginationConfiguration,
|
|
264
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
265
|
+
>,
|
|
266
|
+
): Paginator<DescribeAssessmentCommandOutput>;
|
|
267
|
+
paginateListAssessments(
|
|
268
|
+
args: ListAssessmentsCommandInput,
|
|
269
|
+
paginationConfig?: Pick<
|
|
270
|
+
PaginationConfiguration,
|
|
271
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
272
|
+
>,
|
|
273
|
+
): Paginator<ListAssessmentsCommandOutput>;
|
|
226
274
|
paginateListChangeSets(
|
|
227
275
|
args: ListChangeSetsCommandInput,
|
|
228
276
|
paginationConfig?: Pick<
|