1{
2    "smithy": "1.0",
3    "metadata": {
4        "suppressions": [
5            {
6                "id": "HttpMethodSemantics",
7                "namespace": "*"
8            },
9            {
10                "id": "HttpResponseCodeSemantics",
11                "namespace": "*"
12            },
13            {
14                "id": "PaginatedTrait",
15                "namespace": "*"
16            },
17            {
18                "id": "HttpHeaderTrait",
19                "namespace": "*"
20            },
21            {
22                "id": "HttpUriConflict",
23                "namespace": "*"
24            },
25            {
26                "id": "Service",
27                "namespace": "*"
28            }
29        ]
30    },
31    "shapes": {
32        "com.amazonaws.codestar#AssociateTeamMember": {
33            "type": "operation",
34            "input": {
35                "target": "com.amazonaws.codestar#AssociateTeamMemberRequest"
36            },
37            "output": {
38                "target": "com.amazonaws.codestar#AssociateTeamMemberResult"
39            },
40            "errors": [
41                {
42                    "target": "com.amazonaws.codestar#ConcurrentModificationException"
43                },
44                {
45                    "target": "com.amazonaws.codestar#InvalidServiceRoleException"
46                },
47                {
48                    "target": "com.amazonaws.codestar#LimitExceededException"
49                },
50                {
51                    "target": "com.amazonaws.codestar#ProjectConfigurationException"
52                },
53                {
54                    "target": "com.amazonaws.codestar#ProjectNotFoundException"
55                },
56                {
57                    "target": "com.amazonaws.codestar#TeamMemberAlreadyAssociatedException"
58                },
59                {
60                    "target": "com.amazonaws.codestar#ValidationException"
61                }
62            ],
63            "traits": {
64                "smithy.api#documentation": "<p>Adds an IAM user to the team for an AWS CodeStar project.</p>"
65            }
66        },
67        "com.amazonaws.codestar#AssociateTeamMemberRequest": {
68            "type": "structure",
69            "members": {
70                "projectId": {
71                    "target": "com.amazonaws.codestar#ProjectId",
72                    "traits": {
73                        "smithy.api#documentation": "<p>The ID of the project to which you will add the IAM user.</p>",
74                        "smithy.api#required": {}
75                    }
76                },
77                "clientRequestToken": {
78                    "target": "com.amazonaws.codestar#ClientRequestToken",
79                    "traits": {
80                        "smithy.api#documentation": "<p>A user- or system-generated token that identifies the entity that requested the team\n      member association to the project. This token can be used to repeat the request.</p>"
81                    }
82                },
83                "userArn": {
84                    "target": "com.amazonaws.codestar#UserArn",
85                    "traits": {
86                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS CodeStar\n      project.</p>",
87                        "smithy.api#required": {}
88                    }
89                },
90                "projectRole": {
91                    "target": "com.amazonaws.codestar#Role",
92                    "traits": {
93                        "smithy.api#documentation": "<p>The AWS CodeStar project role that will apply to this user. This role determines what actions\n      a user can take in an AWS CodeStar project.</p>",
94                        "smithy.api#required": {}
95                    }
96                },
97                "remoteAccessAllowed": {
98                    "target": "com.amazonaws.codestar#RemoteAccessAllowed",
99                    "traits": {
100                        "smithy.api#box": {},
101                        "smithy.api#documentation": "<p>Whether the team member is allowed to use an SSH public/private key pair to remotely\n      access project resources, for example Amazon EC2 instances.</p>"
102                    }
103                }
104            }
105        },
106        "com.amazonaws.codestar#AssociateTeamMemberResult": {
107            "type": "structure",
108            "members": {
109                "clientRequestToken": {
110                    "target": "com.amazonaws.codestar#ClientRequestToken",
111                    "traits": {
112                        "smithy.api#documentation": "<p>The user- or system-generated token from the initial request that can be used to repeat\n      the request.</p>"
113                    }
114                }
115            }
116        },
117        "com.amazonaws.codestar#BucketKey": {
118            "type": "string"
119        },
120        "com.amazonaws.codestar#BucketName": {
121            "type": "string",
122            "traits": {
123                "smithy.api#length": {
124                    "min": 3,
125                    "max": 63
126                }
127            }
128        },
129        "com.amazonaws.codestar#ClientRequestToken": {
130            "type": "string",
131            "traits": {
132                "smithy.api#length": {
133                    "min": 1,
134                    "max": 256
135                },
136                "smithy.api#pattern": "^[\\w:/-]+$"
137            }
138        },
139        "com.amazonaws.codestar#Code": {
140            "type": "structure",
141            "members": {
142                "source": {
143                    "target": "com.amazonaws.codestar#CodeSource",
144                    "traits": {
145                        "smithy.api#documentation": "<p>The location where the source code files provided with the project request are\n      stored. AWS CodeStar retrieves the files during project creation.</p>",
146                        "smithy.api#required": {}
147                    }
148                },
149                "destination": {
150                    "target": "com.amazonaws.codestar#CodeDestination",
151                    "traits": {
152                        "smithy.api#documentation": "<p>The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the\n      source code files provided with the project request are placed in the repository.</p>",
153                        "smithy.api#required": {}
154                    }
155                }
156            },
157            "traits": {
158                "smithy.api#documentation": "<p>Location and destination information about the source code files provided with the\n      project request. The source code is uploaded to the new project source repository after\n      project creation.</p>"
159            }
160        },
161        "com.amazonaws.codestar#CodeCommitCodeDestination": {
162            "type": "structure",
163            "members": {
164                "name": {
165                    "target": "com.amazonaws.codestar#RepositoryName",
166                    "traits": {
167                        "smithy.api#documentation": "<p>The name of the AWS CodeCommit repository to be created in AWS CodeStar.</p>",
168                        "smithy.api#required": {}
169                    }
170                }
171            },
172            "traits": {
173                "smithy.api#documentation": "<p>Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided\n      with the project request will be uploaded after project creation.</p>"
174            }
175        },
176        "com.amazonaws.codestar#CodeDestination": {
177            "type": "structure",
178            "members": {
179                "codeCommit": {
180                    "target": "com.amazonaws.codestar#CodeCommitCodeDestination",
181                    "traits": {
182                        "smithy.api#documentation": "<p>Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided\n      with the project request will be uploaded after project creation.</p>"
183                    }
184                },
185                "gitHub": {
186                    "target": "com.amazonaws.codestar#GitHubCodeDestination",
187                    "traits": {
188                        "smithy.api#documentation": "<p>Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the\n      project request will be uploaded after project creation.</p>"
189                    }
190                }
191            },
192            "traits": {
193                "smithy.api#documentation": "<p>The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the\n      source code files provided with the project request are placed in the repository.</p>"
194            }
195        },
196        "com.amazonaws.codestar#CodeSource": {
197            "type": "structure",
198            "members": {
199                "s3": {
200                    "target": "com.amazonaws.codestar#S3Location",
201                    "traits": {
202                        "smithy.api#documentation": "<p>Information about the Amazon S3 location where the source code files provided with the\n      project request are stored. </p>",
203                        "smithy.api#required": {}
204                    }
205                }
206            },
207            "traits": {
208                "smithy.api#documentation": "<p>The location where the source code files provided with the project request are\n      stored. AWS CodeStar retrieves the files during project creation.</p>"
209            }
210        },
211        "com.amazonaws.codestar#CodeStar_20170419": {
212            "type": "service",
213            "version": "2017-04-19",
214            "operations": [
215                {
216                    "target": "com.amazonaws.codestar#AssociateTeamMember"
217                },
218                {
219                    "target": "com.amazonaws.codestar#CreateProject"
220                },
221                {
222                    "target": "com.amazonaws.codestar#CreateUserProfile"
223                },
224                {
225                    "target": "com.amazonaws.codestar#DeleteProject"
226                },
227                {
228                    "target": "com.amazonaws.codestar#DeleteUserProfile"
229                },
230                {
231                    "target": "com.amazonaws.codestar#DescribeProject"
232                },
233                {
234                    "target": "com.amazonaws.codestar#DescribeUserProfile"
235                },
236                {
237                    "target": "com.amazonaws.codestar#DisassociateTeamMember"
238                },
239                {
240                    "target": "com.amazonaws.codestar#ListProjects"
241                },
242                {
243                    "target": "com.amazonaws.codestar#ListResources"
244                },
245                {
246                    "target": "com.amazonaws.codestar#ListTagsForProject"
247                },
248                {
249                    "target": "com.amazonaws.codestar#ListTeamMembers"
250                },
251                {
252                    "target": "com.amazonaws.codestar#ListUserProfiles"
253                },
254                {
255                    "target": "com.amazonaws.codestar#TagProject"
256                },
257                {
258                    "target": "com.amazonaws.codestar#UntagProject"
259                },
260                {
261                    "target": "com.amazonaws.codestar#UpdateProject"
262                },
263                {
264                    "target": "com.amazonaws.codestar#UpdateTeamMember"
265                },
266                {
267                    "target": "com.amazonaws.codestar#UpdateUserProfile"
268                }
269            ],
270            "traits": {
271                "aws.api#service": {
272                    "sdkId": "CodeStar",
273                    "arnNamespace": "codestar",
274                    "cloudFormationName": "CodeStar",
275                    "cloudTrailEventSource": "codestar.amazonaws.com",
276                    "endpointPrefix": "codestar"
277                },
278                "aws.auth#sigv4": {
279                    "name": "codestar"
280                },
281                "aws.protocols#awsJson1_1": {},
282                "smithy.api#documentation": "<fullname>AWS CodeStar</fullname>\n         <p>This is the API reference for AWS CodeStar. This reference provides descriptions of the\n      operations and data types for the AWS CodeStar API along with usage examples.</p>\n         <p>You can use the AWS CodeStar API to work with:</p>\n         <p>Projects and their resources, by calling the following:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>DeleteProject</code>, which deletes a project.</p>\n            </li>\n            <li>\n               <p>\n                  <code>DescribeProject</code>, which lists the attributes of a project.</p>\n            </li>\n            <li>\n               <p>\n                  <code>ListProjects</code>, which lists all projects associated with your AWS\n          account.</p>\n            </li>\n            <li>\n               <p>\n                  <code>ListResources</code>, which lists the resources associated with a\n          project.</p>\n            </li>\n            <li>\n               <p>\n                  <code>ListTagsForProject</code>, which lists the tags associated with a\n          project.</p>\n            </li>\n            <li>\n               <p>\n                  <code>TagProject</code>, which adds tags to a project.</p>\n            </li>\n            <li>\n               <p>\n                  <code>UntagProject</code>, which removes tags from a project.</p>\n            </li>\n            <li>\n               <p>\n                  <code>UpdateProject</code>, which updates the attributes of a project.</p>\n            </li>\n         </ul>\n         <p>Teams and team members, by calling the following:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>AssociateTeamMember</code>, which adds an IAM user to the team for a\n          project.</p>\n            </li>\n            <li>\n               <p>\n                  <code>DisassociateTeamMember</code>, which removes an IAM user from the team for a\n          project.</p>\n            </li>\n            <li>\n               <p>\n                  <code>ListTeamMembers</code>, which lists all the IAM users in the team for a\n          project, including their roles and attributes.</p>\n            </li>\n            <li>\n               <p>\n                  <code>UpdateTeamMember</code>, which updates a team member's attributes in a\n          project.</p>\n            </li>\n         </ul>\n         <p>Users, by calling the following:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>CreateUserProfile</code>, which creates a user profile that contains data\n          associated with the user across all projects.</p>\n            </li>\n            <li>\n               <p>\n                  <code>DeleteUserProfile</code>, which deletes all user profile information across\n          all projects.</p>\n            </li>\n            <li>\n               <p>\n                  <code>DescribeUserProfile</code>, which describes the profile of a user.</p>\n            </li>\n            <li>\n               <p>\n                  <code>ListUserProfiles</code>, which lists all user profiles.</p>\n            </li>\n            <li>\n               <p>\n                  <code>UpdateUserProfile</code>, which updates the profile for a user.</p>\n            </li>\n         </ul>",
283                "smithy.api#title": "AWS CodeStar"
284            }
285        },
286        "com.amazonaws.codestar#ConcurrentModificationException": {
287            "type": "structure",
288            "members": {
289                "message": {
290                    "target": "com.amazonaws.codestar#Message"
291                }
292            },
293            "traits": {
294                "smithy.api#documentation": "<p>Another modification is being made. That modification must complete before you can make\n      your change.</p>",
295                "smithy.api#error": "server",
296                "smithy.api#httpError": 500
297            }
298        },
299        "com.amazonaws.codestar#CreateProject": {
300            "type": "operation",
301            "input": {
302                "target": "com.amazonaws.codestar#CreateProjectRequest"
303            },
304            "output": {
305                "target": "com.amazonaws.codestar#CreateProjectResult"
306            },
307            "errors": [
308                {
309                    "target": "com.amazonaws.codestar#ConcurrentModificationException"
310                },
311                {
312                    "target": "com.amazonaws.codestar#InvalidServiceRoleException"
313                },
314                {
315                    "target": "com.amazonaws.codestar#LimitExceededException"
316                },
317                {
318                    "target": "com.amazonaws.codestar#ProjectAlreadyExistsException"
319                },
320                {
321                    "target": "com.amazonaws.codestar#ProjectConfigurationException"
322                },
323                {
324                    "target": "com.amazonaws.codestar#ProjectCreationFailedException"
325                },
326                {
327                    "target": "com.amazonaws.codestar#ValidationException"
328                }
329            ],
330            "traits": {
331                "smithy.api#documentation": "<p>Creates a project, including project resources. This action creates a project based on\n      a submitted project request. A set of source code files and a toolchain template file\n      can be included with the project request. If these are not provided, an empty project is created.</p>"
332            }
333        },
334        "com.amazonaws.codestar#CreateProjectRequest": {
335            "type": "structure",
336            "members": {
337                "name": {
338                    "target": "com.amazonaws.codestar#ProjectName",
339                    "traits": {
340                        "smithy.api#documentation": "<p>The display name for the project to be created in AWS CodeStar.</p>",
341                        "smithy.api#required": {}
342                    }
343                },
344                "id": {
345                    "target": "com.amazonaws.codestar#ProjectId",
346                    "traits": {
347                        "smithy.api#documentation": "<p>The ID of the project to be created in AWS CodeStar.</p>",
348                        "smithy.api#required": {}
349                    }
350                },
351                "description": {
352                    "target": "com.amazonaws.codestar#ProjectDescription",
353                    "traits": {
354                        "smithy.api#documentation": "<p>The description of the project, if any.</p>"
355                    }
356                },
357                "clientRequestToken": {
358                    "target": "com.amazonaws.codestar#ClientRequestToken",
359                    "traits": {
360                        "smithy.api#documentation": "<p>A user- or system-generated token that identifies the entity that requested project\n      creation. This token can be used to repeat the request.</p>"
361                    }
362                },
363                "sourceCode": {
364                    "target": "com.amazonaws.codestar#SourceCode",
365                    "traits": {
366                        "smithy.api#documentation": "<p>A list of the Code objects submitted with the project request. If this\n      parameter is specified, the request must also include the toolchain parameter.</p>"
367                    }
368                },
369                "toolchain": {
370                    "target": "com.amazonaws.codestar#Toolchain",
371                    "traits": {
372                        "smithy.api#documentation": "<p>The name of the toolchain template file submitted with the project request. If\n      this parameter is specified, the request must also include the sourceCode parameter.</p>"
373                    }
374                },
375                "tags": {
376                    "target": "com.amazonaws.codestar#Tags",
377                    "traits": {
378                        "smithy.api#documentation": "<p>The tags created for the project.</p>"
379                    }
380                }
381            }
382        },
383        "com.amazonaws.codestar#CreateProjectResult": {
384            "type": "structure",
385            "members": {
386                "id": {
387                    "target": "com.amazonaws.codestar#ProjectId",
388                    "traits": {
389                        "smithy.api#documentation": "<p>The ID of the project.</p>",
390                        "smithy.api#required": {}
391                    }
392                },
393                "arn": {
394                    "target": "com.amazonaws.codestar#ProjectArn",
395                    "traits": {
396                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the created project.</p>",
397                        "smithy.api#required": {}
398                    }
399                },
400                "clientRequestToken": {
401                    "target": "com.amazonaws.codestar#ClientRequestToken",
402                    "traits": {
403                        "smithy.api#documentation": "<p>A user- or system-generated token that identifies the entity that requested project\n      creation.</p>"
404                    }
405                },
406                "projectTemplateId": {
407                    "target": "com.amazonaws.codestar#ProjectTemplateId",
408                    "traits": {
409                        "smithy.api#documentation": "<p>Reserved for future use.</p>"
410                    }
411                }
412            }
413        },
414        "com.amazonaws.codestar#CreateUserProfile": {
415            "type": "operation",
416            "input": {
417                "target": "com.amazonaws.codestar#CreateUserProfileRequest"
418            },
419            "output": {
420                "target": "com.amazonaws.codestar#CreateUserProfileResult"
421            },
422            "errors": [
423                {
424                    "target": "com.amazonaws.codestar#UserProfileAlreadyExistsException"
425                },
426                {
427                    "target": "com.amazonaws.codestar#ValidationException"
428                }
429            ],
430            "traits": {
431                "smithy.api#documentation": "<p>Creates a profile for a user that includes user preferences, such as the display name\n      and email address assocciated with the user, in AWS CodeStar. The user profile is not\n      project-specific. Information in the user profile is displayed wherever the user's information\n      appears to other users in AWS CodeStar.</p>"
432            }
433        },
434        "com.amazonaws.codestar#CreateUserProfileRequest": {
435            "type": "structure",
436            "members": {
437                "userArn": {
438                    "target": "com.amazonaws.codestar#UserArn",
439                    "traits": {
440                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the user in IAM.</p>",
441                        "smithy.api#required": {}
442                    }
443                },
444                "displayName": {
445                    "target": "com.amazonaws.codestar#UserProfileDisplayName",
446                    "traits": {
447                        "smithy.api#documentation": "<p>The name that will be displayed as the friendly name for the user in AWS CodeStar. </p>",
448                        "smithy.api#required": {}
449                    }
450                },
451                "emailAddress": {
452                    "target": "com.amazonaws.codestar#Email",
453                    "traits": {
454                        "smithy.api#documentation": "<p>The email address that will be displayed as part of the user's profile in\n      AWS CodeStar.</p>",
455                        "smithy.api#required": {}
456                    }
457                },
458                "sshPublicKey": {
459                    "target": "com.amazonaws.codestar#SshPublicKey",
460                    "traits": {
461                        "smithy.api#documentation": "<p>The SSH public key associated with the user in AWS CodeStar. If a project owner allows the\n      user remote access to project resources, this public key will be used along with the user's\n      private key for SSH access.</p>"
462                    }
463                }
464            }
465        },
466        "com.amazonaws.codestar#CreateUserProfileResult": {
467            "type": "structure",
468            "members": {
469                "userArn": {
470                    "target": "com.amazonaws.codestar#UserArn",
471                    "traits": {
472                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the user in IAM.</p>",
473                        "smithy.api#required": {}
474                    }
475                },
476                "displayName": {
477                    "target": "com.amazonaws.codestar#UserProfileDisplayName",
478                    "traits": {
479                        "smithy.api#documentation": "<p>The name that is displayed as the friendly name for the user in AWS CodeStar.</p>"
480                    }
481                },
482                "emailAddress": {
483                    "target": "com.amazonaws.codestar#Email",
484                    "traits": {
485                        "smithy.api#documentation": "<p>The email address that is displayed as part of the user's profile in AWS CodeStar.</p>"
486                    }
487                },
488                "sshPublicKey": {
489                    "target": "com.amazonaws.codestar#SshPublicKey",
490                    "traits": {
491                        "smithy.api#documentation": "<p>The SSH public key associated with the user in AWS CodeStar. This is the public portion of the\n      public/private keypair the user can use to access project resources if a project owner allows\n      the user remote access to those resources.</p>"
492                    }
493                },
494                "createdTimestamp": {
495                    "target": "com.amazonaws.codestar#CreatedTimestamp",
496                    "traits": {
497                        "smithy.api#documentation": "<p>The date the user profile was created, in timestamp format.</p>"
498                    }
499                },
500                "lastModifiedTimestamp": {
501                    "target": "com.amazonaws.codestar#LastModifiedTimestamp",
502                    "traits": {
503                        "smithy.api#documentation": "<p>The date the user profile was last modified, in timestamp format.</p>"
504                    }
505                }
506            }
507        },
508        "com.amazonaws.codestar#CreatedTimestamp": {
509            "type": "timestamp"
510        },
511        "com.amazonaws.codestar#DeleteProject": {
512            "type": "operation",
513            "input": {
514                "target": "com.amazonaws.codestar#DeleteProjectRequest"
515            },
516            "output": {
517                "target": "com.amazonaws.codestar#DeleteProjectResult"
518            },
519            "errors": [
520                {
521                    "target": "com.amazonaws.codestar#ConcurrentModificationException"
522                },
523                {
524                    "target": "com.amazonaws.codestar#InvalidServiceRoleException"
525                },
526                {
527                    "target": "com.amazonaws.codestar#ValidationException"
528                }
529            ],
530            "traits": {
531                "smithy.api#documentation": "<p>Deletes a project, including project resources. Does not delete users associated with\n      the project, but does delete the IAM roles that allowed access to the project.</p>"
532            }
533        },
534        "com.amazonaws.codestar#DeleteProjectRequest": {
535            "type": "structure",
536            "members": {
537                "id": {
538                    "target": "com.amazonaws.codestar#ProjectId",
539                    "traits": {
540                        "smithy.api#documentation": "<p>The ID of the project to be deleted in AWS CodeStar.</p>",
541                        "smithy.api#required": {}
542                    }
543                },
544                "clientRequestToken": {
545                    "target": "com.amazonaws.codestar#ClientRequestToken",
546                    "traits": {
547                        "smithy.api#documentation": "<p>A user- or system-generated token that identifies the entity that requested project\n      deletion. This token can be used to repeat the request. </p>"
548                    }
549                },
550                "deleteStack": {
551                    "target": "com.amazonaws.codestar#DeleteStack",
552                    "traits": {
553                        "smithy.api#documentation": "<p>Whether to send a delete request for the primary stack in AWS CloudFormation originally\n      used to generate the project and its resources. This option will delete all AWS resources for\n      the project (except for any buckets in Amazon S3) as well as deleting the project itself.\n      Recommended for most use cases.</p>"
554                    }
555                }
556            }
557        },
558        "com.amazonaws.codestar#DeleteProjectResult": {
559            "type": "structure",
560            "members": {
561                "stackId": {
562                    "target": "com.amazonaws.codestar#StackId",
563                    "traits": {
564                        "smithy.api#documentation": "<p>The ID of the primary stack in AWS CloudFormation that will be deleted as part of\n      deleting the project and its resources.</p>"
565                    }
566                },
567                "projectArn": {
568                    "target": "com.amazonaws.codestar#ProjectArn",
569                    "traits": {
570                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the deleted project.</p>"
571                    }
572                }
573            }
574        },
575        "com.amazonaws.codestar#DeleteStack": {
576            "type": "boolean"
577        },
578        "com.amazonaws.codestar#DeleteUserProfile": {
579            "type": "operation",
580            "input": {
581                "target": "com.amazonaws.codestar#DeleteUserProfileRequest"
582            },
583            "output": {
584                "target": "com.amazonaws.codestar#DeleteUserProfileResult"
585            },
586            "errors": [
587                {
588                    "target": "com.amazonaws.codestar#ValidationException"
589                }
590            ],
591            "traits": {
592                "smithy.api#documentation": "<p>Deletes a user profile in AWS CodeStar, including all personal preference data associated with\n      that profile, such as display name and email address. It does not delete the history of that\n      user, for example the history of commits made by that user.</p>"
593            }
594        },
595        "com.amazonaws.codestar#DeleteUserProfileRequest": {
596            "type": "structure",
597            "members": {
598                "userArn": {
599                    "target": "com.amazonaws.codestar#UserArn",
600                    "traits": {
601                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the user to delete from AWS CodeStar.</p>",
602                        "smithy.api#required": {}
603                    }
604                }
605            }
606        },
607        "com.amazonaws.codestar#DeleteUserProfileResult": {
608            "type": "structure",
609            "members": {
610                "userArn": {
611                    "target": "com.amazonaws.codestar#UserArn",
612                    "traits": {
613                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the user deleted from AWS CodeStar.</p>",
614                        "smithy.api#required": {}
615                    }
616                }
617            }
618        },
619        "com.amazonaws.codestar#DescribeProject": {
620            "type": "operation",
621            "input": {
622                "target": "com.amazonaws.codestar#DescribeProjectRequest"
623            },
624            "output": {
625                "target": "com.amazonaws.codestar#DescribeProjectResult"
626            },
627            "errors": [
628                {
629                    "target": "com.amazonaws.codestar#ConcurrentModificationException"
630                },
631                {
632                    "target": "com.amazonaws.codestar#InvalidServiceRoleException"
633                },
634                {
635                    "target": "com.amazonaws.codestar#ProjectConfigurationException"
636                },
637                {
638                    "target": "com.amazonaws.codestar#ProjectNotFoundException"
639                },
640                {
641                    "target": "com.amazonaws.codestar#ValidationException"
642                }
643            ],
644            "traits": {
645                "smithy.api#documentation": "<p>Describes a project and its resources.</p>"
646            }
647        },
648        "com.amazonaws.codestar#DescribeProjectRequest": {
649            "type": "structure",
650            "members": {
651                "id": {
652                    "target": "com.amazonaws.codestar#ProjectId",
653                    "traits": {
654                        "smithy.api#documentation": "<p>The ID of the project.</p>",
655                        "smithy.api#required": {}
656                    }
657                }
658            }
659        },
660        "com.amazonaws.codestar#DescribeProjectResult": {
661            "type": "structure",
662            "members": {
663                "name": {
664                    "target": "com.amazonaws.codestar#ProjectName",
665                    "traits": {
666                        "smithy.api#documentation": "<p>The display name for the project.</p>"
667                    }
668                },
669                "id": {
670                    "target": "com.amazonaws.codestar#ProjectId",
671                    "traits": {
672                        "smithy.api#documentation": "<p>The ID of the project.</p>"
673                    }
674                },
675                "arn": {
676                    "target": "com.amazonaws.codestar#ProjectArn",
677                    "traits": {
678                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for the project.</p>"
679                    }
680                },
681                "description": {
682                    "target": "com.amazonaws.codestar#ProjectDescription",
683                    "traits": {
684                        "smithy.api#documentation": "<p>The description of the project, if any.</p>"
685                    }
686                },
687                "clientRequestToken": {
688                    "target": "com.amazonaws.codestar#ClientRequestToken",
689                    "traits": {
690                        "smithy.api#documentation": "<p>A user- or system-generated token that identifies the entity that requested project\n      creation. </p>"
691                    }
692                },
693                "createdTimeStamp": {
694                    "target": "com.amazonaws.codestar#CreatedTimestamp",
695                    "traits": {
696                        "smithy.api#documentation": "<p>The date and time the project was created, in timestamp format.</p>"
697                    }
698                },
699                "stackId": {
700                    "target": "com.amazonaws.codestar#StackId",
701                    "traits": {
702                        "smithy.api#documentation": "<p>The ID of the primary stack in AWS CloudFormation used to generate resources for the\n      project.</p>"
703                    }
704                },
705                "projectTemplateId": {
706                    "target": "com.amazonaws.codestar#ProjectTemplateId",
707                    "traits": {
708                        "smithy.api#documentation": "<p>The ID for the AWS CodeStar project template used to create the project.</p>"
709                    }
710                },
711                "status": {
712                    "target": "com.amazonaws.codestar#ProjectStatus",
713                    "traits": {
714                        "smithy.api#documentation": "<p>The project creation or deletion status.</p>"
715                    }
716                }
717            }
718        },
719        "com.amazonaws.codestar#DescribeUserProfile": {
720            "type": "operation",
721            "input": {
722                "target": "com.amazonaws.codestar#DescribeUserProfileRequest"
723            },
724            "output": {
725                "target": "com.amazonaws.codestar#DescribeUserProfileResult"
726            },
727            "errors": [
728                {
729                    "target": "com.amazonaws.codestar#UserProfileNotFoundException"
730                },
731                {
732                    "target": "com.amazonaws.codestar#ValidationException"
733                }
734            ],
735            "traits": {
736                "smithy.api#documentation": "<p>Describes a user in AWS CodeStar and the user attributes across all projects.</p>"
737            }
738        },
739        "com.amazonaws.codestar#DescribeUserProfileRequest": {
740            "type": "structure",
741            "members": {
742                "userArn": {
743                    "target": "com.amazonaws.codestar#UserArn",
744                    "traits": {
745                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the user.</p>",
746                        "smithy.api#required": {}
747                    }
748                }
749            }
750        },
751        "com.amazonaws.codestar#DescribeUserProfileResult": {
752            "type": "structure",
753            "members": {
754                "userArn": {
755                    "target": "com.amazonaws.codestar#UserArn",
756                    "traits": {
757                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the user.</p>",
758                        "smithy.api#required": {}
759                    }
760                },
761                "displayName": {
762                    "target": "com.amazonaws.codestar#UserProfileDisplayName",
763                    "traits": {
764                        "smithy.api#documentation": "<p>The display name shown for the user in AWS CodeStar projects. For example, this could be set\n      to both first and last name (\"Mary Major\") or a single name (\"Mary\"). The display name is also\n      used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are\n      included in the display name, the first character that appears after the space will be used as\n      the second character in the user initial icon. The initial icon displays a maximum of two\n      characters, so a display name with more than one space (for example \"Mary Jane Major\") would\n      generate an initial icon using the first character and the first character after the space\n      (\"MJ\", not \"MM\").</p>"
765                    }
766                },
767                "emailAddress": {
768                    "target": "com.amazonaws.codestar#Email",
769                    "traits": {
770                        "smithy.api#documentation": "<p>The email address for the user. Optional.</p>"
771                    }
772                },
773                "sshPublicKey": {
774                    "target": "com.amazonaws.codestar#SshPublicKey",
775                    "traits": {
776                        "smithy.api#documentation": "<p>The SSH public key associated with the user. This SSH public key is associated with the\n      user profile, and can be used in conjunction with the associated private key for access to\n      project resources, such as Amazon EC2 instances, if a project owner grants remote access to\n      those resources.</p>"
777                    }
778                },
779                "createdTimestamp": {
780                    "target": "com.amazonaws.codestar#CreatedTimestamp",
781                    "traits": {
782                        "smithy.api#documentation": "<p>The date and time when the user profile was created in AWS CodeStar, in timestamp\n      format.</p>",
783                        "smithy.api#required": {}
784                    }
785                },
786                "lastModifiedTimestamp": {
787                    "target": "com.amazonaws.codestar#LastModifiedTimestamp",
788                    "traits": {
789                        "smithy.api#documentation": "<p>The date and time when the user profile was last modified, in timestamp\n      format.</p>",
790                        "smithy.api#required": {}
791                    }
792                }
793            }
794        },
795        "com.amazonaws.codestar#DisassociateTeamMember": {
796            "type": "operation",
797            "input": {
798                "target": "com.amazonaws.codestar#DisassociateTeamMemberRequest"
799            },
800            "output": {
801                "target": "com.amazonaws.codestar#DisassociateTeamMemberResult"
802            },
803            "errors": [
804                {
805                    "target": "com.amazonaws.codestar#ConcurrentModificationException"
806                },
807                {
808                    "target": "com.amazonaws.codestar#InvalidServiceRoleException"
809                },
810                {
811                    "target": "com.amazonaws.codestar#ProjectNotFoundException"
812                },
813                {
814                    "target": "com.amazonaws.codestar#ValidationException"
815                }
816            ],
817            "traits": {
818                "smithy.api#documentation": "<p>Removes a user from a project. Removing a user from a project also removes the IAM\n      policies from that user that allowed access to the project and its resources. Disassociating a\n      team member does not remove that user's profile from AWS CodeStar. It does not remove the user from\n      IAM.</p>"
819            }
820        },
821        "com.amazonaws.codestar#DisassociateTeamMemberRequest": {
822            "type": "structure",
823            "members": {
824                "projectId": {
825                    "target": "com.amazonaws.codestar#ProjectId",
826                    "traits": {
827                        "smithy.api#documentation": "<p>The ID of the AWS CodeStar project from which you want to remove a team member.</p>",
828                        "smithy.api#required": {}
829                    }
830                },
831                "userArn": {
832                    "target": "com.amazonaws.codestar#UserArn",
833                    "traits": {
834                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM user or group whom you want to remove from\n      the project.</p>",
835                        "smithy.api#required": {}
836                    }
837                }
838            }
839        },
840        "com.amazonaws.codestar#DisassociateTeamMemberResult": {
841            "type": "structure",
842            "members": {}
843        },
844        "com.amazonaws.codestar#Email": {
845            "type": "string",
846            "traits": {
847                "smithy.api#length": {
848                    "min": 3,
849                    "max": 128
850                },
851                "smithy.api#pattern": "^[\\w-.+]+@[\\w-.+]+$",
852                "smithy.api#sensitive": {}
853            }
854        },
855        "com.amazonaws.codestar#GitHubCodeDestination": {
856            "type": "structure",
857            "members": {
858                "name": {
859                    "target": "com.amazonaws.codestar#RepositoryName",
860                    "traits": {
861                        "smithy.api#documentation": "<p>Name of the GitHub repository to be created in AWS CodeStar.</p>",
862                        "smithy.api#required": {}
863                    }
864                },
865                "description": {
866                    "target": "com.amazonaws.codestar#RepositoryDescription",
867                    "traits": {
868                        "smithy.api#documentation": "<p>Description for the GitHub repository to be created in AWS CodeStar. This description displays in\n      GitHub after the repository is created.</p>"
869                    }
870                },
871                "type": {
872                    "target": "com.amazonaws.codestar#RepositoryType",
873                    "traits": {
874                        "smithy.api#documentation": "<p>The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.</p>",
875                        "smithy.api#required": {}
876                    }
877                },
878                "owner": {
879                    "target": "com.amazonaws.codestar#RepositoryOwner",
880                    "traits": {
881                        "smithy.api#documentation": "<p>The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar. If this repository should\n      be owned by a GitHub organization, provide its name.</p>",
882                        "smithy.api#required": {}
883                    }
884                },
885                "privateRepository": {
886                    "target": "com.amazonaws.codestar#RepositoryIsPrivate",
887                    "traits": {
888                        "smithy.api#documentation": "<p>Whether the GitHub repository is to be a private repository.</p>",
889                        "smithy.api#required": {}
890                    }
891                },
892                "issuesEnabled": {
893                    "target": "com.amazonaws.codestar#RepositoryEnableIssues",
894                    "traits": {
895                        "smithy.api#documentation": "<p>Whether to enable issues for the GitHub repository.</p>",
896                        "smithy.api#required": {}
897                    }
898                },
899                "token": {
900                    "target": "com.amazonaws.codestar#GitHubPersonalToken",
901                    "traits": {
902                        "smithy.api#documentation": "<p>The GitHub user's personal access token for the GitHub repository.</p>",
903                        "smithy.api#required": {}
904                    }
905                }
906            },
907            "traits": {
908                "smithy.api#documentation": "<p>Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the\n      project request will be uploaded after project creation.</p>"
909            }
910        },
911        "com.amazonaws.codestar#GitHubPersonalToken": {
912            "type": "string",
913            "traits": {
914                "smithy.api#length": {
915                    "min": 1
916                },
917                "smithy.api#sensitive": {}
918            }
919        },
920        "com.amazonaws.codestar#InvalidNextTokenException": {
921            "type": "structure",
922            "members": {
923                "message": {
924                    "target": "com.amazonaws.codestar#Message"
925                }
926            },
927            "traits": {
928                "smithy.api#documentation": "<p>The next token is not valid.</p>",
929                "smithy.api#error": "client",
930                "smithy.api#httpError": 400
931            }
932        },
933        "com.amazonaws.codestar#InvalidServiceRoleException": {
934            "type": "structure",
935            "members": {
936                "message": {
937                    "target": "com.amazonaws.codestar#Message"
938                }
939            },
940            "traits": {
941                "smithy.api#documentation": "<p>The service role is not valid.</p>",
942                "smithy.api#error": "client",
943                "smithy.api#httpError": 400
944            }
945        },
946        "com.amazonaws.codestar#LastModifiedTimestamp": {
947            "type": "timestamp"
948        },
949        "com.amazonaws.codestar#LimitExceededException": {
950            "type": "structure",
951            "members": {
952                "message": {
953                    "target": "com.amazonaws.codestar#Message"
954                }
955            },
956            "traits": {
957                "smithy.api#documentation": "<p>A resource limit has been exceeded.</p>",
958                "smithy.api#error": "client",
959                "smithy.api#httpError": 400
960            }
961        },
962        "com.amazonaws.codestar#ListProjects": {
963            "type": "operation",
964            "input": {
965                "target": "com.amazonaws.codestar#ListProjectsRequest"
966            },
967            "output": {
968                "target": "com.amazonaws.codestar#ListProjectsResult"
969            },
970            "errors": [
971                {
972                    "target": "com.amazonaws.codestar#InvalidNextTokenException"
973                },
974                {
975                    "target": "com.amazonaws.codestar#ValidationException"
976                }
977            ],
978            "traits": {
979                "smithy.api#documentation": "<p>Lists all projects in AWS CodeStar associated with your AWS account.</p>"
980            }
981        },
982        "com.amazonaws.codestar#ListProjectsRequest": {
983            "type": "structure",
984            "members": {
985                "nextToken": {
986                    "target": "com.amazonaws.codestar#PaginationToken",
987                    "traits": {
988                        "smithy.api#documentation": "<p>The continuation token to be used to return the next set of results, if the results\n      cannot be returned in one response.</p>"
989                    }
990                },
991                "maxResults": {
992                    "target": "com.amazonaws.codestar#MaxResults",
993                    "traits": {
994                        "smithy.api#box": {},
995                        "smithy.api#documentation": "<p>The maximum amount of data that can be contained in a single set of results.</p>"
996                    }
997                }
998            }
999        },
1000        "com.amazonaws.codestar#ListProjectsResult": {
1001            "type": "structure",
1002            "members": {
1003                "projects": {
1004                    "target": "com.amazonaws.codestar#ProjectsList",
1005                    "traits": {
1006                        "smithy.api#documentation": "<p>A list of projects.</p>",
1007                        "smithy.api#required": {}
1008                    }
1009                },
1010                "nextToken": {
1011                    "target": "com.amazonaws.codestar#PaginationToken",
1012                    "traits": {
1013                        "smithy.api#documentation": "<p>The continuation token to use when requesting the next set of results, if there are\n      more results to be returned.</p>"
1014                    }
1015                }
1016            }
1017        },
1018        "com.amazonaws.codestar#ListResources": {
1019            "type": "operation",
1020            "input": {
1021                "target": "com.amazonaws.codestar#ListResourcesRequest"
1022            },
1023            "output": {
1024                "target": "com.amazonaws.codestar#ListResourcesResult"
1025            },
1026            "errors": [
1027                {
1028                    "target": "com.amazonaws.codestar#InvalidNextTokenException"
1029                },
1030                {
1031                    "target": "com.amazonaws.codestar#ProjectNotFoundException"
1032                },
1033                {
1034                    "target": "com.amazonaws.codestar#ValidationException"
1035                }
1036            ],
1037            "traits": {
1038                "smithy.api#documentation": "<p>Lists resources associated with a project in AWS CodeStar.</p>"
1039            }
1040        },
1041        "com.amazonaws.codestar#ListResourcesRequest": {
1042            "type": "structure",
1043            "members": {
1044                "projectId": {
1045                    "target": "com.amazonaws.codestar#ProjectId",
1046                    "traits": {
1047                        "smithy.api#documentation": "<p>The ID of the project.</p>",
1048                        "smithy.api#required": {}
1049                    }
1050                },
1051                "nextToken": {
1052                    "target": "com.amazonaws.codestar#PaginationToken",
1053                    "traits": {
1054                        "smithy.api#documentation": "<p>The continuation token for the next set of results, if the results cannot be returned\n      in one response.</p>"
1055                    }
1056                },
1057                "maxResults": {
1058                    "target": "com.amazonaws.codestar#MaxResults",
1059                    "traits": {
1060                        "smithy.api#box": {},
1061                        "smithy.api#documentation": "<p>The maximum amount of data that can be contained in a single set of results.</p>"
1062                    }
1063                }
1064            }
1065        },
1066        "com.amazonaws.codestar#ListResourcesResult": {
1067            "type": "structure",
1068            "members": {
1069                "resources": {
1070                    "target": "com.amazonaws.codestar#ResourcesResult",
1071                    "traits": {
1072                        "smithy.api#documentation": "<p>An array of resources associated with the project. </p>"
1073                    }
1074                },
1075                "nextToken": {
1076                    "target": "com.amazonaws.codestar#PaginationToken",
1077                    "traits": {
1078                        "smithy.api#documentation": "<p>The continuation token to use when requesting the next set of results, if there are\n      more results to be returned.</p>"
1079                    }
1080                }
1081            }
1082        },
1083        "com.amazonaws.codestar#ListTagsForProject": {
1084            "type": "operation",
1085            "input": {
1086                "target": "com.amazonaws.codestar#ListTagsForProjectRequest"
1087            },
1088            "output": {
1089                "target": "com.amazonaws.codestar#ListTagsForProjectResult"
1090            },
1091            "errors": [
1092                {
1093                    "target": "com.amazonaws.codestar#InvalidNextTokenException"
1094                },
1095                {
1096                    "target": "com.amazonaws.codestar#ProjectNotFoundException"
1097                },
1098                {
1099                    "target": "com.amazonaws.codestar#ValidationException"
1100                }
1101            ],
1102            "traits": {
1103                "smithy.api#documentation": "<p>Gets the tags for a project.</p>"
1104            }
1105        },
1106        "com.amazonaws.codestar#ListTagsForProjectRequest": {
1107            "type": "structure",
1108            "members": {
1109                "id": {
1110                    "target": "com.amazonaws.codestar#ProjectId",
1111                    "traits": {
1112                        "smithy.api#documentation": "<p>The ID of the project to get tags for.</p>",
1113                        "smithy.api#required": {}
1114                    }
1115                },
1116                "nextToken": {
1117                    "target": "com.amazonaws.codestar#PaginationToken",
1118                    "traits": {
1119                        "smithy.api#documentation": "<p>Reserved for future use.</p>"
1120                    }
1121                },
1122                "maxResults": {
1123                    "target": "com.amazonaws.codestar#MaxResults",
1124                    "traits": {
1125                        "smithy.api#box": {},
1126                        "smithy.api#documentation": "<p>Reserved for future use.</p>"
1127                    }
1128                }
1129            }
1130        },
1131        "com.amazonaws.codestar#ListTagsForProjectResult": {
1132            "type": "structure",
1133            "members": {
1134                "tags": {
1135                    "target": "com.amazonaws.codestar#Tags",
1136                    "traits": {
1137                        "smithy.api#documentation": "<p>The tags for the project.</p>"
1138                    }
1139                },
1140                "nextToken": {
1141                    "target": "com.amazonaws.codestar#PaginationToken",
1142                    "traits": {
1143                        "smithy.api#documentation": "<p>Reserved for future use.</p>"
1144                    }
1145                }
1146            }
1147        },
1148        "com.amazonaws.codestar#ListTeamMembers": {
1149            "type": "operation",
1150            "input": {
1151                "target": "com.amazonaws.codestar#ListTeamMembersRequest"
1152            },
1153            "output": {
1154                "target": "com.amazonaws.codestar#ListTeamMembersResult"
1155            },
1156            "errors": [
1157                {
1158                    "target": "com.amazonaws.codestar#InvalidNextTokenException"
1159                },
1160                {
1161                    "target": "com.amazonaws.codestar#ProjectNotFoundException"
1162                },
1163                {
1164                    "target": "com.amazonaws.codestar#ValidationException"
1165                }
1166            ],
1167            "traits": {
1168                "smithy.api#documentation": "<p>Lists all team members associated with a project.</p>"
1169            }
1170        },
1171        "com.amazonaws.codestar#ListTeamMembersRequest": {
1172            "type": "structure",
1173            "members": {
1174                "projectId": {
1175                    "target": "com.amazonaws.codestar#ProjectId",
1176                    "traits": {
1177                        "smithy.api#documentation": "<p>The ID of the project for which you want to list team members.</p>",
1178                        "smithy.api#required": {}
1179                    }
1180                },
1181                "nextToken": {
1182                    "target": "com.amazonaws.codestar#PaginationToken",
1183                    "traits": {
1184                        "smithy.api#documentation": "<p>The continuation token for the next set of results, if the results cannot be returned\n      in one response.</p>"
1185                    }
1186                },
1187                "maxResults": {
1188                    "target": "com.amazonaws.codestar#MaxResults",
1189                    "traits": {
1190                        "smithy.api#box": {},
1191                        "smithy.api#documentation": "<p>The maximum number of team members you want returned in a response.</p>"
1192                    }
1193                }
1194            }
1195        },
1196        "com.amazonaws.codestar#ListTeamMembersResult": {
1197            "type": "structure",
1198            "members": {
1199                "teamMembers": {
1200                    "target": "com.amazonaws.codestar#TeamMemberResult",
1201                    "traits": {
1202                        "smithy.api#documentation": "<p>A list of team member objects for the project.</p>",
1203                        "smithy.api#required": {}
1204                    }
1205                },
1206                "nextToken": {
1207                    "target": "com.amazonaws.codestar#PaginationToken",
1208                    "traits": {
1209                        "smithy.api#documentation": "<p>The continuation token to use when requesting the next set of results, if there are\n      more results to be returned.</p>"
1210                    }
1211                }
1212            }
1213        },
1214        "com.amazonaws.codestar#ListUserProfiles": {
1215            "type": "operation",
1216            "input": {
1217                "target": "com.amazonaws.codestar#ListUserProfilesRequest"
1218            },
1219            "output": {
1220                "target": "com.amazonaws.codestar#ListUserProfilesResult"
1221            },
1222            "errors": [
1223                {
1224                    "target": "com.amazonaws.codestar#InvalidNextTokenException"
1225                },
1226                {
1227                    "target": "com.amazonaws.codestar#ValidationException"
1228                }
1229            ],
1230            "traits": {
1231                "smithy.api#documentation": "<p>Lists all the user profiles configured for your AWS account in AWS CodeStar.</p>"
1232            }
1233        },
1234        "com.amazonaws.codestar#ListUserProfilesRequest": {
1235            "type": "structure",
1236            "members": {
1237                "nextToken": {
1238                    "target": "com.amazonaws.codestar#PaginationToken",
1239                    "traits": {
1240                        "smithy.api#documentation": "<p>The continuation token for the next set of results, if the results cannot be returned\n      in one response.</p>"
1241                    }
1242                },
1243                "maxResults": {
1244                    "target": "com.amazonaws.codestar#MaxResults",
1245                    "traits": {
1246                        "smithy.api#box": {},
1247                        "smithy.api#documentation": "<p>The maximum number of results to return in a response.</p>"
1248                    }
1249                }
1250            }
1251        },
1252        "com.amazonaws.codestar#ListUserProfilesResult": {
1253            "type": "structure",
1254            "members": {
1255                "userProfiles": {
1256                    "target": "com.amazonaws.codestar#UserProfilesList",
1257                    "traits": {
1258                        "smithy.api#documentation": "<p>All the user profiles configured in AWS CodeStar for an AWS account.</p>",
1259                        "smithy.api#required": {}
1260                    }
1261                },
1262                "nextToken": {
1263                    "target": "com.amazonaws.codestar#PaginationToken",
1264                    "traits": {
1265                        "smithy.api#documentation": "<p>The continuation token to use when requesting the next set of results, if there are\n      more results to be returned.</p>"
1266                    }
1267                }
1268            }
1269        },
1270        "com.amazonaws.codestar#MaxResults": {
1271            "type": "integer",
1272            "traits": {
1273                "smithy.api#range": {
1274                    "min": 1,
1275                    "max": 100
1276                }
1277            }
1278        },
1279        "com.amazonaws.codestar#Message": {
1280            "type": "string",
1281            "traits": {
1282                "smithy.api#length": {
1283                    "min": 1
1284                }
1285            }
1286        },
1287        "com.amazonaws.codestar#PaginationToken": {
1288            "type": "string",
1289            "traits": {
1290                "smithy.api#length": {
1291                    "min": 1,
1292                    "max": 512
1293                },
1294                "smithy.api#pattern": "^[\\w/+=]+$"
1295            }
1296        },
1297        "com.amazonaws.codestar#ProjectAlreadyExistsException": {
1298            "type": "structure",
1299            "members": {
1300                "message": {
1301                    "target": "com.amazonaws.codestar#Message"
1302                }
1303            },
1304            "traits": {
1305                "smithy.api#documentation": "<p>An AWS CodeStar project with the same ID already exists in this region for the AWS account.\n      AWS CodeStar project IDs must be unique within a region for the AWS account.</p>",
1306                "smithy.api#error": "client",
1307                "smithy.api#httpError": 400
1308            }
1309        },
1310        "com.amazonaws.codestar#ProjectArn": {
1311            "type": "string",
1312            "traits": {
1313                "smithy.api#pattern": "^arn:aws[^:\\s]*:codestar:[^:\\s]+:[0-9]{12}:project\\/[a-z]([a-z0-9|-])+$"
1314            }
1315        },
1316        "com.amazonaws.codestar#ProjectConfigurationException": {
1317            "type": "structure",
1318            "members": {
1319                "message": {
1320                    "target": "com.amazonaws.codestar#Message"
1321                }
1322            },
1323            "traits": {
1324                "smithy.api#documentation": "<p>Project configuration information is required but not specified.</p>",
1325                "smithy.api#error": "client",
1326                "smithy.api#httpError": 400
1327            }
1328        },
1329        "com.amazonaws.codestar#ProjectCreationFailedException": {
1330            "type": "structure",
1331            "members": {
1332                "message": {
1333                    "target": "com.amazonaws.codestar#Message"
1334                }
1335            },
1336            "traits": {
1337                "smithy.api#documentation": "<p>The project creation request was valid, but a nonspecific exception or error occurred\n      during project creation. The project could not be created in AWS CodeStar.</p>",
1338                "smithy.api#error": "client",
1339                "smithy.api#httpError": 400
1340            }
1341        },
1342        "com.amazonaws.codestar#ProjectDescription": {
1343            "type": "string",
1344            "traits": {
1345                "smithy.api#length": {
1346                    "min": 0,
1347                    "max": 1024
1348                },
1349                "smithy.api#pattern": "^$|^\\S(.*\\S)?$",
1350                "smithy.api#sensitive": {}
1351            }
1352        },
1353        "com.amazonaws.codestar#ProjectId": {
1354            "type": "string",
1355            "traits": {
1356                "smithy.api#length": {
1357                    "min": 2,
1358                    "max": 15
1359                },
1360                "smithy.api#pattern": "^[a-z][a-z0-9-]+$"
1361            }
1362        },
1363        "com.amazonaws.codestar#ProjectName": {
1364            "type": "string",
1365            "traits": {
1366                "smithy.api#length": {
1367                    "min": 1,
1368                    "max": 100
1369                },
1370                "smithy.api#pattern": "^\\S(.*\\S)?$",
1371                "smithy.api#sensitive": {}
1372            }
1373        },
1374        "com.amazonaws.codestar#ProjectNotFoundException": {
1375            "type": "structure",
1376            "members": {
1377                "message": {
1378                    "target": "com.amazonaws.codestar#Message"
1379                }
1380            },
1381            "traits": {
1382                "smithy.api#documentation": "<p>The specified AWS CodeStar project was not found.</p>",
1383                "smithy.api#error": "client",
1384                "smithy.api#httpError": 404
1385            }
1386        },
1387        "com.amazonaws.codestar#ProjectStatus": {
1388            "type": "structure",
1389            "members": {
1390                "state": {
1391                    "target": "com.amazonaws.codestar#State",
1392                    "traits": {
1393                        "smithy.api#documentation": "<p>The phase of completion for a project creation or deletion.</p>",
1394                        "smithy.api#required": {}
1395                    }
1396                },
1397                "reason": {
1398                    "target": "com.amazonaws.codestar#Reason",
1399                    "traits": {
1400                        "smithy.api#documentation": "<p>In the case of a project creation or deletion failure, a reason for the\n      failure.</p>"
1401                    }
1402                }
1403            },
1404            "traits": {
1405                "smithy.api#documentation": "<p>An indication of whether a project creation or deletion is failed or\n      successful.</p>"
1406            }
1407        },
1408        "com.amazonaws.codestar#ProjectSummary": {
1409            "type": "structure",
1410            "members": {
1411                "projectId": {
1412                    "target": "com.amazonaws.codestar#ProjectId",
1413                    "traits": {
1414                        "smithy.api#documentation": "<p>The ID of the project.</p>"
1415                    }
1416                },
1417                "projectArn": {
1418                    "target": "com.amazonaws.codestar#ProjectArn",
1419                    "traits": {
1420                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the project.</p>"
1421                    }
1422                }
1423            },
1424            "traits": {
1425                "smithy.api#documentation": "<p>Information about the metadata for a project.</p>"
1426            }
1427        },
1428        "com.amazonaws.codestar#ProjectTemplateId": {
1429            "type": "string",
1430            "traits": {
1431                "smithy.api#length": {
1432                    "min": 1
1433                },
1434                "smithy.api#pattern": "^arn:aws[^:\\s]{0,5}:codestar:[^:\\s]+::project-template(\\/(github|codecommit))?\\/[a-z0-9-]+$"
1435            }
1436        },
1437        "com.amazonaws.codestar#ProjectsList": {
1438            "type": "list",
1439            "member": {
1440                "target": "com.amazonaws.codestar#ProjectSummary"
1441            }
1442        },
1443        "com.amazonaws.codestar#Reason": {
1444            "type": "string",
1445            "traits": {
1446                "smithy.api#length": {
1447                    "min": 0,
1448                    "max": 1024
1449                },
1450                "smithy.api#pattern": "^$|^\\S(.*\\S)?$"
1451            }
1452        },
1453        "com.amazonaws.codestar#RemoteAccessAllowed": {
1454            "type": "boolean"
1455        },
1456        "com.amazonaws.codestar#RepositoryDescription": {
1457            "type": "string",
1458            "traits": {
1459                "smithy.api#length": {
1460                    "min": 1,
1461                    "max": 1000
1462                },
1463                "smithy.api#pattern": "^\\S(.*\\S)?$"
1464            }
1465        },
1466        "com.amazonaws.codestar#RepositoryEnableIssues": {
1467            "type": "boolean"
1468        },
1469        "com.amazonaws.codestar#RepositoryIsPrivate": {
1470            "type": "boolean"
1471        },
1472        "com.amazonaws.codestar#RepositoryName": {
1473            "type": "string",
1474            "traits": {
1475                "smithy.api#length": {
1476                    "min": 1,
1477                    "max": 100
1478                },
1479                "smithy.api#pattern": "^\\S[\\w.-]*$"
1480            }
1481        },
1482        "com.amazonaws.codestar#RepositoryOwner": {
1483            "type": "string",
1484            "traits": {
1485                "smithy.api#length": {
1486                    "min": 1,
1487                    "max": 100
1488                },
1489                "smithy.api#pattern": "^\\S(.*\\S)?$"
1490            }
1491        },
1492        "com.amazonaws.codestar#RepositoryType": {
1493            "type": "string",
1494            "traits": {
1495                "smithy.api#pattern": "^(user|organization|User|Organization)$"
1496            }
1497        },
1498        "com.amazonaws.codestar#Resource": {
1499            "type": "structure",
1500            "members": {
1501                "id": {
1502                    "target": "com.amazonaws.codestar#ResourceId",
1503                    "traits": {
1504                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource.</p>",
1505                        "smithy.api#required": {}
1506                    }
1507                }
1508            },
1509            "traits": {
1510                "smithy.api#documentation": "<p>Information about a resource for a project.</p>"
1511            }
1512        },
1513        "com.amazonaws.codestar#ResourceId": {
1514            "type": "string",
1515            "traits": {
1516                "smithy.api#length": {
1517                    "min": 11
1518                },
1519                "smithy.api#pattern": "^arn\\:aws\\:\\S.*\\:.*"
1520            }
1521        },
1522        "com.amazonaws.codestar#ResourcesResult": {
1523            "type": "list",
1524            "member": {
1525                "target": "com.amazonaws.codestar#Resource"
1526            }
1527        },
1528        "com.amazonaws.codestar#Role": {
1529            "type": "string",
1530            "traits": {
1531                "smithy.api#pattern": "^(Owner|Viewer|Contributor)$"
1532            }
1533        },
1534        "com.amazonaws.codestar#RoleArn": {
1535            "type": "string",
1536            "traits": {
1537                "smithy.api#length": {
1538                    "min": 1,
1539                    "max": 1224
1540                }
1541            }
1542        },
1543        "com.amazonaws.codestar#S3Location": {
1544            "type": "structure",
1545            "members": {
1546                "bucketName": {
1547                    "target": "com.amazonaws.codestar#BucketName",
1548                    "traits": {
1549                        "smithy.api#documentation": "<p>The Amazon S3 bucket name where the source code files provided with the project\n      request are stored.</p>"
1550                    }
1551                },
1552                "bucketKey": {
1553                    "target": "com.amazonaws.codestar#BucketKey",
1554                    "traits": {
1555                        "smithy.api#documentation": "<p>The Amazon S3 object key where the source code files provided with the project\n      request are stored.</p>"
1556                    }
1557                }
1558            },
1559            "traits": {
1560                "smithy.api#documentation": "<p>The Amazon S3 location where the source code files provided with the project\n      request are stored.</p>"
1561            }
1562        },
1563        "com.amazonaws.codestar#SourceCode": {
1564            "type": "list",
1565            "member": {
1566                "target": "com.amazonaws.codestar#Code"
1567            }
1568        },
1569        "com.amazonaws.codestar#SshPublicKey": {
1570            "type": "string",
1571            "traits": {
1572                "smithy.api#length": {
1573                    "min": 0,
1574                    "max": 16384
1575                },
1576                "smithy.api#pattern": "^[\\t\\r\\n\\u0020-\\u00FF]*$"
1577            }
1578        },
1579        "com.amazonaws.codestar#StackId": {
1580            "type": "string",
1581            "traits": {
1582                "smithy.api#pattern": "^arn:aws[^:\\s]*:cloudformation:[^:\\s]+:[0-9]{12}:stack\\/[^:\\s]+\\/[^:\\s]+$"
1583            }
1584        },
1585        "com.amazonaws.codestar#State": {
1586            "type": "string",
1587            "traits": {
1588                "smithy.api#pattern": "^(CreateInProgress|CreateComplete|CreateFailed|DeleteComplete|DeleteFailed|DeleteInProgress|UpdateComplete|UpdateInProgress|UpdateFailed|Unknown)$"
1589            }
1590        },
1591        "com.amazonaws.codestar#TagKey": {
1592            "type": "string",
1593            "traits": {
1594                "smithy.api#length": {
1595                    "min": 1,
1596                    "max": 128
1597                },
1598                "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
1599            }
1600        },
1601        "com.amazonaws.codestar#TagKeys": {
1602            "type": "list",
1603            "member": {
1604                "target": "com.amazonaws.codestar#TagKey"
1605            }
1606        },
1607        "com.amazonaws.codestar#TagProject": {
1608            "type": "operation",
1609            "input": {
1610                "target": "com.amazonaws.codestar#TagProjectRequest"
1611            },
1612            "output": {
1613                "target": "com.amazonaws.codestar#TagProjectResult"
1614            },
1615            "errors": [
1616                {
1617                    "target": "com.amazonaws.codestar#ConcurrentModificationException"
1618                },
1619                {
1620                    "target": "com.amazonaws.codestar#LimitExceededException"
1621                },
1622                {
1623                    "target": "com.amazonaws.codestar#ProjectNotFoundException"
1624                },
1625                {
1626                    "target": "com.amazonaws.codestar#ValidationException"
1627                }
1628            ],
1629            "traits": {
1630                "smithy.api#documentation": "<p>Adds tags to a project.</p>"
1631            }
1632        },
1633        "com.amazonaws.codestar#TagProjectRequest": {
1634            "type": "structure",
1635            "members": {
1636                "id": {
1637                    "target": "com.amazonaws.codestar#ProjectId",
1638                    "traits": {
1639                        "smithy.api#documentation": "<p>The ID of the project you want to add a tag to.</p>",
1640                        "smithy.api#required": {}
1641                    }
1642                },
1643                "tags": {
1644                    "target": "com.amazonaws.codestar#Tags",
1645                    "traits": {
1646                        "smithy.api#documentation": "<p>The tags you want to add to the project.</p>",
1647                        "smithy.api#required": {}
1648                    }
1649                }
1650            }
1651        },
1652        "com.amazonaws.codestar#TagProjectResult": {
1653            "type": "structure",
1654            "members": {
1655                "tags": {
1656                    "target": "com.amazonaws.codestar#Tags",
1657                    "traits": {
1658                        "smithy.api#documentation": "<p>The tags for the project.</p>"
1659                    }
1660                }
1661            }
1662        },
1663        "com.amazonaws.codestar#TagValue": {
1664            "type": "string",
1665            "traits": {
1666                "smithy.api#length": {
1667                    "min": 0,
1668                    "max": 256
1669                },
1670                "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
1671            }
1672        },
1673        "com.amazonaws.codestar#Tags": {
1674            "type": "map",
1675            "key": {
1676                "target": "com.amazonaws.codestar#TagKey"
1677            },
1678            "value": {
1679                "target": "com.amazonaws.codestar#TagValue"
1680            }
1681        },
1682        "com.amazonaws.codestar#TeamMember": {
1683            "type": "structure",
1684            "members": {
1685                "userArn": {
1686                    "target": "com.amazonaws.codestar#UserArn",
1687                    "traits": {
1688                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the user in IAM.</p>",
1689                        "smithy.api#required": {}
1690                    }
1691                },
1692                "projectRole": {
1693                    "target": "com.amazonaws.codestar#Role",
1694                    "traits": {
1695                        "smithy.api#documentation": "<p>The role assigned to the user in the project. Project roles have different levels of\n      access. For more information, see <a href=\"http://docs.aws.amazon.com/codestar/latest/userguide/working-with-teams.html\">Working with\n        Teams</a> in the <i>AWS CodeStar User Guide</i>. </p>",
1696                        "smithy.api#required": {}
1697                    }
1698                },
1699                "remoteAccessAllowed": {
1700                    "target": "com.amazonaws.codestar#RemoteAccessAllowed",
1701                    "traits": {
1702                        "smithy.api#box": {},
1703                        "smithy.api#documentation": "<p>Whether the user is allowed to remotely access project resources using an SSH\n      public/private key pair.</p>"
1704                    }
1705                }
1706            },
1707            "traits": {
1708                "smithy.api#documentation": "<p>Information about a team member in a project.</p>"
1709            }
1710        },
1711        "com.amazonaws.codestar#TeamMemberAlreadyAssociatedException": {
1712            "type": "structure",
1713            "members": {
1714                "message": {
1715                    "target": "com.amazonaws.codestar#Message"
1716                }
1717            },
1718            "traits": {
1719                "smithy.api#documentation": "<p>The team member is already associated with a role in this project.</p>",
1720                "smithy.api#error": "client",
1721                "smithy.api#httpError": 400
1722            }
1723        },
1724        "com.amazonaws.codestar#TeamMemberNotFoundException": {
1725            "type": "structure",
1726            "members": {
1727                "message": {
1728                    "target": "com.amazonaws.codestar#Message"
1729                }
1730            },
1731            "traits": {
1732                "smithy.api#documentation": "<p>The specified team member was not found.</p>",
1733                "smithy.api#error": "client",
1734                "smithy.api#httpError": 404
1735            }
1736        },
1737        "com.amazonaws.codestar#TeamMemberResult": {
1738            "type": "list",
1739            "member": {
1740                "target": "com.amazonaws.codestar#TeamMember"
1741            }
1742        },
1743        "com.amazonaws.codestar#TemplateParameterKey": {
1744            "type": "string",
1745            "traits": {
1746                "smithy.api#length": {
1747                    "min": 1,
1748                    "max": 30
1749                },
1750                "smithy.api#pattern": "^\\S(.*\\S)?$"
1751            }
1752        },
1753        "com.amazonaws.codestar#TemplateParameterMap": {
1754            "type": "map",
1755            "key": {
1756                "target": "com.amazonaws.codestar#TemplateParameterKey"
1757            },
1758            "value": {
1759                "target": "com.amazonaws.codestar#TemplateParameterValue"
1760            },
1761            "traits": {
1762                "smithy.api#length": {
1763                    "min": 0,
1764                    "max": 25
1765                }
1766            }
1767        },
1768        "com.amazonaws.codestar#TemplateParameterValue": {
1769            "type": "string",
1770            "traits": {
1771                "smithy.api#length": {
1772                    "min": 1,
1773                    "max": 100
1774                },
1775                "smithy.api#pattern": "^\\S(.*\\S)?$",
1776                "smithy.api#sensitive": {}
1777            }
1778        },
1779        "com.amazonaws.codestar#Toolchain": {
1780            "type": "structure",
1781            "members": {
1782                "source": {
1783                    "target": "com.amazonaws.codestar#ToolchainSource",
1784                    "traits": {
1785                        "smithy.api#documentation": "<p>The Amazon S3 location where the toolchain template file provided with the\n      project request is stored. AWS CodeStar retrieves the file during project creation.</p>",
1786                        "smithy.api#required": {}
1787                    }
1788                },
1789                "roleArn": {
1790                    "target": "com.amazonaws.codestar#RoleArn",
1791                    "traits": {
1792                        "smithy.api#documentation": "<p>The service role ARN for AWS CodeStar to use for the toolchain template during stack\n      provisioning.</p>"
1793                    }
1794                },
1795                "stackParameters": {
1796                    "target": "com.amazonaws.codestar#TemplateParameterMap",
1797                    "traits": {
1798                        "smithy.api#documentation": "<p>The list of parameter overrides to be passed into the toolchain template during stack\n      provisioning, if any.</p>"
1799                    }
1800                }
1801            },
1802            "traits": {
1803                "smithy.api#documentation": "<p>The toolchain template file provided with the project request. AWS CodeStar uses\n      the template to provision the toolchain stack in AWS CloudFormation.</p>"
1804            }
1805        },
1806        "com.amazonaws.codestar#ToolchainSource": {
1807            "type": "structure",
1808            "members": {
1809                "s3": {
1810                    "target": "com.amazonaws.codestar#S3Location",
1811                    "traits": {
1812                        "smithy.api#documentation": "<p>The Amazon S3 bucket where the toolchain template file provided with the project\n      request is stored.</p>",
1813                        "smithy.api#required": {}
1814                    }
1815                }
1816            },
1817            "traits": {
1818                "smithy.api#documentation": "<p>The Amazon S3 location where the toolchain template file provided with the\n      project request is stored. AWS CodeStar retrieves the file during project creation.</p>"
1819            }
1820        },
1821        "com.amazonaws.codestar#UntagProject": {
1822            "type": "operation",
1823            "input": {
1824                "target": "com.amazonaws.codestar#UntagProjectRequest"
1825            },
1826            "output": {
1827                "target": "com.amazonaws.codestar#UntagProjectResult"
1828            },
1829            "errors": [
1830                {
1831                    "target": "com.amazonaws.codestar#ConcurrentModificationException"
1832                },
1833                {
1834                    "target": "com.amazonaws.codestar#LimitExceededException"
1835                },
1836                {
1837                    "target": "com.amazonaws.codestar#ProjectNotFoundException"
1838                },
1839                {
1840                    "target": "com.amazonaws.codestar#ValidationException"
1841                }
1842            ],
1843            "traits": {
1844                "smithy.api#documentation": "<p>Removes tags from a project.</p>"
1845            }
1846        },
1847        "com.amazonaws.codestar#UntagProjectRequest": {
1848            "type": "structure",
1849            "members": {
1850                "id": {
1851                    "target": "com.amazonaws.codestar#ProjectId",
1852                    "traits": {
1853                        "smithy.api#documentation": "<p>The ID of the project to remove tags from.</p>",
1854                        "smithy.api#required": {}
1855                    }
1856                },
1857                "tags": {
1858                    "target": "com.amazonaws.codestar#TagKeys",
1859                    "traits": {
1860                        "smithy.api#documentation": "<p>The tags to remove from the project.</p>",
1861                        "smithy.api#required": {}
1862                    }
1863                }
1864            }
1865        },
1866        "com.amazonaws.codestar#UntagProjectResult": {
1867            "type": "structure",
1868            "members": {}
1869        },
1870        "com.amazonaws.codestar#UpdateProject": {
1871            "type": "operation",
1872            "input": {
1873                "target": "com.amazonaws.codestar#UpdateProjectRequest"
1874            },
1875            "output": {
1876                "target": "com.amazonaws.codestar#UpdateProjectResult"
1877            },
1878            "errors": [
1879                {
1880                    "target": "com.amazonaws.codestar#ProjectNotFoundException"
1881                },
1882                {
1883                    "target": "com.amazonaws.codestar#ValidationException"
1884                }
1885            ],
1886            "traits": {
1887                "smithy.api#documentation": "<p>Updates a project in AWS CodeStar.</p>"
1888            }
1889        },
1890        "com.amazonaws.codestar#UpdateProjectRequest": {
1891            "type": "structure",
1892            "members": {
1893                "id": {
1894                    "target": "com.amazonaws.codestar#ProjectId",
1895                    "traits": {
1896                        "smithy.api#documentation": "<p>The ID of the project you want to update.</p>",
1897                        "smithy.api#required": {}
1898                    }
1899                },
1900                "name": {
1901                    "target": "com.amazonaws.codestar#ProjectName",
1902                    "traits": {
1903                        "smithy.api#documentation": "<p>The name of the project you want to update.</p>"
1904                    }
1905                },
1906                "description": {
1907                    "target": "com.amazonaws.codestar#ProjectDescription",
1908                    "traits": {
1909                        "smithy.api#documentation": "<p>The description of the project, if any.</p>"
1910                    }
1911                }
1912            }
1913        },
1914        "com.amazonaws.codestar#UpdateProjectResult": {
1915            "type": "structure",
1916            "members": {}
1917        },
1918        "com.amazonaws.codestar#UpdateTeamMember": {
1919            "type": "operation",
1920            "input": {
1921                "target": "com.amazonaws.codestar#UpdateTeamMemberRequest"
1922            },
1923            "output": {
1924                "target": "com.amazonaws.codestar#UpdateTeamMemberResult"
1925            },
1926            "errors": [
1927                {
1928                    "target": "com.amazonaws.codestar#ConcurrentModificationException"
1929                },
1930                {
1931                    "target": "com.amazonaws.codestar#InvalidServiceRoleException"
1932                },
1933                {
1934                    "target": "com.amazonaws.codestar#LimitExceededException"
1935                },
1936                {
1937                    "target": "com.amazonaws.codestar#ProjectConfigurationException"
1938                },
1939                {
1940                    "target": "com.amazonaws.codestar#ProjectNotFoundException"
1941                },
1942                {
1943                    "target": "com.amazonaws.codestar#TeamMemberNotFoundException"
1944                },
1945                {
1946                    "target": "com.amazonaws.codestar#ValidationException"
1947                }
1948            ],
1949            "traits": {
1950                "smithy.api#documentation": "<p>Updates a team member's attributes in an AWS CodeStar project. For example, you can change a\n      team member's role in the project, or change whether they have remote access to project\n      resources.</p>"
1951            }
1952        },
1953        "com.amazonaws.codestar#UpdateTeamMemberRequest": {
1954            "type": "structure",
1955            "members": {
1956                "projectId": {
1957                    "target": "com.amazonaws.codestar#ProjectId",
1958                    "traits": {
1959                        "smithy.api#documentation": "<p>The ID of the project.</p>",
1960                        "smithy.api#required": {}
1961                    }
1962                },
1963                "userArn": {
1964                    "target": "com.amazonaws.codestar#UserArn",
1965                    "traits": {
1966                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the user for whom you want to change team membership\n      attributes.</p>",
1967                        "smithy.api#required": {}
1968                    }
1969                },
1970                "projectRole": {
1971                    "target": "com.amazonaws.codestar#Role",
1972                    "traits": {
1973                        "smithy.api#documentation": "<p>The role assigned to the user in the project. Project roles have different levels of\n      access. For more information, see <a href=\"http://docs.aws.amazon.com/codestar/latest/userguide/working-with-teams.html\">Working with\n        Teams</a> in the <i>AWS CodeStar User Guide</i>.</p>"
1974                    }
1975                },
1976                "remoteAccessAllowed": {
1977                    "target": "com.amazonaws.codestar#RemoteAccessAllowed",
1978                    "traits": {
1979                        "smithy.api#box": {},
1980                        "smithy.api#documentation": "<p>Whether a team member is allowed to remotely access project resources using the SSH\n      public key associated with the user's profile. Even if this is set to True, the user must\n      associate a public key with their profile before the user can access resources.</p>"
1981                    }
1982                }
1983            }
1984        },
1985        "com.amazonaws.codestar#UpdateTeamMemberResult": {
1986            "type": "structure",
1987            "members": {
1988                "userArn": {
1989                    "target": "com.amazonaws.codestar#UserArn",
1990                    "traits": {
1991                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the user whose team membership attributes were\n      updated.</p>"
1992                    }
1993                },
1994                "projectRole": {
1995                    "target": "com.amazonaws.codestar#Role",
1996                    "traits": {
1997                        "smithy.api#documentation": "<p>The project role granted to the user.</p>"
1998                    }
1999                },
2000                "remoteAccessAllowed": {
2001                    "target": "com.amazonaws.codestar#RemoteAccessAllowed",
2002                    "traits": {
2003                        "smithy.api#box": {},
2004                        "smithy.api#documentation": "<p>Whether a team member is allowed to remotely access project resources using the SSH\n      public key associated with the user's profile.</p>"
2005                    }
2006                }
2007            }
2008        },
2009        "com.amazonaws.codestar#UpdateUserProfile": {
2010            "type": "operation",
2011            "input": {
2012                "target": "com.amazonaws.codestar#UpdateUserProfileRequest"
2013            },
2014            "output": {
2015                "target": "com.amazonaws.codestar#UpdateUserProfileResult"
2016            },
2017            "errors": [
2018                {
2019                    "target": "com.amazonaws.codestar#UserProfileNotFoundException"
2020                },
2021                {
2022                    "target": "com.amazonaws.codestar#ValidationException"
2023                }
2024            ],
2025            "traits": {
2026                "smithy.api#documentation": "<p>Updates a user's profile in AWS CodeStar. The user profile is not project-specific.\n      Information in the user profile is displayed wherever the user's information appears to other\n      users in AWS CodeStar. </p>"
2027            }
2028        },
2029        "com.amazonaws.codestar#UpdateUserProfileRequest": {
2030            "type": "structure",
2031            "members": {
2032                "userArn": {
2033                    "target": "com.amazonaws.codestar#UserArn",
2034                    "traits": {
2035                        "smithy.api#documentation": "<p>The name that will be displayed as the friendly name for the user in AWS\n      CodeStar.</p>",
2036                        "smithy.api#required": {}
2037                    }
2038                },
2039                "displayName": {
2040                    "target": "com.amazonaws.codestar#UserProfileDisplayName",
2041                    "traits": {
2042                        "smithy.api#documentation": "<p>The name that is displayed as the friendly name for the user in AWS CodeStar.</p>"
2043                    }
2044                },
2045                "emailAddress": {
2046                    "target": "com.amazonaws.codestar#Email",
2047                    "traits": {
2048                        "smithy.api#documentation": "<p>The email address that is displayed as part of the user's profile in AWS\n      CodeStar.</p>"
2049                    }
2050                },
2051                "sshPublicKey": {
2052                    "target": "com.amazonaws.codestar#SshPublicKey",
2053                    "traits": {
2054                        "smithy.api#documentation": "<p>The SSH public key associated with the user in AWS CodeStar. If a project owner allows the\n      user remote access to project resources, this public key will be used along with the user's\n      private key for SSH access.</p>"
2055                    }
2056                }
2057            }
2058        },
2059        "com.amazonaws.codestar#UpdateUserProfileResult": {
2060            "type": "structure",
2061            "members": {
2062                "userArn": {
2063                    "target": "com.amazonaws.codestar#UserArn",
2064                    "traits": {
2065                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the user in IAM.</p>",
2066                        "smithy.api#required": {}
2067                    }
2068                },
2069                "displayName": {
2070                    "target": "com.amazonaws.codestar#UserProfileDisplayName",
2071                    "traits": {
2072                        "smithy.api#documentation": "<p>The name that is displayed as the friendly name for the user in AWS CodeStar.</p>"
2073                    }
2074                },
2075                "emailAddress": {
2076                    "target": "com.amazonaws.codestar#Email",
2077                    "traits": {
2078                        "smithy.api#documentation": "<p>The email address that is displayed as part of the user's profile in AWS\n      CodeStar.</p>"
2079                    }
2080                },
2081                "sshPublicKey": {
2082                    "target": "com.amazonaws.codestar#SshPublicKey",
2083                    "traits": {
2084                        "smithy.api#documentation": "<p>The SSH public key associated with the user in AWS CodeStar. This is the public portion of the\n      public/private keypair the user can use to access project resources if a project owner allows\n      the user remote access to those resources.</p>"
2085                    }
2086                },
2087                "createdTimestamp": {
2088                    "target": "com.amazonaws.codestar#CreatedTimestamp",
2089                    "traits": {
2090                        "smithy.api#documentation": "<p>The date the user profile was created, in timestamp format.</p>"
2091                    }
2092                },
2093                "lastModifiedTimestamp": {
2094                    "target": "com.amazonaws.codestar#LastModifiedTimestamp",
2095                    "traits": {
2096                        "smithy.api#documentation": "<p>The date the user profile was last modified, in timestamp format.</p>"
2097                    }
2098                }
2099            }
2100        },
2101        "com.amazonaws.codestar#UserArn": {
2102            "type": "string",
2103            "traits": {
2104                "smithy.api#length": {
2105                    "min": 32,
2106                    "max": 95
2107                },
2108                "smithy.api#pattern": "^arn:aws:iam::\\d{12}:user(?:(\\u002F)|(\\u002F[\\u0021-\\u007E]+\\u002F))[\\w+=,.@-]+$"
2109            }
2110        },
2111        "com.amazonaws.codestar#UserProfileAlreadyExistsException": {
2112            "type": "structure",
2113            "members": {
2114                "message": {
2115                    "target": "com.amazonaws.codestar#Message"
2116                }
2117            },
2118            "traits": {
2119                "smithy.api#documentation": "<p>A user profile with that name already exists in this region for the AWS account. AWS\n      CodeStar user profile names must be unique within a region for the AWS account. </p>",
2120                "smithy.api#error": "client",
2121                "smithy.api#httpError": 400
2122            }
2123        },
2124        "com.amazonaws.codestar#UserProfileDisplayName": {
2125            "type": "string",
2126            "traits": {
2127                "smithy.api#length": {
2128                    "min": 1,
2129                    "max": 64
2130                },
2131                "smithy.api#pattern": "^\\S(.*\\S)?$",
2132                "smithy.api#sensitive": {}
2133            }
2134        },
2135        "com.amazonaws.codestar#UserProfileNotFoundException": {
2136            "type": "structure",
2137            "members": {
2138                "message": {
2139                    "target": "com.amazonaws.codestar#Message"
2140                }
2141            },
2142            "traits": {
2143                "smithy.api#documentation": "<p>The user profile was not found.</p>",
2144                "smithy.api#error": "client",
2145                "smithy.api#httpError": 404
2146            }
2147        },
2148        "com.amazonaws.codestar#UserProfileSummary": {
2149            "type": "structure",
2150            "members": {
2151                "userArn": {
2152                    "target": "com.amazonaws.codestar#UserArn",
2153                    "traits": {
2154                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the user in IAM.</p>"
2155                    }
2156                },
2157                "displayName": {
2158                    "target": "com.amazonaws.codestar#UserProfileDisplayName",
2159                    "traits": {
2160                        "smithy.api#documentation": "<p>The display name of a user in AWS CodeStar. For example, this could be set to both first and\n      last name (\"Mary Major\") or a single name (\"Mary\"). The display name is also used to generate\n      the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the\n      display name, the first character that appears after the space will be used as the second\n      character in the user initial icon. The initial icon displays a maximum of two characters, so\n      a display name with more than one space (for example \"Mary Jane Major\") would generate an\n      initial icon using the first character and the first character after the space (\"MJ\", not\n      \"MM\").</p>"
2161                    }
2162                },
2163                "emailAddress": {
2164                    "target": "com.amazonaws.codestar#Email",
2165                    "traits": {
2166                        "smithy.api#documentation": "<p>The email address associated with the user.</p>"
2167                    }
2168                },
2169                "sshPublicKey": {
2170                    "target": "com.amazonaws.codestar#SshPublicKey",
2171                    "traits": {
2172                        "smithy.api#documentation": "<p>The SSH public key associated with the user in AWS CodeStar. If a project owner allows the\n      user remote access to project resources, this public key will be used along with the user's\n      private key for SSH access.</p>"
2173                    }
2174                }
2175            },
2176            "traits": {
2177                "smithy.api#documentation": "<p>Information about a user's profile in AWS CodeStar.</p>"
2178            }
2179        },
2180        "com.amazonaws.codestar#UserProfilesList": {
2181            "type": "list",
2182            "member": {
2183                "target": "com.amazonaws.codestar#UserProfileSummary"
2184            }
2185        },
2186        "com.amazonaws.codestar#ValidationException": {
2187            "type": "structure",
2188            "members": {
2189                "message": {
2190                    "target": "com.amazonaws.codestar#Message"
2191                }
2192            },
2193            "traits": {
2194                "smithy.api#documentation": "<p>The specified input is either not valid, or it could not be validated.</p>",
2195                "smithy.api#error": "client",
2196                "smithy.api#httpError": 400
2197            }
2198        }
2199    }
2200}
2201