@aws-sdk/client-resiliencehub 3.670.0 → 3.672.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 (47) hide show
  1. package/dist-cjs/index.js +7 -1
  2. package/dist-es/protocols/Aws_restJson1.js +6 -0
  3. package/dist-types/commands/AddDraftAppVersionResourceMappingsCommand.d.ts +4 -4
  4. package/dist-types/commands/BatchUpdateRecommendationStatusCommand.d.ts +2 -2
  5. package/dist-types/commands/CreateAppCommand.d.ts +11 -9
  6. package/dist-types/commands/CreateAppVersionResourceCommand.d.ts +2 -2
  7. package/dist-types/commands/CreateRecommendationTemplateCommand.d.ts +5 -5
  8. package/dist-types/commands/CreateResiliencyPolicyCommand.d.ts +5 -5
  9. package/dist-types/commands/DeleteAppAssessmentCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteAppInputSourceCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteAppVersionResourceCommand.d.ts +2 -2
  12. package/dist-types/commands/DeleteRecommendationTemplateCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeAppAssessmentCommand.d.ts +9 -9
  14. package/dist-types/commands/DescribeAppCommand.d.ts +7 -6
  15. package/dist-types/commands/DescribeAppVersionResourceCommand.d.ts +2 -2
  16. package/dist-types/commands/DescribeAppVersionResourcesResolutionStatusCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeDraftAppVersionResourcesImportStatusCommand.d.ts +6 -1
  18. package/dist-types/commands/DescribeResiliencyPolicyCommand.d.ts +3 -3
  19. package/dist-types/commands/DescribeResourceGroupingRecommendationTaskCommand.d.ts +1 -1
  20. package/dist-types/commands/ImportResourcesToDraftAppVersionCommand.d.ts +2 -2
  21. package/dist-types/commands/ListAlarmRecommendationsCommand.d.ts +3 -3
  22. package/dist-types/commands/ListAppAssessmentComplianceDriftsCommand.d.ts +6 -5
  23. package/dist-types/commands/ListAppAssessmentResourceDriftsCommand.d.ts +1 -1
  24. package/dist-types/commands/ListAppAssessmentsCommand.d.ts +8 -8
  25. package/dist-types/commands/ListAppComponentCompliancesCommand.d.ts +3 -3
  26. package/dist-types/commands/ListAppComponentRecommendationsCommand.d.ts +6 -6
  27. package/dist-types/commands/ListAppInputSourcesCommand.d.ts +1 -1
  28. package/dist-types/commands/ListAppVersionResourceMappingsCommand.d.ts +2 -2
  29. package/dist-types/commands/ListAppVersionResourcesCommand.d.ts +2 -2
  30. package/dist-types/commands/ListAppsCommand.d.ts +6 -4
  31. package/dist-types/commands/ListRecommendationTemplatesCommand.d.ts +4 -4
  32. package/dist-types/commands/ListResiliencyPoliciesCommand.d.ts +3 -3
  33. package/dist-types/commands/ListResourceGroupingRecommendationsCommand.d.ts +4 -4
  34. package/dist-types/commands/ListSopRecommendationsCommand.d.ts +3 -3
  35. package/dist-types/commands/ListSuggestedResiliencyPoliciesCommand.d.ts +3 -3
  36. package/dist-types/commands/ListTestRecommendationsCommand.d.ts +4 -4
  37. package/dist-types/commands/ListUnsupportedAppVersionResourcesCommand.d.ts +1 -1
  38. package/dist-types/commands/RejectResourceGroupingRecommendationsCommand.d.ts +1 -1
  39. package/dist-types/commands/ResolveAppVersionResourcesCommand.d.ts +1 -1
  40. package/dist-types/commands/StartAppAssessmentCommand.d.ts +9 -9
  41. package/dist-types/commands/StartResourceGroupingRecommendationTaskCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateAppCommand.d.ts +10 -9
  43. package/dist-types/commands/UpdateAppVersionResourceCommand.d.ts +2 -2
  44. package/dist-types/commands/UpdateResiliencyPolicyCommand.d.ts +5 -5
  45. package/dist-types/models/models_0.d.ts +56 -6
  46. package/dist-types/ts3.4/models/models_0.d.ts +10 -2
  47. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -848,6 +848,7 @@ var se_CreateAppCommand = /* @__PURE__ */ __name(async (input, context) => {
848
848
  body = JSON.stringify(
849
849
  (0, import_smithy_client.take)(input, {
850
850
  assessmentSchedule: [],
851
+ awsApplicationArn: [],
851
852
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
852
853
  description: [],
853
854
  eventSubscriptions: (_) => (0, import_smithy_client._json)(_),
@@ -1383,7 +1384,8 @@ var se_ListAppsCommand = /* @__PURE__ */ __name(async (input, context) => {
1383
1384
  [_aA]: [, input[_aA]],
1384
1385
  [_fLAT]: [() => input.fromLastAssessmentTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_fLAT]).toString()],
1385
1386
  [_tLAT]: [() => input.toLastAssessmentTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_tLAT]).toString()],
1386
- [_rO]: [() => input.reverseOrder !== void 0, () => input[_rO].toString()]
1387
+ [_rO]: [() => input.reverseOrder !== void 0, () => input[_rO].toString()],
1388
+ [_aAA]: [, input[_aAA]]
1387
1389
  });
1388
1390
  let body;
1389
1391
  b.m("GET").h(headers).q(query).b(body);
@@ -2174,6 +2176,7 @@ var de_DescribeDraftAppVersionResourcesImportStatusCommand = /* @__PURE__ */ __n
2174
2176
  const doc = (0, import_smithy_client.take)(data, {
2175
2177
  appArn: import_smithy_client.expectString,
2176
2178
  appVersion: import_smithy_client.expectString,
2179
+ errorDetails: import_smithy_client._json,
2177
2180
  errorMessage: import_smithy_client.expectString,
2178
2181
  status: import_smithy_client.expectString,
2179
2182
  statusChangeTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
@@ -2877,6 +2880,7 @@ var de_App = /* @__PURE__ */ __name((output, context) => {
2877
2880
  return (0, import_smithy_client.take)(output, {
2878
2881
  appArn: import_smithy_client.expectString,
2879
2882
  assessmentSchedule: import_smithy_client.expectString,
2883
+ awsApplicationArn: import_smithy_client.expectString,
2880
2884
  complianceStatus: import_smithy_client.expectString,
2881
2885
  creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2882
2886
  description: import_smithy_client.expectString,
@@ -2956,6 +2960,7 @@ var de_AppSummary = /* @__PURE__ */ __name((output, context) => {
2956
2960
  return (0, import_smithy_client.take)(output, {
2957
2961
  appArn: import_smithy_client.expectString,
2958
2962
  assessmentSchedule: import_smithy_client.expectString,
2963
+ awsApplicationArn: import_smithy_client.expectString,
2959
2964
  complianceStatus: import_smithy_client.expectString,
2960
2965
  creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2961
2966
  description: import_smithy_client.expectString,
@@ -3139,6 +3144,7 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
3139
3144
  cfId: output.headers["x-amz-cf-id"]
3140
3145
  }), "deserializeMetadata");
3141
3146
  var _aA = "appArn";
3147
+ var _aAA = "awsApplicationArn";
3142
3148
  var _aAs = "assessmentArn";
3143
3149
  var _aN = "assessmentName";
3144
3150
  var _aS = "assessmentStatus";
@@ -55,6 +55,7 @@ export const se_CreateAppCommand = async (input, context) => {
55
55
  let body;
56
56
  body = JSON.stringify(take(input, {
57
57
  assessmentSchedule: [],
58
+ awsApplicationArn: [],
58
59
  clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
59
60
  description: [],
60
61
  eventSubscriptions: (_) => _json(_),
@@ -534,6 +535,7 @@ export const se_ListAppsCommand = async (input, context) => {
534
535
  [_fLAT]: [() => input.fromLastAssessmentTime !== void 0, () => __serializeDateTime(input[_fLAT]).toString()],
535
536
  [_tLAT]: [() => input.toLastAssessmentTime !== void 0, () => __serializeDateTime(input[_tLAT]).toString()],
536
537
  [_rO]: [() => input.reverseOrder !== void 0, () => input[_rO].toString()],
538
+ [_aAA]: [, input[_aAA]],
537
539
  });
538
540
  let body;
539
541
  b.m("GET").h(headers).q(query).b(body);
@@ -1284,6 +1286,7 @@ export const de_DescribeDraftAppVersionResourcesImportStatusCommand = async (out
1284
1286
  const doc = take(data, {
1285
1287
  appArn: __expectString,
1286
1288
  appVersion: __expectString,
1289
+ errorDetails: _json,
1287
1290
  errorMessage: __expectString,
1288
1291
  status: __expectString,
1289
1292
  statusChangeTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -1987,6 +1990,7 @@ const de_App = (output, context) => {
1987
1990
  return take(output, {
1988
1991
  appArn: __expectString,
1989
1992
  assessmentSchedule: __expectString,
1993
+ awsApplicationArn: __expectString,
1990
1994
  complianceStatus: __expectString,
1991
1995
  creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1992
1996
  description: __expectString,
@@ -2068,6 +2072,7 @@ const de_AppSummary = (output, context) => {
2068
2072
  return take(output, {
2069
2073
  appArn: __expectString,
2070
2074
  assessmentSchedule: __expectString,
2075
+ awsApplicationArn: __expectString,
2071
2076
  complianceStatus: __expectString,
2072
2077
  creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2073
2078
  description: __expectString,
@@ -2265,6 +2270,7 @@ const deserializeMetadata = (output) => ({
2265
2270
  });
2266
2271
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
2267
2272
  const _aA = "appArn";
2273
+ const _aAA = "awsApplicationArn";
2268
2274
  const _aAs = "assessmentArn";
2269
2275
  const _aN = "assessmentName";
2270
2276
  const _aS = "assessmentStatus";
@@ -47,10 +47,10 @@ declare const AddDraftAppVersionResourceMappingsCommand_base: {
47
47
  * logicalStackName: "STRING_VALUE",
48
48
  * appRegistryAppName: "STRING_VALUE",
49
49
  * resourceGroupName: "STRING_VALUE",
50
- * mappingType: "STRING_VALUE", // required
50
+ * mappingType: "CfnStack" || "Resource" || "AppRegistryApp" || "ResourceGroup" || "Terraform" || "EKS", // required
51
51
  * physicalResourceId: { // PhysicalResourceId
52
52
  * identifier: "STRING_VALUE", // required
53
- * type: "STRING_VALUE", // required
53
+ * type: "Arn" || "Native", // required
54
54
  * awsRegion: "STRING_VALUE",
55
55
  * awsAccountId: "STRING_VALUE",
56
56
  * },
@@ -70,10 +70,10 @@ declare const AddDraftAppVersionResourceMappingsCommand_base: {
70
70
  * // logicalStackName: "STRING_VALUE",
71
71
  * // appRegistryAppName: "STRING_VALUE",
72
72
  * // resourceGroupName: "STRING_VALUE",
73
- * // mappingType: "STRING_VALUE", // required
73
+ * // mappingType: "CfnStack" || "Resource" || "AppRegistryApp" || "ResourceGroup" || "Terraform" || "EKS", // required
74
74
  * // physicalResourceId: { // PhysicalResourceId
75
75
  * // identifier: "STRING_VALUE", // required
76
- * // type: "STRING_VALUE", // required
76
+ * // type: "Arn" || "Native", // required
77
77
  * // awsRegion: "STRING_VALUE",
78
78
  * // awsAccountId: "STRING_VALUE",
79
79
  * // },
@@ -46,7 +46,7 @@ declare const BatchUpdateRecommendationStatusCommand_base: {
46
46
  * targetRegion: "STRING_VALUE",
47
47
  * },
48
48
  * excluded: true || false, // required
49
- * excludeReason: "STRING_VALUE",
49
+ * excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation",
50
50
  * },
51
51
  * ],
52
52
  * };
@@ -64,7 +64,7 @@ declare const BatchUpdateRecommendationStatusCommand_base: {
64
64
  * // targetRegion: "STRING_VALUE",
65
65
  * // },
66
66
  * // excluded: true || false, // required
67
- * // excludeReason: "STRING_VALUE",
67
+ * // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation",
68
68
  * // },
69
69
  * // ],
70
70
  * // failedEntries: [ // BatchUpdateRecommendationStatusFailedEntries // required
@@ -52,9 +52,9 @@ declare const CreateAppCommand_base: {
52
52
  * "<keys>": "STRING_VALUE",
53
53
  * },
54
54
  * clientToken: "STRING_VALUE",
55
- * assessmentSchedule: "STRING_VALUE",
55
+ * assessmentSchedule: "Disabled" || "Daily",
56
56
  * permissionModel: { // PermissionModel
57
- * type: "STRING_VALUE", // required
57
+ * type: "LegacyIAMUser" || "RoleBased", // required
58
58
  * invokerRoleName: "STRING_VALUE",
59
59
  * crossAccountRoleArns: [ // IamRoleArnList
60
60
  * "STRING_VALUE",
@@ -63,10 +63,11 @@ declare const CreateAppCommand_base: {
63
63
  * eventSubscriptions: [ // EventSubscriptionList
64
64
  * { // EventSubscription
65
65
  * name: "STRING_VALUE", // required
66
- * eventType: "STRING_VALUE", // required
66
+ * eventType: "ScheduledAssessmentFailure" || "DriftDetected", // required
67
67
  * snsTopicArn: "STRING_VALUE",
68
68
  * },
69
69
  * ],
70
+ * awsApplicationArn: "STRING_VALUE",
70
71
  * };
71
72
  * const command = new CreateAppCommand(input);
72
73
  * const response = await client.send(command);
@@ -77,17 +78,17 @@ declare const CreateAppCommand_base: {
77
78
  * // description: "STRING_VALUE",
78
79
  * // policyArn: "STRING_VALUE",
79
80
  * // creationTime: new Date("TIMESTAMP"), // required
80
- * // status: "STRING_VALUE",
81
- * // complianceStatus: "STRING_VALUE",
81
+ * // status: "Active" || "Deleting",
82
+ * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotAssessed" || "ChangesDetected" || "NotApplicable" || "MissingPolicy",
82
83
  * // lastAppComplianceEvaluationTime: new Date("TIMESTAMP"),
83
84
  * // resiliencyScore: Number("double"),
84
85
  * // lastResiliencyScoreEvaluationTime: new Date("TIMESTAMP"),
85
86
  * // tags: { // TagMap
86
87
  * // "<keys>": "STRING_VALUE",
87
88
  * // },
88
- * // assessmentSchedule: "STRING_VALUE",
89
+ * // assessmentSchedule: "Disabled" || "Daily",
89
90
  * // permissionModel: { // PermissionModel
90
- * // type: "STRING_VALUE", // required
91
+ * // type: "LegacyIAMUser" || "RoleBased", // required
91
92
  * // invokerRoleName: "STRING_VALUE",
92
93
  * // crossAccountRoleArns: [ // IamRoleArnList
93
94
  * // "STRING_VALUE",
@@ -96,14 +97,15 @@ declare const CreateAppCommand_base: {
96
97
  * // eventSubscriptions: [ // EventSubscriptionList
97
98
  * // { // EventSubscription
98
99
  * // name: "STRING_VALUE", // required
99
- * // eventType: "STRING_VALUE", // required
100
+ * // eventType: "ScheduledAssessmentFailure" || "DriftDetected", // required
100
101
  * // snsTopicArn: "STRING_VALUE",
101
102
  * // },
102
103
  * // ],
103
- * // driftStatus: "STRING_VALUE",
104
+ * // driftStatus: "NotChecked" || "NotDetected" || "Detected",
104
105
  * // lastDriftEvaluationTime: new Date("TIMESTAMP"),
105
106
  * // rtoInSecs: Number("int"),
106
107
  * // rpoInSecs: Number("int"),
108
+ * // awsApplicationArn: "STRING_VALUE",
107
109
  * // },
108
110
  * // };
109
111
  *
@@ -92,7 +92,7 @@ declare const CreateAppVersionResourceCommand_base: {
92
92
  * // },
93
93
  * // physicalResourceId: { // PhysicalResourceId
94
94
  * // identifier: "STRING_VALUE", // required
95
- * // type: "STRING_VALUE", // required
95
+ * // type: "Arn" || "Native", // required
96
96
  * // awsRegion: "STRING_VALUE",
97
97
  * // awsAccountId: "STRING_VALUE",
98
98
  * // },
@@ -115,7 +115,7 @@ declare const CreateAppVersionResourceCommand_base: {
115
115
  * // ],
116
116
  * // },
117
117
  * // excluded: true || false,
118
- * // sourceType: "STRING_VALUE",
118
+ * // sourceType: "AppTemplate" || "Discovered",
119
119
  * // parentResourceName: "STRING_VALUE",
120
120
  * // },
121
121
  * // };
@@ -38,9 +38,9 @@ declare const CreateRecommendationTemplateCommand_base: {
38
38
  * recommendationIds: [ // RecommendationIdList
39
39
  * "STRING_VALUE",
40
40
  * ],
41
- * format: "STRING_VALUE",
41
+ * format: "CfnYaml" || "CfnJson",
42
42
  * recommendationTypes: [ // RenderRecommendationTypeList
43
- * "STRING_VALUE",
43
+ * "Alarm" || "Sop" || "Test",
44
44
  * ],
45
45
  * assessmentArn: "STRING_VALUE", // required
46
46
  * name: "STRING_VALUE", // required
@@ -64,12 +64,12 @@ declare const CreateRecommendationTemplateCommand_base: {
64
64
  * // "STRING_VALUE",
65
65
  * // ],
66
66
  * // recommendationTypes: [ // RenderRecommendationTypeList // required
67
- * // "STRING_VALUE",
67
+ * // "Alarm" || "Sop" || "Test",
68
68
  * // ],
69
- * // format: "STRING_VALUE", // required
69
+ * // format: "CfnYaml" || "CfnJson", // required
70
70
  * // recommendationTemplateArn: "STRING_VALUE", // required
71
71
  * // message: "STRING_VALUE",
72
- * // status: "STRING_VALUE", // required
72
+ * // status: "Pending" || "InProgress" || "Failed" || "Success", // required
73
73
  * // name: "STRING_VALUE", // required
74
74
  * // startTime: new Date("TIMESTAMP"),
75
75
  * // endTime: new Date("TIMESTAMP"),
@@ -46,8 +46,8 @@ declare const CreateResiliencyPolicyCommand_base: {
46
46
  * const input = { // CreateResiliencyPolicyRequest
47
47
  * policyName: "STRING_VALUE", // required
48
48
  * policyDescription: "STRING_VALUE",
49
- * dataLocationConstraint: "STRING_VALUE",
50
- * tier: "STRING_VALUE", // required
49
+ * dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry",
50
+ * tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable", // required
51
51
  * policy: { // DisruptionPolicy // required
52
52
  * "<keys>": { // FailurePolicy
53
53
  * rtoInSecs: Number("int"), // required
@@ -66,9 +66,9 @@ declare const CreateResiliencyPolicyCommand_base: {
66
66
  * // policyArn: "STRING_VALUE",
67
67
  * // policyName: "STRING_VALUE",
68
68
  * // policyDescription: "STRING_VALUE",
69
- * // dataLocationConstraint: "STRING_VALUE",
70
- * // tier: "STRING_VALUE",
71
- * // estimatedCostTier: "STRING_VALUE",
69
+ * // dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry",
70
+ * // tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable",
71
+ * // estimatedCostTier: "L1" || "L2" || "L3" || "L4",
72
72
  * // policy: { // DisruptionPolicy
73
73
  * // "<keys>": { // FailurePolicy
74
74
  * // rtoInSecs: Number("int"), // required
@@ -43,7 +43,7 @@ declare const DeleteAppAssessmentCommand_base: {
43
43
  * const response = await client.send(command);
44
44
  * // { // DeleteAppAssessmentResponse
45
45
  * // assessmentArn: "STRING_VALUE", // required
46
- * // assessmentStatus: "STRING_VALUE", // required
46
+ * // assessmentStatus: "Pending" || "InProgress" || "Failed" || "Success", // required
47
47
  * // };
48
48
  *
49
49
  * ```
@@ -53,7 +53,7 @@ declare const DeleteAppInputSourceCommand_base: {
53
53
  * // appArn: "STRING_VALUE",
54
54
  * // appInputSource: { // AppInputSource
55
55
  * // sourceName: "STRING_VALUE",
56
- * // importType: "STRING_VALUE", // required
56
+ * // importType: "CfnStack" || "Resource" || "AppRegistryApp" || "ResourceGroup" || "Terraform" || "EKS", // required
57
57
  * // sourceArn: "STRING_VALUE",
58
58
  * // terraformSource: { // TerraformSource
59
59
  * // s3StateFileUrl: "STRING_VALUE", // required
@@ -81,7 +81,7 @@ declare const DeleteAppVersionResourceCommand_base: {
81
81
  * // },
82
82
  * // physicalResourceId: { // PhysicalResourceId
83
83
  * // identifier: "STRING_VALUE", // required
84
- * // type: "STRING_VALUE", // required
84
+ * // type: "Arn" || "Native", // required
85
85
  * // awsRegion: "STRING_VALUE",
86
86
  * // awsAccountId: "STRING_VALUE",
87
87
  * // },
@@ -104,7 +104,7 @@ declare const DeleteAppVersionResourceCommand_base: {
104
104
  * // ],
105
105
  * // },
106
106
  * // excluded: true || false,
107
- * // sourceType: "STRING_VALUE",
107
+ * // sourceType: "AppTemplate" || "Discovered",
108
108
  * // parentResourceName: "STRING_VALUE",
109
109
  * // },
110
110
  * // };
@@ -43,7 +43,7 @@ declare const DeleteRecommendationTemplateCommand_base: {
43
43
  * const response = await client.send(command);
44
44
  * // { // DeleteRecommendationTemplateResponse
45
45
  * // recommendationTemplateArn: "STRING_VALUE", // required
46
- * // status: "STRING_VALUE", // required
46
+ * // status: "Pending" || "InProgress" || "Failed" || "Success", // required
47
47
  * // };
48
48
  *
49
49
  * ```
@@ -43,11 +43,11 @@ declare const DescribeAppAssessmentCommand_base: {
43
43
  * // assessment: { // AppAssessment
44
44
  * // appArn: "STRING_VALUE",
45
45
  * // appVersion: "STRING_VALUE",
46
- * // invoker: "STRING_VALUE", // required
46
+ * // invoker: "User" || "System", // required
47
47
  * // cost: { // Cost
48
48
  * // amount: Number("double"), // required
49
49
  * // currency: "STRING_VALUE", // required
50
- * // frequency: "STRING_VALUE", // required
50
+ * // frequency: "Hourly" || "Daily" || "Monthly" || "Yearly", // required
51
51
  * // },
52
52
  * // resiliencyScore: { // ResiliencyScore
53
53
  * // score: Number("double"), // required
@@ -72,13 +72,13 @@ declare const DescribeAppAssessmentCommand_base: {
72
72
  * // currentRpoInSecs: Number("int"),
73
73
  * // rpoReferenceId: "STRING_VALUE",
74
74
  * // rpoDescription: "STRING_VALUE",
75
- * // complianceStatus: "STRING_VALUE", // required
75
+ * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy", // required
76
76
  * // achievableRpoInSecs: Number("int"),
77
77
  * // message: "STRING_VALUE",
78
78
  * // },
79
79
  * // },
80
- * // complianceStatus: "STRING_VALUE",
81
- * // assessmentStatus: "STRING_VALUE", // required
80
+ * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy",
81
+ * // assessmentStatus: "Pending" || "InProgress" || "Failed" || "Success", // required
82
82
  * // startTime: new Date("TIMESTAMP"),
83
83
  * // endTime: new Date("TIMESTAMP"),
84
84
  * // message: "STRING_VALUE",
@@ -88,9 +88,9 @@ declare const DescribeAppAssessmentCommand_base: {
88
88
  * // policyArn: "STRING_VALUE",
89
89
  * // policyName: "STRING_VALUE",
90
90
  * // policyDescription: "STRING_VALUE",
91
- * // dataLocationConstraint: "STRING_VALUE",
92
- * // tier: "STRING_VALUE",
93
- * // estimatedCostTier: "STRING_VALUE",
91
+ * // dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry",
92
+ * // tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable",
93
+ * // estimatedCostTier: "L1" || "L2" || "L3" || "L4",
94
94
  * // policy: { // DisruptionPolicy
95
95
  * // "<keys>": { // FailurePolicy
96
96
  * // rtoInSecs: Number("int"), // required
@@ -116,7 +116,7 @@ declare const DescribeAppAssessmentCommand_base: {
116
116
  * // hasMoreErrors: true || false,
117
117
  * // },
118
118
  * // versionName: "STRING_VALUE",
119
- * // driftStatus: "STRING_VALUE",
119
+ * // driftStatus: "NotChecked" || "NotDetected" || "Detected",
120
120
  * // summary: { // AssessmentSummary
121
121
  * // summary: "STRING_VALUE",
122
122
  * // riskRecommendations: [ // AssessmentRiskRecommendationList
@@ -46,17 +46,17 @@ declare const DescribeAppCommand_base: {
46
46
  * // description: "STRING_VALUE",
47
47
  * // policyArn: "STRING_VALUE",
48
48
  * // creationTime: new Date("TIMESTAMP"), // required
49
- * // status: "STRING_VALUE",
50
- * // complianceStatus: "STRING_VALUE",
49
+ * // status: "Active" || "Deleting",
50
+ * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotAssessed" || "ChangesDetected" || "NotApplicable" || "MissingPolicy",
51
51
  * // lastAppComplianceEvaluationTime: new Date("TIMESTAMP"),
52
52
  * // resiliencyScore: Number("double"),
53
53
  * // lastResiliencyScoreEvaluationTime: new Date("TIMESTAMP"),
54
54
  * // tags: { // TagMap
55
55
  * // "<keys>": "STRING_VALUE",
56
56
  * // },
57
- * // assessmentSchedule: "STRING_VALUE",
57
+ * // assessmentSchedule: "Disabled" || "Daily",
58
58
  * // permissionModel: { // PermissionModel
59
- * // type: "STRING_VALUE", // required
59
+ * // type: "LegacyIAMUser" || "RoleBased", // required
60
60
  * // invokerRoleName: "STRING_VALUE",
61
61
  * // crossAccountRoleArns: [ // IamRoleArnList
62
62
  * // "STRING_VALUE",
@@ -65,14 +65,15 @@ declare const DescribeAppCommand_base: {
65
65
  * // eventSubscriptions: [ // EventSubscriptionList
66
66
  * // { // EventSubscription
67
67
  * // name: "STRING_VALUE", // required
68
- * // eventType: "STRING_VALUE", // required
68
+ * // eventType: "ScheduledAssessmentFailure" || "DriftDetected", // required
69
69
  * // snsTopicArn: "STRING_VALUE",
70
70
  * // },
71
71
  * // ],
72
- * // driftStatus: "STRING_VALUE",
72
+ * // driftStatus: "NotChecked" || "NotDetected" || "Detected",
73
73
  * // lastDriftEvaluationTime: new Date("TIMESTAMP"),
74
74
  * // rtoInSecs: Number("int"),
75
75
  * // rpoInSecs: Number("int"),
76
+ * // awsApplicationArn: "STRING_VALUE",
76
77
  * // },
77
78
  * // };
78
79
  *
@@ -85,7 +85,7 @@ declare const DescribeAppVersionResourceCommand_base: {
85
85
  * // },
86
86
  * // physicalResourceId: { // PhysicalResourceId
87
87
  * // identifier: "STRING_VALUE", // required
88
- * // type: "STRING_VALUE", // required
88
+ * // type: "Arn" || "Native", // required
89
89
  * // awsRegion: "STRING_VALUE",
90
90
  * // awsAccountId: "STRING_VALUE",
91
91
  * // },
@@ -108,7 +108,7 @@ declare const DescribeAppVersionResourceCommand_base: {
108
108
  * // ],
109
109
  * // },
110
110
  * // excluded: true || false,
111
- * // sourceType: "STRING_VALUE",
111
+ * // sourceType: "AppTemplate" || "Discovered",
112
112
  * // parentResourceName: "STRING_VALUE",
113
113
  * // },
114
114
  * // };
@@ -47,7 +47,7 @@ declare const DescribeAppVersionResourcesResolutionStatusCommand_base: {
47
47
  * // appArn: "STRING_VALUE", // required
48
48
  * // appVersion: "STRING_VALUE", // required
49
49
  * // resolutionId: "STRING_VALUE", // required
50
- * // status: "STRING_VALUE", // required
50
+ * // status: "Pending" || "InProgress" || "Failed" || "Success", // required
51
51
  * // errorMessage: "STRING_VALUE",
52
52
  * // };
53
53
  *
@@ -49,9 +49,14 @@ declare const DescribeDraftAppVersionResourcesImportStatusCommand_base: {
49
49
  * // { // DescribeDraftAppVersionResourcesImportStatusResponse
50
50
  * // appArn: "STRING_VALUE", // required
51
51
  * // appVersion: "STRING_VALUE", // required
52
- * // status: "STRING_VALUE", // required
52
+ * // status: "Pending" || "InProgress" || "Failed" || "Success", // required
53
53
  * // statusChangeTime: new Date("TIMESTAMP"), // required
54
54
  * // errorMessage: "STRING_VALUE",
55
+ * // errorDetails: [ // ErrorDetailList
56
+ * // { // ErrorDetail
57
+ * // errorMessage: "STRING_VALUE",
58
+ * // },
59
+ * // ],
55
60
  * // };
56
61
  *
57
62
  * ```
@@ -46,9 +46,9 @@ declare const DescribeResiliencyPolicyCommand_base: {
46
46
  * // policyArn: "STRING_VALUE",
47
47
  * // policyName: "STRING_VALUE",
48
48
  * // policyDescription: "STRING_VALUE",
49
- * // dataLocationConstraint: "STRING_VALUE",
50
- * // tier: "STRING_VALUE",
51
- * // estimatedCostTier: "STRING_VALUE",
49
+ * // dataLocationConstraint: "AnyLocation" || "SameContinent" || "SameCountry",
50
+ * // tier: "MissionCritical" || "Critical" || "Important" || "CoreServices" || "NonCritical" || "NotApplicable",
51
+ * // estimatedCostTier: "L1" || "L2" || "L3" || "L4",
52
52
  * // policy: { // DisruptionPolicy
53
53
  * // "<keys>": { // FailurePolicy
54
54
  * // rtoInSecs: Number("int"), // required
@@ -42,7 +42,7 @@ declare const DescribeResourceGroupingRecommendationTaskCommand_base: {
42
42
  * const response = await client.send(command);
43
43
  * // { // DescribeResourceGroupingRecommendationTaskResponse
44
44
  * // groupingId: "STRING_VALUE", // required
45
- * // status: "STRING_VALUE", // required
45
+ * // status: "Pending" || "InProgress" || "Failed" || "Success", // required
46
46
  * // errorMessage: "STRING_VALUE",
47
47
  * // };
48
48
  *
@@ -46,7 +46,7 @@ declare const ImportResourcesToDraftAppVersionCommand_base: {
46
46
  * s3StateFileUrl: "STRING_VALUE", // required
47
47
  * },
48
48
  * ],
49
- * importStrategy: "STRING_VALUE",
49
+ * importStrategy: "AddOnly" || "ReplaceAll",
50
50
  * eksSources: [ // EksSourceList
51
51
  * { // EksSource
52
52
  * eksClusterArn: "STRING_VALUE", // required
@@ -64,7 +64,7 @@ declare const ImportResourcesToDraftAppVersionCommand_base: {
64
64
  * // sourceArns: [ // ArnList
65
65
  * // "STRING_VALUE",
66
66
  * // ],
67
- * // status: "STRING_VALUE", // required
67
+ * // status: "Pending" || "InProgress" || "Failed" || "Success", // required
68
68
  * // terraformSources: [ // TerraformSourceList
69
69
  * // { // TerraformSource
70
70
  * // s3StateFileUrl: "STRING_VALUE", // required
@@ -48,7 +48,7 @@ declare const ListAlarmRecommendationsCommand_base: {
48
48
  * // referenceId: "STRING_VALUE", // required
49
49
  * // name: "STRING_VALUE", // required
50
50
  * // description: "STRING_VALUE",
51
- * // type: "STRING_VALUE", // required
51
+ * // type: "Metric" || "Composite" || "Canary" || "Logs" || "Event", // required
52
52
  * // appComponentName: "STRING_VALUE",
53
53
  * // items: [ // RecommendationItemList
54
54
  * // { // RecommendationItem
@@ -57,14 +57,14 @@ declare const ListAlarmRecommendationsCommand_base: {
57
57
  * // targetRegion: "STRING_VALUE",
58
58
  * // alreadyImplemented: true || false,
59
59
  * // excluded: true || false,
60
- * // excludeReason: "STRING_VALUE",
60
+ * // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation",
61
61
  * // },
62
62
  * // ],
63
63
  * // prerequisite: "STRING_VALUE",
64
64
  * // appComponentNames: [ // AppComponentNameList
65
65
  * // "STRING_VALUE",
66
66
  * // ],
67
- * // recommendationStatus: "STRING_VALUE",
67
+ * // recommendationStatus: "Implemented" || "Inactive" || "NotImplemented" || "Excluded",
68
68
  * // },
69
69
  * // ],
70
70
  * // nextToken: "STRING_VALUE",
@@ -27,7 +27,8 @@ declare const ListAppAssessmentComplianceDriftsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>List of compliance drifts that were detected while running an assessment.</p>
30
+ * <p>Indicates the list of compliance drifts that were detected while running an
31
+ * assessment.</p>
31
32
  * @example
32
33
  * Use a bare-bones client and the command you need to make an API call.
33
34
  * ```javascript
@@ -46,7 +47,7 @@ declare const ListAppAssessmentComplianceDriftsCommand_base: {
46
47
  * // { // ComplianceDrift
47
48
  * // entityId: "STRING_VALUE",
48
49
  * // entityType: "STRING_VALUE",
49
- * // driftType: "STRING_VALUE",
50
+ * // driftType: "ApplicationCompliance" || "AppComponentResiliencyComplianceStatus",
50
51
  * // appId: "STRING_VALUE",
51
52
  * // appVersion: "STRING_VALUE",
52
53
  * // expectedReferenceId: "STRING_VALUE",
@@ -59,7 +60,7 @@ declare const ListAppAssessmentComplianceDriftsCommand_base: {
59
60
  * // currentRpoInSecs: Number("int"),
60
61
  * // rpoReferenceId: "STRING_VALUE",
61
62
  * // rpoDescription: "STRING_VALUE",
62
- * // complianceStatus: "STRING_VALUE", // required
63
+ * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy", // required
63
64
  * // achievableRpoInSecs: Number("int"),
64
65
  * // message: "STRING_VALUE",
65
66
  * // },
@@ -74,12 +75,12 @@ declare const ListAppAssessmentComplianceDriftsCommand_base: {
74
75
  * // currentRpoInSecs: Number("int"),
75
76
  * // rpoReferenceId: "STRING_VALUE",
76
77
  * // rpoDescription: "STRING_VALUE",
77
- * // complianceStatus: "STRING_VALUE", // required
78
+ * // complianceStatus: "PolicyBreached" || "PolicyMet" || "NotApplicable" || "MissingPolicy", // required
78
79
  * // achievableRpoInSecs: Number("int"),
79
80
  * // message: "STRING_VALUE",
80
81
  * // },
81
82
  * // },
82
- * // diffType: "STRING_VALUE",
83
+ * // diffType: "NotEqual" || "Added" || "Removed",
83
84
  * // },
84
85
  * // ],
85
86
  * // nextToken: "STRING_VALUE",
@@ -58,7 +58,7 @@ declare const ListAppAssessmentResourceDriftsCommand_base: {
58
58
  * // },
59
59
  * // resourceType: "STRING_VALUE",
60
60
  * // },
61
- * // diffType: "STRING_VALUE",
61
+ * // diffType: "NotEqual" || "Added" || "Removed",
62
62
  * // },
63
63
  * // ],
64
64
  * // nextToken: "STRING_VALUE",