Skip to content

Commit

Permalink
docs(client-resiliencehub): Documentation change for AWS Resilience H…
Browse files Browse the repository at this point in the history
…ub. Doc-only update to fix Documentation layout
  • Loading branch information
awstools committed Oct 6, 2022
1 parent b9fc7fa commit ca9a579
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 35 deletions.
1 change: 0 additions & 1 deletion clients/client-resiliencehub/src/Resiliencehub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ export class Resiliencehub extends ResiliencehubClient {
* resources structured to prevent and recover Amazon Web Services application disruptions. To describe a
* Resilience Hub application, you provide an application name, resources from one or more–up to
* five–CloudFormation stacks, and an appropriate resiliency policy.</p>
*
* <p>After you create a Resilience Hub application, you publish it so that you can run a resiliency
* assessment on it. You can then use recommendations from the assessment to improve resiliency
* by running another assessment, comparing results, and then iterating the process until you
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
* resources structured to prevent and recover Amazon Web Services application disruptions. To describe a
* Resilience Hub application, you provide an application name, resources from one or more–up to
* five–CloudFormation stacks, and an appropriate resiliency policy.</p>
*
* <p>After you create a Resilience Hub application, you publish it so that you can run a resiliency
* assessment on it. You can then use recommendations from the assessment to improve resiliency
* by running another assessment, comparing results, and then iterating the process until you
Expand Down
4 changes: 4 additions & 0 deletions clients/client-resiliencehub/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2971,6 +2971,10 @@ export interface UpdateResiliencyPolicyRequest {
/**
* <p>The type of resiliency policy to be created, including the recovery time objective (RTO)
* and recovery point objective (RPO) in seconds.</p>
* <note>
* <p>If you do not want to specify regional targets for a regional policy, you must set the
* values of <code>rpoInSecs</code> and <code>rtoInSecs</code> to <code>-1</code>.</p>
* </note>
*/
policy?: Record<string, FailurePolicy>;
}
Expand Down
76 changes: 43 additions & 33 deletions codegen/sdk-codegen/aws-models/resiliencehub.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"smithy": "1.0",
"smithy": "2.0",
"shapes": {
"com.amazonaws.resiliencehub#AccessDeniedException": {
"type": "structure",
Expand Down Expand Up @@ -258,6 +258,7 @@
"resiliencyScore": {
"target": "com.amazonaws.resiliencehub#Double",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The current resiliency score for the application.</p>"
}
},
Expand Down Expand Up @@ -480,6 +481,7 @@
"resiliencyScore": {
"target": "com.amazonaws.resiliencehub#Double",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The current resiliency score for the application.</p>"
}
}
Expand Down Expand Up @@ -643,6 +645,7 @@
"resiliencyScore": {
"target": "com.amazonaws.resiliencehub#Double",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The current resiliency score for the application.</p>"
}
},
Expand Down Expand Up @@ -773,25 +776,6 @@
},
"com.amazonaws.resiliencehub#AwsResilienceHub": {
"type": "service",
"traits": {
"aws.api#service": {
"sdkId": "resiliencehub",
"arnNamespace": "resiliencehub",
"cloudFormationName": "Resiliencehub",
"endpointPrefix": "resiliencehub"
},
"aws.auth#sigv4": {
"name": "resiliencehub"
},
"aws.protocols#restJson1": {},
"smithy.api#cors": {
"additionalAllowedHeaders": [
"*,authorization,date,x-amz-date,x-amz-security-token,x-amz-target,content-type,x-amz-content-sha256,x-amz-user-agent,x-amzn-platform-id,x-amzn-trace-id,amz-sdk-invocation-id,amz-sdk-request"
]
},
"smithy.api#documentation": "<p>AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from\n disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates\n into your software development lifecycle. This enables you to uncover resiliency weaknesses,\n ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your\n applications are met, and resolve issues before they are released into production. </p>",
"smithy.api#title": "AWS Resilience Hub"
},
"version": "2020-04-30",
"operations": [
{
Expand Down Expand Up @@ -911,14 +895,30 @@
{
"target": "com.amazonaws.resiliencehub#UpdateResiliencyPolicy"
}
]
},
"com.amazonaws.resiliencehub#BooleanOptional": {
"type": "boolean",
],
"traits": {
"smithy.api#box": {}
"aws.api#service": {
"sdkId": "resiliencehub",
"arnNamespace": "resiliencehub",
"cloudFormationName": "Resiliencehub",
"endpointPrefix": "resiliencehub"
},
"aws.auth#sigv4": {
"name": "resiliencehub"
},
"aws.protocols#restJson1": {},
"smithy.api#cors": {
"additionalAllowedHeaders": [
"*,authorization,date,x-amz-date,x-amz-security-token,x-amz-target,content-type,x-amz-content-sha256,x-amz-user-agent,x-amzn-platform-id,x-amzn-trace-id,amz-sdk-invocation-id,amz-sdk-request"
]
},
"smithy.api#documentation": "<p>AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from\n disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates\n into your software development lifecycle. This enables you to uncover resiliency weaknesses,\n ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your\n applications are met, and resolve issues before they are released into production. </p>",
"smithy.api#title": "AWS Resilience Hub"
}
},
"com.amazonaws.resiliencehub#BooleanOptional": {
"type": "boolean"
},
"com.amazonaws.resiliencehub#ClientToken": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -1120,6 +1120,7 @@
"amount": {
"target": "com.amazonaws.resiliencehub#Double",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The cost amount.</p>",
"smithy.api#required": {}
}
Expand Down Expand Up @@ -1198,7 +1199,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services\n resources structured to prevent and recover Amazon Web Services application disruptions. To describe a\n Resilience Hub application, you provide an application name, resources from one or more–up to\n five–CloudFormation stacks, and an appropriate resiliency policy.</p>\n\n <p>After you create a Resilience Hub application, you publish it so that you can run a resiliency\n assessment on it. You can then use recommendations from the assessment to improve resiliency\n by running another assessment, comparing results, and then iterating the process until you\n achieve your goals for recovery time objective (RTO) and recovery point objective\n (RPO).</p>",
"smithy.api#documentation": "<p>Creates a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services\n resources structured to prevent and recover Amazon Web Services application disruptions. To describe a\n Resilience Hub application, you provide an application name, resources from one or more–up to\n five–CloudFormation stacks, and an appropriate resiliency policy.</p>\n <p>After you create a Resilience Hub application, you publish it so that you can run a resiliency\n assessment on it. You can then use recommendations from the assessment to improve resiliency\n by running another assessment, comparing results, and then iterating the process until you\n achieve your goals for recovery time objective (RTO) and recovery point objective\n (RPO).</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/create-app",
Expand Down Expand Up @@ -2227,12 +2228,14 @@
"achievableRtoInSecs": {
"target": "com.amazonaws.resiliencehub#Seconds",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The Recovery Time Objective (RTO) that is achievable, in seconds</p>"
}
},
"currentRtoInSecs": {
"target": "com.amazonaws.resiliencehub#Seconds",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The current RTO, in seconds.</p>"
}
},
Expand All @@ -2251,6 +2254,7 @@
"currentRpoInSecs": {
"target": "com.amazonaws.resiliencehub#Seconds",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The current RPO, in seconds.</p>"
}
},
Expand All @@ -2276,6 +2280,7 @@
"achievableRpoInSecs": {
"target": "com.amazonaws.resiliencehub#Seconds",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The Recovery Point Objective (RPO) that is achievable, in seconds.</p>"
}
},
Expand Down Expand Up @@ -2341,7 +2346,10 @@
}
},
"com.amazonaws.resiliencehub#Double": {
"type": "double"
"type": "double",
"traits": {
"smithy.api#default": 0
}
},
"com.amazonaws.resiliencehub#EntityDescription": {
"type": "string",
Expand Down Expand Up @@ -2414,13 +2422,15 @@
"rtoInSecs": {
"target": "com.amazonaws.resiliencehub#Seconds",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The Recovery Time Objective (RTO), in seconds.</p>",
"smithy.api#required": {}
}
},
"rpoInSecs": {
"target": "com.amazonaws.resiliencehub#Seconds",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The Recovery Point Objective (RPO), in seconds.</p>",
"smithy.api#required": {}
}
Expand Down Expand Up @@ -3926,7 +3936,6 @@
"com.amazonaws.resiliencehub#MaxResults": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 100
Expand Down Expand Up @@ -4216,6 +4225,7 @@
"expectedRtoInSecs": {
"target": "com.amazonaws.resiliencehub#Seconds",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The expected RTO after applying the recommended configuration change.</p>"
}
},
Expand All @@ -4228,6 +4238,7 @@
"expectedRpoInSecs": {
"target": "com.amazonaws.resiliencehub#Seconds",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The expected RPO after applying the recommended configuration change.</p>"
}
},
Expand Down Expand Up @@ -4659,6 +4670,7 @@
"score": {
"target": "com.amazonaws.resiliencehub#Double",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The outage score for a valid key.</p>",
"smithy.api#required": {}
}
Expand Down Expand Up @@ -4985,10 +4997,7 @@
}
},
"com.amazonaws.resiliencehub#RetryAfterSeconds": {
"type": "integer",
"traits": {
"smithy.api#box": {}
}
"type": "integer"
},
"com.amazonaws.resiliencehub#S3Location": {
"type": "structure",
Expand Down Expand Up @@ -5022,6 +5031,7 @@
"com.amazonaws.resiliencehub#Seconds": {
"type": "integer",
"traits": {
"smithy.api#default": 0,
"smithy.api#range": {
"min": 0
}
Expand Down Expand Up @@ -5787,7 +5797,7 @@
"policy": {
"target": "com.amazonaws.resiliencehub#DisruptionPolicy",
"traits": {
"smithy.api#documentation": "<p>The type of resiliency policy to be created, including the recovery time objective (RTO)\n and recovery point objective (RPO) in seconds.</p>"
"smithy.api#documentation": "<p>The type of resiliency policy to be created, including the recovery time objective (RTO)\n and recovery point objective (RPO) in seconds.</p>\n <note>\n <p>If you do not want to specify regional targets for a regional policy, you must set the\n values of <code>rpoInSecs</code> and <code>rtoInSecs</code> to <code>-1</code>.</p>\n </note>"
}
}
}
Expand Down

0 comments on commit ca9a579

Please sign in to comment.