Skip to content

Commit 6bf1b00

Browse files
Update API model
1 parent 87e263d commit 6bf1b00

File tree

10 files changed

+8971
-966
lines changed

10 files changed

+8971
-966
lines changed

tools/code-generation/smithy/api-descriptions/acm-pca.json

+15
Original file line numberDiff line numberDiff line change
@@ -3319,6 +3319,12 @@
33193319
"smithy.api#enumValue": "RSA_2048"
33203320
}
33213321
},
3322+
"RSA_3072": {
3323+
"target": "smithy.api#Unit",
3324+
"traits": {
3325+
"smithy.api#enumValue": "RSA_3072"
3326+
}
3327+
},
33223328
"RSA_4096": {
33233329
"target": "smithy.api#Unit",
33243330
"traits": {
@@ -3337,6 +3343,12 @@
33373343
"smithy.api#enumValue": "EC_secp384r1"
33383344
}
33393345
},
3346+
"EC_secp521r1": {
3347+
"target": "smithy.api#Unit",
3348+
"traits": {
3349+
"smithy.api#enumValue": "EC_secp521r1"
3350+
}
3351+
},
33403352
"SM2": {
33413353
"target": "smithy.api#Unit",
33423354
"traits": {
@@ -3617,6 +3629,9 @@
36173629
{
36183630
"target": "com.amazonaws.acmpca#InvalidStateException"
36193631
},
3632+
{
3633+
"target": "com.amazonaws.acmpca#RequestFailedException"
3634+
},
36203635
{
36213636
"target": "com.amazonaws.acmpca#ResourceNotFoundException"
36223637
}

tools/code-generation/smithy/api-descriptions/amplify.json

+27-6
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@
11141114
"computeRoleArn": {
11151115
"target": "com.amazonaws.amplify#ComputeRoleArn",
11161116
"traits": {
1117-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role for an SSR app. The Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources\n based on the role's permissions. For more information about the SSR Compute role, see\n <a href=\"https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html\">Adding an SSR Compute role</a> in the <i>Amplify User\n Guide</i>.</p>"
1117+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role for an SSR app. The Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources\n based on the role's permissions. For more information about the SSR Compute role, see\n <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/amplify-SSR-compute-role.html\">Adding an SSR Compute role</a> in the <i>Amplify User\n Guide</i>.</p>"
11181118
}
11191119
},
11201120
"iamServiceRoleArn": {
@@ -1630,6 +1630,12 @@
16301630
"smithy.api#required": {}
16311631
}
16321632
},
1633+
"enableSkewProtection": {
1634+
"target": "com.amazonaws.amplify#EnableSkewProtection",
1635+
"traits": {
1636+
"smithy.api#documentation": "<p>Specifies whether the skew protection feature is enabled for the branch.</p>\n <p>Deployment skew protection is available to Amplify applications to eliminate version skew\n issues between client and servers in web applications. When you apply skew protection to a branch, you can ensure that your clients always interact with the correct version\n of server-side assets, regardless of when a deployment occurs. For more information about skew protection, see\n <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/skew-protection.html\">Skew protection for Amplify deployments</a> in the <i>Amplify User\n Guide</i>.</p>"
1637+
}
1638+
},
16331639
"customDomains": {
16341640
"target": "com.amazonaws.amplify#CustomDomains",
16351641
"traits": {
@@ -1739,7 +1745,7 @@
17391745
"computeRoleArn": {
17401746
"target": "com.amazonaws.amplify#ComputeRoleArn",
17411747
"traits": {
1742-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role for a branch of an SSR app. The Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources\n based on the role's permissions. For more information about the SSR Compute role, see\n <a href=\"https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html\">Adding an SSR Compute role</a> in the <i>Amplify User\n Guide</i>.</p>"
1748+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role for a branch of an SSR app. The Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources\n based on the role's permissions. For more information about the SSR Compute role, see\n <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/amplify-SSR-compute-role.html\">Adding an SSR Compute role</a> in the <i>Amplify User\n Guide</i>.</p>"
17431749
}
17441750
}
17451751
},
@@ -2021,7 +2027,7 @@
20212027
"computeRoleArn": {
20222028
"target": "com.amazonaws.amplify#ComputeRoleArn",
20232029
"traits": {
2024-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role to assign to an SSR app. The SSR Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources\n based on the role's permissions. For more information about the SSR Compute role, see\n <a href=\"https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html\">Adding an SSR Compute role</a> in the <i>Amplify User\n Guide</i>.</p>"
2030+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role to assign to an SSR app. The SSR Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources\n based on the role's permissions. For more information about the SSR Compute role, see\n <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/amplify-SSR-compute-role.html\">Adding an SSR Compute role</a> in the <i>Amplify User\n Guide</i>.</p>"
20252031
}
20262032
},
20272033
"iamServiceRoleArn": {
@@ -2311,6 +2317,12 @@
23112317
"smithy.api#documentation": "<p> Enables auto building for the branch. </p>"
23122318
}
23132319
},
2320+
"enableSkewProtection": {
2321+
"target": "com.amazonaws.amplify#EnableSkewProtection",
2322+
"traits": {
2323+
"smithy.api#documentation": "<p>Specifies whether the skew protection feature is enabled for the branch.</p>\n <p>Deployment skew protection is available to Amplify applications to eliminate version skew\n issues between client and servers in web applications. When you apply skew protection to a branch, you can ensure that your clients always interact with the correct version\n of server-side assets, regardless of when a deployment occurs. For more information about skew protection, see\n <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/skew-protection.html\">Skew protection for Amplify deployments</a> in the <i>Amplify User\n Guide</i>.</p>"
2324+
}
2325+
},
23142326
"environmentVariables": {
23152327
"target": "com.amazonaws.amplify#EnvironmentVariables",
23162328
"traits": {
@@ -2386,7 +2398,7 @@
23862398
"computeRoleArn": {
23872399
"target": "com.amazonaws.amplify#ComputeRoleArn",
23882400
"traits": {
2389-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role to assign to a branch of an SSR app. The SSR Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources\n based on the role's permissions. For more information about the SSR Compute role, see\n <a href=\"https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html\">Adding an SSR Compute role</a> in the <i>Amplify User\n Guide</i>.</p>"
2401+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role to assign to a branch of an SSR app. The SSR Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources\n based on the role's permissions. For more information about the SSR Compute role, see\n <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/amplify-SSR-compute-role.html\">Adding an SSR Compute role</a> in the <i>Amplify User\n Guide</i>.</p>"
23902402
}
23912403
}
23922404
},
@@ -3479,6 +3491,9 @@
34793491
"com.amazonaws.amplify#EnablePullRequestPreview": {
34803492
"type": "boolean"
34813493
},
3494+
"com.amazonaws.amplify#EnableSkewProtection": {
3495+
"type": "boolean"
3496+
},
34823497
"com.amazonaws.amplify#EndTime": {
34833498
"type": "timestamp"
34843499
},
@@ -6206,7 +6221,7 @@
62066221
"computeRoleArn": {
62076222
"target": "com.amazonaws.amplify#ComputeRoleArn",
62086223
"traits": {
6209-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role to assign to an SSR app. The SSR Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources\n based on the role's permissions. For more information about the SSR Compute role, see\n <a href=\"https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html\">Adding an SSR Compute role</a> in the <i>Amplify User\n Guide</i>.</p>"
6224+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role to assign to an SSR app. The SSR Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources\n based on the role's permissions. For more information about the SSR Compute role, see\n <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/amplify-SSR-compute-role.html\">Adding an SSR Compute role</a> in the <i>Amplify User\n Guide</i>.</p>"
62106225
}
62116226
},
62126227
"iamServiceRoleArn": {
@@ -6410,6 +6425,12 @@
64106425
"smithy.api#documentation": "<p> Enables auto building for the branch. </p>"
64116426
}
64126427
},
6428+
"enableSkewProtection": {
6429+
"target": "com.amazonaws.amplify#EnableSkewProtection",
6430+
"traits": {
6431+
"smithy.api#documentation": "<p>Specifies whether the skew protection feature is enabled for the branch.</p>\n <p>Deployment skew protection is available to Amplify applications to eliminate version skew\n issues between client and servers in web applications. When you apply skew protection to a branch, you can ensure that your clients always interact with the correct version\n of server-side assets, regardless of when a deployment occurs. For more information about skew protection, see\n <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/skew-protection.html\">Skew protection for Amplify deployments</a> in the <i>Amplify User\n Guide</i>.</p>"
6432+
}
6433+
},
64136434
"environmentVariables": {
64146435
"target": "com.amazonaws.amplify#EnvironmentVariables",
64156436
"traits": {
@@ -6479,7 +6500,7 @@
64796500
"computeRoleArn": {
64806501
"target": "com.amazonaws.amplify#ComputeRoleArn",
64816502
"traits": {
6482-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role to assign to a branch of an SSR app. The SSR Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources\n based on the role's permissions. For more information about the SSR Compute role, see\n <a href=\"https://docs.aws.amazon.com/latest/userguide/amplify-SSR-compute-role.html\">Adding an SSR Compute role</a> in the <i>Amplify User\n Guide</i>.</p>"
6503+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role to assign to a branch of an SSR app. The SSR Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources\n based on the role's permissions. For more information about the SSR Compute role, see\n <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/amplify-SSR-compute-role.html\">Adding an SSR Compute role</a> in the <i>Amplify User\n Guide</i>.</p>"
64836504
}
64846505
}
64856506
},

0 commit comments

Comments
 (0)