|
11 | 11 | "serviceId":"Amplify",
|
12 | 12 | "signatureVersion":"v4",
|
13 | 13 | "signingName":"amplify",
|
14 |
| - "uid":"amplify-2017-07-25" |
| 14 | + "uid":"amplify-2017-07-25", |
| 15 | + "auth":["aws.auth#sigv4"] |
15 | 16 | },
|
16 | 17 | "operations":{
|
17 | 18 | "CreateApp":{
|
|
747 | 748 | "repositoryCloneMethod":{
|
748 | 749 | "shape":"RepositoryCloneMethod",
|
749 | 750 | "documentation":"<note> <p>This is for internal use.</p> </note> <p>The Amplify service uses this parameter to specify the authentication protocol to use to access the Git repository for an Amplify app. Amplify specifies <code>TOKEN</code> for a GitHub repository, <code>SIGV4</code> for an Amazon Web Services CodeCommit repository, and <code>SSH</code> for GitLab and Bitbucket repositories.</p>"
|
| 751 | + }, |
| 752 | + "cacheConfig":{ |
| 753 | + "shape":"CacheConfig", |
| 754 | + "documentation":"<p>The cache configuration for the Amplify app. If you don't specify the cache configuration <code>type</code>, Amplify uses the default <code>AMPLIFY_MANAGED</code> setting.</p>" |
750 | 755 | }
|
751 | 756 | },
|
752 | 757 | "documentation":"<p>Represents the different branches of a repository for building, deploying, and hosting an Amplify app. </p>"
|
|
1113 | 1118 | "pattern":"(?s).+",
|
1114 | 1119 | "sensitive":true
|
1115 | 1120 | },
|
| 1121 | + "CacheConfig":{ |
| 1122 | + "type":"structure", |
| 1123 | + "required":["type"], |
| 1124 | + "members":{ |
| 1125 | + "type":{ |
| 1126 | + "shape":"CacheConfigType", |
| 1127 | + "documentation":"<p>The type of cache configuration to use for an Amplify app.</p> <p>The <code>AMPLIFY_MANAGED</code> cache configuration automatically applies an optimized cache configuration for your app based on its platform, routing rules, and rewrite rules. This is the default setting.</p> <p>The <code>AMPLIFY_MANAGED_NO_COOKIES</code> cache configuration type is the same as <code>AMPLIFY_MANAGED</code>, except that it excludes all cookies from the cache key.</p>" |
| 1128 | + } |
| 1129 | + }, |
| 1130 | + "documentation":"<p>Describes the cache configuration for an Amplify app.</p> <p>For more information about how Amplify applies an optimal cache configuration for your app based on the type of content that is being served, see <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/managing-cache-configuration\">Managing cache configuration</a> in the <i>Amplify User guide</i>.</p>" |
| 1131 | + }, |
| 1132 | + "CacheConfigType":{ |
| 1133 | + "type":"string", |
| 1134 | + "enum":[ |
| 1135 | + "AMPLIFY_MANAGED", |
| 1136 | + "AMPLIFY_MANAGED_NO_COOKIES" |
| 1137 | + ] |
| 1138 | + }, |
1116 | 1139 | "Certificate":{
|
1117 | 1140 | "type":"structure",
|
1118 | 1141 | "required":["type"],
|
1119 | 1142 | "members":{
|
1120 | 1143 | "type":{
|
1121 | 1144 | "shape":"CertificateType",
|
1122 |
| - "documentation":"<p>The type of SSL/TLS certificate that you want to use.</p> <p>Specify <code>AMPLIFY_MANAGED</code> to use the default certificate that Amplify provisions for you.</p> <p>Specify <code>CUSTOM</code> to use your own certificate that you have already added to Certificate Manager in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html\">Importing certificates into Certificate Manager</a> in the <i>ACM User guide</i> .</p>" |
| 1145 | + "documentation":"<p>The type of SSL/TLS certificate that you want to use.</p> <p>Specify <code>AMPLIFY_MANAGED</code> to use the default certificate that Amplify provisions for you.</p> <p>Specify <code>CUSTOM</code> to use your own certificate that you have already added to Certificate Manager in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html\">Importing certificates into Certificate Manager</a> in the <i>ACM User guide</i>.</p>" |
1123 | 1146 | },
|
1124 | 1147 | "customCertificateArn":{
|
1125 | 1148 | "shape":"CertificateArn",
|
|
1262 | 1285 | "autoBranchCreationConfig":{
|
1263 | 1286 | "shape":"AutoBranchCreationConfig",
|
1264 | 1287 | "documentation":"<p>The automated branch creation configuration for an Amplify app. </p>"
|
| 1288 | + }, |
| 1289 | + "cacheConfig":{ |
| 1290 | + "shape":"CacheConfig", |
| 1291 | + "documentation":"<p>The cache configuration for the Amplify app.</p>" |
1265 | 1292 | }
|
1266 | 1293 | },
|
1267 | 1294 | "documentation":"<p>The request structure used to create apps in Amplify. </p>"
|
|
3275 | 3302 | "accessToken":{
|
3276 | 3303 | "shape":"AccessToken",
|
3277 | 3304 | "documentation":"<p>The personal access token for a GitHub repository for an Amplify app. The personal access token is used to authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.</p> <p>Use <code>accessToken</code> for GitHub repositories only. To authorize access to a repository provider such as Bitbucket or CodeCommit, use <code>oauthToken</code>.</p> <p>You must specify either <code>accessToken</code> or <code>oauthToken</code> when you update an app.</p> <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth\">Migrating an existing OAuth app to the Amplify GitHub App</a> in the <i>Amplify User Guide</i> .</p>"
|
| 3305 | + }, |
| 3306 | + "cacheConfig":{ |
| 3307 | + "shape":"CacheConfig", |
| 3308 | + "documentation":"<p>The cache configuration for the Amplify app.</p>" |
3278 | 3309 | }
|
3279 | 3310 | },
|
3280 | 3311 | "documentation":"<p>The request structure for the update app request. </p>"
|
|
0 commit comments