@aws-sdk/client-wellarchitected 3.43.0 → 3.44.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 +11 -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/models/models_0.js +150 -17
- 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-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/models/models_0.js +109 -12
- 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-types/WellArchitected.d.ts +156 -13
- package/dist-types/WellArchitectedClient.d.ts +16 -8
- 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 +676 -118
- 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/ts3.4/WellArchitected.d.ts +40 -0
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +10 -2
- 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 +321 -24
- 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/package.json +1 -1
|
@@ -55,6 +55,25 @@ export declare namespace ChoiceAnswer {
|
|
|
55
55
|
*/
|
|
56
56
|
const filterSensitiveLog: (obj: ChoiceAnswer) => any;
|
|
57
57
|
}
|
|
58
|
+
/**
|
|
59
|
+
* <p>The choice content.</p>
|
|
60
|
+
*/
|
|
61
|
+
export interface ChoiceContent {
|
|
62
|
+
/**
|
|
63
|
+
* <p>The display text for the choice content.</p>
|
|
64
|
+
*/
|
|
65
|
+
DisplayText?: string;
|
|
66
|
+
/**
|
|
67
|
+
* <p>The URL for the choice content.</p>
|
|
68
|
+
*/
|
|
69
|
+
Url?: string;
|
|
70
|
+
}
|
|
71
|
+
export declare namespace ChoiceContent {
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
const filterSensitiveLog: (obj: ChoiceContent) => any;
|
|
76
|
+
}
|
|
58
77
|
/**
|
|
59
78
|
* <p>A choice available to answer question.</p>
|
|
60
79
|
*/
|
|
@@ -71,6 +90,14 @@ export interface Choice {
|
|
|
71
90
|
* <p>The description of a choice.</p>
|
|
72
91
|
*/
|
|
73
92
|
Description?: string;
|
|
93
|
+
/**
|
|
94
|
+
* <p>The choice level helpful resource.</p>
|
|
95
|
+
*/
|
|
96
|
+
HelpfulResource?: ChoiceContent;
|
|
97
|
+
/**
|
|
98
|
+
* <p>The choice level improvement plan.</p>
|
|
99
|
+
*/
|
|
100
|
+
ImprovementPlan?: ChoiceContent;
|
|
74
101
|
}
|
|
75
102
|
export declare namespace Choice {
|
|
76
103
|
/**
|
|
@@ -122,6 +149,10 @@ export interface Answer {
|
|
|
122
149
|
* <p>The helpful resource URL for a question.</p>
|
|
123
150
|
*/
|
|
124
151
|
HelpfulResourceUrl?: string;
|
|
152
|
+
/**
|
|
153
|
+
* <p>The helpful resource text to be displayed.</p>
|
|
154
|
+
*/
|
|
155
|
+
HelpfulResourceDisplayText?: string;
|
|
125
156
|
/**
|
|
126
157
|
* <p>List of choices available for a question.</p>
|
|
127
158
|
*/
|
|
@@ -235,11 +266,11 @@ export declare namespace AnswerSummary {
|
|
|
235
266
|
*/
|
|
236
267
|
export interface AssociateLensesInput {
|
|
237
268
|
/**
|
|
238
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
269
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
239
270
|
*/
|
|
240
271
|
WorkloadId: string | undefined;
|
|
241
272
|
/**
|
|
242
|
-
* <p>List of lens aliases to associate or disassociate with a workload.</p>
|
|
273
|
+
* <p>List of lens aliases to associate or disassociate with a workload. Up to 10 lenses can be specified.</p>
|
|
243
274
|
* <p>Identify a lens using its <a>LensSummary$LensAlias</a>.</p>
|
|
244
275
|
*/
|
|
245
276
|
LensAliases: string[] | undefined;
|
|
@@ -276,7 +307,7 @@ export declare namespace ConflictException {
|
|
|
276
307
|
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
277
308
|
}
|
|
278
309
|
/**
|
|
279
|
-
* <p>There is a problem with the
|
|
310
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
280
311
|
*/
|
|
281
312
|
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
282
313
|
name: "InternalServerException";
|
|
@@ -392,6 +423,30 @@ export declare namespace ValidationException {
|
|
|
392
423
|
*/
|
|
393
424
|
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
394
425
|
}
|
|
426
|
+
/**
|
|
427
|
+
* <p>The choice level improvement plan.</p>
|
|
428
|
+
*/
|
|
429
|
+
export interface ChoiceImprovementPlan {
|
|
430
|
+
/**
|
|
431
|
+
* <p>The ID of a choice.</p>
|
|
432
|
+
*/
|
|
433
|
+
ChoiceId?: string;
|
|
434
|
+
/**
|
|
435
|
+
* <p>The display text for the improvement plan.</p>
|
|
436
|
+
*/
|
|
437
|
+
DisplayText?: string;
|
|
438
|
+
/**
|
|
439
|
+
* <p>The improvement plan URL for a question.</p>
|
|
440
|
+
* <p>This value is only available if the question has been answered.</p>
|
|
441
|
+
*/
|
|
442
|
+
ImprovementPlanUrl?: string;
|
|
443
|
+
}
|
|
444
|
+
export declare namespace ChoiceImprovementPlan {
|
|
445
|
+
/**
|
|
446
|
+
* @internal
|
|
447
|
+
*/
|
|
448
|
+
const filterSensitiveLog: (obj: ChoiceImprovementPlan) => any;
|
|
449
|
+
}
|
|
395
450
|
/**
|
|
396
451
|
* <p>A list of choices to be updated.</p>
|
|
397
452
|
*/
|
|
@@ -415,19 +470,16 @@ export declare namespace ChoiceUpdate {
|
|
|
415
470
|
*/
|
|
416
471
|
const filterSensitiveLog: (obj: ChoiceUpdate) => any;
|
|
417
472
|
}
|
|
418
|
-
|
|
419
|
-
* <p>Input for milestone creation.</p>
|
|
420
|
-
*/
|
|
421
|
-
export interface CreateMilestoneInput {
|
|
473
|
+
export interface CreateLensShareInput {
|
|
422
474
|
/**
|
|
423
|
-
* <p>The
|
|
475
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
476
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
424
477
|
*/
|
|
425
|
-
|
|
478
|
+
LensAlias: string | undefined;
|
|
426
479
|
/**
|
|
427
|
-
* <p>The
|
|
428
|
-
* <p>Milestone names must be unique within a workload.</p>
|
|
480
|
+
* <p>The Amazon Web Services account ID or IAM role with which the workload is shared.</p>
|
|
429
481
|
*/
|
|
430
|
-
|
|
482
|
+
SharedWith: string | undefined;
|
|
431
483
|
/**
|
|
432
484
|
* <p>A unique case-sensitive string used to ensure that this request is idempotent
|
|
433
485
|
* (executes only once).</p>
|
|
@@ -435,38 +487,30 @@ export interface CreateMilestoneInput {
|
|
|
435
487
|
* the same client request token and the same parameters after it has completed
|
|
436
488
|
* successfully, the result of the original request is returned. </p>
|
|
437
489
|
* <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
|
|
490
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
491
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
440
492
|
* you must provide this token or the request will fail.</p>
|
|
441
493
|
* </important>
|
|
442
494
|
*/
|
|
443
495
|
ClientRequestToken?: string;
|
|
444
496
|
}
|
|
445
|
-
export declare namespace
|
|
497
|
+
export declare namespace CreateLensShareInput {
|
|
446
498
|
/**
|
|
447
499
|
* @internal
|
|
448
500
|
*/
|
|
449
|
-
const filterSensitiveLog: (obj:
|
|
501
|
+
const filterSensitiveLog: (obj: CreateLensShareInput) => any;
|
|
450
502
|
}
|
|
451
|
-
|
|
452
|
-
* <p>Output of a create milestone call.</p>
|
|
453
|
-
*/
|
|
454
|
-
export interface CreateMilestoneOutput {
|
|
503
|
+
export interface CreateLensShareOutput {
|
|
455
504
|
/**
|
|
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>
|
|
505
|
+
* <p>The ID associated with the workload share.</p>
|
|
462
506
|
*/
|
|
463
|
-
|
|
507
|
+
ShareId?: string;
|
|
464
508
|
}
|
|
465
|
-
export declare namespace
|
|
509
|
+
export declare namespace CreateLensShareOutput {
|
|
466
510
|
/**
|
|
467
511
|
* @internal
|
|
468
512
|
*/
|
|
469
|
-
const filterSensitiveLog: (obj:
|
|
513
|
+
const filterSensitiveLog: (obj: CreateLensShareOutput) => any;
|
|
470
514
|
}
|
|
471
515
|
/**
|
|
472
516
|
* <p>The user has reached their resource quota.</p>
|
|
@@ -501,6 +545,109 @@ export declare namespace ServiceQuotaExceededException {
|
|
|
501
545
|
*/
|
|
502
546
|
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
503
547
|
}
|
|
548
|
+
export interface CreateLensVersionInput {
|
|
549
|
+
/**
|
|
550
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
551
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
552
|
+
*/
|
|
553
|
+
LensAlias: string | undefined;
|
|
554
|
+
/**
|
|
555
|
+
* <p>The version of the lens being created.</p>
|
|
556
|
+
*/
|
|
557
|
+
LensVersion: string | undefined;
|
|
558
|
+
/**
|
|
559
|
+
* <p>Set to true if this new major lens version.</p>
|
|
560
|
+
*/
|
|
561
|
+
IsMajorVersion?: boolean;
|
|
562
|
+
/**
|
|
563
|
+
* <p>A unique case-sensitive string used to ensure that this request is idempotent
|
|
564
|
+
* (executes only once).</p>
|
|
565
|
+
* <p>You should not reuse the same token for other requests. If you retry a request with
|
|
566
|
+
* the same client request token and the same parameters after it has completed
|
|
567
|
+
* successfully, the result of the original request is returned. </p>
|
|
568
|
+
* <important>
|
|
569
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
570
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
571
|
+
* you must provide this token or the request will fail.</p>
|
|
572
|
+
* </important>
|
|
573
|
+
*/
|
|
574
|
+
ClientRequestToken?: string;
|
|
575
|
+
}
|
|
576
|
+
export declare namespace CreateLensVersionInput {
|
|
577
|
+
/**
|
|
578
|
+
* @internal
|
|
579
|
+
*/
|
|
580
|
+
const filterSensitiveLog: (obj: CreateLensVersionInput) => any;
|
|
581
|
+
}
|
|
582
|
+
export interface CreateLensVersionOutput {
|
|
583
|
+
/**
|
|
584
|
+
* <p>The ARN for the lens.</p>
|
|
585
|
+
*/
|
|
586
|
+
LensArn?: string;
|
|
587
|
+
/**
|
|
588
|
+
* <p>The version of the lens.</p>
|
|
589
|
+
*/
|
|
590
|
+
LensVersion?: string;
|
|
591
|
+
}
|
|
592
|
+
export declare namespace CreateLensVersionOutput {
|
|
593
|
+
/**
|
|
594
|
+
* @internal
|
|
595
|
+
*/
|
|
596
|
+
const filterSensitiveLog: (obj: CreateLensVersionOutput) => any;
|
|
597
|
+
}
|
|
598
|
+
/**
|
|
599
|
+
* <p>Input for milestone creation.</p>
|
|
600
|
+
*/
|
|
601
|
+
export interface CreateMilestoneInput {
|
|
602
|
+
/**
|
|
603
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
604
|
+
*/
|
|
605
|
+
WorkloadId: string | undefined;
|
|
606
|
+
/**
|
|
607
|
+
* <p>The name of the milestone in a workload.</p>
|
|
608
|
+
* <p>Milestone names must be unique within a workload.</p>
|
|
609
|
+
*/
|
|
610
|
+
MilestoneName: string | undefined;
|
|
611
|
+
/**
|
|
612
|
+
* <p>A unique case-sensitive string used to ensure that this request is idempotent
|
|
613
|
+
* (executes only once).</p>
|
|
614
|
+
* <p>You should not reuse the same token for other requests. If you retry a request with
|
|
615
|
+
* the same client request token and the same parameters after it has completed
|
|
616
|
+
* successfully, the result of the original request is returned. </p>
|
|
617
|
+
* <important>
|
|
618
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
619
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
620
|
+
* you must provide this token or the request will fail.</p>
|
|
621
|
+
* </important>
|
|
622
|
+
*/
|
|
623
|
+
ClientRequestToken?: string;
|
|
624
|
+
}
|
|
625
|
+
export declare namespace CreateMilestoneInput {
|
|
626
|
+
/**
|
|
627
|
+
* @internal
|
|
628
|
+
*/
|
|
629
|
+
const filterSensitiveLog: (obj: CreateMilestoneInput) => any;
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* <p>Output of a create milestone call.</p>
|
|
633
|
+
*/
|
|
634
|
+
export interface CreateMilestoneOutput {
|
|
635
|
+
/**
|
|
636
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
637
|
+
*/
|
|
638
|
+
WorkloadId?: string;
|
|
639
|
+
/**
|
|
640
|
+
* <p>The milestone number.</p>
|
|
641
|
+
* <p>A workload can have a maximum of 100 milestones.</p>
|
|
642
|
+
*/
|
|
643
|
+
MilestoneNumber?: number;
|
|
644
|
+
}
|
|
645
|
+
export declare namespace CreateMilestoneOutput {
|
|
646
|
+
/**
|
|
647
|
+
* @internal
|
|
648
|
+
*/
|
|
649
|
+
const filterSensitiveLog: (obj: CreateMilestoneOutput) => any;
|
|
650
|
+
}
|
|
504
651
|
export declare enum WorkloadEnvironment {
|
|
505
652
|
PREPRODUCTION = "PREPRODUCTION",
|
|
506
653
|
PRODUCTION = "PRODUCTION"
|
|
@@ -511,7 +658,7 @@ export declare enum WorkloadEnvironment {
|
|
|
511
658
|
export interface CreateWorkloadInput {
|
|
512
659
|
/**
|
|
513
660
|
* <p>The name of the workload.</p>
|
|
514
|
-
* <p>The name must be unique within an account within
|
|
661
|
+
* <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization
|
|
515
662
|
* are ignored when checking for uniqueness.</p>
|
|
516
663
|
*/
|
|
517
664
|
WorkloadName: string | undefined;
|
|
@@ -524,16 +671,16 @@ export interface CreateWorkloadInput {
|
|
|
524
671
|
*/
|
|
525
672
|
Environment: WorkloadEnvironment | string | undefined;
|
|
526
673
|
/**
|
|
527
|
-
* <p>The list of
|
|
674
|
+
* <p>The list of Amazon Web Services account IDs associated with the workload.</p>
|
|
528
675
|
*/
|
|
529
676
|
AccountIds?: string[];
|
|
530
677
|
/**
|
|
531
|
-
* <p>The list of
|
|
678
|
+
* <p>The list of Amazon Web Services Regions associated with the workload, for example,
|
|
532
679
|
* <code>us-east-2</code>, or <code>ca-central-1</code>.</p>
|
|
533
680
|
*/
|
|
534
681
|
AwsRegions?: string[];
|
|
535
682
|
/**
|
|
536
|
-
* <p> The list of non-
|
|
683
|
+
* <p> The list of non-Amazon Web Services Regions associated with the workload.</p>
|
|
537
684
|
*/
|
|
538
685
|
NonAwsRegions?: string[];
|
|
539
686
|
/**
|
|
@@ -711,8 +858,8 @@ export interface CreateWorkloadInput {
|
|
|
711
858
|
* the same client request token and the same parameters after it has completed
|
|
712
859
|
* successfully, the result of the original request is returned. </p>
|
|
713
860
|
* <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
|
|
861
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
862
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
716
863
|
* you must provide this token or the request will fail.</p>
|
|
717
864
|
* </important>
|
|
718
865
|
*/
|
|
@@ -735,7 +882,7 @@ export declare namespace CreateWorkloadInput {
|
|
|
735
882
|
*/
|
|
736
883
|
export interface CreateWorkloadOutput {
|
|
737
884
|
/**
|
|
738
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
885
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
739
886
|
*/
|
|
740
887
|
WorkloadId?: string;
|
|
741
888
|
/**
|
|
@@ -758,11 +905,11 @@ export declare enum PermissionType {
|
|
|
758
905
|
*/
|
|
759
906
|
export interface CreateWorkloadShareInput {
|
|
760
907
|
/**
|
|
761
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
908
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
762
909
|
*/
|
|
763
910
|
WorkloadId: string | undefined;
|
|
764
911
|
/**
|
|
765
|
-
* <p>The
|
|
912
|
+
* <p>The Amazon Web Services account ID or IAM role with which the workload is shared.</p>
|
|
766
913
|
*/
|
|
767
914
|
SharedWith: string | undefined;
|
|
768
915
|
/**
|
|
@@ -776,8 +923,8 @@ export interface CreateWorkloadShareInput {
|
|
|
776
923
|
* the same client request token and the same parameters after it has completed
|
|
777
924
|
* successfully, the result of the original request is returned. </p>
|
|
778
925
|
* <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
|
|
926
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
927
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
781
928
|
* you must provide this token or the request will fail.</p>
|
|
782
929
|
* </important>
|
|
783
930
|
*/
|
|
@@ -794,7 +941,7 @@ export declare namespace CreateWorkloadShareInput {
|
|
|
794
941
|
*/
|
|
795
942
|
export interface CreateWorkloadShareOutput {
|
|
796
943
|
/**
|
|
797
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
944
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
798
945
|
*/
|
|
799
946
|
WorkloadId?: string;
|
|
800
947
|
/**
|
|
@@ -808,12 +955,77 @@ export declare namespace CreateWorkloadShareOutput {
|
|
|
808
955
|
*/
|
|
809
956
|
const filterSensitiveLog: (obj: CreateWorkloadShareOutput) => any;
|
|
810
957
|
}
|
|
958
|
+
export declare enum LensStatusType {
|
|
959
|
+
ALL = "ALL",
|
|
960
|
+
DRAFT = "DRAFT",
|
|
961
|
+
PUBLISHED = "PUBLISHED"
|
|
962
|
+
}
|
|
963
|
+
export interface DeleteLensInput {
|
|
964
|
+
/**
|
|
965
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
966
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
967
|
+
*/
|
|
968
|
+
LensAlias: string | undefined;
|
|
969
|
+
/**
|
|
970
|
+
* <p>A unique case-sensitive string used to ensure that this request is idempotent
|
|
971
|
+
* (executes only once).</p>
|
|
972
|
+
* <p>You should not reuse the same token for other requests. If you retry a request with
|
|
973
|
+
* the same client request token and the same parameters after it has completed
|
|
974
|
+
* successfully, the result of the original request is returned. </p>
|
|
975
|
+
* <important>
|
|
976
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
977
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
978
|
+
* you must provide this token or the request will fail.</p>
|
|
979
|
+
* </important>
|
|
980
|
+
*/
|
|
981
|
+
ClientRequestToken?: string;
|
|
982
|
+
/**
|
|
983
|
+
* <p>The status of the lens to be deleted.</p>
|
|
984
|
+
*/
|
|
985
|
+
LensStatus: LensStatusType | string | undefined;
|
|
986
|
+
}
|
|
987
|
+
export declare namespace DeleteLensInput {
|
|
988
|
+
/**
|
|
989
|
+
* @internal
|
|
990
|
+
*/
|
|
991
|
+
const filterSensitiveLog: (obj: DeleteLensInput) => any;
|
|
992
|
+
}
|
|
993
|
+
export interface DeleteLensShareInput {
|
|
994
|
+
/**
|
|
995
|
+
* <p>The ID associated with the workload share.</p>
|
|
996
|
+
*/
|
|
997
|
+
ShareId: string | undefined;
|
|
998
|
+
/**
|
|
999
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
1000
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1001
|
+
*/
|
|
1002
|
+
LensAlias: string | undefined;
|
|
1003
|
+
/**
|
|
1004
|
+
* <p>A unique case-sensitive string used to ensure that this request is idempotent
|
|
1005
|
+
* (executes only once).</p>
|
|
1006
|
+
* <p>You should not reuse the same token for other requests. If you retry a request with
|
|
1007
|
+
* the same client request token and the same parameters after it has completed
|
|
1008
|
+
* successfully, the result of the original request is returned. </p>
|
|
1009
|
+
* <important>
|
|
1010
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
1011
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
1012
|
+
* you must provide this token or the request will fail.</p>
|
|
1013
|
+
* </important>
|
|
1014
|
+
*/
|
|
1015
|
+
ClientRequestToken?: string;
|
|
1016
|
+
}
|
|
1017
|
+
export declare namespace DeleteLensShareInput {
|
|
1018
|
+
/**
|
|
1019
|
+
* @internal
|
|
1020
|
+
*/
|
|
1021
|
+
const filterSensitiveLog: (obj: DeleteLensShareInput) => any;
|
|
1022
|
+
}
|
|
811
1023
|
/**
|
|
812
1024
|
* <p>Input for workload deletion.</p>
|
|
813
1025
|
*/
|
|
814
1026
|
export interface DeleteWorkloadInput {
|
|
815
1027
|
/**
|
|
816
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1028
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
817
1029
|
*/
|
|
818
1030
|
WorkloadId: string | undefined;
|
|
819
1031
|
/**
|
|
@@ -823,8 +1035,8 @@ export interface DeleteWorkloadInput {
|
|
|
823
1035
|
* the same client request token and the same parameters after it has completed
|
|
824
1036
|
* successfully, the result of the original request is returned. </p>
|
|
825
1037
|
* <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
|
|
1038
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
1039
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
828
1040
|
* you must provide this token or the request will fail.</p>
|
|
829
1041
|
* </important>
|
|
830
1042
|
*/
|
|
@@ -845,7 +1057,7 @@ export interface DeleteWorkloadShareInput {
|
|
|
845
1057
|
*/
|
|
846
1058
|
ShareId: string | undefined;
|
|
847
1059
|
/**
|
|
848
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1060
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
849
1061
|
*/
|
|
850
1062
|
WorkloadId: string | undefined;
|
|
851
1063
|
/**
|
|
@@ -855,8 +1067,8 @@ export interface DeleteWorkloadShareInput {
|
|
|
855
1067
|
* the same client request token and the same parameters after it has completed
|
|
856
1068
|
* successfully, the result of the original request is returned. </p>
|
|
857
1069
|
* <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
|
|
1070
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
1071
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
860
1072
|
* you must provide this token or the request will fail.</p>
|
|
861
1073
|
* </important>
|
|
862
1074
|
*/
|
|
@@ -878,11 +1090,11 @@ export declare enum DifferenceStatus {
|
|
|
878
1090
|
*/
|
|
879
1091
|
export interface DisassociateLensesInput {
|
|
880
1092
|
/**
|
|
881
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1093
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
882
1094
|
*/
|
|
883
1095
|
WorkloadId: string | undefined;
|
|
884
1096
|
/**
|
|
885
|
-
* <p>List of lens aliases to associate or disassociate with a workload.</p>
|
|
1097
|
+
* <p>List of lens aliases to associate or disassociate with a workload. Up to 10 lenses can be specified.</p>
|
|
886
1098
|
* <p>Identify a lens using its <a>LensSummary$LensAlias</a>.</p>
|
|
887
1099
|
*/
|
|
888
1100
|
LensAliases: string[] | undefined;
|
|
@@ -893,12 +1105,41 @@ export declare namespace DisassociateLensesInput {
|
|
|
893
1105
|
*/
|
|
894
1106
|
const filterSensitiveLog: (obj: DisassociateLensesInput) => any;
|
|
895
1107
|
}
|
|
1108
|
+
export interface ExportLensInput {
|
|
1109
|
+
/**
|
|
1110
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
1111
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1112
|
+
*/
|
|
1113
|
+
LensAlias: string | undefined;
|
|
1114
|
+
/**
|
|
1115
|
+
* <p>The lens version to be exported.</p>
|
|
1116
|
+
*/
|
|
1117
|
+
LensVersion?: string;
|
|
1118
|
+
}
|
|
1119
|
+
export declare namespace ExportLensInput {
|
|
1120
|
+
/**
|
|
1121
|
+
* @internal
|
|
1122
|
+
*/
|
|
1123
|
+
const filterSensitiveLog: (obj: ExportLensInput) => any;
|
|
1124
|
+
}
|
|
1125
|
+
export interface ExportLensOutput {
|
|
1126
|
+
/**
|
|
1127
|
+
* <p>The JSON for the lens.</p>
|
|
1128
|
+
*/
|
|
1129
|
+
LensJSON?: string;
|
|
1130
|
+
}
|
|
1131
|
+
export declare namespace ExportLensOutput {
|
|
1132
|
+
/**
|
|
1133
|
+
* @internal
|
|
1134
|
+
*/
|
|
1135
|
+
const filterSensitiveLog: (obj: ExportLensOutput) => any;
|
|
1136
|
+
}
|
|
896
1137
|
/**
|
|
897
1138
|
* <p>Input to get answer.</p>
|
|
898
1139
|
*/
|
|
899
1140
|
export interface GetAnswerInput {
|
|
900
1141
|
/**
|
|
901
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1142
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
902
1143
|
*/
|
|
903
1144
|
WorkloadId: string | undefined;
|
|
904
1145
|
/**
|
|
@@ -927,7 +1168,7 @@ export declare namespace GetAnswerInput {
|
|
|
927
1168
|
*/
|
|
928
1169
|
export interface GetAnswerOutput {
|
|
929
1170
|
/**
|
|
930
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1171
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
931
1172
|
*/
|
|
932
1173
|
WorkloadId?: string;
|
|
933
1174
|
/**
|
|
@@ -940,6 +1181,10 @@ export interface GetAnswerOutput {
|
|
|
940
1181
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
941
1182
|
*/
|
|
942
1183
|
LensAlias?: string;
|
|
1184
|
+
/**
|
|
1185
|
+
* <p>The ARN for the lens.</p>
|
|
1186
|
+
*/
|
|
1187
|
+
LensArn?: string;
|
|
943
1188
|
/**
|
|
944
1189
|
* <p>An answer of the question.</p>
|
|
945
1190
|
*/
|
|
@@ -951,12 +1196,76 @@ export declare namespace GetAnswerOutput {
|
|
|
951
1196
|
*/
|
|
952
1197
|
const filterSensitiveLog: (obj: GetAnswerOutput) => any;
|
|
953
1198
|
}
|
|
1199
|
+
export interface GetLensInput {
|
|
1200
|
+
/**
|
|
1201
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
1202
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1203
|
+
*/
|
|
1204
|
+
LensAlias: string | undefined;
|
|
1205
|
+
/**
|
|
1206
|
+
* <p>The lens version to be retrieved.</p>
|
|
1207
|
+
*/
|
|
1208
|
+
LensVersion?: string;
|
|
1209
|
+
}
|
|
1210
|
+
export declare namespace GetLensInput {
|
|
1211
|
+
/**
|
|
1212
|
+
* @internal
|
|
1213
|
+
*/
|
|
1214
|
+
const filterSensitiveLog: (obj: GetLensInput) => any;
|
|
1215
|
+
}
|
|
1216
|
+
/**
|
|
1217
|
+
* <p>A lens return object.</p>
|
|
1218
|
+
*/
|
|
1219
|
+
export interface Lens {
|
|
1220
|
+
/**
|
|
1221
|
+
* <p>The ARN of a lens.</p>
|
|
1222
|
+
*/
|
|
1223
|
+
LensArn?: string;
|
|
1224
|
+
/**
|
|
1225
|
+
* <p>The version of a lens.</p>
|
|
1226
|
+
*/
|
|
1227
|
+
LensVersion?: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* <p>The full name of the lens.</p>
|
|
1230
|
+
*/
|
|
1231
|
+
Name?: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* <p>The description of the lens.</p>
|
|
1234
|
+
*/
|
|
1235
|
+
Description?: string;
|
|
1236
|
+
/**
|
|
1237
|
+
* <p>The Amazon Web Services account ID that owns the lens.</p>
|
|
1238
|
+
*/
|
|
1239
|
+
Owner?: string;
|
|
1240
|
+
/**
|
|
1241
|
+
* <p>The ID assigned to the share invitation.</p>
|
|
1242
|
+
*/
|
|
1243
|
+
ShareInvitationId?: string;
|
|
1244
|
+
}
|
|
1245
|
+
export declare namespace Lens {
|
|
1246
|
+
/**
|
|
1247
|
+
* @internal
|
|
1248
|
+
*/
|
|
1249
|
+
const filterSensitiveLog: (obj: Lens) => any;
|
|
1250
|
+
}
|
|
1251
|
+
export interface GetLensOutput {
|
|
1252
|
+
/**
|
|
1253
|
+
* <p>A lens return object.</p>
|
|
1254
|
+
*/
|
|
1255
|
+
Lens?: Lens;
|
|
1256
|
+
}
|
|
1257
|
+
export declare namespace GetLensOutput {
|
|
1258
|
+
/**
|
|
1259
|
+
* @internal
|
|
1260
|
+
*/
|
|
1261
|
+
const filterSensitiveLog: (obj: GetLensOutput) => any;
|
|
1262
|
+
}
|
|
954
1263
|
/**
|
|
955
1264
|
* <p>Input to get lens review.</p>
|
|
956
1265
|
*/
|
|
957
1266
|
export interface GetLensReviewInput {
|
|
958
1267
|
/**
|
|
959
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1268
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
960
1269
|
*/
|
|
961
1270
|
WorkloadId: string | undefined;
|
|
962
1271
|
/**
|
|
@@ -978,8 +1287,10 @@ export declare namespace GetLensReviewInput {
|
|
|
978
1287
|
}
|
|
979
1288
|
export declare enum LensStatus {
|
|
980
1289
|
CURRENT = "CURRENT",
|
|
1290
|
+
DELETED = "DELETED",
|
|
981
1291
|
DEPRECATED = "DEPRECATED",
|
|
982
|
-
NOT_CURRENT = "NOT_CURRENT"
|
|
1292
|
+
NOT_CURRENT = "NOT_CURRENT",
|
|
1293
|
+
UNSHARED = "UNSHARED"
|
|
983
1294
|
}
|
|
984
1295
|
/**
|
|
985
1296
|
* <p>A pillar review summary of a lens review.</p>
|
|
@@ -1020,6 +1331,10 @@ export interface LensReview {
|
|
|
1020
1331
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1021
1332
|
*/
|
|
1022
1333
|
LensAlias?: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* <p>The ARN for the lens.</p>
|
|
1336
|
+
*/
|
|
1337
|
+
LensArn?: string;
|
|
1023
1338
|
/**
|
|
1024
1339
|
* <p>The version of the lens.</p>
|
|
1025
1340
|
*/
|
|
@@ -1066,7 +1381,7 @@ export declare namespace LensReview {
|
|
|
1066
1381
|
*/
|
|
1067
1382
|
export interface GetLensReviewOutput {
|
|
1068
1383
|
/**
|
|
1069
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1384
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1070
1385
|
*/
|
|
1071
1386
|
WorkloadId?: string;
|
|
1072
1387
|
/**
|
|
@@ -1090,7 +1405,7 @@ export declare namespace GetLensReviewOutput {
|
|
|
1090
1405
|
*/
|
|
1091
1406
|
export interface GetLensReviewReportInput {
|
|
1092
1407
|
/**
|
|
1093
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1408
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1094
1409
|
*/
|
|
1095
1410
|
WorkloadId: string | undefined;
|
|
1096
1411
|
/**
|
|
@@ -1119,6 +1434,10 @@ export interface LensReviewReport {
|
|
|
1119
1434
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1120
1435
|
*/
|
|
1121
1436
|
LensAlias?: string;
|
|
1437
|
+
/**
|
|
1438
|
+
* <p>The ARN for the lens.</p>
|
|
1439
|
+
*/
|
|
1440
|
+
LensArn?: string;
|
|
1122
1441
|
/**
|
|
1123
1442
|
* <p>The Base64-encoded string representation of a lens review report.</p>
|
|
1124
1443
|
* <p>This data can be used to create a PDF file.</p>
|
|
@@ -1136,7 +1455,7 @@ export declare namespace LensReviewReport {
|
|
|
1136
1455
|
*/
|
|
1137
1456
|
export interface GetLensReviewReportOutput {
|
|
1138
1457
|
/**
|
|
1139
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1458
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1140
1459
|
*/
|
|
1141
1460
|
WorkloadId?: string;
|
|
1142
1461
|
/**
|
|
@@ -1164,7 +1483,11 @@ export interface GetLensVersionDifferenceInput {
|
|
|
1164
1483
|
/**
|
|
1165
1484
|
* <p>The base version of the lens.</p>
|
|
1166
1485
|
*/
|
|
1167
|
-
BaseLensVersion
|
|
1486
|
+
BaseLensVersion?: string;
|
|
1487
|
+
/**
|
|
1488
|
+
* <p>The lens version to target a difference for.</p>
|
|
1489
|
+
*/
|
|
1490
|
+
TargetLensVersion?: string;
|
|
1168
1491
|
}
|
|
1169
1492
|
export declare namespace GetLensVersionDifferenceInput {
|
|
1170
1493
|
/**
|
|
@@ -1204,6 +1527,10 @@ export interface PillarDifference {
|
|
|
1204
1527
|
* <p>A pillar is identified by its <a>PillarReviewSummary$PillarId</a>.</p>
|
|
1205
1528
|
*/
|
|
1206
1529
|
PillarId?: string;
|
|
1530
|
+
/**
|
|
1531
|
+
* <p>The name of the pillar.</p>
|
|
1532
|
+
*/
|
|
1533
|
+
PillarName?: string;
|
|
1207
1534
|
/**
|
|
1208
1535
|
* <p>Indicates the type of change to the pillar.</p>
|
|
1209
1536
|
*/
|
|
@@ -1240,10 +1567,18 @@ export interface GetLensVersionDifferenceOutput {
|
|
|
1240
1567
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1241
1568
|
*/
|
|
1242
1569
|
LensAlias?: string;
|
|
1570
|
+
/**
|
|
1571
|
+
* <p>The ARN for the lens.</p>
|
|
1572
|
+
*/
|
|
1573
|
+
LensArn?: string;
|
|
1243
1574
|
/**
|
|
1244
1575
|
* <p>The base version of the lens.</p>
|
|
1245
1576
|
*/
|
|
1246
1577
|
BaseLensVersion?: string;
|
|
1578
|
+
/**
|
|
1579
|
+
* <p>The target lens version for the lens.</p>
|
|
1580
|
+
*/
|
|
1581
|
+
TargetLensVersion?: string;
|
|
1247
1582
|
/**
|
|
1248
1583
|
* <p>The latest version of the lens.</p>
|
|
1249
1584
|
*/
|
|
@@ -1264,7 +1599,7 @@ export declare namespace GetLensVersionDifferenceOutput {
|
|
|
1264
1599
|
*/
|
|
1265
1600
|
export interface GetMilestoneInput {
|
|
1266
1601
|
/**
|
|
1267
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1602
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1268
1603
|
*/
|
|
1269
1604
|
WorkloadId: string | undefined;
|
|
1270
1605
|
/**
|
|
@@ -1291,7 +1626,7 @@ export declare enum WorkloadImprovementStatus {
|
|
|
1291
1626
|
*/
|
|
1292
1627
|
export interface Workload {
|
|
1293
1628
|
/**
|
|
1294
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1629
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1295
1630
|
*/
|
|
1296
1631
|
WorkloadId?: string;
|
|
1297
1632
|
/**
|
|
@@ -1300,7 +1635,7 @@ export interface Workload {
|
|
|
1300
1635
|
WorkloadArn?: string;
|
|
1301
1636
|
/**
|
|
1302
1637
|
* <p>The name of the workload.</p>
|
|
1303
|
-
* <p>The name must be unique within an account within
|
|
1638
|
+
* <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization
|
|
1304
1639
|
* are ignored when checking for uniqueness.</p>
|
|
1305
1640
|
*/
|
|
1306
1641
|
WorkloadName?: string;
|
|
@@ -1317,16 +1652,16 @@ export interface Workload {
|
|
|
1317
1652
|
*/
|
|
1318
1653
|
UpdatedAt?: Date;
|
|
1319
1654
|
/**
|
|
1320
|
-
* <p>The list of
|
|
1655
|
+
* <p>The list of Amazon Web Services account IDs associated with the workload.</p>
|
|
1321
1656
|
*/
|
|
1322
1657
|
AccountIds?: string[];
|
|
1323
1658
|
/**
|
|
1324
|
-
* <p>The list of
|
|
1659
|
+
* <p>The list of Amazon Web Services Regions associated with the workload, for example,
|
|
1325
1660
|
* <code>us-east-2</code>, or <code>ca-central-1</code>.</p>
|
|
1326
1661
|
*/
|
|
1327
1662
|
AwsRegions?: string[];
|
|
1328
1663
|
/**
|
|
1329
|
-
* <p> The list of non-
|
|
1664
|
+
* <p> The list of non-Amazon Web Services Regions associated with the workload.</p>
|
|
1330
1665
|
*/
|
|
1331
1666
|
NonAwsRegions?: string[];
|
|
1332
1667
|
/**
|
|
@@ -1520,7 +1855,7 @@ export interface Workload {
|
|
|
1520
1855
|
*/
|
|
1521
1856
|
Lenses?: string[];
|
|
1522
1857
|
/**
|
|
1523
|
-
* <p>An
|
|
1858
|
+
* <p>An Amazon Web Services account ID.</p>
|
|
1524
1859
|
*/
|
|
1525
1860
|
Owner?: string;
|
|
1526
1861
|
/**
|
|
@@ -1574,7 +1909,7 @@ export declare namespace Milestone {
|
|
|
1574
1909
|
*/
|
|
1575
1910
|
export interface GetMilestoneOutput {
|
|
1576
1911
|
/**
|
|
1577
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1912
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1578
1913
|
*/
|
|
1579
1914
|
WorkloadId?: string;
|
|
1580
1915
|
/**
|
|
@@ -1593,7 +1928,7 @@ export declare namespace GetMilestoneOutput {
|
|
|
1593
1928
|
*/
|
|
1594
1929
|
export interface GetWorkloadInput {
|
|
1595
1930
|
/**
|
|
1596
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
1931
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1597
1932
|
*/
|
|
1598
1933
|
WorkloadId: string | undefined;
|
|
1599
1934
|
}
|
|
@@ -1618,6 +1953,63 @@ export declare namespace GetWorkloadOutput {
|
|
|
1618
1953
|
*/
|
|
1619
1954
|
const filterSensitiveLog: (obj: GetWorkloadOutput) => any;
|
|
1620
1955
|
}
|
|
1956
|
+
export interface ImportLensInput {
|
|
1957
|
+
/**
|
|
1958
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
1959
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1960
|
+
*/
|
|
1961
|
+
LensAlias?: string;
|
|
1962
|
+
/**
|
|
1963
|
+
* <p>The JSON representation of a lens.</p>
|
|
1964
|
+
*/
|
|
1965
|
+
JSONString: string | undefined;
|
|
1966
|
+
/**
|
|
1967
|
+
* <p>A unique case-sensitive string used to ensure that this request is idempotent
|
|
1968
|
+
* (executes only once).</p>
|
|
1969
|
+
* <p>You should not reuse the same token for other requests. If you retry a request with
|
|
1970
|
+
* the same client request token and the same parameters after it has completed
|
|
1971
|
+
* successfully, the result of the original request is returned. </p>
|
|
1972
|
+
* <important>
|
|
1973
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
1974
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
1975
|
+
* you must provide this token or the request will fail.</p>
|
|
1976
|
+
* </important>
|
|
1977
|
+
*/
|
|
1978
|
+
ClientRequestToken?: string;
|
|
1979
|
+
/**
|
|
1980
|
+
* <p>Tags to associate to a lens.</p>
|
|
1981
|
+
*/
|
|
1982
|
+
Tags?: {
|
|
1983
|
+
[key: string]: string;
|
|
1984
|
+
};
|
|
1985
|
+
}
|
|
1986
|
+
export declare namespace ImportLensInput {
|
|
1987
|
+
/**
|
|
1988
|
+
* @internal
|
|
1989
|
+
*/
|
|
1990
|
+
const filterSensitiveLog: (obj: ImportLensInput) => any;
|
|
1991
|
+
}
|
|
1992
|
+
export declare enum ImportLensStatus {
|
|
1993
|
+
COMPLETE = "COMPLETE",
|
|
1994
|
+
ERROR = "ERROR",
|
|
1995
|
+
IN_PROGRESS = "IN_PROGRESS"
|
|
1996
|
+
}
|
|
1997
|
+
export interface ImportLensOutput {
|
|
1998
|
+
/**
|
|
1999
|
+
* <p>The ARN for the lens.</p>
|
|
2000
|
+
*/
|
|
2001
|
+
LensArn?: string;
|
|
2002
|
+
/**
|
|
2003
|
+
* <p>The status of the imported lens.</p>
|
|
2004
|
+
*/
|
|
2005
|
+
Status?: ImportLensStatus | string;
|
|
2006
|
+
}
|
|
2007
|
+
export declare namespace ImportLensOutput {
|
|
2008
|
+
/**
|
|
2009
|
+
* @internal
|
|
2010
|
+
*/
|
|
2011
|
+
const filterSensitiveLog: (obj: ImportLensOutput) => any;
|
|
2012
|
+
}
|
|
1621
2013
|
/**
|
|
1622
2014
|
* <p>An improvement summary of a lens review in a workload.</p>
|
|
1623
2015
|
*/
|
|
@@ -1644,6 +2036,10 @@ export interface ImprovementSummary {
|
|
|
1644
2036
|
* <p>This value is only available if the question has been answered.</p>
|
|
1645
2037
|
*/
|
|
1646
2038
|
ImprovementPlanUrl?: string;
|
|
2039
|
+
/**
|
|
2040
|
+
* <p>The improvement plan details.</p>
|
|
2041
|
+
*/
|
|
2042
|
+
ImprovementPlans?: ChoiceImprovementPlan[];
|
|
1647
2043
|
}
|
|
1648
2044
|
export declare namespace ImprovementSummary {
|
|
1649
2045
|
/**
|
|
@@ -1660,6 +2056,10 @@ export interface LensReviewSummary {
|
|
|
1660
2056
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1661
2057
|
*/
|
|
1662
2058
|
LensAlias?: string;
|
|
2059
|
+
/**
|
|
2060
|
+
* <p>The ARN for the lens.</p>
|
|
2061
|
+
*/
|
|
2062
|
+
LensArn?: string;
|
|
1663
2063
|
/**
|
|
1664
2064
|
* <p>The version of the lens.</p>
|
|
1665
2065
|
*/
|
|
@@ -1689,27 +2089,86 @@ export declare namespace LensReviewSummary {
|
|
|
1689
2089
|
*/
|
|
1690
2090
|
const filterSensitiveLog: (obj: LensReviewSummary) => any;
|
|
1691
2091
|
}
|
|
2092
|
+
export declare enum ShareStatus {
|
|
2093
|
+
ACCEPTED = "ACCEPTED",
|
|
2094
|
+
EXPIRED = "EXPIRED",
|
|
2095
|
+
PENDING = "PENDING",
|
|
2096
|
+
REJECTED = "REJECTED",
|
|
2097
|
+
REVOKED = "REVOKED"
|
|
2098
|
+
}
|
|
2099
|
+
/**
|
|
2100
|
+
* <p>A lens share summary return object.</p>
|
|
2101
|
+
*/
|
|
2102
|
+
export interface LensShareSummary {
|
|
2103
|
+
/**
|
|
2104
|
+
* <p>The ID associated with the workload share.</p>
|
|
2105
|
+
*/
|
|
2106
|
+
ShareId?: string;
|
|
2107
|
+
/**
|
|
2108
|
+
* <p>The Amazon Web Services account ID or IAM role with which the workload is shared.</p>
|
|
2109
|
+
*/
|
|
2110
|
+
SharedWith?: string;
|
|
2111
|
+
/**
|
|
2112
|
+
* <p>The status of a workload share.</p>
|
|
2113
|
+
*/
|
|
2114
|
+
Status?: ShareStatus | string;
|
|
2115
|
+
}
|
|
2116
|
+
export declare namespace LensShareSummary {
|
|
2117
|
+
/**
|
|
2118
|
+
* @internal
|
|
2119
|
+
*/
|
|
2120
|
+
const filterSensitiveLog: (obj: LensShareSummary) => any;
|
|
2121
|
+
}
|
|
2122
|
+
export declare enum LensType {
|
|
2123
|
+
AWS_OFFICIAL = "AWS_OFFICIAL",
|
|
2124
|
+
CUSTOM_SELF = "CUSTOM_SELF",
|
|
2125
|
+
CUSTOM_SHARED = "CUSTOM_SHARED"
|
|
2126
|
+
}
|
|
1692
2127
|
/**
|
|
1693
2128
|
* <p>A lens summary of a lens.</p>
|
|
1694
2129
|
*/
|
|
1695
2130
|
export interface LensSummary {
|
|
2131
|
+
/**
|
|
2132
|
+
* <p>The ARN of the lens.</p>
|
|
2133
|
+
*/
|
|
2134
|
+
LensArn?: string;
|
|
1696
2135
|
/**
|
|
1697
2136
|
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
1698
2137
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1699
2138
|
*/
|
|
1700
2139
|
LensAlias?: string;
|
|
1701
|
-
/**
|
|
1702
|
-
* <p>The version of the lens.</p>
|
|
1703
|
-
*/
|
|
1704
|
-
LensVersion?: string;
|
|
1705
2140
|
/**
|
|
1706
2141
|
* <p>The full name of the lens.</p>
|
|
1707
2142
|
*/
|
|
1708
2143
|
LensName?: string;
|
|
2144
|
+
/**
|
|
2145
|
+
* <p>The type of the lens.</p>
|
|
2146
|
+
*/
|
|
2147
|
+
LensType?: LensType | string;
|
|
1709
2148
|
/**
|
|
1710
2149
|
* <p>The description of the lens.</p>
|
|
1711
2150
|
*/
|
|
1712
2151
|
Description?: string;
|
|
2152
|
+
/**
|
|
2153
|
+
* <p>The date and time recorded.</p>
|
|
2154
|
+
*/
|
|
2155
|
+
CreatedAt?: Date;
|
|
2156
|
+
/**
|
|
2157
|
+
* <p>The date and time recorded.</p>
|
|
2158
|
+
*/
|
|
2159
|
+
UpdatedAt?: Date;
|
|
2160
|
+
/**
|
|
2161
|
+
* <p>The version of the lens.</p>
|
|
2162
|
+
*/
|
|
2163
|
+
LensVersion?: string;
|
|
2164
|
+
/**
|
|
2165
|
+
* <p>An Amazon Web Services account ID.</p>
|
|
2166
|
+
*/
|
|
2167
|
+
Owner?: string;
|
|
2168
|
+
/**
|
|
2169
|
+
* <p>The status of the lens.</p>
|
|
2170
|
+
*/
|
|
2171
|
+
LensStatus?: LensStatus | string;
|
|
1713
2172
|
}
|
|
1714
2173
|
export declare namespace LensSummary {
|
|
1715
2174
|
/**
|
|
@@ -1722,12 +2181,12 @@ export declare namespace LensSummary {
|
|
|
1722
2181
|
*/
|
|
1723
2182
|
export interface LensUpgradeSummary {
|
|
1724
2183
|
/**
|
|
1725
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2184
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1726
2185
|
*/
|
|
1727
2186
|
WorkloadId?: string;
|
|
1728
2187
|
/**
|
|
1729
2188
|
* <p>The name of the workload.</p>
|
|
1730
|
-
* <p>The name must be unique within an account within
|
|
2189
|
+
* <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization
|
|
1731
2190
|
* are ignored when checking for uniqueness.</p>
|
|
1732
2191
|
*/
|
|
1733
2192
|
WorkloadName?: string;
|
|
@@ -1736,6 +2195,10 @@ export interface LensUpgradeSummary {
|
|
|
1736
2195
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1737
2196
|
*/
|
|
1738
2197
|
LensAlias?: string;
|
|
2198
|
+
/**
|
|
2199
|
+
* <p>The ARN for the lens.</p>
|
|
2200
|
+
*/
|
|
2201
|
+
LensArn?: string;
|
|
1739
2202
|
/**
|
|
1740
2203
|
* <p>The current version of the lens.</p>
|
|
1741
2204
|
*/
|
|
@@ -1756,7 +2219,7 @@ export declare namespace LensUpgradeSummary {
|
|
|
1756
2219
|
*/
|
|
1757
2220
|
export interface ListAnswersInput {
|
|
1758
2221
|
/**
|
|
1759
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2222
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1760
2223
|
*/
|
|
1761
2224
|
WorkloadId: string | undefined;
|
|
1762
2225
|
/**
|
|
@@ -1794,7 +2257,7 @@ export declare namespace ListAnswersInput {
|
|
|
1794
2257
|
*/
|
|
1795
2258
|
export interface ListAnswersOutput {
|
|
1796
2259
|
/**
|
|
1797
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2260
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1798
2261
|
*/
|
|
1799
2262
|
WorkloadId?: string;
|
|
1800
2263
|
/**
|
|
@@ -1807,6 +2270,10 @@ export interface ListAnswersOutput {
|
|
|
1807
2270
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1808
2271
|
*/
|
|
1809
2272
|
LensAlias?: string;
|
|
2273
|
+
/**
|
|
2274
|
+
* <p>The ARN for the lens.</p>
|
|
2275
|
+
*/
|
|
2276
|
+
LensArn?: string;
|
|
1810
2277
|
/**
|
|
1811
2278
|
* <p>List of answer summaries of lens review in a workload.</p>
|
|
1812
2279
|
*/
|
|
@@ -1834,6 +2301,18 @@ export interface ListLensesInput {
|
|
|
1834
2301
|
* <p>The maximum number of results to return for this request.</p>
|
|
1835
2302
|
*/
|
|
1836
2303
|
MaxResults?: number;
|
|
2304
|
+
/**
|
|
2305
|
+
* <p>The type of lenses to be returned.</p>
|
|
2306
|
+
*/
|
|
2307
|
+
LensType?: LensType | string;
|
|
2308
|
+
/**
|
|
2309
|
+
* <p>The status of lenses to be returned.</p>
|
|
2310
|
+
*/
|
|
2311
|
+
LensStatus?: LensStatusType | string;
|
|
2312
|
+
/**
|
|
2313
|
+
* <p>The full name of the lens.</p>
|
|
2314
|
+
*/
|
|
2315
|
+
LensName?: string;
|
|
1837
2316
|
}
|
|
1838
2317
|
export declare namespace ListLensesInput {
|
|
1839
2318
|
/**
|
|
@@ -1865,7 +2344,7 @@ export declare namespace ListLensesOutput {
|
|
|
1865
2344
|
*/
|
|
1866
2345
|
export interface ListLensReviewImprovementsInput {
|
|
1867
2346
|
/**
|
|
1868
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2347
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1869
2348
|
*/
|
|
1870
2349
|
WorkloadId: string | undefined;
|
|
1871
2350
|
/**
|
|
@@ -1903,7 +2382,7 @@ export declare namespace ListLensReviewImprovementsInput {
|
|
|
1903
2382
|
*/
|
|
1904
2383
|
export interface ListLensReviewImprovementsOutput {
|
|
1905
2384
|
/**
|
|
1906
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2385
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1907
2386
|
*/
|
|
1908
2387
|
WorkloadId?: string;
|
|
1909
2388
|
/**
|
|
@@ -1916,6 +2395,10 @@ export interface ListLensReviewImprovementsOutput {
|
|
|
1916
2395
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1917
2396
|
*/
|
|
1918
2397
|
LensAlias?: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* <p>The ARN for the lens.</p>
|
|
2400
|
+
*/
|
|
2401
|
+
LensArn?: string;
|
|
1919
2402
|
/**
|
|
1920
2403
|
* <p>List of improvement summaries of lens review in a workload.</p>
|
|
1921
2404
|
*/
|
|
@@ -1936,7 +2419,7 @@ export declare namespace ListLensReviewImprovementsOutput {
|
|
|
1936
2419
|
*/
|
|
1937
2420
|
export interface ListLensReviewsInput {
|
|
1938
2421
|
/**
|
|
1939
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2422
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1940
2423
|
*/
|
|
1941
2424
|
WorkloadId: string | undefined;
|
|
1942
2425
|
/**
|
|
@@ -1964,7 +2447,7 @@ export declare namespace ListLensReviewsInput {
|
|
|
1964
2447
|
*/
|
|
1965
2448
|
export interface ListLensReviewsOutput {
|
|
1966
2449
|
/**
|
|
1967
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2450
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1968
2451
|
*/
|
|
1969
2452
|
WorkloadId?: string;
|
|
1970
2453
|
/**
|
|
@@ -1987,12 +2470,53 @@ export declare namespace ListLensReviewsOutput {
|
|
|
1987
2470
|
*/
|
|
1988
2471
|
const filterSensitiveLog: (obj: ListLensReviewsOutput) => any;
|
|
1989
2472
|
}
|
|
2473
|
+
export interface ListLensSharesInput {
|
|
2474
|
+
/**
|
|
2475
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
2476
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
2477
|
+
*/
|
|
2478
|
+
LensAlias: string | undefined;
|
|
2479
|
+
/**
|
|
2480
|
+
* <p>The Amazon Web Services account ID or IAM role with which the lens is shared.</p>
|
|
2481
|
+
*/
|
|
2482
|
+
SharedWithPrefix?: string;
|
|
2483
|
+
/**
|
|
2484
|
+
* <p>The token to use to retrieve the next set of results.</p>
|
|
2485
|
+
*/
|
|
2486
|
+
NextToken?: string;
|
|
2487
|
+
/**
|
|
2488
|
+
* <p>The maximum number of results to return for this request.</p>
|
|
2489
|
+
*/
|
|
2490
|
+
MaxResults?: number;
|
|
2491
|
+
}
|
|
2492
|
+
export declare namespace ListLensSharesInput {
|
|
2493
|
+
/**
|
|
2494
|
+
* @internal
|
|
2495
|
+
*/
|
|
2496
|
+
const filterSensitiveLog: (obj: ListLensSharesInput) => any;
|
|
2497
|
+
}
|
|
2498
|
+
export interface ListLensSharesOutput {
|
|
2499
|
+
/**
|
|
2500
|
+
* <p>A list of lens share summaries.</p>
|
|
2501
|
+
*/
|
|
2502
|
+
LensShareSummaries?: LensShareSummary[];
|
|
2503
|
+
/**
|
|
2504
|
+
* <p>The token to use to retrieve the next set of results.</p>
|
|
2505
|
+
*/
|
|
2506
|
+
NextToken?: string;
|
|
2507
|
+
}
|
|
2508
|
+
export declare namespace ListLensSharesOutput {
|
|
2509
|
+
/**
|
|
2510
|
+
* @internal
|
|
2511
|
+
*/
|
|
2512
|
+
const filterSensitiveLog: (obj: ListLensSharesOutput) => any;
|
|
2513
|
+
}
|
|
1990
2514
|
/**
|
|
1991
2515
|
* <p>Input to list all milestones for a workload.</p>
|
|
1992
2516
|
*/
|
|
1993
2517
|
export interface ListMilestonesInput {
|
|
1994
2518
|
/**
|
|
1995
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2519
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
1996
2520
|
*/
|
|
1997
2521
|
WorkloadId: string | undefined;
|
|
1998
2522
|
/**
|
|
@@ -2015,7 +2539,7 @@ export declare namespace ListMilestonesInput {
|
|
|
2015
2539
|
*/
|
|
2016
2540
|
export interface WorkloadSummary {
|
|
2017
2541
|
/**
|
|
2018
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2542
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2019
2543
|
*/
|
|
2020
2544
|
WorkloadId?: string;
|
|
2021
2545
|
/**
|
|
@@ -2024,12 +2548,12 @@ export interface WorkloadSummary {
|
|
|
2024
2548
|
WorkloadArn?: string;
|
|
2025
2549
|
/**
|
|
2026
2550
|
* <p>The name of the workload.</p>
|
|
2027
|
-
* <p>The name must be unique within an account within
|
|
2551
|
+
* <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization
|
|
2028
2552
|
* are ignored when checking for uniqueness.</p>
|
|
2029
2553
|
*/
|
|
2030
2554
|
WorkloadName?: string;
|
|
2031
2555
|
/**
|
|
2032
|
-
* <p>An
|
|
2556
|
+
* <p>An Amazon Web Services account ID.</p>
|
|
2033
2557
|
*/
|
|
2034
2558
|
Owner?: string;
|
|
2035
2559
|
/**
|
|
@@ -2091,7 +2615,7 @@ export declare namespace MilestoneSummary {
|
|
|
2091
2615
|
*/
|
|
2092
2616
|
export interface ListMilestonesOutput {
|
|
2093
2617
|
/**
|
|
2094
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2618
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2095
2619
|
*/
|
|
2096
2620
|
WorkloadId?: string;
|
|
2097
2621
|
/**
|
|
@@ -2111,7 +2635,7 @@ export declare namespace ListMilestonesOutput {
|
|
|
2111
2635
|
}
|
|
2112
2636
|
export interface ListNotificationsInput {
|
|
2113
2637
|
/**
|
|
2114
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2638
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2115
2639
|
*/
|
|
2116
2640
|
WorkloadId?: string;
|
|
2117
2641
|
/**
|
|
@@ -2168,6 +2692,10 @@ export declare namespace ListNotificationsOutput {
|
|
|
2168
2692
|
*/
|
|
2169
2693
|
const filterSensitiveLog: (obj: ListNotificationsOutput) => any;
|
|
2170
2694
|
}
|
|
2695
|
+
export declare enum ShareResourceType {
|
|
2696
|
+
LENS = "LENS",
|
|
2697
|
+
WORKLOAD = "WORKLOAD"
|
|
2698
|
+
}
|
|
2171
2699
|
/**
|
|
2172
2700
|
* <p>Input for List Share Invitations</p>
|
|
2173
2701
|
*/
|
|
@@ -2177,6 +2705,14 @@ export interface ListShareInvitationsInput {
|
|
|
2177
2705
|
* results.</p>
|
|
2178
2706
|
*/
|
|
2179
2707
|
WorkloadNamePrefix?: string;
|
|
2708
|
+
/**
|
|
2709
|
+
* <p>An optional string added to the beginning of each lens name returned in the results.</p>
|
|
2710
|
+
*/
|
|
2711
|
+
LensNamePrefix?: string;
|
|
2712
|
+
/**
|
|
2713
|
+
* <p>The type of share invitations to be returned.</p>
|
|
2714
|
+
*/
|
|
2715
|
+
ShareResourceType?: ShareResourceType | string;
|
|
2180
2716
|
/**
|
|
2181
2717
|
* <p>The token to use to retrieve the next set of results.</p>
|
|
2182
2718
|
*/
|
|
@@ -2201,27 +2737,39 @@ export interface ShareInvitationSummary {
|
|
|
2201
2737
|
*/
|
|
2202
2738
|
ShareInvitationId?: string;
|
|
2203
2739
|
/**
|
|
2204
|
-
* <p>An
|
|
2740
|
+
* <p>An Amazon Web Services account ID.</p>
|
|
2205
2741
|
*/
|
|
2206
2742
|
SharedBy?: string;
|
|
2207
2743
|
/**
|
|
2208
|
-
* <p>The
|
|
2744
|
+
* <p>The Amazon Web Services account ID or IAM role with which the workload is shared.</p>
|
|
2209
2745
|
*/
|
|
2210
2746
|
SharedWith?: string;
|
|
2211
2747
|
/**
|
|
2212
2748
|
* <p>Permission granted on a workload share.</p>
|
|
2213
2749
|
*/
|
|
2214
2750
|
PermissionType?: PermissionType | string;
|
|
2751
|
+
/**
|
|
2752
|
+
* <p>The resource type of the share invitation.</p>
|
|
2753
|
+
*/
|
|
2754
|
+
ShareResourceType?: ShareResourceType | string;
|
|
2215
2755
|
/**
|
|
2216
2756
|
* <p>The name of the workload.</p>
|
|
2217
|
-
* <p>The name must be unique within an account within
|
|
2757
|
+
* <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization
|
|
2218
2758
|
* are ignored when checking for uniqueness.</p>
|
|
2219
2759
|
*/
|
|
2220
2760
|
WorkloadName?: string;
|
|
2221
2761
|
/**
|
|
2222
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2762
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2223
2763
|
*/
|
|
2224
2764
|
WorkloadId?: string;
|
|
2765
|
+
/**
|
|
2766
|
+
* <p>The full name of the lens.</p>
|
|
2767
|
+
*/
|
|
2768
|
+
LensName?: string;
|
|
2769
|
+
/**
|
|
2770
|
+
* <p>The ARN for the lens.</p>
|
|
2771
|
+
*/
|
|
2772
|
+
LensArn?: string;
|
|
2225
2773
|
}
|
|
2226
2774
|
export declare namespace ShareInvitationSummary {
|
|
2227
2775
|
/**
|
|
@@ -2322,11 +2870,11 @@ export declare namespace ListWorkloadsOutput {
|
|
|
2322
2870
|
*/
|
|
2323
2871
|
export interface ListWorkloadSharesInput {
|
|
2324
2872
|
/**
|
|
2325
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2873
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2326
2874
|
*/
|
|
2327
2875
|
WorkloadId: string | undefined;
|
|
2328
2876
|
/**
|
|
2329
|
-
* <p>The
|
|
2877
|
+
* <p>The Amazon Web Services account ID or IAM role with which the workload is shared.</p>
|
|
2330
2878
|
*/
|
|
2331
2879
|
SharedWithPrefix?: string;
|
|
2332
2880
|
/**
|
|
@@ -2344,13 +2892,6 @@ export declare namespace ListWorkloadSharesInput {
|
|
|
2344
2892
|
*/
|
|
2345
2893
|
const filterSensitiveLog: (obj: ListWorkloadSharesInput) => any;
|
|
2346
2894
|
}
|
|
2347
|
-
export declare enum ShareStatus {
|
|
2348
|
-
ACCEPTED = "ACCEPTED",
|
|
2349
|
-
EXPIRED = "EXPIRED",
|
|
2350
|
-
PENDING = "PENDING",
|
|
2351
|
-
REJECTED = "REJECTED",
|
|
2352
|
-
REVOKED = "REVOKED"
|
|
2353
|
-
}
|
|
2354
2895
|
/**
|
|
2355
2896
|
* <p>A workload share summary return object.</p>
|
|
2356
2897
|
*/
|
|
@@ -2360,7 +2901,7 @@ export interface WorkloadShareSummary {
|
|
|
2360
2901
|
*/
|
|
2361
2902
|
ShareId?: string;
|
|
2362
2903
|
/**
|
|
2363
|
-
* <p>The
|
|
2904
|
+
* <p>The Amazon Web Services account ID or IAM role with which the workload is shared.</p>
|
|
2364
2905
|
*/
|
|
2365
2906
|
SharedWith?: string;
|
|
2366
2907
|
/**
|
|
@@ -2383,7 +2924,7 @@ export declare namespace WorkloadShareSummary {
|
|
|
2383
2924
|
*/
|
|
2384
2925
|
export interface ListWorkloadSharesOutput {
|
|
2385
2926
|
/**
|
|
2386
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
2927
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2387
2928
|
*/
|
|
2388
2929
|
WorkloadId?: string;
|
|
2389
2930
|
/**
|
|
@@ -2410,9 +2951,22 @@ export interface ShareInvitation {
|
|
|
2410
2951
|
*/
|
|
2411
2952
|
ShareInvitationId?: string;
|
|
2412
2953
|
/**
|
|
2413
|
-
* <p>The
|
|
2954
|
+
* <p>The resource type of the share invitation.</p>
|
|
2955
|
+
*/
|
|
2956
|
+
ShareResourceType?: ShareResourceType | string;
|
|
2957
|
+
/**
|
|
2958
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2414
2959
|
*/
|
|
2415
2960
|
WorkloadId?: string;
|
|
2961
|
+
/**
|
|
2962
|
+
* <p>The alias of the lens, for example, <code>serverless</code>.</p>
|
|
2963
|
+
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
2964
|
+
*/
|
|
2965
|
+
LensAlias?: string;
|
|
2966
|
+
/**
|
|
2967
|
+
* <p>The ARN for the lens.</p>
|
|
2968
|
+
*/
|
|
2969
|
+
LensArn?: string;
|
|
2416
2970
|
}
|
|
2417
2971
|
export declare namespace ShareInvitation {
|
|
2418
2972
|
/**
|
|
@@ -2480,7 +3034,7 @@ export declare namespace UntagResourceOutput {
|
|
|
2480
3034
|
*/
|
|
2481
3035
|
export interface UpdateAnswerInput {
|
|
2482
3036
|
/**
|
|
2483
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3037
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2484
3038
|
*/
|
|
2485
3039
|
WorkloadId: string | undefined;
|
|
2486
3040
|
/**
|
|
@@ -2528,7 +3082,7 @@ export declare namespace UpdateAnswerInput {
|
|
|
2528
3082
|
*/
|
|
2529
3083
|
export interface UpdateAnswerOutput {
|
|
2530
3084
|
/**
|
|
2531
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3085
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2532
3086
|
*/
|
|
2533
3087
|
WorkloadId?: string;
|
|
2534
3088
|
/**
|
|
@@ -2536,6 +3090,10 @@ export interface UpdateAnswerOutput {
|
|
|
2536
3090
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
2537
3091
|
*/
|
|
2538
3092
|
LensAlias?: string;
|
|
3093
|
+
/**
|
|
3094
|
+
* <p>The ARN for the lens.</p>
|
|
3095
|
+
*/
|
|
3096
|
+
LensArn?: string;
|
|
2539
3097
|
/**
|
|
2540
3098
|
* <p>An answer of the question.</p>
|
|
2541
3099
|
*/
|
|
@@ -2552,7 +3110,7 @@ export declare namespace UpdateAnswerOutput {
|
|
|
2552
3110
|
*/
|
|
2553
3111
|
export interface UpdateLensReviewInput {
|
|
2554
3112
|
/**
|
|
2555
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3113
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2556
3114
|
*/
|
|
2557
3115
|
WorkloadId: string | undefined;
|
|
2558
3116
|
/**
|
|
@@ -2582,7 +3140,7 @@ export declare namespace UpdateLensReviewInput {
|
|
|
2582
3140
|
*/
|
|
2583
3141
|
export interface UpdateLensReviewOutput {
|
|
2584
3142
|
/**
|
|
2585
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3143
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2586
3144
|
*/
|
|
2587
3145
|
WorkloadId?: string;
|
|
2588
3146
|
/**
|
|
@@ -2632,12 +3190,12 @@ export declare namespace UpdateShareInvitationOutput {
|
|
|
2632
3190
|
*/
|
|
2633
3191
|
export interface UpdateWorkloadInput {
|
|
2634
3192
|
/**
|
|
2635
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3193
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2636
3194
|
*/
|
|
2637
3195
|
WorkloadId: string | undefined;
|
|
2638
3196
|
/**
|
|
2639
3197
|
* <p>The name of the workload.</p>
|
|
2640
|
-
* <p>The name must be unique within an account within
|
|
3198
|
+
* <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization
|
|
2641
3199
|
* are ignored when checking for uniqueness.</p>
|
|
2642
3200
|
*/
|
|
2643
3201
|
WorkloadName?: string;
|
|
@@ -2650,16 +3208,16 @@ export interface UpdateWorkloadInput {
|
|
|
2650
3208
|
*/
|
|
2651
3209
|
Environment?: WorkloadEnvironment | string;
|
|
2652
3210
|
/**
|
|
2653
|
-
* <p>The list of
|
|
3211
|
+
* <p>The list of Amazon Web Services account IDs associated with the workload.</p>
|
|
2654
3212
|
*/
|
|
2655
3213
|
AccountIds?: string[];
|
|
2656
3214
|
/**
|
|
2657
|
-
* <p>The list of
|
|
3215
|
+
* <p>The list of Amazon Web Services Regions associated with the workload, for example,
|
|
2658
3216
|
* <code>us-east-2</code>, or <code>ca-central-1</code>.</p>
|
|
2659
3217
|
*/
|
|
2660
3218
|
AwsRegions?: string[];
|
|
2661
3219
|
/**
|
|
2662
|
-
* <p> The list of non-
|
|
3220
|
+
* <p> The list of non-Amazon Web Services Regions associated with the workload.</p>
|
|
2663
3221
|
*/
|
|
2664
3222
|
NonAwsRegions?: string[];
|
|
2665
3223
|
/**
|
|
@@ -2869,7 +3427,7 @@ export interface UpdateWorkloadShareInput {
|
|
|
2869
3427
|
*/
|
|
2870
3428
|
ShareId: string | undefined;
|
|
2871
3429
|
/**
|
|
2872
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3430
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2873
3431
|
*/
|
|
2874
3432
|
WorkloadId: string | undefined;
|
|
2875
3433
|
/**
|
|
@@ -2892,11 +3450,11 @@ export interface WorkloadShare {
|
|
|
2892
3450
|
*/
|
|
2893
3451
|
ShareId?: string;
|
|
2894
3452
|
/**
|
|
2895
|
-
* <p>An
|
|
3453
|
+
* <p>An Amazon Web Services account ID.</p>
|
|
2896
3454
|
*/
|
|
2897
3455
|
SharedBy?: string;
|
|
2898
3456
|
/**
|
|
2899
|
-
* <p>The
|
|
3457
|
+
* <p>The Amazon Web Services account ID or IAM role with which the workload is shared.</p>
|
|
2900
3458
|
*/
|
|
2901
3459
|
SharedWith?: string;
|
|
2902
3460
|
/**
|
|
@@ -2909,12 +3467,12 @@ export interface WorkloadShare {
|
|
|
2909
3467
|
Status?: ShareStatus | string;
|
|
2910
3468
|
/**
|
|
2911
3469
|
* <p>The name of the workload.</p>
|
|
2912
|
-
* <p>The name must be unique within an account within
|
|
3470
|
+
* <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization
|
|
2913
3471
|
* are ignored when checking for uniqueness.</p>
|
|
2914
3472
|
*/
|
|
2915
3473
|
WorkloadName?: string;
|
|
2916
3474
|
/**
|
|
2917
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3475
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2918
3476
|
*/
|
|
2919
3477
|
WorkloadId?: string;
|
|
2920
3478
|
}
|
|
@@ -2929,7 +3487,7 @@ export declare namespace WorkloadShare {
|
|
|
2929
3487
|
*/
|
|
2930
3488
|
export interface UpdateWorkloadShareOutput {
|
|
2931
3489
|
/**
|
|
2932
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3490
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2933
3491
|
*/
|
|
2934
3492
|
WorkloadId?: string;
|
|
2935
3493
|
/**
|
|
@@ -2945,7 +3503,7 @@ export declare namespace UpdateWorkloadShareOutput {
|
|
|
2945
3503
|
}
|
|
2946
3504
|
export interface UpgradeLensReviewInput {
|
|
2947
3505
|
/**
|
|
2948
|
-
* <p>The ID assigned to the workload. This ID is unique within an
|
|
3506
|
+
* <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
|
|
2949
3507
|
*/
|
|
2950
3508
|
WorkloadId: string | undefined;
|
|
2951
3509
|
/**
|
|
@@ -2965,8 +3523,8 @@ export interface UpgradeLensReviewInput {
|
|
|
2965
3523
|
* the same client request token and the same parameters after it has completed
|
|
2966
3524
|
* successfully, the result of the original request is returned. </p>
|
|
2967
3525
|
* <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
|
|
3526
|
+
* <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs
|
|
3527
|
+
* automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI,
|
|
2970
3528
|
* you must provide this token or the request will fail.</p>
|
|
2971
3529
|
* </important>
|
|
2972
3530
|
*/
|