|
5 | 5 | "endpointPrefix":"resiliencehub",
|
6 | 6 | "jsonVersion":"1.1",
|
7 | 7 | "protocol":"rest-json",
|
| 8 | + "protocols":["rest-json"], |
8 | 9 | "serviceFullName":"AWS Resilience Hub",
|
9 | 10 | "serviceId":"resiliencehub",
|
10 | 11 | "signatureVersion":"v4",
|
|
498 | 499 | ],
|
499 | 500 | "documentation":"<p>List of compliance drifts that were detected while running an assessment.</p>"
|
500 | 501 | },
|
| 502 | + "ListAppAssessmentResourceDrifts":{ |
| 503 | + "name":"ListAppAssessmentResourceDrifts", |
| 504 | + "http":{ |
| 505 | + "method":"POST", |
| 506 | + "requestUri":"/list-app-assessment-resource-drifts", |
| 507 | + "responseCode":200 |
| 508 | + }, |
| 509 | + "input":{"shape":"ListAppAssessmentResourceDriftsRequest"}, |
| 510 | + "output":{"shape":"ListAppAssessmentResourceDriftsResponse"}, |
| 511 | + "errors":[ |
| 512 | + {"shape":"InternalServerException"}, |
| 513 | + {"shape":"ThrottlingException"}, |
| 514 | + {"shape":"ValidationException"}, |
| 515 | + {"shape":"AccessDeniedException"} |
| 516 | + ], |
| 517 | + "documentation":"<p>Indicates the list of resource drifts that were detected while running an assessment.</p>" |
| 518 | + }, |
501 | 519 | "ListAppAssessments":{
|
502 | 520 | "name":"ListAppAssessments",
|
503 | 521 | "http":{
|
|
2854 | 2872 | },
|
2855 | 2873 | "DifferenceType":{
|
2856 | 2874 | "type":"string",
|
2857 |
| - "enum":["NotEqual"] |
| 2875 | + "enum":[ |
| 2876 | + "NotEqual", |
| 2877 | + "Added", |
| 2878 | + "Removed" |
| 2879 | + ] |
2858 | 2880 | },
|
2859 | 2881 | "DisruptionCompliance":{
|
2860 | 2882 | "type":"structure",
|
|
2938 | 2960 | },
|
2939 | 2961 | "DriftType":{
|
2940 | 2962 | "type":"string",
|
2941 |
| - "enum":["ApplicationCompliance"] |
| 2963 | + "enum":[ |
| 2964 | + "ApplicationCompliance", |
| 2965 | + "AppComponentResiliencyComplianceStatus" |
| 2966 | + ] |
2942 | 2967 | },
|
2943 | 2968 | "EksNamespace":{
|
2944 | 2969 | "type":"string",
|
|
3249 | 3274 | }
|
3250 | 3275 | }
|
3251 | 3276 | },
|
| 3277 | + "ListAppAssessmentResourceDriftsRequest":{ |
| 3278 | + "type":"structure", |
| 3279 | + "required":["assessmentArn"], |
| 3280 | + "members":{ |
| 3281 | + "assessmentArn":{ |
| 3282 | + "shape":"Arn", |
| 3283 | + "documentation":"<p>Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app-assessment/<code>app-id</code>. For more information about ARNs, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.</p>" |
| 3284 | + }, |
| 3285 | + "maxResults":{ |
| 3286 | + "shape":"MaxResults", |
| 3287 | + "documentation":"<p>Indicates the maximum number of drift results to include in the response. If more results exist than the specified <code>MaxResults</code> value, a token is included in the response so that the remaining results can be retrieved.</p>" |
| 3288 | + }, |
| 3289 | + "nextToken":{ |
| 3290 | + "shape":"NextToken", |
| 3291 | + "documentation":"<p>Null, or the token from a previous call to get the next set of results.</p>" |
| 3292 | + } |
| 3293 | + } |
| 3294 | + }, |
| 3295 | + "ListAppAssessmentResourceDriftsResponse":{ |
| 3296 | + "type":"structure", |
| 3297 | + "required":["resourceDrifts"], |
| 3298 | + "members":{ |
| 3299 | + "nextToken":{ |
| 3300 | + "shape":"NextToken", |
| 3301 | + "documentation":"<p>Null, or the token from a previous call to get the next set of results.</p>" |
| 3302 | + }, |
| 3303 | + "resourceDrifts":{ |
| 3304 | + "shape":"ResourceDriftList", |
| 3305 | + "documentation":"<p>Indicates all the resource drifts detected for an assessed entity.</p>" |
| 3306 | + } |
| 3307 | + } |
| 3308 | + }, |
3252 | 3309 | "ListAppAssessmentsRequest":{
|
3253 | 3310 | "type":"structure",
|
3254 | 3311 | "members":{
|
|
3661 | 3718 | },
|
3662 | 3719 | "ListRecommendationTemplatesRequest":{
|
3663 | 3720 | "type":"structure",
|
3664 |
| - "required":["assessmentArn"], |
3665 | 3721 | "members":{
|
3666 | 3722 | "assessmentArn":{
|
3667 | 3723 | "shape":"Arn",
|
|
4036 | 4092 | },
|
4037 | 4093 | "resourceType":{
|
4038 | 4094 | "shape":"String255",
|
4039 |
| - "documentation":"<p>The type of resource.</p>" |
| 4095 | + "documentation":"<p>Type of resource.</p>" |
4040 | 4096 | },
|
4041 | 4097 | "sourceType":{
|
4042 | 4098 | "shape":"ResourceSourceType",
|
|
4512 | 4568 | }
|
4513 | 4569 | }
|
4514 | 4570 | },
|
| 4571 | + "ResourceDrift":{ |
| 4572 | + "type":"structure", |
| 4573 | + "members":{ |
| 4574 | + "appArn":{ |
| 4575 | + "shape":"Arn", |
| 4576 | + "documentation":"<p>Amazon Resource Name (ARN) of the application whose resources have drifted. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app-assessment/<code>app-id</code>. For more information about ARNs, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.</p>" |
| 4577 | + }, |
| 4578 | + "appVersion":{ |
| 4579 | + "shape":"EntityVersion", |
| 4580 | + "documentation":"<p>Version of the application whose resources have drifted.</p>" |
| 4581 | + }, |
| 4582 | + "diffType":{ |
| 4583 | + "shape":"DifferenceType", |
| 4584 | + "documentation":"<p>Indicates if the resource was added or removed.</p>" |
| 4585 | + }, |
| 4586 | + "referenceId":{ |
| 4587 | + "shape":"EntityId", |
| 4588 | + "documentation":"<p>Reference identifier of the resource drift.</p>" |
| 4589 | + }, |
| 4590 | + "resourceIdentifier":{ |
| 4591 | + "shape":"ResourceIdentifier", |
| 4592 | + "documentation":"<p>Identifier of the drifted resource.</p>" |
| 4593 | + } |
| 4594 | + }, |
| 4595 | + "documentation":"<p>Indicates the resources that have drifted in the current application version.</p>" |
| 4596 | + }, |
| 4597 | + "ResourceDriftList":{ |
| 4598 | + "type":"list", |
| 4599 | + "member":{"shape":"ResourceDrift"} |
| 4600 | + }, |
4515 | 4601 | "ResourceError":{
|
4516 | 4602 | "type":"structure",
|
4517 | 4603 | "members":{
|
|
4552 | 4638 | "type":"string",
|
4553 | 4639 | "pattern":".*"
|
4554 | 4640 | },
|
| 4641 | + "ResourceIdentifier":{ |
| 4642 | + "type":"structure", |
| 4643 | + "members":{ |
| 4644 | + "logicalResourceId":{ |
| 4645 | + "shape":"LogicalResourceId", |
| 4646 | + "documentation":"<p>Logical identifier of the drifted resource.</p>" |
| 4647 | + }, |
| 4648 | + "resourceType":{ |
| 4649 | + "shape":"String255", |
| 4650 | + "documentation":"<p>Type of the drifted resource.</p>" |
| 4651 | + } |
| 4652 | + }, |
| 4653 | + "documentation":"<p>Defines a resource identifier for the drifted resource.</p>" |
| 4654 | + }, |
4555 | 4655 | "ResourceImportStatusType":{
|
4556 | 4656 | "type":"string",
|
4557 | 4657 | "enum":[
|
|
4577 | 4677 | "members":{
|
4578 | 4678 | "appRegistryAppName":{
|
4579 | 4679 | "shape":"EntityName",
|
4580 |
| - "documentation":"<p>The name of the application this resource is mapped to.</p>" |
| 4680 | + "documentation":"<p>Name of the application this resource is mapped to when the <code>mappingType</code> is <code>AppRegistryApp</code>.</p>" |
4581 | 4681 | },
|
4582 | 4682 | "eksSourceName":{
|
4583 | 4683 | "shape":"String255",
|
4584 |
| - "documentation":"<p>Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.</p> <note> <p>This parameter accepts values in \"eks-cluster/namespace\" format.</p> </note>" |
| 4684 | + "documentation":"<p>Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the <code>mappingType</code> is <code>EKS</code>.</p> <note> <p>This parameter accepts values in \"eks-cluster/namespace\" format.</p> </note>" |
4585 | 4685 | },
|
4586 | 4686 | "logicalStackName":{
|
4587 | 4687 | "shape":"String255",
|
4588 |
| - "documentation":"<p>The name of the CloudFormation stack this resource is mapped to.</p>" |
| 4688 | + "documentation":"<p>Name of the CloudFormation stack this resource is mapped to when the <code>mappingType</code> is <code>CfnStack</code>.</p>" |
4589 | 4689 | },
|
4590 | 4690 | "mappingType":{
|
4591 | 4691 | "shape":"ResourceMappingType",
|
4592 |
| - "documentation":"<p>Specifies the type of resource mapping.</p> <dl> <dt>AppRegistryApp</dt> <dd> <p>The resource is mapped to another application. The name of the application is contained in the <code>appRegistryAppName</code> property.</p> </dd> <dt>CfnStack</dt> <dd> <p>The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the <code>logicalStackName</code> property.</p> </dd> <dt>Resource</dt> <dd> <p>The resource is mapped to another resource. The name of the resource is contained in the <code>resourceName</code> property.</p> </dd> <dt>ResourceGroup</dt> <dd> <p>The resource is mapped to Resource Groups. The name of the resource group is contained in the <code>resourceGroupName</code> property.</p> </dd> </dl>" |
| 4692 | + "documentation":"<p>Specifies the type of resource mapping.</p>" |
4593 | 4693 | },
|
4594 | 4694 | "physicalResourceId":{
|
4595 | 4695 | "shape":"PhysicalResourceId",
|
4596 | 4696 | "documentation":"<p>Identifier of the physical resource.</p>"
|
4597 | 4697 | },
|
4598 | 4698 | "resourceGroupName":{
|
4599 | 4699 | "shape":"EntityName",
|
4600 |
| - "documentation":"<p>Name of the resource group that the resource is mapped to.</p>" |
| 4700 | + "documentation":"<p>Name of the Resource Groups that this resource is mapped to when the <code>mappingType</code> is <code>ResourceGroup</code>.</p>" |
4601 | 4701 | },
|
4602 | 4702 | "resourceName":{
|
4603 | 4703 | "shape":"EntityName",
|
4604 |
| - "documentation":"<p>Name of the resource that the resource is mapped to.</p>" |
| 4704 | + "documentation":"<p>Name of the resource that this resource is mapped to when the <code>mappingType</code> is <code>Resource</code>.</p>" |
4605 | 4705 | },
|
4606 | 4706 | "terraformSourceName":{
|
4607 | 4707 | "shape":"String255",
|
4608 |
| - "documentation":"<p> The short name of the Terraform source. </p>" |
| 4708 | + "documentation":"<p>Name of the Terraform source that this resource is mapped to when the <code>mappingType</code> is <code>Terraform</code>.</p>" |
4609 | 4709 | }
|
4610 | 4710 | },
|
4611 | 4711 | "documentation":"<p>Defines a resource mapping.</p>"
|
|
4694 | 4794 | "members":{
|
4695 | 4795 | "excludedCount":{
|
4696 | 4796 | "shape":"Long",
|
4697 |
| - "documentation":"<p>Number of recommendations that were excluded from the assessment.</p> <p>For example, if the <code>Excluded count</code> for Resilience Hub recommended Amazon CloudWatch alarms is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment.</p>" |
| 4797 | + "documentation":"<p>Number of recommendations that were excluded from the assessment.</p> <p>For example, if the <code>excludedCount</code> for Alarms coverage scoring component is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment.</p>" |
4698 | 4798 | },
|
4699 | 4799 | "outstandingCount":{
|
4700 | 4800 | "shape":"Long",
|
4701 |
| - "documentation":"<p>Number of issues that must be resolved to obtain the maximum possible score for the scoring component. For SOPs, alarms, and FIS experiments, these are the number of recommendations that must be implemented. For compliance, it is the number of Application Components that has breached the resiliency policy.</p> <p>For example, if the <code>Outstanding count</code> for Resilience Hub recommended Amazon CloudWatch alarms is 5, it indicates that 5 Amazon CloudWatch alarms must be fixed to achieve the maximum possible score.</p>" |
| 4801 | + "documentation":"<p>Number of recommendations that must be implemented to obtain the maximum possible score for the scoring component. For SOPs, alarms, and tests, these are the number of recommendations that must be implemented. For compliance, these are the number of Application Components that have breached the resiliency policy.</p> <p>For example, if the <code>outstandingCount</code> for Alarms coverage scoring component is 5, it indicates that 5 Amazon CloudWatch alarms need to be implemented to achieve the maximum possible score.</p>" |
4702 | 4802 | },
|
4703 | 4803 | "possibleScore":{
|
4704 | 4804 | "shape":"Double",
|
4705 |
| - "documentation":"<p>Maximum possible score that can be obtained for the scoring component. If the <code>Possible score</code> is 20 points, it indicates the maximum possible score you can achieve for your application when you run a new assessment after implementing all the Resilience Hub recommendations.</p>" |
| 4805 | + "documentation":"<p>Maximum possible score that can be obtained for the scoring component. </p> <p>For example, if the <code>possibleScore</code> is 20 points, it indicates the maximum possible score you can achieve for the scoring component when you run a new assessment after implementing all the Resilience Hub recommendations.</p>" |
4706 | 4806 | },
|
4707 | 4807 | "score":{
|
4708 | 4808 | "shape":"Double",
|
4709 |
| - "documentation":"<p>Resiliency score of your application.</p>" |
| 4809 | + "documentation":"<p>Resiliency score points given for the scoring component. The score is always less than or equal to the <code>possibleScore</code>.</p>" |
4710 | 4810 | }
|
4711 | 4811 | },
|
4712 | 4812 | "documentation":"<p>Resiliency score of each scoring component. For more information about scoring component, see <a href=\"https://docs.aws.amazon.com/resilience-hub/latest/userguide/calculate-score.html\">Calculating resiliency score</a>.</p>"
|
|
4869 | 4969 | "type":"string",
|
4870 | 4970 | "max":128,
|
4871 | 4971 | "min":1,
|
4872 |
| - "pattern":"^(?!aws:)[^\\x00-\\x1f\\x22]+$" |
| 4972 | + "pattern":"^[^\\x00-\\x1f\\x22]+$" |
4873 | 4973 | },
|
4874 | 4974 | "TagKeyList":{
|
4875 | 4975 | "type":"list",
|
|
0 commit comments