@aws-sdk/client-wellarchitected 3.43.0 → 3.47.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/CHANGELOG.md +50 -0
- package/README.md +6 -6
- package/dist-cjs/WellArchitected.js +120 -0
- package/dist-cjs/commands/CreateLensShareCommand.js +36 -0
- package/dist-cjs/commands/CreateLensVersionCommand.js +36 -0
- package/dist-cjs/commands/DeleteLensCommand.js +36 -0
- package/dist-cjs/commands/DeleteLensShareCommand.js +36 -0
- package/dist-cjs/commands/ExportLensCommand.js +36 -0
- package/dist-cjs/commands/GetLensCommand.js +36 -0
- package/dist-cjs/commands/ImportLensCommand.js +36 -0
- package/dist-cjs/commands/ListLensSharesCommand.js +36 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +142 -51
- package/dist-cjs/pagination/ListLensSharesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1137 -62
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/WellArchitected.js +120 -0
- package/dist-es/commands/CreateLensShareCommand.js +39 -0
- package/dist-es/commands/CreateLensVersionCommand.js +39 -0
- package/dist-es/commands/DeleteLensCommand.js +39 -0
- package/dist-es/commands/DeleteLensShareCommand.js +39 -0
- package/dist-es/commands/ExportLensCommand.js +39 -0
- package/dist-es/commands/GetLensCommand.js +39 -0
- package/dist-es/commands/ImportLensCommand.js +39 -0
- package/dist-es/commands/ListLensSharesCommand.js +39 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +105 -36
- package/dist-es/pagination/ListLensSharesPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1232 -40
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/WellArchitected.d.ts +156 -13
- package/dist-types/WellArchitectedClient.d.ts +21 -9
- package/dist-types/commands/AssociateLensesCommand.d.ts +10 -0
- package/dist-types/commands/CreateLensShareCommand.d.ts +48 -0
- package/dist-types/commands/CreateLensVersionCommand.d.ts +39 -0
- package/dist-types/commands/CreateWorkloadCommand.d.ts +3 -3
- package/dist-types/commands/CreateWorkloadShareCommand.d.ts +3 -3
- package/dist-types/commands/DeleteLensCommand.d.ts +49 -0
- package/dist-types/commands/DeleteLensShareCommand.d.ts +48 -0
- package/dist-types/commands/DisassociateLensesCommand.d.ts +2 -1
- package/dist-types/commands/ExportLensCommand.d.ts +49 -0
- package/dist-types/commands/GetLensCommand.d.ts +35 -0
- package/dist-types/commands/ImportLensCommand.d.ts +53 -0
- package/dist-types/commands/ListLensSharesCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +668 -152
- package/dist-types/pagination/ListLensSharesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/WellArchitected.d.ts +40 -0
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +13 -3
- package/dist-types/ts3.4/commands/CreateLensShareCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateLensVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteLensCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteLensShareCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExportLensCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetLensCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportLensCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListLensSharesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +317 -48
- package/dist-types/ts3.4/pagination/ListLensSharesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -10,12 +10,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
10
10
|
*/
|
|
11
11
|
Message: string | undefined;
|
|
12
12
|
}
|
|
13
|
-
export declare namespace AccessDeniedException {
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
18
|
-
}
|
|
19
13
|
export declare enum ChoiceReason {
|
|
20
14
|
ARCHITECTURE_CONSTRAINTS = "ARCHITECTURE_CONSTRAINTS",
|
|
21
15
|
BUSINESS_PRIORITIES = "BUSINESS_PRIORITIES",
|
|
@@ -55,6 +49,25 @@ export declare namespace ChoiceAnswer {
|
|
|
55
49
|
*/
|
|
56
50
|
const filterSensitiveLog: (obj: ChoiceAnswer) => any;
|
|
57
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* <p>The choice content.</p>
|
|
54
|
+
*/
|
|
55
|
+
export interface ChoiceContent {
|
|
56
|
+
/**
|
|
57
|
+
* <p>The display text for the choice content.</p>
|
|
58
|
+
*/
|
|
59
|
+
DisplayText?: string;
|
|
60
|
+
/**
|
|
61
|
+
* <p>The URL for the choice content.</p>
|
|
62
|
+
*/
|
|
63
|
+
Url?: string;
|
|
64
|
+
}
|
|
65
|
+
export declare namespace ChoiceContent {
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
const filterSensitiveLog: (obj: ChoiceContent) => any;
|
|
70
|
+
}
|
|
58
71
|
/**
|
|
59
72
|
* <p>A choice available to answer question.</p>
|
|
60
73
|
*/
|
|
@@ -71,6 +84,14 @@ export interface Choice {
|
|
|
71
84
|
* <p>The description of a choice.</p>
|
|
72
85
|
*/
|
|
73
86
|
Description?: string;
|
|
87
|
+
/**
|
|
88
|
+
* <p>The choice level helpful resource.</p>
|
|
89
|
+
*/
|
|
90
|
+
HelpfulResource?: ChoiceContent;
|
|
91
|
+
/**
|
|
92
|
+
* <p>The choice level improvement plan.</p>
|
|
93
|
+
*/
|
|
94
|
+
ImprovementPlan?: ChoiceContent;
|
|
74
95
|
}
|
|
75
96
|
export declare namespace Choice {
|
|
76
97
|
/**
|
|
@@ -122,6 +143,10 @@ export interface Answer {
|
|
|
122
143
|
* <p>The helpful resource URL for a question.</p>
|
|
123
144
|
*/
|
|
124
145
|
HelpfulResourceUrl?: string;
|
|
146
|
+
/**
|
|
147
|
+
* <p>The helpful resource text to be displayed.</p>
|
|
148
|
+
*/
|
|
149
|
+
HelpfulResourceDisplayText?: string;
|
|
125
150
|
/**
|
|
126
151
|
* <p>List of choices available for a question.</p>
|
|
127
152
|
*/
|
|
@@ -235,11 +260,11 @@ export declare namespace AnswerSummary {
|
|
|
235
260
|
*/
|
|
236
261
|
export interface AssociateLensesInput {
|
|
237
262
|
/**
|
|
238
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
263
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
239
264
|
*/
|
|
240
265
|
WorkloadId: string | undefined;
|
|
241
266
|
/**
|
|
242
|
-
* <p>List of lens aliases to associate or disassociate with a workload.</p>
|
|
267
|
+
* <p>List of lens aliases to associate or disassociate with a workload. Up to 10 lenses can be specified.</p>
|
|
243
268
|
* <p>Identify a lens using its <a>LensSummary$LensAlias</a>.</p>
|
|
244
269
|
*/
|
|
245
270
|
LensAliases: string[] | undefined;
|
|
@@ -269,14 +294,8 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
269
294
|
*/
|
|
270
295
|
ResourceType: string | undefined;
|
|
271
296
|
}
|
|
272
|
-
export declare namespace ConflictException {
|
|
273
|
-
/**
|
|
274
|
-
* @internal
|
|
275
|
-
*/
|
|
276
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
277
|
-
}
|
|
278
297
|
/**
|
|
279
|
-
* <p>There is a problem with the
|
|
298
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
280
299
|
*/
|
|
281
300
|
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
282
301
|
name: "InternalServerException";
|
|
@@ -286,12 +305,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
286
305
|
*/
|
|
287
306
|
Message: string | undefined;
|
|
288
307
|
}
|
|
289
|
-
export declare namespace InternalServerException {
|
|
290
|
-
/**
|
|
291
|
-
* @internal
|
|
292
|
-
*/
|
|
293
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
294
|
-
}
|
|
295
308
|
/**
|
|
296
309
|
* <p>The requested resource was not found.</p>
|
|
297
310
|
*/
|
|
@@ -311,12 +324,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
311
324
|
*/
|
|
312
325
|
ResourceType: string | undefined;
|
|
313
326
|
}
|
|
314
|
-
export declare namespace ResourceNotFoundException {
|
|
315
|
-
/**
|
|
316
|
-
* @internal
|
|
317
|
-
*/
|
|
318
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
319
|
-
}
|
|
320
327
|
/**
|
|
321
328
|
* <p>Request was denied due to request throttling.</p>
|
|
322
329
|
*/
|
|
@@ -336,12 +343,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
336
343
|
*/
|
|
337
344
|
ServiceCode?: string;
|
|
338
345
|
}
|
|
339
|
-
export declare namespace ThrottlingException {
|
|
340
|
-
/**
|
|
341
|
-
* @internal
|
|
342
|
-
*/
|
|
343
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
344
|
-
}
|
|
345
346
|
/**
|
|
346
347
|
* <p>Stores information about a field passed inside a request that resulted in an exception.</p>
|
|
347
348
|
*/
|
|
@@ -386,11 +387,29 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
386
387
|
*/
|
|
387
388
|
Fields?: ValidationExceptionField[];
|
|
388
389
|
}
|
|
389
|
-
|
|
390
|
+
/**
|
|
391
|
+
* <p>The choice level improvement plan.</p>
|
|
392
|
+
*/
|
|
393
|
+
export interface ChoiceImprovementPlan {
|
|
394
|
+
/**
|
|
395
|
+
* <p>The ID of a choice.</p>
|
|
396
|
+
*/
|
|
397
|
+
ChoiceId?: string;
|
|
398
|
+
/**
|
|
399
|
+
* <p>The display text for the improvement plan.</p>
|
|
400
|
+
*/
|
|
401
|
+
DisplayText?: string;
|
|
402
|
+
/**
|
|
403
|
+
* <p>The improvement plan URL for a question.</p>
|
|
404
|
+
* <p>This value is only available if the question has been answered.</p>
|
|
405
|
+
*/
|
|
406
|
+
ImprovementPlanUrl?: string;
|
|
407
|
+
}
|
|
408
|
+
export declare namespace ChoiceImprovementPlan {
|
|
390
409
|
/**
|
|
391
410
|
* @internal
|
|
392
411
|
*/
|
|
393
|
-
const filterSensitiveLog: (obj:
|
|
412
|
+
const filterSensitiveLog: (obj: ChoiceImprovementPlan) => any;
|
|
394
413
|
}
|
|
395
414
|
/**
|
|
396
415
|
* <p>A list of choices to be updated.</p>
|
|
@@ -415,19 +434,16 @@ export declare namespace ChoiceUpdate {
|
|
|
415
434
|
*/
|
|
416
435
|
const filterSensitiveLog: (obj: ChoiceUpdate) => any;
|
|
417
436
|
}
|
|
418
|
-
|
|
419
|
-
* <p>Input for milestone creation.</p>
|
|
420
|
-
*/
|
|
421
|
-
export interface CreateMilestoneInput {
|
|
437
|
+
export interface CreateLensShareInput {
|
|
422
438
|
/**
|
|
423
|
-
* <p>The
|
|
439
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
440
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
424
441
|
*/
|
|
425
|
-
|
|
442
|
+
LensAlias: string | undefined;
|
|
426
443
|
/**
|
|
427
|
-
* <p>The
|
|
428
|
-
* <p>Milestone names must be unique within a workload.</p>
|
|
444
|
+
* <p>The Amazon Web Services account ID or IAM role with which the workload is shared.</p>
|
|
429
445
|
*/
|
|
430
|
-
|
|
446
|
+
SharedWith: string | undefined;
|
|
431
447
|
/**
|
|
432
448
|
* <p>A unique case-sensitive string used to ensure that this request is idempotent
|
|
433
449
|
* (executes only once).</p>
|
|
@@ -435,38 +451,30 @@ export interface CreateMilestoneInput {
|
|
|
435
451
|
* the same client request token and the same parameters after it has completed
|
|
436
452
|
* successfully, the result of the original request is returned. </p>
|
|
437
453
|
* <important>
|
|
438
|
-
* <p>This token is listed as required, however, if you do not specify it, the
|
|
439
|
-
* automatically generate one for you. If you are not using the
|
|
454
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
455
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
440
456
|
* you must provide this token or the request will fail.</p>
|
|
441
457
|
* </important>
|
|
442
458
|
*/
|
|
443
459
|
ClientRequestToken?: string;
|
|
444
460
|
}
|
|
445
|
-
export declare namespace
|
|
461
|
+
export declare namespace CreateLensShareInput {
|
|
446
462
|
/**
|
|
447
463
|
* @internal
|
|
448
464
|
*/
|
|
449
|
-
const filterSensitiveLog: (obj:
|
|
465
|
+
const filterSensitiveLog: (obj: CreateLensShareInput) => any;
|
|
450
466
|
}
|
|
451
|
-
|
|
452
|
-
* <p>Output of a create milestone call.</p>
|
|
453
|
-
*/
|
|
454
|
-
export interface CreateMilestoneOutput {
|
|
467
|
+
export interface CreateLensShareOutput {
|
|
455
468
|
/**
|
|
456
|
-
* <p>The ID
|
|
457
|
-
*/
|
|
458
|
-
WorkloadId?: string;
|
|
459
|
-
/**
|
|
460
|
-
* <p>The milestone number.</p>
|
|
461
|
-
* <p>A workload can have a maximum of 100 milestones.</p>
|
|
469
|
+
* <p>The ID associated with the workload share.</p>
|
|
462
470
|
*/
|
|
463
|
-
|
|
471
|
+
ShareId?: string;
|
|
464
472
|
}
|
|
465
|
-
export declare namespace
|
|
473
|
+
export declare namespace CreateLensShareOutput {
|
|
466
474
|
/**
|
|
467
475
|
* @internal
|
|
468
476
|
*/
|
|
469
|
-
const filterSensitiveLog: (obj:
|
|
477
|
+
const filterSensitiveLog: (obj: CreateLensShareOutput) => any;
|
|
470
478
|
}
|
|
471
479
|
/**
|
|
472
480
|
* <p>The user has reached their resource quota.</p>
|
|
@@ -495,11 +503,108 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
495
503
|
*/
|
|
496
504
|
ServiceCode: string | undefined;
|
|
497
505
|
}
|
|
498
|
-
export
|
|
506
|
+
export interface CreateLensVersionInput {
|
|
507
|
+
/**
|
|
508
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
509
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
510
|
+
*/
|
|
511
|
+
LensAlias: string | undefined;
|
|
512
|
+
/**
|
|
513
|
+
* <p>The version of the lens being created.</p>
|
|
514
|
+
*/
|
|
515
|
+
LensVersion: string | undefined;
|
|
516
|
+
/**
|
|
517
|
+
* <p>Set to true if this new major lens version.</p>
|
|
518
|
+
*/
|
|
519
|
+
IsMajorVersion?: boolean;
|
|
520
|
+
/**
|
|
521
|
+
* <p>A unique case-sensitive string used to ensure that this request is idempotent
|
|
522
|
+
* (executes only once).</p>
|
|
523
|
+
* <p>You should not reuse the same token for other requests. If you retry a request with
|
|
524
|
+
* the same client request token and the same parameters after it has completed
|
|
525
|
+
* successfully, the result of the original request is returned. </p>
|
|
526
|
+
* <important>
|
|
527
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
528
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
529
|
+
* you must provide this token or the request will fail.</p>
|
|
530
|
+
* </important>
|
|
531
|
+
*/
|
|
532
|
+
ClientRequestToken?: string;
|
|
533
|
+
}
|
|
534
|
+
export declare namespace CreateLensVersionInput {
|
|
499
535
|
/**
|
|
500
536
|
* @internal
|
|
501
537
|
*/
|
|
502
|
-
const filterSensitiveLog: (obj:
|
|
538
|
+
const filterSensitiveLog: (obj: CreateLensVersionInput) => any;
|
|
539
|
+
}
|
|
540
|
+
export interface CreateLensVersionOutput {
|
|
541
|
+
/**
|
|
542
|
+
* <p>The ARN for the lens.</p>
|
|
543
|
+
*/
|
|
544
|
+
LensArn?: string;
|
|
545
|
+
/**
|
|
546
|
+
* <p>The version of the lens.</p>
|
|
547
|
+
*/
|
|
548
|
+
LensVersion?: string;
|
|
549
|
+
}
|
|
550
|
+
export declare namespace CreateLensVersionOutput {
|
|
551
|
+
/**
|
|
552
|
+
* @internal
|
|
553
|
+
*/
|
|
554
|
+
const filterSensitiveLog: (obj: CreateLensVersionOutput) => any;
|
|
555
|
+
}
|
|
556
|
+
/**
|
|
557
|
+
* <p>Input for milestone creation.</p>
|
|
558
|
+
*/
|
|
559
|
+
export interface CreateMilestoneInput {
|
|
560
|
+
/**
|
|
561
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
562
|
+
*/
|
|
563
|
+
WorkloadId: string | undefined;
|
|
564
|
+
/**
|
|
565
|
+
* <p>The name of the milestone in a workload.</p>
|
|
566
|
+
* <p>Milestone names must be unique within a workload.</p>
|
|
567
|
+
*/
|
|
568
|
+
MilestoneName: string | undefined;
|
|
569
|
+
/**
|
|
570
|
+
* <p>A unique case-sensitive string used to ensure that this request is idempotent
|
|
571
|
+
* (executes only once).</p>
|
|
572
|
+
* <p>You should not reuse the same token for other requests. If you retry a request with
|
|
573
|
+
* the same client request token and the same parameters after it has completed
|
|
574
|
+
* successfully, the result of the original request is returned. </p>
|
|
575
|
+
* <important>
|
|
576
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
577
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
578
|
+
* you must provide this token or the request will fail.</p>
|
|
579
|
+
* </important>
|
|
580
|
+
*/
|
|
581
|
+
ClientRequestToken?: string;
|
|
582
|
+
}
|
|
583
|
+
export declare namespace CreateMilestoneInput {
|
|
584
|
+
/**
|
|
585
|
+
* @internal
|
|
586
|
+
*/
|
|
587
|
+
const filterSensitiveLog: (obj: CreateMilestoneInput) => any;
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* <p>Output of a create milestone call.</p>
|
|
591
|
+
*/
|
|
592
|
+
export interface CreateMilestoneOutput {
|
|
593
|
+
/**
|
|
594
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
595
|
+
*/
|
|
596
|
+
WorkloadId?: string;
|
|
597
|
+
/**
|
|
598
|
+
* <p>The milestone number.</p>
|
|
599
|
+
* <p>A workload can have a maximum of 100 milestones.</p>
|
|
600
|
+
*/
|
|
601
|
+
MilestoneNumber?: number;
|
|
602
|
+
}
|
|
603
|
+
export declare namespace CreateMilestoneOutput {
|
|
604
|
+
/**
|
|
605
|
+
* @internal
|
|
606
|
+
*/
|
|
607
|
+
const filterSensitiveLog: (obj: CreateMilestoneOutput) => any;
|
|
503
608
|
}
|
|
504
609
|
export declare enum WorkloadEnvironment {
|
|
505
610
|
PREPRODUCTION = "PREPRODUCTION",
|
|
@@ -511,7 +616,7 @@ export declare enum WorkloadEnvironment {
|
|
|
511
616
|
export interface CreateWorkloadInput {
|
|
512
617
|
/**
|
|
513
618
|
* <p>The name of the workload.</p>
|
|
514
|
-
* <p>The name must be unique within an account within
|
|
619
|
+
* <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization
|
|
515
620
|
* are ignored when checking for uniqueness.</p>
|
|
516
621
|
*/
|
|
517
622
|
WorkloadName: string | undefined;
|
|
@@ -524,16 +629,16 @@ export interface CreateWorkloadInput {
|
|
|
524
629
|
*/
|
|
525
630
|
Environment: WorkloadEnvironment | string | undefined;
|
|
526
631
|
/**
|
|
527
|
-
* <p>The list of
|
|
632
|
+
* <p>The list of Amazon Web Services account IDs associated with the workload.</p>
|
|
528
633
|
*/
|
|
529
634
|
AccountIds?: string[];
|
|
530
635
|
/**
|
|
531
|
-
* <p>The list of
|
|
636
|
+
* <p>The list of Amazon Web Services Regions associated with the workload, for example,
|
|
532
637
|
* <code>us-east-2</code>, or <code>ca-central-1</code>.</p>
|
|
533
638
|
*/
|
|
534
639
|
AwsRegions?: string[];
|
|
535
640
|
/**
|
|
536
|
-
* <p> The list of non-
|
|
641
|
+
* <p> The list of non-Amazon Web Services Regions associated with the workload.</p>
|
|
537
642
|
*/
|
|
538
643
|
NonAwsRegions?: string[];
|
|
539
644
|
/**
|
|
@@ -711,8 +816,8 @@ export interface CreateWorkloadInput {
|
|
|
711
816
|
* the same client request token and the same parameters after it has completed
|
|
712
817
|
* successfully, the result of the original request is returned. </p>
|
|
713
818
|
* <important>
|
|
714
|
-
* <p>This token is listed as required, however, if you do not specify it, the
|
|
715
|
-
* automatically generate one for you. If you are not using the
|
|
819
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
820
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
716
821
|
* you must provide this token or the request will fail.</p>
|
|
717
822
|
* </important>
|
|
718
823
|
*/
|
|
@@ -735,7 +840,7 @@ export declare namespace CreateWorkloadInput {
|
|
|
735
840
|
*/
|
|
736
841
|
export interface CreateWorkloadOutput {
|
|
737
842
|
/**
|
|
738
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
843
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
739
844
|
*/
|
|
740
845
|
WorkloadId?: string;
|
|
741
846
|
/**
|
|
@@ -758,11 +863,11 @@ export declare enum PermissionType {
|
|
|
758
863
|
*/
|
|
759
864
|
export interface CreateWorkloadShareInput {
|
|
760
865
|
/**
|
|
761
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
866
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
762
867
|
*/
|
|
763
868
|
WorkloadId: string | undefined;
|
|
764
869
|
/**
|
|
765
|
-
* <p>The
|
|
870
|
+
* <p>The Amazon Web Services account ID or IAM role with which the workload is shared.</p>
|
|
766
871
|
*/
|
|
767
872
|
SharedWith: string | undefined;
|
|
768
873
|
/**
|
|
@@ -776,8 +881,8 @@ export interface CreateWorkloadShareInput {
|
|
|
776
881
|
* the same client request token and the same parameters after it has completed
|
|
777
882
|
* successfully, the result of the original request is returned. </p>
|
|
778
883
|
* <important>
|
|
779
|
-
* <p>This token is listed as required, however, if you do not specify it, the
|
|
780
|
-
* automatically generate one for you. If you are not using the
|
|
884
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
885
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
781
886
|
* you must provide this token or the request will fail.</p>
|
|
782
887
|
* </important>
|
|
783
888
|
*/
|
|
@@ -794,7 +899,7 @@ export declare namespace CreateWorkloadShareInput {
|
|
|
794
899
|
*/
|
|
795
900
|
export interface CreateWorkloadShareOutput {
|
|
796
901
|
/**
|
|
797
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
902
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
798
903
|
*/
|
|
799
904
|
WorkloadId?: string;
|
|
800
905
|
/**
|
|
@@ -808,12 +913,77 @@ export declare namespace CreateWorkloadShareOutput {
|
|
|
808
913
|
*/
|
|
809
914
|
const filterSensitiveLog: (obj: CreateWorkloadShareOutput) => any;
|
|
810
915
|
}
|
|
916
|
+
export declare enum LensStatusType {
|
|
917
|
+
ALL = "ALL",
|
|
918
|
+
DRAFT = "DRAFT",
|
|
919
|
+
PUBLISHED = "PUBLISHED"
|
|
920
|
+
}
|
|
921
|
+
export interface DeleteLensInput {
|
|
922
|
+
/**
|
|
923
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
924
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
925
|
+
*/
|
|
926
|
+
LensAlias: string | undefined;
|
|
927
|
+
/**
|
|
928
|
+
* <p>A unique case-sensitive string used to ensure that this request is idempotent
|
|
929
|
+
* (executes only once).</p>
|
|
930
|
+
* <p>You should not reuse the same token for other requests. If you retry a request with
|
|
931
|
+
* the same client request token and the same parameters after it has completed
|
|
932
|
+
* successfully, the result of the original request is returned. </p>
|
|
933
|
+
* <important>
|
|
934
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
935
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
936
|
+
* you must provide this token or the request will fail.</p>
|
|
937
|
+
* </important>
|
|
938
|
+
*/
|
|
939
|
+
ClientRequestToken?: string;
|
|
940
|
+
/**
|
|
941
|
+
* <p>The status of the lens to be deleted.</p>
|
|
942
|
+
*/
|
|
943
|
+
LensStatus: LensStatusType | string | undefined;
|
|
944
|
+
}
|
|
945
|
+
export declare namespace DeleteLensInput {
|
|
946
|
+
/**
|
|
947
|
+
* @internal
|
|
948
|
+
*/
|
|
949
|
+
const filterSensitiveLog: (obj: DeleteLensInput) => any;
|
|
950
|
+
}
|
|
951
|
+
export interface DeleteLensShareInput {
|
|
952
|
+
/**
|
|
953
|
+
* <p>The ID associated with the workload share.</p>
|
|
954
|
+
*/
|
|
955
|
+
ShareId: string | undefined;
|
|
956
|
+
/**
|
|
957
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
958
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
959
|
+
*/
|
|
960
|
+
LensAlias: string | undefined;
|
|
961
|
+
/**
|
|
962
|
+
* <p>A unique case-sensitive string used to ensure that this request is idempotent
|
|
963
|
+
* (executes only once).</p>
|
|
964
|
+
* <p>You should not reuse the same token for other requests. If you retry a request with
|
|
965
|
+
* the same client request token and the same parameters after it has completed
|
|
966
|
+
* successfully, the result of the original request is returned. </p>
|
|
967
|
+
* <important>
|
|
968
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
969
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
970
|
+
* you must provide this token or the request will fail.</p>
|
|
971
|
+
* </important>
|
|
972
|
+
*/
|
|
973
|
+
ClientRequestToken?: string;
|
|
974
|
+
}
|
|
975
|
+
export declare namespace DeleteLensShareInput {
|
|
976
|
+
/**
|
|
977
|
+
* @internal
|
|
978
|
+
*/
|
|
979
|
+
const filterSensitiveLog: (obj: DeleteLensShareInput) => any;
|
|
980
|
+
}
|
|
811
981
|
/**
|
|
812
982
|
* <p>Input for workload deletion.</p>
|
|
813
983
|
*/
|
|
814
984
|
export interface DeleteWorkloadInput {
|
|
815
985
|
/**
|
|
816
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
986
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
817
987
|
*/
|
|
818
988
|
WorkloadId: string | undefined;
|
|
819
989
|
/**
|
|
@@ -823,8 +993,8 @@ export interface DeleteWorkloadInput {
|
|
|
823
993
|
* the same client request token and the same parameters after it has completed
|
|
824
994
|
* successfully, the result of the original request is returned. </p>
|
|
825
995
|
* <important>
|
|
826
|
-
* <p>This token is listed as required, however, if you do not specify it, the
|
|
827
|
-
* automatically generate one for you. If you are not using the
|
|
996
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
997
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
828
998
|
* you must provide this token or the request will fail.</p>
|
|
829
999
|
* </important>
|
|
830
1000
|
*/
|
|
@@ -845,7 +1015,7 @@ export interface DeleteWorkloadShareInput {
|
|
|
845
1015
|
*/
|
|
846
1016
|
ShareId: string | undefined;
|
|
847
1017
|
/**
|
|
848
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1018
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
849
1019
|
*/
|
|
850
1020
|
WorkloadId: string | undefined;
|
|
851
1021
|
/**
|
|
@@ -855,8 +1025,8 @@ export interface DeleteWorkloadShareInput {
|
|
|
855
1025
|
* the same client request token and the same parameters after it has completed
|
|
856
1026
|
* successfully, the result of the original request is returned. </p>
|
|
857
1027
|
* <important>
|
|
858
|
-
* <p>This token is listed as required, however, if you do not specify it, the
|
|
859
|
-
* automatically generate one for you. If you are not using the
|
|
1028
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
1029
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
860
1030
|
* you must provide this token or the request will fail.</p>
|
|
861
1031
|
* </important>
|
|
862
1032
|
*/
|
|
@@ -878,11 +1048,11 @@ export declare enum DifferenceStatus {
|
|
|
878
1048
|
*/
|
|
879
1049
|
export interface DisassociateLensesInput {
|
|
880
1050
|
/**
|
|
881
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1051
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
882
1052
|
*/
|
|
883
1053
|
WorkloadId: string | undefined;
|
|
884
1054
|
/**
|
|
885
|
-
* <p>List of lens aliases to associate or disassociate with a workload.</p>
|
|
1055
|
+
* <p>List of lens aliases to associate or disassociate with a workload. Up to 10 lenses can be specified.</p>
|
|
886
1056
|
* <p>Identify a lens using its <a>LensSummary$LensAlias</a>.</p>
|
|
887
1057
|
*/
|
|
888
1058
|
LensAliases: string[] | undefined;
|
|
@@ -893,12 +1063,41 @@ export declare namespace DisassociateLensesInput {
|
|
|
893
1063
|
*/
|
|
894
1064
|
const filterSensitiveLog: (obj: DisassociateLensesInput) => any;
|
|
895
1065
|
}
|
|
1066
|
+
export interface ExportLensInput {
|
|
1067
|
+
/**
|
|
1068
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
1069
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1070
|
+
*/
|
|
1071
|
+
LensAlias: string | undefined;
|
|
1072
|
+
/**
|
|
1073
|
+
* <p>The lens version to be exported.</p>
|
|
1074
|
+
*/
|
|
1075
|
+
LensVersion?: string;
|
|
1076
|
+
}
|
|
1077
|
+
export declare namespace ExportLensInput {
|
|
1078
|
+
/**
|
|
1079
|
+
* @internal
|
|
1080
|
+
*/
|
|
1081
|
+
const filterSensitiveLog: (obj: ExportLensInput) => any;
|
|
1082
|
+
}
|
|
1083
|
+
export interface ExportLensOutput {
|
|
1084
|
+
/**
|
|
1085
|
+
* <p>The JSON for the lens.</p>
|
|
1086
|
+
*/
|
|
1087
|
+
LensJSON?: string;
|
|
1088
|
+
}
|
|
1089
|
+
export declare namespace ExportLensOutput {
|
|
1090
|
+
/**
|
|
1091
|
+
* @internal
|
|
1092
|
+
*/
|
|
1093
|
+
const filterSensitiveLog: (obj: ExportLensOutput) => any;
|
|
1094
|
+
}
|
|
896
1095
|
/**
|
|
897
1096
|
* <p>Input to get answer.</p>
|
|
898
1097
|
*/
|
|
899
1098
|
export interface GetAnswerInput {
|
|
900
1099
|
/**
|
|
901
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1100
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
902
1101
|
*/
|
|
903
1102
|
WorkloadId: string | undefined;
|
|
904
1103
|
/**
|
|
@@ -927,7 +1126,7 @@ export declare namespace GetAnswerInput {
|
|
|
927
1126
|
*/
|
|
928
1127
|
export interface GetAnswerOutput {
|
|
929
1128
|
/**
|
|
930
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1129
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
931
1130
|
*/
|
|
932
1131
|
WorkloadId?: string;
|
|
933
1132
|
/**
|
|
@@ -940,6 +1139,10 @@ export interface GetAnswerOutput {
|
|
|
940
1139
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
941
1140
|
*/
|
|
942
1141
|
LensAlias?: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* <p>The ARN for the lens.</p>
|
|
1144
|
+
*/
|
|
1145
|
+
LensArn?: string;
|
|
943
1146
|
/**
|
|
944
1147
|
* <p>An answer of the question.</p>
|
|
945
1148
|
*/
|
|
@@ -951,12 +1154,76 @@ export declare namespace GetAnswerOutput {
|
|
|
951
1154
|
*/
|
|
952
1155
|
const filterSensitiveLog: (obj: GetAnswerOutput) => any;
|
|
953
1156
|
}
|
|
1157
|
+
export interface GetLensInput {
|
|
1158
|
+
/**
|
|
1159
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
1160
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1161
|
+
*/
|
|
1162
|
+
LensAlias: string | undefined;
|
|
1163
|
+
/**
|
|
1164
|
+
* <p>The lens version to be retrieved.</p>
|
|
1165
|
+
*/
|
|
1166
|
+
LensVersion?: string;
|
|
1167
|
+
}
|
|
1168
|
+
export declare namespace GetLensInput {
|
|
1169
|
+
/**
|
|
1170
|
+
* @internal
|
|
1171
|
+
*/
|
|
1172
|
+
const filterSensitiveLog: (obj: GetLensInput) => any;
|
|
1173
|
+
}
|
|
1174
|
+
/**
|
|
1175
|
+
* <p>A lens return object.</p>
|
|
1176
|
+
*/
|
|
1177
|
+
export interface Lens {
|
|
1178
|
+
/**
|
|
1179
|
+
* <p>The ARN of a lens.</p>
|
|
1180
|
+
*/
|
|
1181
|
+
LensArn?: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* <p>The version of a lens.</p>
|
|
1184
|
+
*/
|
|
1185
|
+
LensVersion?: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* <p>The full name of the lens.</p>
|
|
1188
|
+
*/
|
|
1189
|
+
Name?: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* <p>The description of the lens.</p>
|
|
1192
|
+
*/
|
|
1193
|
+
Description?: string;
|
|
1194
|
+
/**
|
|
1195
|
+
* <p>The Amazon Web Services account ID that owns the lens.</p>
|
|
1196
|
+
*/
|
|
1197
|
+
Owner?: string;
|
|
1198
|
+
/**
|
|
1199
|
+
* <p>The ID assigned to the share invitation.</p>
|
|
1200
|
+
*/
|
|
1201
|
+
ShareInvitationId?: string;
|
|
1202
|
+
}
|
|
1203
|
+
export declare namespace Lens {
|
|
1204
|
+
/**
|
|
1205
|
+
* @internal
|
|
1206
|
+
*/
|
|
1207
|
+
const filterSensitiveLog: (obj: Lens) => any;
|
|
1208
|
+
}
|
|
1209
|
+
export interface GetLensOutput {
|
|
1210
|
+
/**
|
|
1211
|
+
* <p>A lens return object.</p>
|
|
1212
|
+
*/
|
|
1213
|
+
Lens?: Lens;
|
|
1214
|
+
}
|
|
1215
|
+
export declare namespace GetLensOutput {
|
|
1216
|
+
/**
|
|
1217
|
+
* @internal
|
|
1218
|
+
*/
|
|
1219
|
+
const filterSensitiveLog: (obj: GetLensOutput) => any;
|
|
1220
|
+
}
|
|
954
1221
|
/**
|
|
955
1222
|
* <p>Input to get lens review.</p>
|
|
956
1223
|
*/
|
|
957
1224
|
export interface GetLensReviewInput {
|
|
958
1225
|
/**
|
|
959
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1226
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
960
1227
|
*/
|
|
961
1228
|
WorkloadId: string | undefined;
|
|
962
1229
|
/**
|
|
@@ -978,8 +1245,10 @@ export declare namespace GetLensReviewInput {
|
|
|
978
1245
|
}
|
|
979
1246
|
export declare enum LensStatus {
|
|
980
1247
|
CURRENT = "CURRENT",
|
|
1248
|
+
DELETED = "DELETED",
|
|
981
1249
|
DEPRECATED = "DEPRECATED",
|
|
982
|
-
NOT_CURRENT = "NOT_CURRENT"
|
|
1250
|
+
NOT_CURRENT = "NOT_CURRENT",
|
|
1251
|
+
UNSHARED = "UNSHARED"
|
|
983
1252
|
}
|
|
984
1253
|
/**
|
|
985
1254
|
* <p>A pillar review summary of a lens review.</p>
|
|
@@ -1020,6 +1289,10 @@ export interface LensReview {
|
|
|
1020
1289
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1021
1290
|
*/
|
|
1022
1291
|
LensAlias?: string;
|
|
1292
|
+
/**
|
|
1293
|
+
* <p>The ARN for the lens.</p>
|
|
1294
|
+
*/
|
|
1295
|
+
LensArn?: string;
|
|
1023
1296
|
/**
|
|
1024
1297
|
* <p>The version of the lens.</p>
|
|
1025
1298
|
*/
|
|
@@ -1066,7 +1339,7 @@ export declare namespace LensReview {
|
|
|
1066
1339
|
*/
|
|
1067
1340
|
export interface GetLensReviewOutput {
|
|
1068
1341
|
/**
|
|
1069
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1342
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1070
1343
|
*/
|
|
1071
1344
|
WorkloadId?: string;
|
|
1072
1345
|
/**
|
|
@@ -1090,7 +1363,7 @@ export declare namespace GetLensReviewOutput {
|
|
|
1090
1363
|
*/
|
|
1091
1364
|
export interface GetLensReviewReportInput {
|
|
1092
1365
|
/**
|
|
1093
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1366
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1094
1367
|
*/
|
|
1095
1368
|
WorkloadId: string | undefined;
|
|
1096
1369
|
/**
|
|
@@ -1119,6 +1392,10 @@ export interface LensReviewReport {
|
|
|
1119
1392
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1120
1393
|
*/
|
|
1121
1394
|
LensAlias?: string;
|
|
1395
|
+
/**
|
|
1396
|
+
* <p>The ARN for the lens.</p>
|
|
1397
|
+
*/
|
|
1398
|
+
LensArn?: string;
|
|
1122
1399
|
/**
|
|
1123
1400
|
* <p>The Base64-encoded string representation of a lens review report.</p>
|
|
1124
1401
|
* <p>This data can be used to create a PDF file.</p>
|
|
@@ -1136,7 +1413,7 @@ export declare namespace LensReviewReport {
|
|
|
1136
1413
|
*/
|
|
1137
1414
|
export interface GetLensReviewReportOutput {
|
|
1138
1415
|
/**
|
|
1139
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1416
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1140
1417
|
*/
|
|
1141
1418
|
WorkloadId?: string;
|
|
1142
1419
|
/**
|
|
@@ -1164,7 +1441,11 @@ export interface GetLensVersionDifferenceInput {
|
|
|
1164
1441
|
/**
|
|
1165
1442
|
* <p>The base version of the lens.</p>
|
|
1166
1443
|
*/
|
|
1167
|
-
BaseLensVersion
|
|
1444
|
+
BaseLensVersion?: string;
|
|
1445
|
+
/**
|
|
1446
|
+
* <p>The lens version to target a difference for.</p>
|
|
1447
|
+
*/
|
|
1448
|
+
TargetLensVersion?: string;
|
|
1168
1449
|
}
|
|
1169
1450
|
export declare namespace GetLensVersionDifferenceInput {
|
|
1170
1451
|
/**
|
|
@@ -1204,6 +1485,10 @@ export interface PillarDifference {
|
|
|
1204
1485
|
* <p>A pillar is identified by its <a>PillarReviewSummary$PillarId</a>.</p>
|
|
1205
1486
|
*/
|
|
1206
1487
|
PillarId?: string;
|
|
1488
|
+
/**
|
|
1489
|
+
* <p>The name of the pillar.</p>
|
|
1490
|
+
*/
|
|
1491
|
+
PillarName?: string;
|
|
1207
1492
|
/**
|
|
1208
1493
|
* <p>Indicates the type of change to the pillar.</p>
|
|
1209
1494
|
*/
|
|
@@ -1240,10 +1525,18 @@ export interface GetLensVersionDifferenceOutput {
|
|
|
1240
1525
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1241
1526
|
*/
|
|
1242
1527
|
LensAlias?: string;
|
|
1528
|
+
/**
|
|
1529
|
+
* <p>The ARN for the lens.</p>
|
|
1530
|
+
*/
|
|
1531
|
+
LensArn?: string;
|
|
1243
1532
|
/**
|
|
1244
1533
|
* <p>The base version of the lens.</p>
|
|
1245
1534
|
*/
|
|
1246
1535
|
BaseLensVersion?: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* <p>The target lens version for the lens.</p>
|
|
1538
|
+
*/
|
|
1539
|
+
TargetLensVersion?: string;
|
|
1247
1540
|
/**
|
|
1248
1541
|
* <p>The latest version of the lens.</p>
|
|
1249
1542
|
*/
|
|
@@ -1264,7 +1557,7 @@ export declare namespace GetLensVersionDifferenceOutput {
|
|
|
1264
1557
|
*/
|
|
1265
1558
|
export interface GetMilestoneInput {
|
|
1266
1559
|
/**
|
|
1267
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1560
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1268
1561
|
*/
|
|
1269
1562
|
WorkloadId: string | undefined;
|
|
1270
1563
|
/**
|
|
@@ -1291,7 +1584,7 @@ export declare enum WorkloadImprovementStatus {
|
|
|
1291
1584
|
*/
|
|
1292
1585
|
export interface Workload {
|
|
1293
1586
|
/**
|
|
1294
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1587
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1295
1588
|
*/
|
|
1296
1589
|
WorkloadId?: string;
|
|
1297
1590
|
/**
|
|
@@ -1300,7 +1593,7 @@ export interface Workload {
|
|
|
1300
1593
|
WorkloadArn?: string;
|
|
1301
1594
|
/**
|
|
1302
1595
|
* <p>The name of the workload.</p>
|
|
1303
|
-
* <p>The name must be unique within an account within
|
|
1596
|
+
* <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization
|
|
1304
1597
|
* are ignored when checking for uniqueness.</p>
|
|
1305
1598
|
*/
|
|
1306
1599
|
WorkloadName?: string;
|
|
@@ -1317,16 +1610,16 @@ export interface Workload {
|
|
|
1317
1610
|
*/
|
|
1318
1611
|
UpdatedAt?: Date;
|
|
1319
1612
|
/**
|
|
1320
|
-
* <p>The list of
|
|
1613
|
+
* <p>The list of Amazon Web Services account IDs associated with the workload.</p>
|
|
1321
1614
|
*/
|
|
1322
1615
|
AccountIds?: string[];
|
|
1323
1616
|
/**
|
|
1324
|
-
* <p>The list of
|
|
1617
|
+
* <p>The list of Amazon Web Services Regions associated with the workload, for example,
|
|
1325
1618
|
* <code>us-east-2</code>, or <code>ca-central-1</code>.</p>
|
|
1326
1619
|
*/
|
|
1327
1620
|
AwsRegions?: string[];
|
|
1328
1621
|
/**
|
|
1329
|
-
* <p> The list of non-
|
|
1622
|
+
* <p> The list of non-Amazon Web Services Regions associated with the workload.</p>
|
|
1330
1623
|
*/
|
|
1331
1624
|
NonAwsRegions?: string[];
|
|
1332
1625
|
/**
|
|
@@ -1520,7 +1813,7 @@ export interface Workload {
|
|
|
1520
1813
|
*/
|
|
1521
1814
|
Lenses?: string[];
|
|
1522
1815
|
/**
|
|
1523
|
-
* <p>An
|
|
1816
|
+
* <p>An Amazon Web Services account ID.</p>
|
|
1524
1817
|
*/
|
|
1525
1818
|
Owner?: string;
|
|
1526
1819
|
/**
|
|
@@ -1574,7 +1867,7 @@ export declare namespace Milestone {
|
|
|
1574
1867
|
*/
|
|
1575
1868
|
export interface GetMilestoneOutput {
|
|
1576
1869
|
/**
|
|
1577
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1870
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1578
1871
|
*/
|
|
1579
1872
|
WorkloadId?: string;
|
|
1580
1873
|
/**
|
|
@@ -1593,7 +1886,7 @@ export declare namespace GetMilestoneOutput {
|
|
|
1593
1886
|
*/
|
|
1594
1887
|
export interface GetWorkloadInput {
|
|
1595
1888
|
/**
|
|
1596
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1889
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1597
1890
|
*/
|
|
1598
1891
|
WorkloadId: string | undefined;
|
|
1599
1892
|
}
|
|
@@ -1618,6 +1911,63 @@ export declare namespace GetWorkloadOutput {
|
|
|
1618
1911
|
*/
|
|
1619
1912
|
const filterSensitiveLog: (obj: GetWorkloadOutput) => any;
|
|
1620
1913
|
}
|
|
1914
|
+
export interface ImportLensInput {
|
|
1915
|
+
/**
|
|
1916
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
1917
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1918
|
+
*/
|
|
1919
|
+
LensAlias?: string;
|
|
1920
|
+
/**
|
|
1921
|
+
* <p>The JSON representation of a lens.</p>
|
|
1922
|
+
*/
|
|
1923
|
+
JSONString: string | undefined;
|
|
1924
|
+
/**
|
|
1925
|
+
* <p>A unique case-sensitive string used to ensure that this request is idempotent
|
|
1926
|
+
* (executes only once).</p>
|
|
1927
|
+
* <p>You should not reuse the same token for other requests. If you retry a request with
|
|
1928
|
+
* the same client request token and the same parameters after it has completed
|
|
1929
|
+
* successfully, the result of the original request is returned. </p>
|
|
1930
|
+
* <important>
|
|
1931
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
1932
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
1933
|
+
* you must provide this token or the request will fail.</p>
|
|
1934
|
+
* </important>
|
|
1935
|
+
*/
|
|
1936
|
+
ClientRequestToken?: string;
|
|
1937
|
+
/**
|
|
1938
|
+
* <p>Tags to associate to a lens.</p>
|
|
1939
|
+
*/
|
|
1940
|
+
Tags?: {
|
|
1941
|
+
[key: string]: string;
|
|
1942
|
+
};
|
|
1943
|
+
}
|
|
1944
|
+
export declare namespace ImportLensInput {
|
|
1945
|
+
/**
|
|
1946
|
+
* @internal
|
|
1947
|
+
*/
|
|
1948
|
+
const filterSensitiveLog: (obj: ImportLensInput) => any;
|
|
1949
|
+
}
|
|
1950
|
+
export declare enum ImportLensStatus {
|
|
1951
|
+
COMPLETE = "COMPLETE",
|
|
1952
|
+
ERROR = "ERROR",
|
|
1953
|
+
IN_PROGRESS = "IN_PROGRESS"
|
|
1954
|
+
}
|
|
1955
|
+
export interface ImportLensOutput {
|
|
1956
|
+
/**
|
|
1957
|
+
* <p>The ARN for the lens.</p>
|
|
1958
|
+
*/
|
|
1959
|
+
LensArn?: string;
|
|
1960
|
+
/**
|
|
1961
|
+
* <p>The status of the imported lens.</p>
|
|
1962
|
+
*/
|
|
1963
|
+
Status?: ImportLensStatus | string;
|
|
1964
|
+
}
|
|
1965
|
+
export declare namespace ImportLensOutput {
|
|
1966
|
+
/**
|
|
1967
|
+
* @internal
|
|
1968
|
+
*/
|
|
1969
|
+
const filterSensitiveLog: (obj: ImportLensOutput) => any;
|
|
1970
|
+
}
|
|
1621
1971
|
/**
|
|
1622
1972
|
* <p>An improvement summary of a lens review in a workload.</p>
|
|
1623
1973
|
*/
|
|
@@ -1644,6 +1994,10 @@ export interface ImprovementSummary {
|
|
|
1644
1994
|
* <p>This value is only available if the question has been answered.</p>
|
|
1645
1995
|
*/
|
|
1646
1996
|
ImprovementPlanUrl?: string;
|
|
1997
|
+
/**
|
|
1998
|
+
* <p>The improvement plan details.</p>
|
|
1999
|
+
*/
|
|
2000
|
+
ImprovementPlans?: ChoiceImprovementPlan[];
|
|
1647
2001
|
}
|
|
1648
2002
|
export declare namespace ImprovementSummary {
|
|
1649
2003
|
/**
|
|
@@ -1660,6 +2014,10 @@ export interface LensReviewSummary {
|
|
|
1660
2014
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1661
2015
|
*/
|
|
1662
2016
|
LensAlias?: string;
|
|
2017
|
+
/**
|
|
2018
|
+
* <p>The ARN for the lens.</p>
|
|
2019
|
+
*/
|
|
2020
|
+
LensArn?: string;
|
|
1663
2021
|
/**
|
|
1664
2022
|
* <p>The version of the lens.</p>
|
|
1665
2023
|
*/
|
|
@@ -1689,27 +2047,86 @@ export declare namespace LensReviewSummary {
|
|
|
1689
2047
|
*/
|
|
1690
2048
|
const filterSensitiveLog: (obj: LensReviewSummary) => any;
|
|
1691
2049
|
}
|
|
2050
|
+
export declare enum ShareStatus {
|
|
2051
|
+
ACCEPTED = "ACCEPTED",
|
|
2052
|
+
EXPIRED = "EXPIRED",
|
|
2053
|
+
PENDING = "PENDING",
|
|
2054
|
+
REJECTED = "REJECTED",
|
|
2055
|
+
REVOKED = "REVOKED"
|
|
2056
|
+
}
|
|
2057
|
+
/**
|
|
2058
|
+
* <p>A lens share summary return object.</p>
|
|
2059
|
+
*/
|
|
2060
|
+
export interface LensShareSummary {
|
|
2061
|
+
/**
|
|
2062
|
+
* <p>The ID associated with the workload share.</p>
|
|
2063
|
+
*/
|
|
2064
|
+
ShareId?: string;
|
|
2065
|
+
/**
|
|
2066
|
+
* <p>The Amazon Web Services account ID or IAM role with which the workload is shared.</p>
|
|
2067
|
+
*/
|
|
2068
|
+
SharedWith?: string;
|
|
2069
|
+
/**
|
|
2070
|
+
* <p>The status of a workload share.</p>
|
|
2071
|
+
*/
|
|
2072
|
+
Status?: ShareStatus | string;
|
|
2073
|
+
}
|
|
2074
|
+
export declare namespace LensShareSummary {
|
|
2075
|
+
/**
|
|
2076
|
+
* @internal
|
|
2077
|
+
*/
|
|
2078
|
+
const filterSensitiveLog: (obj: LensShareSummary) => any;
|
|
2079
|
+
}
|
|
2080
|
+
export declare enum LensType {
|
|
2081
|
+
AWS_OFFICIAL = "AWS_OFFICIAL",
|
|
2082
|
+
CUSTOM_SELF = "CUSTOM_SELF",
|
|
2083
|
+
CUSTOM_SHARED = "CUSTOM_SHARED"
|
|
2084
|
+
}
|
|
1692
2085
|
/**
|
|
1693
2086
|
* <p>A lens summary of a lens.</p>
|
|
1694
2087
|
*/
|
|
1695
2088
|
export interface LensSummary {
|
|
2089
|
+
/**
|
|
2090
|
+
* <p>The ARN of the lens.</p>
|
|
2091
|
+
*/
|
|
2092
|
+
LensArn?: string;
|
|
1696
2093
|
/**
|
|
1697
2094
|
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
1698
2095
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1699
2096
|
*/
|
|
1700
2097
|
LensAlias?: string;
|
|
1701
|
-
/**
|
|
1702
|
-
* <p>The version of the lens.</p>
|
|
1703
|
-
*/
|
|
1704
|
-
LensVersion?: string;
|
|
1705
2098
|
/**
|
|
1706
2099
|
* <p>The full name of the lens.</p>
|
|
1707
2100
|
*/
|
|
1708
2101
|
LensName?: string;
|
|
2102
|
+
/**
|
|
2103
|
+
* <p>The type of the lens.</p>
|
|
2104
|
+
*/
|
|
2105
|
+
LensType?: LensType | string;
|
|
1709
2106
|
/**
|
|
1710
2107
|
* <p>The description of the lens.</p>
|
|
1711
2108
|
*/
|
|
1712
2109
|
Description?: string;
|
|
2110
|
+
/**
|
|
2111
|
+
* <p>The date and time recorded.</p>
|
|
2112
|
+
*/
|
|
2113
|
+
CreatedAt?: Date;
|
|
2114
|
+
/**
|
|
2115
|
+
* <p>The date and time recorded.</p>
|
|
2116
|
+
*/
|
|
2117
|
+
UpdatedAt?: Date;
|
|
2118
|
+
/**
|
|
2119
|
+
* <p>The version of the lens.</p>
|
|
2120
|
+
*/
|
|
2121
|
+
LensVersion?: string;
|
|
2122
|
+
/**
|
|
2123
|
+
* <p>An Amazon Web Services account ID.</p>
|
|
2124
|
+
*/
|
|
2125
|
+
Owner?: string;
|
|
2126
|
+
/**
|
|
2127
|
+
* <p>The status of the lens.</p>
|
|
2128
|
+
*/
|
|
2129
|
+
LensStatus?: LensStatus | string;
|
|
1713
2130
|
}
|
|
1714
2131
|
export declare namespace LensSummary {
|
|
1715
2132
|
/**
|
|
@@ -1722,12 +2139,12 @@ export declare namespace LensSummary {
|
|
|
1722
2139
|
*/
|
|
1723
2140
|
export interface LensUpgradeSummary {
|
|
1724
2141
|
/**
|
|
1725
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2142
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1726
2143
|
*/
|
|
1727
2144
|
WorkloadId?: string;
|
|
1728
2145
|
/**
|
|
1729
2146
|
* <p>The name of the workload.</p>
|
|
1730
|
-
* <p>The name must be unique within an account within
|
|
2147
|
+
* <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization
|
|
1731
2148
|
* are ignored when checking for uniqueness.</p>
|
|
1732
2149
|
*/
|
|
1733
2150
|
WorkloadName?: string;
|
|
@@ -1736,6 +2153,10 @@ export interface LensUpgradeSummary {
|
|
|
1736
2153
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1737
2154
|
*/
|
|
1738
2155
|
LensAlias?: string;
|
|
2156
|
+
/**
|
|
2157
|
+
* <p>The ARN for the lens.</p>
|
|
2158
|
+
*/
|
|
2159
|
+
LensArn?: string;
|
|
1739
2160
|
/**
|
|
1740
2161
|
* <p>The current version of the lens.</p>
|
|
1741
2162
|
*/
|
|
@@ -1756,7 +2177,7 @@ export declare namespace LensUpgradeSummary {
|
|
|
1756
2177
|
*/
|
|
1757
2178
|
export interface ListAnswersInput {
|
|
1758
2179
|
/**
|
|
1759
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2180
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1760
2181
|
*/
|
|
1761
2182
|
WorkloadId: string | undefined;
|
|
1762
2183
|
/**
|
|
@@ -1794,7 +2215,7 @@ export declare namespace ListAnswersInput {
|
|
|
1794
2215
|
*/
|
|
1795
2216
|
export interface ListAnswersOutput {
|
|
1796
2217
|
/**
|
|
1797
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2218
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1798
2219
|
*/
|
|
1799
2220
|
WorkloadId?: string;
|
|
1800
2221
|
/**
|
|
@@ -1807,6 +2228,10 @@ export interface ListAnswersOutput {
|
|
|
1807
2228
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1808
2229
|
*/
|
|
1809
2230
|
LensAlias?: string;
|
|
2231
|
+
/**
|
|
2232
|
+
* <p>The ARN for the lens.</p>
|
|
2233
|
+
*/
|
|
2234
|
+
LensArn?: string;
|
|
1810
2235
|
/**
|
|
1811
2236
|
* <p>List of answer summaries of lens review in a workload.</p>
|
|
1812
2237
|
*/
|
|
@@ -1834,6 +2259,18 @@ export interface ListLensesInput {
|
|
|
1834
2259
|
* <p>The maximum number of results to return for this request.</p>
|
|
1835
2260
|
*/
|
|
1836
2261
|
MaxResults?: number;
|
|
2262
|
+
/**
|
|
2263
|
+
* <p>The type of lenses to be returned.</p>
|
|
2264
|
+
*/
|
|
2265
|
+
LensType?: LensType | string;
|
|
2266
|
+
/**
|
|
2267
|
+
* <p>The status of lenses to be returned.</p>
|
|
2268
|
+
*/
|
|
2269
|
+
LensStatus?: LensStatusType | string;
|
|
2270
|
+
/**
|
|
2271
|
+
* <p>The full name of the lens.</p>
|
|
2272
|
+
*/
|
|
2273
|
+
LensName?: string;
|
|
1837
2274
|
}
|
|
1838
2275
|
export declare namespace ListLensesInput {
|
|
1839
2276
|
/**
|
|
@@ -1865,7 +2302,7 @@ export declare namespace ListLensesOutput {
|
|
|
1865
2302
|
*/
|
|
1866
2303
|
export interface ListLensReviewImprovementsInput {
|
|
1867
2304
|
/**
|
|
1868
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2305
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1869
2306
|
*/
|
|
1870
2307
|
WorkloadId: string | undefined;
|
|
1871
2308
|
/**
|
|
@@ -1903,7 +2340,7 @@ export declare namespace ListLensReviewImprovementsInput {
|
|
|
1903
2340
|
*/
|
|
1904
2341
|
export interface ListLensReviewImprovementsOutput {
|
|
1905
2342
|
/**
|
|
1906
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2343
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1907
2344
|
*/
|
|
1908
2345
|
WorkloadId?: string;
|
|
1909
2346
|
/**
|
|
@@ -1916,6 +2353,10 @@ export interface ListLensReviewImprovementsOutput {
|
|
|
1916
2353
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1917
2354
|
*/
|
|
1918
2355
|
LensAlias?: string;
|
|
2356
|
+
/**
|
|
2357
|
+
* <p>The ARN for the lens.</p>
|
|
2358
|
+
*/
|
|
2359
|
+
LensArn?: string;
|
|
1919
2360
|
/**
|
|
1920
2361
|
* <p>List of improvement summaries of lens review in a workload.</p>
|
|
1921
2362
|
*/
|
|
@@ -1936,7 +2377,7 @@ export declare namespace ListLensReviewImprovementsOutput {
|
|
|
1936
2377
|
*/
|
|
1937
2378
|
export interface ListLensReviewsInput {
|
|
1938
2379
|
/**
|
|
1939
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2380
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1940
2381
|
*/
|
|
1941
2382
|
WorkloadId: string | undefined;
|
|
1942
2383
|
/**
|
|
@@ -1964,7 +2405,7 @@ export declare namespace ListLensReviewsInput {
|
|
|
1964
2405
|
*/
|
|
1965
2406
|
export interface ListLensReviewsOutput {
|
|
1966
2407
|
/**
|
|
1967
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2408
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1968
2409
|
*/
|
|
1969
2410
|
WorkloadId?: string;
|
|
1970
2411
|
/**
|
|
@@ -1987,12 +2428,53 @@ export declare namespace ListLensReviewsOutput {
|
|
|
1987
2428
|
*/
|
|
1988
2429
|
const filterSensitiveLog: (obj: ListLensReviewsOutput) => any;
|
|
1989
2430
|
}
|
|
2431
|
+
export interface ListLensSharesInput {
|
|
2432
|
+
/**
|
|
2433
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
2434
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
2435
|
+
*/
|
|
2436
|
+
LensAlias: string | undefined;
|
|
2437
|
+
/**
|
|
2438
|
+
* <p>The Amazon Web Services account ID or IAM role with which the lens is shared.</p>
|
|
2439
|
+
*/
|
|
2440
|
+
SharedWithPrefix?: string;
|
|
2441
|
+
/**
|
|
2442
|
+
* <p>The token to use to retrieve the next set of results.</p>
|
|
2443
|
+
*/
|
|
2444
|
+
NextToken?: string;
|
|
2445
|
+
/**
|
|
2446
|
+
* <p>The maximum number of results to return for this request.</p>
|
|
2447
|
+
*/
|
|
2448
|
+
MaxResults?: number;
|
|
2449
|
+
}
|
|
2450
|
+
export declare namespace ListLensSharesInput {
|
|
2451
|
+
/**
|
|
2452
|
+
* @internal
|
|
2453
|
+
*/
|
|
2454
|
+
const filterSensitiveLog: (obj: ListLensSharesInput) => any;
|
|
2455
|
+
}
|
|
2456
|
+
export interface ListLensSharesOutput {
|
|
2457
|
+
/**
|
|
2458
|
+
* <p>A list of lens share summaries.</p>
|
|
2459
|
+
*/
|
|
2460
|
+
LensShareSummaries?: LensShareSummary[];
|
|
2461
|
+
/**
|
|
2462
|
+
* <p>The token to use to retrieve the next set of results.</p>
|
|
2463
|
+
*/
|
|
2464
|
+
NextToken?: string;
|
|
2465
|
+
}
|
|
2466
|
+
export declare namespace ListLensSharesOutput {
|
|
2467
|
+
/**
|
|
2468
|
+
* @internal
|
|
2469
|
+
*/
|
|
2470
|
+
const filterSensitiveLog: (obj: ListLensSharesOutput) => any;
|
|
2471
|
+
}
|
|
1990
2472
|
/**
|
|
1991
2473
|
* <p>Input to list all milestones for a workload.</p>
|
|
1992
2474
|
*/
|
|
1993
2475
|
export interface ListMilestonesInput {
|
|
1994
2476
|
/**
|
|
1995
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2477
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1996
2478
|
*/
|
|
1997
2479
|
WorkloadId: string | undefined;
|
|
1998
2480
|
/**
|
|
@@ -2015,7 +2497,7 @@ export declare namespace ListMilestonesInput {
|
|
|
2015
2497
|
*/
|
|
2016
2498
|
export interface WorkloadSummary {
|
|
2017
2499
|
/**
|
|
2018
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2500
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2019
2501
|
*/
|
|
2020
2502
|
WorkloadId?: string;
|
|
2021
2503
|
/**
|
|
@@ -2024,12 +2506,12 @@ export interface WorkloadSummary {
|
|
|
2024
2506
|
WorkloadArn?: string;
|
|
2025
2507
|
/**
|
|
2026
2508
|
* <p>The name of the workload.</p>
|
|
2027
|
-
* <p>The name must be unique within an account within
|
|
2509
|
+
* <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization
|
|
2028
2510
|
* are ignored when checking for uniqueness.</p>
|
|
2029
2511
|
*/
|
|
2030
2512
|
WorkloadName?: string;
|
|
2031
2513
|
/**
|
|
2032
|
-
* <p>An
|
|
2514
|
+
* <p>An Amazon Web Services account ID.</p>
|
|
2033
2515
|
*/
|
|
2034
2516
|
Owner?: string;
|
|
2035
2517
|
/**
|
|
@@ -2091,7 +2573,7 @@ export declare namespace MilestoneSummary {
|
|
|
2091
2573
|
*/
|
|
2092
2574
|
export interface ListMilestonesOutput {
|
|
2093
2575
|
/**
|
|
2094
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2576
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2095
2577
|
*/
|
|
2096
2578
|
WorkloadId?: string;
|
|
2097
2579
|
/**
|
|
@@ -2111,7 +2593,7 @@ export declare namespace ListMilestonesOutput {
|
|
|
2111
2593
|
}
|
|
2112
2594
|
export interface ListNotificationsInput {
|
|
2113
2595
|
/**
|
|
2114
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2596
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2115
2597
|
*/
|
|
2116
2598
|
WorkloadId?: string;
|
|
2117
2599
|
/**
|
|
@@ -2168,6 +2650,10 @@ export declare namespace ListNotificationsOutput {
|
|
|
2168
2650
|
*/
|
|
2169
2651
|
const filterSensitiveLog: (obj: ListNotificationsOutput) => any;
|
|
2170
2652
|
}
|
|
2653
|
+
export declare enum ShareResourceType {
|
|
2654
|
+
LENS = "LENS",
|
|
2655
|
+
WORKLOAD = "WORKLOAD"
|
|
2656
|
+
}
|
|
2171
2657
|
/**
|
|
2172
2658
|
* <p>Input for List Share Invitations</p>
|
|
2173
2659
|
*/
|
|
@@ -2177,6 +2663,14 @@ export interface ListShareInvitationsInput {
|
|
|
2177
2663
|
* results.</p>
|
|
2178
2664
|
*/
|
|
2179
2665
|
WorkloadNamePrefix?: string;
|
|
2666
|
+
/**
|
|
2667
|
+
* <p>An optional string added to the beginning of each lens name returned in the results.</p>
|
|
2668
|
+
*/
|
|
2669
|
+
LensNamePrefix?: string;
|
|
2670
|
+
/**
|
|
2671
|
+
* <p>The type of share invitations to be returned.</p>
|
|
2672
|
+
*/
|
|
2673
|
+
ShareResourceType?: ShareResourceType | string;
|
|
2180
2674
|
/**
|
|
2181
2675
|
* <p>The token to use to retrieve the next set of results.</p>
|
|
2182
2676
|
*/
|
|
@@ -2201,27 +2695,39 @@ export interface ShareInvitationSummary {
|
|
|
2201
2695
|
*/
|
|
2202
2696
|
ShareInvitationId?: string;
|
|
2203
2697
|
/**
|
|
2204
|
-
* <p>An
|
|
2698
|
+
* <p>An Amazon Web Services account ID.</p>
|
|
2205
2699
|
*/
|
|
2206
2700
|
SharedBy?: string;
|
|
2207
2701
|
/**
|
|
2208
|
-
* <p>The
|
|
2702
|
+
* <p>The Amazon Web Services account ID or IAM role with which the workload is shared.</p>
|
|
2209
2703
|
*/
|
|
2210
2704
|
SharedWith?: string;
|
|
2211
2705
|
/**
|
|
2212
2706
|
* <p>Permission granted on a workload share.</p>
|
|
2213
2707
|
*/
|
|
2214
2708
|
PermissionType?: PermissionType | string;
|
|
2709
|
+
/**
|
|
2710
|
+
* <p>The resource type of the share invitation.</p>
|
|
2711
|
+
*/
|
|
2712
|
+
ShareResourceType?: ShareResourceType | string;
|
|
2215
2713
|
/**
|
|
2216
2714
|
* <p>The name of the workload.</p>
|
|
2217
|
-
* <p>The name must be unique within an account within
|
|
2715
|
+
* <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization
|
|
2218
2716
|
* are ignored when checking for uniqueness.</p>
|
|
2219
2717
|
*/
|
|
2220
2718
|
WorkloadName?: string;
|
|
2221
2719
|
/**
|
|
2222
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2720
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2223
2721
|
*/
|
|
2224
2722
|
WorkloadId?: string;
|
|
2723
|
+
/**
|
|
2724
|
+
* <p>The full name of the lens.</p>
|
|
2725
|
+
*/
|
|
2726
|
+
LensName?: string;
|
|
2727
|
+
/**
|
|
2728
|
+
* <p>The ARN for the lens.</p>
|
|
2729
|
+
*/
|
|
2730
|
+
LensArn?: string;
|
|
2225
2731
|
}
|
|
2226
2732
|
export declare namespace ShareInvitationSummary {
|
|
2227
2733
|
/**
|
|
@@ -2322,11 +2828,11 @@ export declare namespace ListWorkloadsOutput {
|
|
|
2322
2828
|
*/
|
|
2323
2829
|
export interface ListWorkloadSharesInput {
|
|
2324
2830
|
/**
|
|
2325
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2831
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2326
2832
|
*/
|
|
2327
2833
|
WorkloadId: string | undefined;
|
|
2328
2834
|
/**
|
|
2329
|
-
* <p>The
|
|
2835
|
+
* <p>The Amazon Web Services account ID or IAM role with which the workload is shared.</p>
|
|
2330
2836
|
*/
|
|
2331
2837
|
SharedWithPrefix?: string;
|
|
2332
2838
|
/**
|
|
@@ -2344,13 +2850,6 @@ export declare namespace ListWorkloadSharesInput {
|
|
|
2344
2850
|
*/
|
|
2345
2851
|
const filterSensitiveLog: (obj: ListWorkloadSharesInput) => any;
|
|
2346
2852
|
}
|
|
2347
|
-
export declare enum ShareStatus {
|
|
2348
|
-
ACCEPTED = "ACCEPTED",
|
|
2349
|
-
EXPIRED = "EXPIRED",
|
|
2350
|
-
PENDING = "PENDING",
|
|
2351
|
-
REJECTED = "REJECTED",
|
|
2352
|
-
REVOKED = "REVOKED"
|
|
2353
|
-
}
|
|
2354
2853
|
/**
|
|
2355
2854
|
* <p>A workload share summary return object.</p>
|
|
2356
2855
|
*/
|
|
@@ -2360,7 +2859,7 @@ export interface WorkloadShareSummary {
|
|
|
2360
2859
|
*/
|
|
2361
2860
|
ShareId?: string;
|
|
2362
2861
|
/**
|
|
2363
|
-
* <p>The
|
|
2862
|
+
* <p>The Amazon Web Services account ID or IAM role with which the workload is shared.</p>
|
|
2364
2863
|
*/
|
|
2365
2864
|
SharedWith?: string;
|
|
2366
2865
|
/**
|
|
@@ -2383,7 +2882,7 @@ export declare namespace WorkloadShareSummary {
|
|
|
2383
2882
|
*/
|
|
2384
2883
|
export interface ListWorkloadSharesOutput {
|
|
2385
2884
|
/**
|
|
2386
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2885
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2387
2886
|
*/
|
|
2388
2887
|
WorkloadId?: string;
|
|
2389
2888
|
/**
|
|
@@ -2410,9 +2909,22 @@ export interface ShareInvitation {
|
|
|
2410
2909
|
*/
|
|
2411
2910
|
ShareInvitationId?: string;
|
|
2412
2911
|
/**
|
|
2413
|
-
* <p>The
|
|
2912
|
+
* <p>The resource type of the share invitation.</p>
|
|
2913
|
+
*/
|
|
2914
|
+
ShareResourceType?: ShareResourceType | string;
|
|
2915
|
+
/**
|
|
2916
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2414
2917
|
*/
|
|
2415
2918
|
WorkloadId?: string;
|
|
2919
|
+
/**
|
|
2920
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
2921
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
2922
|
+
*/
|
|
2923
|
+
LensAlias?: string;
|
|
2924
|
+
/**
|
|
2925
|
+
* <p>The ARN for the lens.</p>
|
|
2926
|
+
*/
|
|
2927
|
+
LensArn?: string;
|
|
2416
2928
|
}
|
|
2417
2929
|
export declare namespace ShareInvitation {
|
|
2418
2930
|
/**
|
|
@@ -2480,7 +2992,7 @@ export declare namespace UntagResourceOutput {
|
|
|
2480
2992
|
*/
|
|
2481
2993
|
export interface UpdateAnswerInput {
|
|
2482
2994
|
/**
|
|
2483
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2995
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2484
2996
|
*/
|
|
2485
2997
|
WorkloadId: string | undefined;
|
|
2486
2998
|
/**
|
|
@@ -2528,7 +3040,7 @@ export declare namespace UpdateAnswerInput {
|
|
|
2528
3040
|
*/
|
|
2529
3041
|
export interface UpdateAnswerOutput {
|
|
2530
3042
|
/**
|
|
2531
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3043
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2532
3044
|
*/
|
|
2533
3045
|
WorkloadId?: string;
|
|
2534
3046
|
/**
|
|
@@ -2536,6 +3048,10 @@ export interface UpdateAnswerOutput {
|
|
|
2536
3048
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
2537
3049
|
*/
|
|
2538
3050
|
LensAlias?: string;
|
|
3051
|
+
/**
|
|
3052
|
+
* <p>The ARN for the lens.</p>
|
|
3053
|
+
*/
|
|
3054
|
+
LensArn?: string;
|
|
2539
3055
|
/**
|
|
2540
3056
|
* <p>An answer of the question.</p>
|
|
2541
3057
|
*/
|
|
@@ -2552,7 +3068,7 @@ export declare namespace UpdateAnswerOutput {
|
|
|
2552
3068
|
*/
|
|
2553
3069
|
export interface UpdateLensReviewInput {
|
|
2554
3070
|
/**
|
|
2555
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3071
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2556
3072
|
*/
|
|
2557
3073
|
WorkloadId: string | undefined;
|
|
2558
3074
|
/**
|
|
@@ -2582,7 +3098,7 @@ export declare namespace UpdateLensReviewInput {
|
|
|
2582
3098
|
*/
|
|
2583
3099
|
export interface UpdateLensReviewOutput {
|
|
2584
3100
|
/**
|
|
2585
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3101
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2586
3102
|
*/
|
|
2587
3103
|
WorkloadId?: string;
|
|
2588
3104
|
/**
|
|
@@ -2632,12 +3148,12 @@ export declare namespace UpdateShareInvitationOutput {
|
|
|
2632
3148
|
*/
|
|
2633
3149
|
export interface UpdateWorkloadInput {
|
|
2634
3150
|
/**
|
|
2635
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3151
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2636
3152
|
*/
|
|
2637
3153
|
WorkloadId: string | undefined;
|
|
2638
3154
|
/**
|
|
2639
3155
|
* <p>The name of the workload.</p>
|
|
2640
|
-
* <p>The name must be unique within an account within
|
|
3156
|
+
* <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization
|
|
2641
3157
|
* are ignored when checking for uniqueness.</p>
|
|
2642
3158
|
*/
|
|
2643
3159
|
WorkloadName?: string;
|
|
@@ -2650,16 +3166,16 @@ export interface UpdateWorkloadInput {
|
|
|
2650
3166
|
*/
|
|
2651
3167
|
Environment?: WorkloadEnvironment | string;
|
|
2652
3168
|
/**
|
|
2653
|
-
* <p>The list of
|
|
3169
|
+
* <p>The list of Amazon Web Services account IDs associated with the workload.</p>
|
|
2654
3170
|
*/
|
|
2655
3171
|
AccountIds?: string[];
|
|
2656
3172
|
/**
|
|
2657
|
-
* <p>The list of
|
|
3173
|
+
* <p>The list of Amazon Web Services Regions associated with the workload, for example,
|
|
2658
3174
|
* <code>us-east-2</code>, or <code>ca-central-1</code>.</p>
|
|
2659
3175
|
*/
|
|
2660
3176
|
AwsRegions?: string[];
|
|
2661
3177
|
/**
|
|
2662
|
-
* <p> The list of non-
|
|
3178
|
+
* <p> The list of non-Amazon Web Services Regions associated with the workload.</p>
|
|
2663
3179
|
*/
|
|
2664
3180
|
NonAwsRegions?: string[];
|
|
2665
3181
|
/**
|
|
@@ -2869,7 +3385,7 @@ export interface UpdateWorkloadShareInput {
|
|
|
2869
3385
|
*/
|
|
2870
3386
|
ShareId: string | undefined;
|
|
2871
3387
|
/**
|
|
2872
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3388
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2873
3389
|
*/
|
|
2874
3390
|
WorkloadId: string | undefined;
|
|
2875
3391
|
/**
|
|
@@ -2892,11 +3408,11 @@ export interface WorkloadShare {
|
|
|
2892
3408
|
*/
|
|
2893
3409
|
ShareId?: string;
|
|
2894
3410
|
/**
|
|
2895
|
-
* <p>An
|
|
3411
|
+
* <p>An Amazon Web Services account ID.</p>
|
|
2896
3412
|
*/
|
|
2897
3413
|
SharedBy?: string;
|
|
2898
3414
|
/**
|
|
2899
|
-
* <p>The
|
|
3415
|
+
* <p>The Amazon Web Services account ID or IAM role with which the workload is shared.</p>
|
|
2900
3416
|
*/
|
|
2901
3417
|
SharedWith?: string;
|
|
2902
3418
|
/**
|
|
@@ -2909,12 +3425,12 @@ export interface WorkloadShare {
|
|
|
2909
3425
|
Status?: ShareStatus | string;
|
|
2910
3426
|
/**
|
|
2911
3427
|
* <p>The name of the workload.</p>
|
|
2912
|
-
* <p>The name must be unique within an account within
|
|
3428
|
+
* <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization
|
|
2913
3429
|
* are ignored when checking for uniqueness.</p>
|
|
2914
3430
|
*/
|
|
2915
3431
|
WorkloadName?: string;
|
|
2916
3432
|
/**
|
|
2917
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3433
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2918
3434
|
*/
|
|
2919
3435
|
WorkloadId?: string;
|
|
2920
3436
|
}
|
|
@@ -2929,7 +3445,7 @@ export declare namespace WorkloadShare {
|
|
|
2929
3445
|
*/
|
|
2930
3446
|
export interface UpdateWorkloadShareOutput {
|
|
2931
3447
|
/**
|
|
2932
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3448
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2933
3449
|
*/
|
|
2934
3450
|
WorkloadId?: string;
|
|
2935
3451
|
/**
|
|
@@ -2945,7 +3461,7 @@ export declare namespace UpdateWorkloadShareOutput {
|
|
|
2945
3461
|
}
|
|
2946
3462
|
export interface UpgradeLensReviewInput {
|
|
2947
3463
|
/**
|
|
2948
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3464
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2949
3465
|
*/
|
|
2950
3466
|
WorkloadId: string | undefined;
|
|
2951
3467
|
/**
|
|
@@ -2965,8 +3481,8 @@ export interface UpgradeLensReviewInput {
|
|
|
2965
3481
|
* the same client request token and the same parameters after it has completed
|
|
2966
3482
|
* successfully, the result of the original request is returned. </p>
|
|
2967
3483
|
* <important>
|
|
2968
|
-
* <p>This token is listed as required, however, if you do not specify it, the
|
|
2969
|
-
* automatically generate one for you. If you are not using the
|
|
3484
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
3485
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
2970
3486
|
* you must provide this token or the request will fail.</p>
|
|
2971
3487
|
* </important>
|
|
2972
3488
|
*/
|