aws-sdk 2.1396.0 → 2.1397.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/CHANGELOG.md +14 -1
  2. package/README.md +1 -1
  3. package/apis/cloudtrail-2013-11-01.min.json +33 -33
  4. package/apis/codeguru-security-2018-05-10.examples.json +5 -0
  5. package/apis/codeguru-security-2018-05-10.min.json +703 -0
  6. package/apis/codeguru-security-2018-05-10.paginators.json +22 -0
  7. package/apis/drs-2020-02-26.min.json +392 -97
  8. package/apis/drs-2020-02-26.paginators.json +6 -0
  9. package/apis/ec2-2016-11-15.min.json +1178 -1013
  10. package/apis/ec2-2016-11-15.paginators.json +6 -0
  11. package/apis/lightsail-2016-11-28.min.json +4 -2
  12. package/apis/metadata.json +7 -0
  13. package/apis/s3-2006-03-01.examples.json +121 -121
  14. package/apis/securityhub-2018-10-26.examples.json +276 -0
  15. package/apis/securityhub-2018-10-26.min.json +957 -559
  16. package/apis/verifiedpermissions-2021-12-01.examples.json +5 -0
  17. package/apis/verifiedpermissions-2021-12-01.min.json +1215 -0
  18. package/apis/verifiedpermissions-2021-12-01.paginators.json +28 -0
  19. package/apis/verifiedpermissions-2021-12-01.waiters2.json +5 -0
  20. package/apis/wafv2-2019-07-29.min.json +241 -169
  21. package/apis/wellarchitected-2020-03-31.min.json +655 -75
  22. package/apis/wellarchitected-2020-03-31.paginators.json +15 -0
  23. package/clients/all.d.ts +2 -0
  24. package/clients/all.js +3 -1
  25. package/clients/cloudtrail.d.ts +28 -13
  26. package/clients/codegurusecurity.d.ts +761 -0
  27. package/clients/codegurusecurity.js +18 -0
  28. package/clients/drs.d.ts +354 -3
  29. package/clients/ec2.d.ts +225 -48
  30. package/clients/imagebuilder.d.ts +1 -1
  31. package/clients/lightsail.d.ts +12 -4
  32. package/clients/s3.d.ts +1 -1
  33. package/clients/securityhub.d.ts +470 -0
  34. package/clients/simspaceweaver.d.ts +2 -2
  35. package/clients/verifiedpermissions.d.ts +1392 -0
  36. package/clients/verifiedpermissions.js +19 -0
  37. package/clients/wafv2.d.ts +105 -27
  38. package/clients/wellarchitected.d.ts +533 -7
  39. package/dist/aws-sdk-core-react-native.js +2 -2
  40. package/dist/aws-sdk-react-native.js +95 -14
  41. package/dist/aws-sdk.js +1227 -1049
  42. package/dist/aws-sdk.min.js +80 -80
  43. package/lib/config_service_placeholders.d.ts +4 -0
  44. package/lib/core.js +1 -1
  45. package/package.json +1 -1
@@ -19,6 +19,14 @@ declare class WellArchitected extends Service {
19
19
  * Associate a lens to a workload. Up to 10 lenses can be associated with a workload in a single API operation. A maximum of 20 lenses can be associated with a workload. Disclaimer By accessing and/or applying custom lenses created by another Amazon Web Services user or account, you acknowledge that custom lenses created by other users and shared with you are Third Party Content as defined in the Amazon Web Services Customer Agreement.
20
20
  */
21
21
  associateLenses(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
22
+ /**
23
+ * Associate a profile with a workload.
24
+ */
25
+ associateProfiles(params: WellArchitected.Types.AssociateProfilesInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
26
+ /**
27
+ * Associate a profile with a workload.
28
+ */
29
+ associateProfiles(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
22
30
  /**
23
31
  * Create a lens share. The owner of a lens can share it with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Lenses provided by Amazon Web Services (Amazon Web Services Official Content) cannot be shared. Shared access to a lens is not removed until the lens invitation is deleted. If you share a lens with an organization or OU, all accounts in the organization or OU are granted access to the lens. For more information, see Sharing a custom lens in the Well-Architected Tool User Guide. Disclaimer By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.
24
32
  */
@@ -43,6 +51,22 @@ declare class WellArchitected extends Service {
43
51
  * Create a milestone for an existing workload.
44
52
  */
45
53
  createMilestone(callback?: (err: AWSError, data: WellArchitected.Types.CreateMilestoneOutput) => void): Request<WellArchitected.Types.CreateMilestoneOutput, AWSError>;
54
+ /**
55
+ * Create a profile.
56
+ */
57
+ createProfile(params: WellArchitected.Types.CreateProfileInput, callback?: (err: AWSError, data: WellArchitected.Types.CreateProfileOutput) => void): Request<WellArchitected.Types.CreateProfileOutput, AWSError>;
58
+ /**
59
+ * Create a profile.
60
+ */
61
+ createProfile(callback?: (err: AWSError, data: WellArchitected.Types.CreateProfileOutput) => void): Request<WellArchitected.Types.CreateProfileOutput, AWSError>;
62
+ /**
63
+ * Create a profile share.
64
+ */
65
+ createProfileShare(params: WellArchitected.Types.CreateProfileShareInput, callback?: (err: AWSError, data: WellArchitected.Types.CreateProfileShareOutput) => void): Request<WellArchitected.Types.CreateProfileShareOutput, AWSError>;
66
+ /**
67
+ * Create a profile share.
68
+ */
69
+ createProfileShare(callback?: (err: AWSError, data: WellArchitected.Types.CreateProfileShareOutput) => void): Request<WellArchitected.Types.CreateProfileShareOutput, AWSError>;
46
70
  /**
47
71
  * Create a new workload. The owner of a workload can share the workload with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Only the owner of a workload can delete it. For more information, see Defining a Workload in the Well-Architected Tool User Guide. Either AwsRegions, NonAwsRegions, or both must be specified when creating a workload. You also must specify ReviewOwner, even though the parameter is listed as not being required in the following section.
48
72
  */
@@ -75,6 +99,22 @@ declare class WellArchitected extends Service {
75
99
  * Delete a lens share. After the lens share is deleted, Amazon Web Services accounts, users, organizations, and organizational units (OUs) that you shared the lens with can continue to use it, but they will no longer be able to apply it to new workloads. Disclaimer By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.
76
100
  */
77
101
  deleteLensShare(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
102
+ /**
103
+ * Delete a profile. Disclaimer By sharing your profile with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your profile available to those other accounts. Those other accounts may continue to access and use your shared profile even if you delete the profile from your own Amazon Web Services account or terminate your Amazon Web Services account.
104
+ */
105
+ deleteProfile(params: WellArchitected.Types.DeleteProfileInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
106
+ /**
107
+ * Delete a profile. Disclaimer By sharing your profile with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your profile available to those other accounts. Those other accounts may continue to access and use your shared profile even if you delete the profile from your own Amazon Web Services account or terminate your Amazon Web Services account.
108
+ */
109
+ deleteProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
110
+ /**
111
+ * Delete a profile share.
112
+ */
113
+ deleteProfileShare(params: WellArchitected.Types.DeleteProfileShareInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
114
+ /**
115
+ * Delete a profile share.
116
+ */
117
+ deleteProfileShare(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
78
118
  /**
79
119
  * Delete an existing workload.
80
120
  */
@@ -99,6 +139,14 @@ declare class WellArchitected extends Service {
99
139
  * Disassociate a lens from a workload. Up to 10 lenses can be disassociated from a workload in a single API operation. The Amazon Web Services Well-Architected Framework lens (wellarchitected) cannot be removed from a workload.
100
140
  */
101
141
  disassociateLenses(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
142
+ /**
143
+ * Disassociate a profile from a workload.
144
+ */
145
+ disassociateProfiles(params: WellArchitected.Types.DisassociateProfilesInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
146
+ /**
147
+ * Disassociate a profile from a workload.
148
+ */
149
+ disassociateProfiles(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
102
150
  /**
103
151
  * Export an existing lens. Only the owner of a lens can export it. Lenses provided by Amazon Web Services (Amazon Web Services Official Content) cannot be exported. Lenses are defined in JSON. For more information, see JSON format specification in the Well-Architected Tool User Guide. Disclaimer Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your custom lenses. If your custom lens or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.
104
152
  */
@@ -163,6 +211,22 @@ declare class WellArchitected extends Service {
163
211
  * Get a milestone for an existing workload.
164
212
  */
165
213
  getMilestone(callback?: (err: AWSError, data: WellArchitected.Types.GetMilestoneOutput) => void): Request<WellArchitected.Types.GetMilestoneOutput, AWSError>;
214
+ /**
215
+ * Get profile information.
216
+ */
217
+ getProfile(params: WellArchitected.Types.GetProfileInput, callback?: (err: AWSError, data: WellArchitected.Types.GetProfileOutput) => void): Request<WellArchitected.Types.GetProfileOutput, AWSError>;
218
+ /**
219
+ * Get profile information.
220
+ */
221
+ getProfile(callback?: (err: AWSError, data: WellArchitected.Types.GetProfileOutput) => void): Request<WellArchitected.Types.GetProfileOutput, AWSError>;
222
+ /**
223
+ * Get profile template.
224
+ */
225
+ getProfileTemplate(params: WellArchitected.Types.GetProfileTemplateInput, callback?: (err: AWSError, data: WellArchitected.Types.GetProfileTemplateOutput) => void): Request<WellArchitected.Types.GetProfileTemplateOutput, AWSError>;
226
+ /**
227
+ * Get profile template.
228
+ */
229
+ getProfileTemplate(callback?: (err: AWSError, data: WellArchitected.Types.GetProfileTemplateOutput) => void): Request<WellArchitected.Types.GetProfileTemplateOutput, AWSError>;
166
230
  /**
167
231
  * Get an existing workload.
168
232
  */
@@ -251,6 +315,30 @@ declare class WellArchitected extends Service {
251
315
  * List lens notifications.
252
316
  */
253
317
  listNotifications(callback?: (err: AWSError, data: WellArchitected.Types.ListNotificationsOutput) => void): Request<WellArchitected.Types.ListNotificationsOutput, AWSError>;
318
+ /**
319
+ * List profile notifications.
320
+ */
321
+ listProfileNotifications(params: WellArchitected.Types.ListProfileNotificationsInput, callback?: (err: AWSError, data: WellArchitected.Types.ListProfileNotificationsOutput) => void): Request<WellArchitected.Types.ListProfileNotificationsOutput, AWSError>;
322
+ /**
323
+ * List profile notifications.
324
+ */
325
+ listProfileNotifications(callback?: (err: AWSError, data: WellArchitected.Types.ListProfileNotificationsOutput) => void): Request<WellArchitected.Types.ListProfileNotificationsOutput, AWSError>;
326
+ /**
327
+ * List profile shares.
328
+ */
329
+ listProfileShares(params: WellArchitected.Types.ListProfileSharesInput, callback?: (err: AWSError, data: WellArchitected.Types.ListProfileSharesOutput) => void): Request<WellArchitected.Types.ListProfileSharesOutput, AWSError>;
330
+ /**
331
+ * List profile shares.
332
+ */
333
+ listProfileShares(callback?: (err: AWSError, data: WellArchitected.Types.ListProfileSharesOutput) => void): Request<WellArchitected.Types.ListProfileSharesOutput, AWSError>;
334
+ /**
335
+ * List profiles.
336
+ */
337
+ listProfiles(params: WellArchitected.Types.ListProfilesInput, callback?: (err: AWSError, data: WellArchitected.Types.ListProfilesOutput) => void): Request<WellArchitected.Types.ListProfilesOutput, AWSError>;
338
+ /**
339
+ * List profiles.
340
+ */
341
+ listProfiles(callback?: (err: AWSError, data: WellArchitected.Types.ListProfilesOutput) => void): Request<WellArchitected.Types.ListProfilesOutput, AWSError>;
254
342
  /**
255
343
  * List the workload invitations.
256
344
  */
@@ -260,11 +348,11 @@ declare class WellArchitected extends Service {
260
348
  */
261
349
  listShareInvitations(callback?: (err: AWSError, data: WellArchitected.Types.ListShareInvitationsOutput) => void): Request<WellArchitected.Types.ListShareInvitationsOutput, AWSError>;
262
350
  /**
263
- * List the tags for a resource. The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.
351
+ * List the tags for a resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN.
264
352
  */
265
353
  listTagsForResource(params: WellArchitected.Types.ListTagsForResourceInput, callback?: (err: AWSError, data: WellArchitected.Types.ListTagsForResourceOutput) => void): Request<WellArchitected.Types.ListTagsForResourceOutput, AWSError>;
266
354
  /**
267
- * List the tags for a resource. The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.
355
+ * List the tags for a resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN.
268
356
  */
269
357
  listTagsForResource(callback?: (err: AWSError, data: WellArchitected.Types.ListTagsForResourceOutput) => void): Request<WellArchitected.Types.ListTagsForResourceOutput, AWSError>;
270
358
  /**
@@ -284,19 +372,19 @@ declare class WellArchitected extends Service {
284
372
  */
285
373
  listWorkloads(callback?: (err: AWSError, data: WellArchitected.Types.ListWorkloadsOutput) => void): Request<WellArchitected.Types.ListWorkloadsOutput, AWSError>;
286
374
  /**
287
- * Adds one or more tags to the specified resource. The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.
375
+ * Adds one or more tags to the specified resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN.
288
376
  */
289
377
  tagResource(params: WellArchitected.Types.TagResourceInput, callback?: (err: AWSError, data: WellArchitected.Types.TagResourceOutput) => void): Request<WellArchitected.Types.TagResourceOutput, AWSError>;
290
378
  /**
291
- * Adds one or more tags to the specified resource. The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.
379
+ * Adds one or more tags to the specified resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN.
292
380
  */
293
381
  tagResource(callback?: (err: AWSError, data: WellArchitected.Types.TagResourceOutput) => void): Request<WellArchitected.Types.TagResourceOutput, AWSError>;
294
382
  /**
295
- * Deletes specified tags from a resource. The WorkloadArn parameter can be either a workload ARN or a custom lens ARN. To specify multiple tags, use separate tagKeys parameters, for example: DELETE /tags/WorkloadArn?tagKeys=key1&amp;tagKeys=key2
383
+ * Deletes specified tags from a resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN. To specify multiple tags, use separate tagKeys parameters, for example: DELETE /tags/WorkloadArn?tagKeys=key1&amp;tagKeys=key2
296
384
  */
297
385
  untagResource(params: WellArchitected.Types.UntagResourceInput, callback?: (err: AWSError, data: WellArchitected.Types.UntagResourceOutput) => void): Request<WellArchitected.Types.UntagResourceOutput, AWSError>;
298
386
  /**
299
- * Deletes specified tags from a resource. The WorkloadArn parameter can be either a workload ARN or a custom lens ARN. To specify multiple tags, use separate tagKeys parameters, for example: DELETE /tags/WorkloadArn?tagKeys=key1&amp;tagKeys=key2
387
+ * Deletes specified tags from a resource. The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN. To specify multiple tags, use separate tagKeys parameters, for example: DELETE /tags/WorkloadArn?tagKeys=key1&amp;tagKeys=key2
300
388
  */
301
389
  untagResource(callback?: (err: AWSError, data: WellArchitected.Types.UntagResourceOutput) => void): Request<WellArchitected.Types.UntagResourceOutput, AWSError>;
302
390
  /**
@@ -323,6 +411,14 @@ declare class WellArchitected extends Service {
323
411
  * Update lens review for a particular workload.
324
412
  */
325
413
  updateLensReview(callback?: (err: AWSError, data: WellArchitected.Types.UpdateLensReviewOutput) => void): Request<WellArchitected.Types.UpdateLensReviewOutput, AWSError>;
414
+ /**
415
+ * Update a profile.
416
+ */
417
+ updateProfile(params: WellArchitected.Types.UpdateProfileInput, callback?: (err: AWSError, data: WellArchitected.Types.UpdateProfileOutput) => void): Request<WellArchitected.Types.UpdateProfileOutput, AWSError>;
418
+ /**
419
+ * Update a profile.
420
+ */
421
+ updateProfile(callback?: (err: AWSError, data: WellArchitected.Types.UpdateProfileOutput) => void): Request<WellArchitected.Types.UpdateProfileOutput, AWSError>;
326
422
  /**
327
423
  * Update a workload or custom lens share invitation. This API operation can be called independently of any resource. Previous documentation implied that a workload ARN must be specified.
328
424
  */
@@ -355,6 +451,14 @@ declare class WellArchitected extends Service {
355
451
  * Upgrade lens review for a particular workload.
356
452
  */
357
453
  upgradeLensReview(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
454
+ /**
455
+ * Upgrade a profile.
456
+ */
457
+ upgradeProfileVersion(params: WellArchitected.Types.UpgradeProfileVersionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
458
+ /**
459
+ * Upgrade a profile.
460
+ */
461
+ upgradeProfileVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
358
462
  }
359
463
  declare namespace WellArchitected {
360
464
  export type AccountSummary = {[key: string]: CheckStatusCount};
@@ -413,12 +517,23 @@ declare namespace WellArchitected {
413
517
  * The reason why a choice is non-applicable to a question in your workload.
414
518
  */
415
519
  Reason?: AnswerReason;
520
+ /**
521
+ * The type of the question.
522
+ */
523
+ QuestionType?: QuestionType;
416
524
  }
417
525
  export type ApplicationArn = string;
418
526
  export interface AssociateLensesInput {
419
527
  WorkloadId: WorkloadId;
420
528
  LensAliases: LensAliases;
421
529
  }
530
+ export interface AssociateProfilesInput {
531
+ WorkloadId: WorkloadId;
532
+ /**
533
+ * The list of profile ARNs to associate with the workload.
534
+ */
535
+ ProfileArns: ProfileArns;
536
+ }
422
537
  export type AwsAccountId = string;
423
538
  export type AwsRegion = string;
424
539
  export type Base64String = string;
@@ -658,6 +773,50 @@ declare namespace WellArchitected {
658
773
  WorkloadId?: WorkloadId;
659
774
  MilestoneNumber?: MilestoneNumber;
660
775
  }
776
+ export interface CreateProfileInput {
777
+ /**
778
+ * Name of the profile.
779
+ */
780
+ ProfileName: ProfileName;
781
+ /**
782
+ * The profile description.
783
+ */
784
+ ProfileDescription: ProfileDescription;
785
+ /**
786
+ * The profile questions.
787
+ */
788
+ ProfileQuestions: ProfileQuestionUpdates;
789
+ ClientRequestToken: ClientRequestToken;
790
+ /**
791
+ * The tags assigned to the profile.
792
+ */
793
+ Tags?: TagMap;
794
+ }
795
+ export interface CreateProfileOutput {
796
+ /**
797
+ * The profile ARN.
798
+ */
799
+ ProfileArn?: ProfileArn;
800
+ /**
801
+ * Version of the profile.
802
+ */
803
+ ProfileVersion?: ProfileVersion;
804
+ }
805
+ export interface CreateProfileShareInput {
806
+ /**
807
+ * The profile ARN.
808
+ */
809
+ ProfileArn: ProfileArn;
810
+ SharedWith: SharedWith;
811
+ ClientRequestToken: ClientRequestToken;
812
+ }
813
+ export interface CreateProfileShareOutput {
814
+ ShareId?: ShareId;
815
+ /**
816
+ * The profile ARN.
817
+ */
818
+ ProfileArn?: ProfileArn;
819
+ }
661
820
  export interface CreateWorkloadInput {
662
821
  WorkloadName: WorkloadName;
663
822
  Description: WorkloadDescription;
@@ -685,6 +844,10 @@ declare namespace WellArchitected {
685
844
  * List of AppRegistry application ARNs associated to the workload.
686
845
  */
687
846
  Applications?: WorkloadApplications;
847
+ /**
848
+ * The list of profile ARNs associated with the workload.
849
+ */
850
+ ProfileArns?: WorkloadProfileArns;
688
851
  }
689
852
  export interface CreateWorkloadOutput {
690
853
  WorkloadId?: WorkloadId;
@@ -714,6 +877,21 @@ declare namespace WellArchitected {
714
877
  LensAlias: LensAlias;
715
878
  ClientRequestToken: ClientRequestToken;
716
879
  }
880
+ export interface DeleteProfileInput {
881
+ /**
882
+ * The profile ARN.
883
+ */
884
+ ProfileArn: ProfileArn;
885
+ ClientRequestToken: ClientRequestToken;
886
+ }
887
+ export interface DeleteProfileShareInput {
888
+ ShareId: ShareId;
889
+ /**
890
+ * The profile ARN.
891
+ */
892
+ ProfileArn: ProfileArn;
893
+ ClientRequestToken: ClientRequestToken;
894
+ }
717
895
  export interface DeleteWorkloadInput {
718
896
  WorkloadId: WorkloadId;
719
897
  ClientRequestToken: ClientRequestToken;
@@ -728,6 +906,13 @@ declare namespace WellArchitected {
728
906
  WorkloadId: WorkloadId;
729
907
  LensAliases: LensAliases;
730
908
  }
909
+ export interface DisassociateProfilesInput {
910
+ WorkloadId: WorkloadId;
911
+ /**
912
+ * The list of profile ARNs to disassociate from the workload.
913
+ */
914
+ ProfileArns: ProfileArns;
915
+ }
731
916
  export type DiscoveryIntegrationStatus = "ENABLED"|"DISABLED"|string;
732
917
  export type DisplayText = string;
733
918
  export interface ExportLensInput {
@@ -856,6 +1041,30 @@ declare namespace WellArchitected {
856
1041
  WorkloadId?: WorkloadId;
857
1042
  Milestone?: Milestone;
858
1043
  }
1044
+ export interface GetProfileInput {
1045
+ /**
1046
+ * The profile ARN.
1047
+ */
1048
+ ProfileArn: ProfileArn;
1049
+ /**
1050
+ * The profile version.
1051
+ */
1052
+ ProfileVersion?: ProfileVersion;
1053
+ }
1054
+ export interface GetProfileOutput {
1055
+ /**
1056
+ * The profile.
1057
+ */
1058
+ Profile?: Profile;
1059
+ }
1060
+ export interface GetProfileTemplateInput {
1061
+ }
1062
+ export interface GetProfileTemplateOutput {
1063
+ /**
1064
+ * The profile template.
1065
+ */
1066
+ ProfileTemplate?: ProfileTemplate;
1067
+ }
859
1068
  export interface GetWorkloadInput {
860
1069
  WorkloadId: WorkloadId;
861
1070
  }
@@ -967,6 +1176,11 @@ declare namespace WellArchitected {
967
1176
  Notes?: Notes;
968
1177
  RiskCounts?: RiskCounts;
969
1178
  NextToken?: NextToken;
1179
+ /**
1180
+ * The profiles associated with the workload.
1181
+ */
1182
+ Profiles?: WorkloadProfiles;
1183
+ PrioritizedRiskCounts?: RiskCounts;
970
1184
  }
971
1185
  export interface LensReviewReport {
972
1186
  LensAlias?: LensAlias;
@@ -994,6 +1208,11 @@ declare namespace WellArchitected {
994
1208
  LensStatus?: LensStatus;
995
1209
  UpdatedAt?: Timestamp;
996
1210
  RiskCounts?: RiskCounts;
1211
+ /**
1212
+ * The profiles associated with the workload.
1213
+ */
1214
+ Profiles?: WorkloadProfiles;
1215
+ PrioritizedRiskCounts?: RiskCounts;
997
1216
  }
998
1217
  export type LensShareSummaries = LensShareSummary[];
999
1218
  export interface LensShareSummary {
@@ -1062,6 +1281,10 @@ declare namespace WellArchitected {
1062
1281
  * The maximum number of results to return for this request.
1063
1282
  */
1064
1283
  MaxResults?: ListAnswersMaxResults;
1284
+ /**
1285
+ * The priority of the question.
1286
+ */
1287
+ QuestionPriority?: QuestionPriority;
1065
1288
  }
1066
1289
  export type ListAnswersMaxResults = number;
1067
1290
  export interface ListAnswersOutput {
@@ -1123,6 +1346,10 @@ declare namespace WellArchitected {
1123
1346
  * The maximum number of results to return for this request.
1124
1347
  */
1125
1348
  MaxResults?: ListLensReviewImprovementsMaxResults;
1349
+ /**
1350
+ * The priority of the question.
1351
+ */
1352
+ QuestionPriority?: QuestionPriority;
1126
1353
  }
1127
1354
  export type ListLensReviewImprovementsMaxResults = number;
1128
1355
  export interface ListLensReviewImprovementsOutput {
@@ -1211,6 +1438,61 @@ declare namespace WellArchitected {
1211
1438
  NotificationSummaries?: NotificationSummaries;
1212
1439
  NextToken?: NextToken;
1213
1440
  }
1441
+ export interface ListProfileNotificationsInput {
1442
+ WorkloadId?: WorkloadId;
1443
+ NextToken?: NextToken;
1444
+ MaxResults?: MaxResults;
1445
+ }
1446
+ export interface ListProfileNotificationsOutput {
1447
+ /**
1448
+ * Notification summaries.
1449
+ */
1450
+ NotificationSummaries?: ProfileNotificationSummaries;
1451
+ NextToken?: NextToken;
1452
+ }
1453
+ export interface ListProfileSharesInput {
1454
+ /**
1455
+ * The profile ARN.
1456
+ */
1457
+ ProfileArn: ProfileArn;
1458
+ /**
1459
+ * The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the profile is shared.
1460
+ */
1461
+ SharedWithPrefix?: SharedWithPrefix;
1462
+ NextToken?: NextToken;
1463
+ /**
1464
+ * The maximum number of results to return for this request.
1465
+ */
1466
+ MaxResults?: ListProfileSharesMaxResults;
1467
+ Status?: ShareStatus;
1468
+ }
1469
+ export type ListProfileSharesMaxResults = number;
1470
+ export interface ListProfileSharesOutput {
1471
+ /**
1472
+ * Profile share summaries.
1473
+ */
1474
+ ProfileShareSummaries?: ProfileShareSummaries;
1475
+ NextToken?: NextToken;
1476
+ }
1477
+ export interface ListProfilesInput {
1478
+ /**
1479
+ * Prefix for profile name.
1480
+ */
1481
+ ProfileNamePrefix?: ProfileNamePrefix;
1482
+ /**
1483
+ * Profile owner type.
1484
+ */
1485
+ ProfileOwnerType?: ProfileOwnerType;
1486
+ NextToken?: NextToken;
1487
+ MaxResults?: MaxResults;
1488
+ }
1489
+ export interface ListProfilesOutput {
1490
+ /**
1491
+ * Profile summaries.
1492
+ */
1493
+ ProfileSummaries?: ProfileSummaries;
1494
+ NextToken?: NextToken;
1495
+ }
1214
1496
  export interface ListShareInvitationsInput {
1215
1497
  WorkloadNamePrefix?: WorkloadNamePrefix;
1216
1498
  /**
@@ -1226,6 +1508,10 @@ declare namespace WellArchitected {
1226
1508
  * The maximum number of results to return for this request.
1227
1509
  */
1228
1510
  MaxResults?: ListShareInvitationsMaxResults;
1511
+ /**
1512
+ * Profile name prefix.
1513
+ */
1514
+ ProfileNamePrefix?: ProfileNamePrefix;
1229
1515
  }
1230
1516
  export type ListShareInvitationsMaxResults = number;
1231
1517
  export interface ListShareInvitationsOutput {
@@ -1277,6 +1563,7 @@ declare namespace WellArchitected {
1277
1563
  NextToken?: NextToken;
1278
1564
  }
1279
1565
  export type MaxResults = number;
1566
+ export type MaxSelectedProfileChoices = number;
1280
1567
  export type MetricType = "WORKLOAD"|string;
1281
1568
  export interface Milestone {
1282
1569
  MilestoneNumber?: MilestoneNumber;
@@ -1293,6 +1580,7 @@ declare namespace WellArchitected {
1293
1580
  RecordedAt?: Timestamp;
1294
1581
  WorkloadSummary?: WorkloadSummary;
1295
1582
  }
1583
+ export type MinSelectedProfileChoices = number;
1296
1584
  export type NextToken = string;
1297
1585
  export type Notes = string;
1298
1586
  export type NotificationSummaries = NotificationSummary[];
@@ -1340,7 +1628,177 @@ declare namespace WellArchitected {
1340
1628
  PillarName?: PillarName;
1341
1629
  Notes?: Notes;
1342
1630
  RiskCounts?: RiskCounts;
1631
+ PrioritizedRiskCounts?: RiskCounts;
1632
+ }
1633
+ export interface Profile {
1634
+ /**
1635
+ * The profile ARN.
1636
+ */
1637
+ ProfileArn?: ProfileArn;
1638
+ /**
1639
+ * The profile version.
1640
+ */
1641
+ ProfileVersion?: ProfileVersion;
1642
+ /**
1643
+ * The profile name.
1644
+ */
1645
+ ProfileName?: ProfileName;
1646
+ /**
1647
+ * The profile description.
1648
+ */
1649
+ ProfileDescription?: ProfileDescription;
1650
+ /**
1651
+ * Profile questions.
1652
+ */
1653
+ ProfileQuestions?: ProfileQuestions;
1654
+ Owner?: AwsAccountId;
1655
+ CreatedAt?: Timestamp;
1656
+ UpdatedAt?: Timestamp;
1657
+ /**
1658
+ * The ID assigned to the share invitation.
1659
+ */
1660
+ ShareInvitationId?: ShareInvitationId;
1661
+ /**
1662
+ * The tags assigned to the profile.
1663
+ */
1664
+ Tags?: TagMap;
1665
+ }
1666
+ export type ProfileArn = string;
1667
+ export type ProfileArns = ProfileArn[];
1668
+ export interface ProfileChoice {
1669
+ ChoiceId?: ChoiceId;
1670
+ ChoiceTitle?: ChoiceTitle;
1671
+ ChoiceDescription?: ChoiceDescription;
1672
+ }
1673
+ export type ProfileDescription = string;
1674
+ export type ProfileName = string;
1675
+ export type ProfileNamePrefix = string;
1676
+ export type ProfileNotificationSummaries = ProfileNotificationSummary[];
1677
+ export interface ProfileNotificationSummary {
1678
+ /**
1679
+ * The current profile version.
1680
+ */
1681
+ CurrentProfileVersion?: ProfileVersion;
1682
+ /**
1683
+ * The latest profile version.
1684
+ */
1685
+ LatestProfileVersion?: ProfileVersion;
1686
+ /**
1687
+ * Type of notification.
1688
+ */
1689
+ Type?: ProfileNotificationType;
1690
+ /**
1691
+ * The profile ARN.
1692
+ */
1693
+ ProfileArn?: ProfileArn;
1694
+ /**
1695
+ * The profile name.
1696
+ */
1697
+ ProfileName?: ProfileName;
1698
+ WorkloadId?: WorkloadId;
1699
+ WorkloadName?: WorkloadName;
1700
+ }
1701
+ export type ProfileNotificationType = "PROFILE_ANSWERS_UPDATED"|"PROFILE_DELETED"|string;
1702
+ export type ProfileOwnerType = "SELF"|"SHARED"|string;
1703
+ export interface ProfileQuestion {
1704
+ QuestionId?: QuestionId;
1705
+ QuestionTitle?: QuestionTitle;
1706
+ QuestionDescription?: QuestionDescription;
1707
+ /**
1708
+ * The question choices.
1709
+ */
1710
+ QuestionChoices?: ProfileQuestionChoices;
1711
+ /**
1712
+ * The selected choices.
1713
+ */
1714
+ SelectedChoiceIds?: SelectedChoiceIds;
1715
+ /**
1716
+ * The minimum number of selected choices.
1717
+ */
1718
+ MinSelectedChoices?: MinSelectedProfileChoices;
1719
+ /**
1720
+ * The maximum number of selected choices.
1721
+ */
1722
+ MaxSelectedChoices?: MaxSelectedProfileChoices;
1723
+ }
1724
+ export type ProfileQuestionChoices = ProfileChoice[];
1725
+ export interface ProfileQuestionUpdate {
1726
+ QuestionId?: QuestionId;
1727
+ /**
1728
+ * The selected choices.
1729
+ */
1730
+ SelectedChoiceIds?: SelectedProfileChoiceIds;
1731
+ }
1732
+ export type ProfileQuestionUpdates = ProfileQuestionUpdate[];
1733
+ export type ProfileQuestions = ProfileQuestion[];
1734
+ export type ProfileShareSummaries = ProfileShareSummary[];
1735
+ export interface ProfileShareSummary {
1736
+ ShareId?: ShareId;
1737
+ SharedWith?: SharedWith;
1738
+ Status?: ShareStatus;
1739
+ /**
1740
+ * Profile share invitation status message.
1741
+ */
1742
+ StatusMessage?: StatusMessage;
1743
+ }
1744
+ export type ProfileSummaries = ProfileSummary[];
1745
+ export interface ProfileSummary {
1746
+ /**
1747
+ * The profile ARN.
1748
+ */
1749
+ ProfileArn?: ProfileArn;
1750
+ /**
1751
+ * The profile version.
1752
+ */
1753
+ ProfileVersion?: ProfileVersion;
1754
+ /**
1755
+ * The profile name.
1756
+ */
1757
+ ProfileName?: ProfileName;
1758
+ /**
1759
+ * The profile description.
1760
+ */
1761
+ ProfileDescription?: ProfileDescription;
1762
+ Owner?: AwsAccountId;
1763
+ CreatedAt?: Timestamp;
1764
+ UpdatedAt?: Timestamp;
1343
1765
  }
1766
+ export interface ProfileTemplate {
1767
+ /**
1768
+ * The name of the profile template.
1769
+ */
1770
+ TemplateName?: ProfileName;
1771
+ /**
1772
+ * Profile template questions.
1773
+ */
1774
+ TemplateQuestions?: TemplateQuestions;
1775
+ CreatedAt?: Timestamp;
1776
+ UpdatedAt?: Timestamp;
1777
+ }
1778
+ export interface ProfileTemplateChoice {
1779
+ ChoiceId?: ChoiceId;
1780
+ ChoiceTitle?: ChoiceTitle;
1781
+ ChoiceDescription?: ChoiceDescription;
1782
+ }
1783
+ export interface ProfileTemplateQuestion {
1784
+ QuestionId?: QuestionId;
1785
+ QuestionTitle?: QuestionTitle;
1786
+ QuestionDescription?: QuestionDescription;
1787
+ /**
1788
+ * The question choices.
1789
+ */
1790
+ QuestionChoices?: ProfileTemplateQuestionChoices;
1791
+ /**
1792
+ * The minimum number of choices selected.
1793
+ */
1794
+ MinSelectedChoices?: MinSelectedProfileChoices;
1795
+ /**
1796
+ * The maximum number of choices selected.
1797
+ */
1798
+ MaxSelectedChoices?: MaxSelectedProfileChoices;
1799
+ }
1800
+ export type ProfileTemplateQuestionChoices = ProfileTemplateChoice[];
1801
+ export type ProfileVersion = string;
1344
1802
  export type QuestionDescription = string;
1345
1803
  export interface QuestionDifference {
1346
1804
  QuestionId?: QuestionId;
@@ -1361,11 +1819,15 @@ declare namespace WellArchitected {
1361
1819
  BestPractices?: BestPractices;
1362
1820
  }
1363
1821
  export type QuestionMetrics = QuestionMetric[];
1822
+ export type QuestionPriority = "PRIORITIZED"|"NONE"|string;
1364
1823
  export type QuestionTitle = string;
1824
+ export type QuestionType = "PRIORITIZED"|"NON_PRIORITIZED"|string;
1365
1825
  export type ReportFormat = "PDF"|"JSON"|string;
1366
1826
  export type Risk = "UNANSWERED"|"HIGH"|"MEDIUM"|"NONE"|"NOT_APPLICABLE"|string;
1367
1827
  export type RiskCounts = {[key: string]: Count};
1828
+ export type SelectedChoiceIds = ChoiceId[];
1368
1829
  export type SelectedChoices = ChoiceId[];
1830
+ export type SelectedProfileChoiceIds = ChoiceId[];
1369
1831
  export type ShareId = string;
1370
1832
  export interface ShareInvitation {
1371
1833
  /**
@@ -1382,6 +1844,10 @@ declare namespace WellArchitected {
1382
1844
  * The ARN for the lens.
1383
1845
  */
1384
1846
  LensArn?: LensArn;
1847
+ /**
1848
+ * The profile ARN.
1849
+ */
1850
+ ProfileArn?: ProfileArn;
1385
1851
  }
1386
1852
  export type ShareInvitationAction = "ACCEPT"|"REJECT"|string;
1387
1853
  export type ShareInvitationId = string;
@@ -1405,8 +1871,16 @@ declare namespace WellArchitected {
1405
1871
  * The ARN for the lens.
1406
1872
  */
1407
1873
  LensArn?: LensArn;
1874
+ /**
1875
+ * The profile name.
1876
+ */
1877
+ ProfileName?: ProfileName;
1878
+ /**
1879
+ * The profile ARN.
1880
+ */
1881
+ ProfileArn?: ProfileArn;
1408
1882
  }
1409
- export type ShareResourceType = "WORKLOAD"|"LENS"|string;
1883
+ export type ShareResourceType = "WORKLOAD"|"LENS"|"PROFILE"|string;
1410
1884
  export type ShareStatus = "ACCEPTED"|"REJECTED"|"PENDING"|"REVOKED"|"EXPIRED"|"ASSOCIATING"|"ASSOCIATED"|"FAILED"|string;
1411
1885
  export type SharedWith = string;
1412
1886
  export type SharedWithPrefix = string;
@@ -1424,6 +1898,7 @@ declare namespace WellArchitected {
1424
1898
  export interface TagResourceOutput {
1425
1899
  }
1426
1900
  export type TagValue = string;
1901
+ export type TemplateQuestions = ProfileTemplateQuestion[];
1427
1902
  export type Timestamp = Date;
1428
1903
  export type TrustedAdvisorIntegrationStatus = "ENABLED"|"DISABLED"|string;
1429
1904
  export interface UntagResourceInput {
@@ -1480,6 +1955,26 @@ declare namespace WellArchitected {
1480
1955
  WorkloadId?: WorkloadId;
1481
1956
  LensReview?: LensReview;
1482
1957
  }
1958
+ export interface UpdateProfileInput {
1959
+ /**
1960
+ * The profile ARN.
1961
+ */
1962
+ ProfileArn: ProfileArn;
1963
+ /**
1964
+ * The profile description.
1965
+ */
1966
+ ProfileDescription?: ProfileDescription;
1967
+ /**
1968
+ * Profile questions.
1969
+ */
1970
+ ProfileQuestions?: ProfileQuestionUpdates;
1971
+ }
1972
+ export interface UpdateProfileOutput {
1973
+ /**
1974
+ * The profile.
1975
+ */
1976
+ Profile?: Profile;
1977
+ }
1483
1978
  export interface UpdateShareInvitationInput {
1484
1979
  /**
1485
1980
  * The ID assigned to the share invitation.
@@ -1539,6 +2034,15 @@ declare namespace WellArchitected {
1539
2034
  MilestoneName: MilestoneName;
1540
2035
  ClientRequestToken?: ClientRequestToken;
1541
2036
  }
2037
+ export interface UpgradeProfileVersionInput {
2038
+ WorkloadId: WorkloadId;
2039
+ /**
2040
+ * The profile ARN.
2041
+ */
2042
+ ProfileArn: ProfileArn;
2043
+ MilestoneName?: MilestoneName;
2044
+ ClientRequestToken?: ClientRequestToken;
2045
+ }
1542
2046
  export type Urls = ChoiceContent[];
1543
2047
  export interface VersionDifferences {
1544
2048
  /**
@@ -1587,6 +2091,11 @@ declare namespace WellArchitected {
1587
2091
  * List of AppRegistry application ARNs associated to the workload.
1588
2092
  */
1589
2093
  Applications?: WorkloadApplications;
2094
+ /**
2095
+ * Profile associated with a workload.
2096
+ */
2097
+ Profiles?: WorkloadProfiles;
2098
+ PrioritizedRiskCounts?: RiskCounts;
1590
2099
  }
1591
2100
  export type WorkloadAccountIds = AwsAccountId[];
1592
2101
  export type WorkloadApplications = ApplicationArn[];
@@ -1615,6 +2124,18 @@ declare namespace WellArchitected {
1615
2124
  export type WorkloadNonAwsRegion = string;
1616
2125
  export type WorkloadNonAwsRegions = WorkloadNonAwsRegion[];
1617
2126
  export type WorkloadPillarPriorities = PillarId[];
2127
+ export interface WorkloadProfile {
2128
+ /**
2129
+ * The profile ARN.
2130
+ */
2131
+ ProfileArn?: ProfileArn;
2132
+ /**
2133
+ * The profile version.
2134
+ */
2135
+ ProfileVersion?: ProfileVersion;
2136
+ }
2137
+ export type WorkloadProfileArns = ProfileArn[];
2138
+ export type WorkloadProfiles = WorkloadProfile[];
1618
2139
  export type WorkloadResourceDefinition = DefinitionType[];
1619
2140
  export type WorkloadReviewOwner = string;
1620
2141
  export interface WorkloadShare {
@@ -1647,6 +2168,11 @@ declare namespace WellArchitected {
1647
2168
  Lenses?: WorkloadLenses;
1648
2169
  RiskCounts?: RiskCounts;
1649
2170
  ImprovementStatus?: WorkloadImprovementStatus;
2171
+ /**
2172
+ * Profile associated with a workload.
2173
+ */
2174
+ Profiles?: WorkloadProfiles;
2175
+ PrioritizedRiskCounts?: RiskCounts;
1650
2176
  }
1651
2177
  /**
1652
2178
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.