Skip to content

Commit fd3f82e

Browse files
feat: update AWS API models
1 parent 3782990 commit fd3f82e

File tree

5 files changed

+727
-4
lines changed

5 files changed

+727
-4
lines changed

codegen/sdk/aws-models/amplify.json

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1204,6 +1204,12 @@
12041204
"traits": {
12051205
"smithy.api#documentation": "<note>\n <p>This is for internal use.</p>\n </note>\n <p>The Amplify service uses this parameter to specify the authentication protocol to use\n to access the Git repository for an Amplify app. Amplify specifies <code>TOKEN</code>\n for a GitHub repository, <code>SIGV4</code> for an Amazon Web Services CodeCommit\n repository, and <code>SSH</code> for GitLab and Bitbucket repositories.</p>"
12061206
}
1207+
},
1208+
"cacheConfig": {
1209+
"target": "com.amazonaws.amplify#CacheConfig",
1210+
"traits": {
1211+
"smithy.api#documentation": "<p>The cache configuration for the Amplify app. If you don't specify the\n cache configuration <code>type</code>, Amplify uses the default\n <code>AMPLIFY_MANAGED</code> setting.</p>"
1212+
}
12071213
}
12081214
},
12091215
"traits": {
@@ -1761,13 +1767,45 @@
17611767
"smithy.api#sensitive": {}
17621768
}
17631769
},
1770+
"com.amazonaws.amplify#CacheConfig": {
1771+
"type": "structure",
1772+
"members": {
1773+
"type": {
1774+
"target": "com.amazonaws.amplify#CacheConfigType",
1775+
"traits": {
1776+
"smithy.api#documentation": "<p>The type of cache configuration to use for an Amplify app.</p>\n <p>The <code>AMPLIFY_MANAGED</code> cache configuration automatically applies an\n optimized cache configuration for your app based on its platform, routing rules, and\n rewrite rules. This is the default setting.</p>\n <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>",
1777+
"smithy.api#required": {}
1778+
}
1779+
}
1780+
},
1781+
"traits": {
1782+
"smithy.api#documentation": "<p>Describes the cache configuration for an Amplify app.</p>\n <p>For more\n information about how Amplify applies an optimal cache configuration for\n 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\n guide</i>.</p>"
1783+
}
1784+
},
1785+
"com.amazonaws.amplify#CacheConfigType": {
1786+
"type": "enum",
1787+
"members": {
1788+
"AMPLIFY_MANAGED": {
1789+
"target": "smithy.api#Unit",
1790+
"traits": {
1791+
"smithy.api#enumValue": "AMPLIFY_MANAGED"
1792+
}
1793+
},
1794+
"AMPLIFY_MANAGED_NO_COOKIES": {
1795+
"target": "smithy.api#Unit",
1796+
"traits": {
1797+
"smithy.api#enumValue": "AMPLIFY_MANAGED_NO_COOKIES"
1798+
}
1799+
}
1800+
}
1801+
},
17641802
"com.amazonaws.amplify#Certificate": {
17651803
"type": "structure",
17661804
"members": {
17671805
"type": {
17681806
"target": "com.amazonaws.amplify#CertificateType",
17691807
"traits": {
1770-
"smithy.api#documentation": "<p>The type of SSL/TLS certificate that you want to use.</p>\n <p>Specify <code>AMPLIFY_MANAGED</code> to use the default certificate that Amplify\n provisions for you.</p>\n <p>Specify <code>CUSTOM</code> to use your own certificate that you have already added to\n Certificate Manager in your Amazon Web Services account. Make sure you request (or\n import) the certificate in the US East (N. Virginia) Region (us-east-1). For more\n information about using ACM, see <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html\">Importing certificates into\n Certificate Manager</a> in the <i>ACM User\n guide</i> .</p>",
1808+
"smithy.api#documentation": "<p>The type of SSL/TLS certificate that you want to use.</p>\n <p>Specify <code>AMPLIFY_MANAGED</code> to use the default certificate that Amplify\n provisions for you.</p>\n <p>Specify <code>CUSTOM</code> to use your own certificate that you have already added to\n Certificate Manager in your Amazon Web Services account. Make sure you request (or\n import) the certificate in the US East (N. Virginia) Region (us-east-1). For more\n information about using ACM, see <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html\">Importing certificates into\n Certificate Manager</a> in the <i>ACM User\n guide</i>.</p>",
17711809
"smithy.api#required": {}
17721810
}
17731811
},
@@ -2035,6 +2073,12 @@
20352073
"traits": {
20362074
"smithy.api#documentation": "<p>The automated branch creation configuration for an Amplify app. </p>"
20372075
}
2076+
},
2077+
"cacheConfig": {
2078+
"target": "com.amazonaws.amplify#CacheConfig",
2079+
"traits": {
2080+
"smithy.api#documentation": "<p>The cache configuration for the Amplify app.</p>"
2081+
}
20382082
}
20392083
},
20402084
"traits": {
@@ -6161,6 +6205,12 @@
61616205
"traits": {
61626206
"smithy.api#documentation": "<p>The personal access token for a GitHub repository for an Amplify app. The personal\n access token is used to authorize access to a GitHub repository using the Amplify GitHub\n App. The token is not stored.</p>\n <p>Use <code>accessToken</code> for GitHub repositories only. To authorize access to a\n repository provider such as Bitbucket or CodeCommit, use <code>oauthToken</code>.</p>\n <p>You must specify either <code>accessToken</code> or <code>oauthToken</code> when you\n update an app.</p>\n <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n 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\n <i>Amplify User Guide</i> .</p>"
61636207
}
6208+
},
6209+
"cacheConfig": {
6210+
"target": "com.amazonaws.amplify#CacheConfig",
6211+
"traits": {
6212+
"smithy.api#documentation": "<p>The cache configuration for the Amplify app.</p>"
6213+
}
61646214
}
61656215
},
61666216
"traits": {

0 commit comments

Comments
 (0)