|
50 | 50 | }, |
51 | 51 | "com.amazonaws.amplify#Amplify": { |
52 | 52 | "type": "service", |
| 53 | + "traits": { |
| 54 | + "aws.api#service": { |
| 55 | + "sdkId": "Amplify", |
| 56 | + "arnNamespace": "amplify", |
| 57 | + "cloudFormationName": "Amplify", |
| 58 | + "cloudTrailEventSource": "amplify.amazonaws.com", |
| 59 | + "endpointPrefix": "amplify" |
| 60 | + }, |
| 61 | + "aws.auth#sigv4": { |
| 62 | + "name": "amplify" |
| 63 | + }, |
| 64 | + "aws.protocols#restJson1": {}, |
| 65 | + "smithy.api#documentation": "<p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.\n The Amplify Console provides a continuous delivery and hosting service for web\n applications. For more information, see the <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html\">Amplify Console User Guide</a>. The\n Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation\n for client app development. For more information, see the <a href=\"https://docs.amplify.aws/\">Amplify Framework.</a>\n </p>", |
| 66 | + "smithy.api#title": "AWS Amplify", |
| 67 | + "smithy.api#xmlNamespace": { |
| 68 | + "uri": "http://amplify.amazonaws.com" |
| 69 | + } |
| 70 | + }, |
53 | 71 | "version": "2017-07-25", |
54 | 72 | "operations": [ |
55 | 73 | { |
|
163 | 181 | { |
164 | 182 | "target": "com.amazonaws.amplify#UpdateWebhook" |
165 | 183 | } |
166 | | - ], |
167 | | - "traits": { |
168 | | - "aws.api#service": { |
169 | | - "sdkId": "Amplify", |
170 | | - "arnNamespace": "amplify", |
171 | | - "cloudFormationName": "Amplify", |
172 | | - "cloudTrailEventSource": "amplify.amazonaws.com", |
173 | | - "endpointPrefix": "amplify" |
174 | | - }, |
175 | | - "aws.auth#sigv4": { |
176 | | - "name": "amplify" |
177 | | - }, |
178 | | - "aws.protocols#restJson1": {}, |
179 | | - "smithy.api#documentation": "<p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.\n The Amplify Console provides a continuous delivery and hosting service for web\n applications. For more information, see the <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html\">Amplify Console User Guide</a>. The\n Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation\n for client app development. For more information, see the <a href=\"https://docs.amplify.aws/\">Amplify Framework.</a>\n </p>", |
180 | | - "smithy.api#title": "AWS Amplify", |
181 | | - "smithy.api#xmlNamespace": { |
182 | | - "uri": "http://amplify.amazonaws.com" |
183 | | - } |
184 | | - } |
| 184 | + ] |
185 | 185 | }, |
186 | 186 | "com.amazonaws.amplify#App": { |
187 | 187 | "type": "structure", |
|
291 | 291 | "basicAuthCredentials": { |
292 | 292 | "target": "com.amazonaws.amplify#BasicAuthCredentials", |
293 | 293 | "traits": { |
294 | | - "smithy.api#documentation": "<p> The basic authorization credentials for branches for the Amplify app. </p>" |
| 294 | + "smithy.api#documentation": "<p> The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.</p>" |
295 | 295 | } |
296 | 296 | }, |
297 | 297 | "customRules": { |
|
357 | 357 | "min": 1, |
358 | 358 | "max": 20 |
359 | 359 | }, |
360 | | - "smithy.api#pattern": "d[a-z0-9]+" |
| 360 | + "smithy.api#pattern": "^d[a-z0-9]+$" |
361 | 361 | } |
362 | 362 | }, |
363 | 363 | "com.amazonaws.amplify#Apps": { |
|
475 | 475 | "basicAuthCredentials": { |
476 | 476 | "target": "com.amazonaws.amplify#BasicAuthCredentials", |
477 | 477 | "traits": { |
478 | | - "smithy.api#documentation": "<p> The basic authorization credentials for the autocreated branch. </p>" |
| 478 | + "smithy.api#documentation": "<p> The basic authorization credentials for the autocreated branch. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.</p>" |
479 | 479 | } |
480 | 480 | }, |
481 | 481 | "enableBasicAuth": { |
|
550 | 550 | "min": 0, |
551 | 551 | "max": 1000 |
552 | 552 | }, |
553 | | - "smithy.api#pattern": "^$|^arn:aws:iam::\\d{12}:role.+" |
| 553 | + "smithy.api#pattern": "^$|^arn:aws:iam::\\d{12}:role.+$" |
554 | 554 | } |
555 | 555 | }, |
556 | 556 | "com.amazonaws.amplify#BackendEnvironment": { |
|
768 | 768 | "basicAuthCredentials": { |
769 | 769 | "target": "com.amazonaws.amplify#BasicAuthCredentials", |
770 | 770 | "traits": { |
771 | | - "smithy.api#documentation": "<p> The basic authorization credentials for a branch of an Amplify app. </p>" |
| 771 | + "smithy.api#documentation": "<p> The basic authorization credentials for a branch of an Amplify app. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.</p>" |
772 | 772 | } |
773 | 773 | }, |
774 | 774 | "buildSpec": { |
|
1018 | 1018 | "basicAuthCredentials": { |
1019 | 1019 | "target": "com.amazonaws.amplify#BasicAuthCredentials", |
1020 | 1020 | "traits": { |
1021 | | - "smithy.api#documentation": "<p> The credentials for basic authorization for an Amplify app. </p>" |
| 1021 | + "smithy.api#documentation": "<p> The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.</p>" |
1022 | 1022 | } |
1023 | 1023 | }, |
1024 | 1024 | "customRules": { |
|
1257 | 1257 | "basicAuthCredentials": { |
1258 | 1258 | "target": "com.amazonaws.amplify#BasicAuthCredentials", |
1259 | 1259 | "traits": { |
1260 | | - "smithy.api#documentation": "<p> The basic authorization credentials for the branch. </p>" |
| 1260 | + "smithy.api#documentation": "<p> The basic authorization credentials for the branch. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.</p>" |
1261 | 1261 | } |
1262 | 1262 | }, |
1263 | 1263 | "enableBasicAuth": { |
|
3992 | 3992 | "com.amazonaws.amplify#ResourceArn": { |
3993 | 3993 | "type": "string", |
3994 | 3994 | "traits": { |
3995 | | - "smithy.api#pattern": "^arn:aws:amplify:.*" |
| 3995 | + "smithy.api#pattern": "^arn:aws:amplify:" |
3996 | 3996 | } |
3997 | 3997 | }, |
3998 | 3998 | "com.amazonaws.amplify#ResourceNotFoundException": { |
|
4883 | 4883 | "basicAuthCredentials": { |
4884 | 4884 | "target": "com.amazonaws.amplify#BasicAuthCredentials", |
4885 | 4885 | "traits": { |
4886 | | - "smithy.api#documentation": "<p> The basic authorization credentials for an Amplify app. </p>" |
| 4886 | + "smithy.api#documentation": "<p> The basic authorization credentials for an Amplify app. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.</p>" |
4887 | 4887 | } |
4888 | 4888 | }, |
4889 | 4889 | "customRules": { |
|
5052 | 5052 | "basicAuthCredentials": { |
5053 | 5053 | "target": "com.amazonaws.amplify#BasicAuthCredentials", |
5054 | 5054 | "traits": { |
5055 | | - "smithy.api#documentation": "<p> The basic authorization credentials for the branch. </p>" |
| 5055 | + "smithy.api#documentation": "<p> The basic authorization credentials for the branch. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.</p>" |
5056 | 5056 | } |
5057 | 5057 | }, |
5058 | 5058 | "enableBasicAuth": { |
|
0 commit comments