diff --git a/apis/codestar/2017-04-19/api-2.json b/apis/codestar/2017-04-19/api-2.json deleted file mode 100644 index 48b0829fa95..00000000000 --- a/apis/codestar/2017-04-19/api-2.json +++ /dev/null @@ -1,1035 +0,0 @@ -{ - "version":"2.0", - "metadata":{ - "apiVersion":"2017-04-19", - "endpointPrefix":"codestar", - "jsonVersion":"1.1", - "protocol":"json", - "protocols":["json"], - "serviceAbbreviation":"CodeStar", - "serviceFullName":"AWS CodeStar", - "serviceId":"CodeStar", - "signatureVersion":"v4", - "targetPrefix":"CodeStar_20170419", - "uid":"codestar-2017-04-19", - "auth":["aws.auth#sigv4"] - }, - "operations":{ - "AssociateTeamMember":{ - "name":"AssociateTeamMember", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"AssociateTeamMemberRequest"}, - "output":{"shape":"AssociateTeamMemberResult"}, - "errors":[ - {"shape":"LimitExceededException"}, - {"shape":"ProjectNotFoundException"}, - {"shape":"TeamMemberAlreadyAssociatedException"}, - {"shape":"ValidationException"}, - {"shape":"InvalidServiceRoleException"}, - {"shape":"ProjectConfigurationException"}, - {"shape":"ConcurrentModificationException"} - ] - }, - "CreateProject":{ - "name":"CreateProject", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"CreateProjectRequest"}, - "output":{"shape":"CreateProjectResult"}, - "errors":[ - {"shape":"ProjectAlreadyExistsException"}, - {"shape":"LimitExceededException"}, - {"shape":"ValidationException"}, - {"shape":"ProjectCreationFailedException"}, - {"shape":"InvalidServiceRoleException"}, - {"shape":"ProjectConfigurationException"}, - {"shape":"ConcurrentModificationException"} - ] - }, - "CreateUserProfile":{ - "name":"CreateUserProfile", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"CreateUserProfileRequest"}, - "output":{"shape":"CreateUserProfileResult"}, - "errors":[ - {"shape":"UserProfileAlreadyExistsException"}, - {"shape":"ValidationException"} - ] - }, - "DeleteProject":{ - "name":"DeleteProject", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"DeleteProjectRequest"}, - "output":{"shape":"DeleteProjectResult"}, - "errors":[ - {"shape":"ConcurrentModificationException"}, - {"shape":"ValidationException"}, - {"shape":"InvalidServiceRoleException"} - ] - }, - "DeleteUserProfile":{ - "name":"DeleteUserProfile", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"DeleteUserProfileRequest"}, - "output":{"shape":"DeleteUserProfileResult"}, - "errors":[ - {"shape":"ValidationException"} - ] - }, - "DescribeProject":{ - "name":"DescribeProject", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"DescribeProjectRequest"}, - "output":{"shape":"DescribeProjectResult"}, - "errors":[ - {"shape":"ProjectNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"InvalidServiceRoleException"}, - {"shape":"ProjectConfigurationException"}, - {"shape":"ConcurrentModificationException"} - ] - }, - "DescribeUserProfile":{ - "name":"DescribeUserProfile", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"DescribeUserProfileRequest"}, - "output":{"shape":"DescribeUserProfileResult"}, - "errors":[ - {"shape":"UserProfileNotFoundException"}, - {"shape":"ValidationException"} - ] - }, - "DisassociateTeamMember":{ - "name":"DisassociateTeamMember", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"DisassociateTeamMemberRequest"}, - "output":{"shape":"DisassociateTeamMemberResult"}, - "errors":[ - {"shape":"ProjectNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"InvalidServiceRoleException"}, - {"shape":"ConcurrentModificationException"} - ] - }, - "ListProjects":{ - "name":"ListProjects", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"ListProjectsRequest"}, - "output":{"shape":"ListProjectsResult"}, - "errors":[ - {"shape":"InvalidNextTokenException"}, - {"shape":"ValidationException"} - ] - }, - "ListResources":{ - "name":"ListResources", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"ListResourcesRequest"}, - "output":{"shape":"ListResourcesResult"}, - "errors":[ - {"shape":"ProjectNotFoundException"}, - {"shape":"InvalidNextTokenException"}, - {"shape":"ValidationException"} - ] - }, - "ListTagsForProject":{ - "name":"ListTagsForProject", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"ListTagsForProjectRequest"}, - "output":{"shape":"ListTagsForProjectResult"}, - "errors":[ - {"shape":"ProjectNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"InvalidNextTokenException"} - ] - }, - "ListTeamMembers":{ - "name":"ListTeamMembers", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"ListTeamMembersRequest"}, - "output":{"shape":"ListTeamMembersResult"}, - "errors":[ - {"shape":"ProjectNotFoundException"}, - {"shape":"InvalidNextTokenException"}, - {"shape":"ValidationException"} - ] - }, - "ListUserProfiles":{ - "name":"ListUserProfiles", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"ListUserProfilesRequest"}, - "output":{"shape":"ListUserProfilesResult"}, - "errors":[ - {"shape":"InvalidNextTokenException"}, - {"shape":"ValidationException"} - ] - }, - "TagProject":{ - "name":"TagProject", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"TagProjectRequest"}, - "output":{"shape":"TagProjectResult"}, - "errors":[ - {"shape":"ProjectNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"LimitExceededException"}, - {"shape":"ConcurrentModificationException"} - ] - }, - "UntagProject":{ - "name":"UntagProject", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"UntagProjectRequest"}, - "output":{"shape":"UntagProjectResult"}, - "errors":[ - {"shape":"ProjectNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"LimitExceededException"}, - {"shape":"ConcurrentModificationException"} - ] - }, - "UpdateProject":{ - "name":"UpdateProject", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"UpdateProjectRequest"}, - "output":{"shape":"UpdateProjectResult"}, - "errors":[ - {"shape":"ProjectNotFoundException"}, - {"shape":"ValidationException"} - ] - }, - "UpdateTeamMember":{ - "name":"UpdateTeamMember", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"UpdateTeamMemberRequest"}, - "output":{"shape":"UpdateTeamMemberResult"}, - "errors":[ - {"shape":"LimitExceededException"}, - {"shape":"ProjectNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"InvalidServiceRoleException"}, - {"shape":"ProjectConfigurationException"}, - {"shape":"ConcurrentModificationException"}, - {"shape":"TeamMemberNotFoundException"} - ] - }, - "UpdateUserProfile":{ - "name":"UpdateUserProfile", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"UpdateUserProfileRequest"}, - "output":{"shape":"UpdateUserProfileResult"}, - "errors":[ - {"shape":"UserProfileNotFoundException"}, - {"shape":"ValidationException"} - ] - } - }, - "shapes":{ - "AssociateTeamMemberRequest":{ - "type":"structure", - "required":[ - "projectId", - "userArn", - "projectRole" - ], - "members":{ - "projectId":{"shape":"ProjectId"}, - "clientRequestToken":{"shape":"ClientRequestToken"}, - "userArn":{"shape":"UserArn"}, - "projectRole":{"shape":"Role"}, - "remoteAccessAllowed":{ - "shape":"RemoteAccessAllowed", - "box":true - } - } - }, - "AssociateTeamMemberResult":{ - "type":"structure", - "members":{ - "clientRequestToken":{"shape":"ClientRequestToken"} - } - }, - "BucketKey":{"type":"string"}, - "BucketName":{ - "type":"string", - "max":63, - "min":3 - }, - "ClientRequestToken":{ - "type":"string", - "max":256, - "min":1, - "pattern":"^[\\w:/-]+$" - }, - "Code":{ - "type":"structure", - "required":[ - "source", - "destination" - ], - "members":{ - "source":{"shape":"CodeSource"}, - "destination":{"shape":"CodeDestination"} - } - }, - "CodeCommitCodeDestination":{ - "type":"structure", - "required":["name"], - "members":{ - "name":{"shape":"RepositoryName"} - } - }, - "CodeDestination":{ - "type":"structure", - "members":{ - "codeCommit":{"shape":"CodeCommitCodeDestination"}, - "gitHub":{"shape":"GitHubCodeDestination"} - } - }, - "CodeSource":{ - "type":"structure", - "required":["s3"], - "members":{ - "s3":{"shape":"S3Location"} - } - }, - "ConcurrentModificationException":{ - "type":"structure", - "members":{ - }, - "exception":true - }, - "CreateProjectRequest":{ - "type":"structure", - "required":[ - "name", - "id" - ], - "members":{ - "name":{"shape":"ProjectName"}, - "id":{"shape":"ProjectId"}, - "description":{"shape":"ProjectDescription"}, - "clientRequestToken":{"shape":"ClientRequestToken"}, - "sourceCode":{"shape":"SourceCode"}, - "toolchain":{"shape":"Toolchain"}, - "tags":{"shape":"Tags"} - } - }, - "CreateProjectResult":{ - "type":"structure", - "required":[ - "id", - "arn" - ], - "members":{ - "id":{"shape":"ProjectId"}, - "arn":{"shape":"ProjectArn"}, - "clientRequestToken":{"shape":"ClientRequestToken"}, - "projectTemplateId":{"shape":"ProjectTemplateId"} - } - }, - "CreateUserProfileRequest":{ - "type":"structure", - "required":[ - "userArn", - "displayName", - "emailAddress" - ], - "members":{ - "userArn":{"shape":"UserArn"}, - "displayName":{"shape":"UserProfileDisplayName"}, - "emailAddress":{"shape":"Email"}, - "sshPublicKey":{"shape":"SshPublicKey"} - } - }, - "CreateUserProfileResult":{ - "type":"structure", - "required":["userArn"], - "members":{ - "userArn":{"shape":"UserArn"}, - "displayName":{"shape":"UserProfileDisplayName"}, - "emailAddress":{"shape":"Email"}, - "sshPublicKey":{"shape":"SshPublicKey"}, - "createdTimestamp":{"shape":"CreatedTimestamp"}, - "lastModifiedTimestamp":{"shape":"LastModifiedTimestamp"} - } - }, - "CreatedTimestamp":{"type":"timestamp"}, - "DeleteProjectRequest":{ - "type":"structure", - "required":["id"], - "members":{ - "id":{"shape":"ProjectId"}, - "clientRequestToken":{"shape":"ClientRequestToken"}, - "deleteStack":{"shape":"DeleteStack"} - } - }, - "DeleteProjectResult":{ - "type":"structure", - "members":{ - "stackId":{"shape":"StackId"}, - "projectArn":{"shape":"ProjectArn"} - } - }, - "DeleteStack":{"type":"boolean"}, - "DeleteUserProfileRequest":{ - "type":"structure", - "required":["userArn"], - "members":{ - "userArn":{"shape":"UserArn"} - } - }, - "DeleteUserProfileResult":{ - "type":"structure", - "required":["userArn"], - "members":{ - "userArn":{"shape":"UserArn"} - } - }, - "DescribeProjectRequest":{ - "type":"structure", - "required":["id"], - "members":{ - "id":{"shape":"ProjectId"} - } - }, - "DescribeProjectResult":{ - "type":"structure", - "members":{ - "name":{"shape":"ProjectName"}, - "id":{"shape":"ProjectId"}, - "arn":{"shape":"ProjectArn"}, - "description":{"shape":"ProjectDescription"}, - "clientRequestToken":{"shape":"ClientRequestToken"}, - "createdTimeStamp":{"shape":"CreatedTimestamp"}, - "stackId":{"shape":"StackId"}, - "projectTemplateId":{"shape":"ProjectTemplateId"}, - "status":{"shape":"ProjectStatus"} - } - }, - "DescribeUserProfileRequest":{ - "type":"structure", - "required":["userArn"], - "members":{ - "userArn":{"shape":"UserArn"} - } - }, - "DescribeUserProfileResult":{ - "type":"structure", - "required":[ - "userArn", - "createdTimestamp", - "lastModifiedTimestamp" - ], - "members":{ - "userArn":{"shape":"UserArn"}, - "displayName":{"shape":"UserProfileDisplayName"}, - "emailAddress":{"shape":"Email"}, - "sshPublicKey":{"shape":"SshPublicKey"}, - "createdTimestamp":{"shape":"CreatedTimestamp"}, - "lastModifiedTimestamp":{"shape":"LastModifiedTimestamp"} - } - }, - "DisassociateTeamMemberRequest":{ - "type":"structure", - "required":[ - "projectId", - "userArn" - ], - "members":{ - "projectId":{"shape":"ProjectId"}, - "userArn":{"shape":"UserArn"} - } - }, - "DisassociateTeamMemberResult":{ - "type":"structure", - "members":{ - } - }, - "Email":{ - "type":"string", - "max":128, - "min":3, - "pattern":"^[\\w-.+]+@[\\w-.+]+$", - "sensitive":true - }, - "GitHubCodeDestination":{ - "type":"structure", - "required":[ - "name", - "type", - "owner", - "privateRepository", - "issuesEnabled", - "token" - ], - "members":{ - "name":{"shape":"RepositoryName"}, - "description":{"shape":"RepositoryDescription"}, - "type":{"shape":"RepositoryType"}, - "owner":{"shape":"RepositoryOwner"}, - "privateRepository":{"shape":"RepositoryIsPrivate"}, - "issuesEnabled":{"shape":"RepositoryEnableIssues"}, - "token":{"shape":"GitHubPersonalToken"} - } - }, - "GitHubPersonalToken":{ - "type":"string", - "min":1, - "sensitive":true - }, - "InvalidNextTokenException":{ - "type":"structure", - "members":{ - }, - "exception":true - }, - "InvalidServiceRoleException":{ - "type":"structure", - "members":{ - }, - "exception":true - }, - "LastModifiedTimestamp":{"type":"timestamp"}, - "LimitExceededException":{ - "type":"structure", - "members":{ - }, - "exception":true - }, - "ListProjectsRequest":{ - "type":"structure", - "members":{ - "nextToken":{"shape":"PaginationToken"}, - "maxResults":{ - "shape":"MaxResults", - "box":true - } - } - }, - "ListProjectsResult":{ - "type":"structure", - "required":["projects"], - "members":{ - "projects":{"shape":"ProjectsList"}, - "nextToken":{"shape":"PaginationToken"} - } - }, - "ListResourcesRequest":{ - "type":"structure", - "required":["projectId"], - "members":{ - "projectId":{"shape":"ProjectId"}, - "nextToken":{"shape":"PaginationToken"}, - "maxResults":{ - "shape":"MaxResults", - "box":true - } - } - }, - "ListResourcesResult":{ - "type":"structure", - "members":{ - "resources":{"shape":"ResourcesResult"}, - "nextToken":{"shape":"PaginationToken"} - } - }, - "ListTagsForProjectRequest":{ - "type":"structure", - "required":["id"], - "members":{ - "id":{"shape":"ProjectId"}, - "nextToken":{"shape":"PaginationToken"}, - "maxResults":{ - "shape":"MaxResults", - "box":true - } - } - }, - "ListTagsForProjectResult":{ - "type":"structure", - "members":{ - "tags":{"shape":"Tags"}, - "nextToken":{"shape":"PaginationToken"} - } - }, - "ListTeamMembersRequest":{ - "type":"structure", - "required":["projectId"], - "members":{ - "projectId":{"shape":"ProjectId"}, - "nextToken":{"shape":"PaginationToken"}, - "maxResults":{ - "shape":"MaxResults", - "box":true - } - } - }, - "ListTeamMembersResult":{ - "type":"structure", - "required":["teamMembers"], - "members":{ - "teamMembers":{"shape":"TeamMemberResult"}, - "nextToken":{"shape":"PaginationToken"} - } - }, - "ListUserProfilesRequest":{ - "type":"structure", - "members":{ - "nextToken":{"shape":"PaginationToken"}, - "maxResults":{ - "shape":"MaxResults", - "box":true - } - } - }, - "ListUserProfilesResult":{ - "type":"structure", - "required":["userProfiles"], - "members":{ - "userProfiles":{"shape":"UserProfilesList"}, - "nextToken":{"shape":"PaginationToken"} - } - }, - "MaxResults":{ - "type":"integer", - "max":100, - "min":1 - }, - "PaginationToken":{ - "type":"string", - "max":512, - "min":1, - "pattern":"^[\\w/+=]+$" - }, - "ProjectAlreadyExistsException":{ - "type":"structure", - "members":{ - }, - "exception":true - }, - "ProjectArn":{ - "type":"string", - "pattern":"^arn:aws[^:\\s]*:codestar:[^:\\s]+:[0-9]{12}:project\\/[a-z]([a-z0-9|-])+$" - }, - "ProjectConfigurationException":{ - "type":"structure", - "members":{ - }, - "exception":true - }, - "ProjectCreationFailedException":{ - "type":"structure", - "members":{ - }, - "exception":true - }, - "ProjectDescription":{ - "type":"string", - "max":1024, - "pattern":"^$|^\\S(.*\\S)?$", - "sensitive":true - }, - "ProjectId":{ - "type":"string", - "max":15, - "min":2, - "pattern":"^[a-z][a-z0-9-]+$" - }, - "ProjectName":{ - "type":"string", - "max":100, - "min":1, - "pattern":"^\\S(.*\\S)?$", - "sensitive":true - }, - "ProjectNotFoundException":{ - "type":"structure", - "members":{ - }, - "exception":true - }, - "ProjectStatus":{ - "type":"structure", - "required":["state"], - "members":{ - "state":{"shape":"State"}, - "reason":{"shape":"Reason"} - } - }, - "ProjectSummary":{ - "type":"structure", - "members":{ - "projectId":{"shape":"ProjectId"}, - "projectArn":{"shape":"ProjectArn"} - } - }, - "ProjectTemplateId":{ - "type":"string", - "min":1, - "pattern":"^arn:aws[^:\\s]{0,5}:codestar:[^:\\s]+::project-template(\\/(github|codecommit))?\\/[a-z0-9-]+$" - }, - "ProjectsList":{ - "type":"list", - "member":{"shape":"ProjectSummary"} - }, - "Reason":{ - "type":"string", - "max":1024, - "pattern":"^$|^\\S(.*\\S)?$" - }, - "RemoteAccessAllowed":{"type":"boolean"}, - "RepositoryDescription":{ - "type":"string", - "max":1000, - "min":1, - "pattern":"^\\S(.*\\S)?$" - }, - "RepositoryEnableIssues":{"type":"boolean"}, - "RepositoryIsPrivate":{"type":"boolean"}, - "RepositoryName":{ - "type":"string", - "max":100, - "min":1, - "pattern":"^\\S[\\w.-]*$" - }, - "RepositoryOwner":{ - "type":"string", - "max":100, - "min":1, - "pattern":"^\\S(.*\\S)?$" - }, - "RepositoryType":{ - "type":"string", - "pattern":"^(user|organization|User|Organization)$" - }, - "Resource":{ - "type":"structure", - "required":["id"], - "members":{ - "id":{"shape":"ResourceId"} - } - }, - "ResourceId":{ - "type":"string", - "min":11, - "pattern":"^arn\\:aws\\:\\S.*\\:.*" - }, - "ResourcesResult":{ - "type":"list", - "member":{"shape":"Resource"} - }, - "Role":{ - "type":"string", - "pattern":"^(Owner|Viewer|Contributor)$" - }, - "RoleArn":{ - "type":"string", - "max":1224, - "min":1 - }, - "S3Location":{ - "type":"structure", - "members":{ - "bucketName":{"shape":"BucketName"}, - "bucketKey":{"shape":"BucketKey"} - } - }, - "SourceCode":{ - "type":"list", - "member":{"shape":"Code"} - }, - "SshPublicKey":{ - "type":"string", - "max":16384, - "pattern":"^[\\t\\r\\n\\u0020-\\u00FF]*$" - }, - "StackId":{ - "type":"string", - "pattern":"^arn:aws[^:\\s]*:cloudformation:[^:\\s]+:[0-9]{12}:stack\\/[^:\\s]+\\/[^:\\s]+$" - }, - "State":{ - "type":"string", - "pattern":"^(CreateInProgress|CreateComplete|CreateFailed|DeleteComplete|DeleteFailed|DeleteInProgress|UpdateComplete|UpdateInProgress|UpdateFailed|Unknown)$" - }, - "TagKey":{ - "type":"string", - "max":128, - "min":1, - "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" - }, - "TagKeys":{ - "type":"list", - "member":{"shape":"TagKey"} - }, - "TagProjectRequest":{ - "type":"structure", - "required":[ - "id", - "tags" - ], - "members":{ - "id":{"shape":"ProjectId"}, - "tags":{"shape":"Tags"} - } - }, - "TagProjectResult":{ - "type":"structure", - "members":{ - "tags":{"shape":"Tags"} - } - }, - "TagValue":{ - "type":"string", - "max":256, - "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" - }, - "Tags":{ - "type":"map", - "key":{"shape":"TagKey"}, - "value":{"shape":"TagValue"} - }, - "TeamMember":{ - "type":"structure", - "required":[ - "userArn", - "projectRole" - ], - "members":{ - "userArn":{"shape":"UserArn"}, - "projectRole":{"shape":"Role"}, - "remoteAccessAllowed":{ - "shape":"RemoteAccessAllowed", - "box":true - } - } - }, - "TeamMemberAlreadyAssociatedException":{ - "type":"structure", - "members":{ - }, - "exception":true - }, - "TeamMemberNotFoundException":{ - "type":"structure", - "members":{ - }, - "exception":true - }, - "TeamMemberResult":{ - "type":"list", - "member":{"shape":"TeamMember"} - }, - "TemplateParameterKey":{ - "type":"string", - "max":30, - "min":1, - "pattern":"^\\S(.*\\S)?$" - }, - "TemplateParameterMap":{ - "type":"map", - "key":{"shape":"TemplateParameterKey"}, - "value":{"shape":"TemplateParameterValue"}, - "max":25 - }, - "TemplateParameterValue":{ - "type":"string", - "max":100, - "min":1, - "pattern":"^\\S(.*\\S)?$", - "sensitive":true - }, - "Toolchain":{ - "type":"structure", - "required":["source"], - "members":{ - "source":{"shape":"ToolchainSource"}, - "roleArn":{"shape":"RoleArn"}, - "stackParameters":{"shape":"TemplateParameterMap"} - } - }, - "ToolchainSource":{ - "type":"structure", - "required":["s3"], - "members":{ - "s3":{"shape":"S3Location"} - } - }, - "UntagProjectRequest":{ - "type":"structure", - "required":[ - "id", - "tags" - ], - "members":{ - "id":{"shape":"ProjectId"}, - "tags":{"shape":"TagKeys"} - } - }, - "UntagProjectResult":{ - "type":"structure", - "members":{ - } - }, - "UpdateProjectRequest":{ - "type":"structure", - "required":["id"], - "members":{ - "id":{"shape":"ProjectId"}, - "name":{"shape":"ProjectName"}, - "description":{"shape":"ProjectDescription"} - } - }, - "UpdateProjectResult":{ - "type":"structure", - "members":{ - } - }, - "UpdateTeamMemberRequest":{ - "type":"structure", - "required":[ - "projectId", - "userArn" - ], - "members":{ - "projectId":{"shape":"ProjectId"}, - "userArn":{"shape":"UserArn"}, - "projectRole":{"shape":"Role"}, - "remoteAccessAllowed":{ - "shape":"RemoteAccessAllowed", - "box":true - } - } - }, - "UpdateTeamMemberResult":{ - "type":"structure", - "members":{ - "userArn":{"shape":"UserArn"}, - "projectRole":{"shape":"Role"}, - "remoteAccessAllowed":{ - "shape":"RemoteAccessAllowed", - "box":true - } - } - }, - "UpdateUserProfileRequest":{ - "type":"structure", - "required":["userArn"], - "members":{ - "userArn":{"shape":"UserArn"}, - "displayName":{"shape":"UserProfileDisplayName"}, - "emailAddress":{"shape":"Email"}, - "sshPublicKey":{"shape":"SshPublicKey"} - } - }, - "UpdateUserProfileResult":{ - "type":"structure", - "required":["userArn"], - "members":{ - "userArn":{"shape":"UserArn"}, - "displayName":{"shape":"UserProfileDisplayName"}, - "emailAddress":{"shape":"Email"}, - "sshPublicKey":{"shape":"SshPublicKey"}, - "createdTimestamp":{"shape":"CreatedTimestamp"}, - "lastModifiedTimestamp":{"shape":"LastModifiedTimestamp"} - } - }, - "UserArn":{ - "type":"string", - "max":95, - "min":32, - "pattern":"^arn:aws:iam::\\d{12}:user(?:(\\u002F)|(\\u002F[\\u0021-\\u007E]+\\u002F))[\\w+=,.@-]+$" - }, - "UserProfileAlreadyExistsException":{ - "type":"structure", - "members":{ - }, - "exception":true - }, - "UserProfileDisplayName":{ - "type":"string", - "max":64, - "min":1, - "pattern":"^\\S(.*\\S)?$", - "sensitive":true - }, - "UserProfileNotFoundException":{ - "type":"structure", - "members":{ - }, - "exception":true - }, - "UserProfileSummary":{ - "type":"structure", - "members":{ - "userArn":{"shape":"UserArn"}, - "displayName":{"shape":"UserProfileDisplayName"}, - "emailAddress":{"shape":"Email"}, - "sshPublicKey":{"shape":"SshPublicKey"} - } - }, - "UserProfilesList":{ - "type":"list", - "member":{"shape":"UserProfileSummary"} - }, - "ValidationException":{ - "type":"structure", - "members":{ - }, - "exception":true - } - } -} diff --git a/apis/codestar/2017-04-19/docs-2.json b/apis/codestar/2017-04-19/docs-2.json deleted file mode 100644 index 5193de58d8b..00000000000 --- a/apis/codestar/2017-04-19/docs-2.json +++ /dev/null @@ -1,693 +0,0 @@ -{ - "version": "2.0", - "service": "AWS CodeStar

This is the API reference for AWS CodeStar. This reference provides descriptions of the operations and data types for the AWS CodeStar API along with usage examples.

You can use the AWS CodeStar API to work with:

Projects and their resources, by calling the following:

Teams and team members, by calling the following:

Users, by calling the following:

", - "operations": { - "AssociateTeamMember": "

Adds an IAM user to the team for an AWS CodeStar project.

", - "CreateProject": "

Creates a project, including project resources. This action creates a project based on a submitted project request. A set of source code files and a toolchain template file can be included with the project request. If these are not provided, an empty project is created.

", - "CreateUserProfile": "

Creates a profile for a user that includes user preferences, such as the display name and email address assocciated with the user, in AWS CodeStar. The user profile is not project-specific. Information in the user profile is displayed wherever the user's information appears to other users in AWS CodeStar.

", - "DeleteProject": "

Deletes a project, including project resources. Does not delete users associated with the project, but does delete the IAM roles that allowed access to the project.

", - "DeleteUserProfile": "

Deletes a user profile in AWS CodeStar, including all personal preference data associated with that profile, such as display name and email address. It does not delete the history of that user, for example the history of commits made by that user.

", - "DescribeProject": "

Describes a project and its resources.

", - "DescribeUserProfile": "

Describes a user in AWS CodeStar and the user attributes across all projects.

", - "DisassociateTeamMember": "

Removes a user from a project. Removing a user from a project also removes the IAM policies from that user that allowed access to the project and its resources. Disassociating a team member does not remove that user's profile from AWS CodeStar. It does not remove the user from IAM.

", - "ListProjects": "

Lists all projects in AWS CodeStar associated with your AWS account.

", - "ListResources": "

Lists resources associated with a project in AWS CodeStar.

", - "ListTagsForProject": "

Gets the tags for a project.

", - "ListTeamMembers": "

Lists all team members associated with a project.

", - "ListUserProfiles": "

Lists all the user profiles configured for your AWS account in AWS CodeStar.

", - "TagProject": "

Adds tags to a project.

", - "UntagProject": "

Removes tags from a project.

", - "UpdateProject": "

Updates a project in AWS CodeStar.

", - "UpdateTeamMember": "

Updates a team member's attributes in an AWS CodeStar project. For example, you can change a team member's role in the project, or change whether they have remote access to project resources.

", - "UpdateUserProfile": "

Updates a user's profile in AWS CodeStar. The user profile is not project-specific. Information in the user profile is displayed wherever the user's information appears to other users in AWS CodeStar.

" - }, - "shapes": { - "AssociateTeamMemberRequest": { - "base": null, - "refs": { - } - }, - "AssociateTeamMemberResult": { - "base": null, - "refs": { - } - }, - "BucketKey": { - "base": null, - "refs": { - "S3Location$bucketKey": "

The Amazon S3 object key where the source code files provided with the project request are stored.

" - } - }, - "BucketName": { - "base": null, - "refs": { - "S3Location$bucketName": "

The Amazon S3 bucket name where the source code files provided with the project request are stored.

" - } - }, - "ClientRequestToken": { - "base": null, - "refs": { - "AssociateTeamMemberRequest$clientRequestToken": "

A user- or system-generated token that identifies the entity that requested the team member association to the project. This token can be used to repeat the request.

", - "AssociateTeamMemberResult$clientRequestToken": "

The user- or system-generated token from the initial request that can be used to repeat the request.

", - "CreateProjectRequest$clientRequestToken": "

A user- or system-generated token that identifies the entity that requested project creation. This token can be used to repeat the request.

", - "CreateProjectResult$clientRequestToken": "

A user- or system-generated token that identifies the entity that requested project creation.

", - "DeleteProjectRequest$clientRequestToken": "

A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request.

", - "DescribeProjectResult$clientRequestToken": "

A user- or system-generated token that identifies the entity that requested project creation.

" - } - }, - "Code": { - "base": "

Location and destination information about the source code files provided with the project request. The source code is uploaded to the new project source repository after project creation.

", - "refs": { - "SourceCode$member": null - } - }, - "CodeCommitCodeDestination": { - "base": "

Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.

", - "refs": { - "CodeDestination$codeCommit": "

Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.

" - } - }, - "CodeDestination": { - "base": "

The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.

", - "refs": { - "Code$destination": "

The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.

" - } - }, - "CodeSource": { - "base": "

The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.

", - "refs": { - "Code$source": "

The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.

" - } - }, - "ConcurrentModificationException": { - "base": "

Another modification is being made. That modification must complete before you can make your change.

", - "refs": { - } - }, - "CreateProjectRequest": { - "base": null, - "refs": { - } - }, - "CreateProjectResult": { - "base": null, - "refs": { - } - }, - "CreateUserProfileRequest": { - "base": null, - "refs": { - } - }, - "CreateUserProfileResult": { - "base": null, - "refs": { - } - }, - "CreatedTimestamp": { - "base": null, - "refs": { - "CreateUserProfileResult$createdTimestamp": "

The date the user profile was created, in timestamp format.

", - "DescribeProjectResult$createdTimeStamp": "

The date and time the project was created, in timestamp format.

", - "DescribeUserProfileResult$createdTimestamp": "

The date and time when the user profile was created in AWS CodeStar, in timestamp format.

", - "UpdateUserProfileResult$createdTimestamp": "

The date the user profile was created, in timestamp format.

" - } - }, - "DeleteProjectRequest": { - "base": null, - "refs": { - } - }, - "DeleteProjectResult": { - "base": null, - "refs": { - } - }, - "DeleteStack": { - "base": null, - "refs": { - "DeleteProjectRequest$deleteStack": "

Whether to send a delete request for the primary stack in AWS CloudFormation originally used to generate the project and its resources. This option will delete all AWS resources for the project (except for any buckets in Amazon S3) as well as deleting the project itself. Recommended for most use cases.

" - } - }, - "DeleteUserProfileRequest": { - "base": null, - "refs": { - } - }, - "DeleteUserProfileResult": { - "base": null, - "refs": { - } - }, - "DescribeProjectRequest": { - "base": null, - "refs": { - } - }, - "DescribeProjectResult": { - "base": null, - "refs": { - } - }, - "DescribeUserProfileRequest": { - "base": null, - "refs": { - } - }, - "DescribeUserProfileResult": { - "base": null, - "refs": { - } - }, - "DisassociateTeamMemberRequest": { - "base": null, - "refs": { - } - }, - "DisassociateTeamMemberResult": { - "base": null, - "refs": { - } - }, - "Email": { - "base": null, - "refs": { - "CreateUserProfileRequest$emailAddress": "

The email address that will be displayed as part of the user's profile in AWS CodeStar.

", - "CreateUserProfileResult$emailAddress": "

The email address that is displayed as part of the user's profile in AWS CodeStar.

", - "DescribeUserProfileResult$emailAddress": "

The email address for the user. Optional.

", - "UpdateUserProfileRequest$emailAddress": "

The email address that is displayed as part of the user's profile in AWS CodeStar.

", - "UpdateUserProfileResult$emailAddress": "

The email address that is displayed as part of the user's profile in AWS CodeStar.

", - "UserProfileSummary$emailAddress": "

The email address associated with the user.

" - } - }, - "GitHubCodeDestination": { - "base": "

Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.

", - "refs": { - "CodeDestination$gitHub": "

Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.

" - } - }, - "GitHubPersonalToken": { - "base": null, - "refs": { - "GitHubCodeDestination$token": "

The GitHub user's personal access token for the GitHub repository.

" - } - }, - "InvalidNextTokenException": { - "base": "

The next token is not valid.

", - "refs": { - } - }, - "InvalidServiceRoleException": { - "base": "

The service role is not valid.

", - "refs": { - } - }, - "LastModifiedTimestamp": { - "base": null, - "refs": { - "CreateUserProfileResult$lastModifiedTimestamp": "

The date the user profile was last modified, in timestamp format.

", - "DescribeUserProfileResult$lastModifiedTimestamp": "

The date and time when the user profile was last modified, in timestamp format.

", - "UpdateUserProfileResult$lastModifiedTimestamp": "

The date the user profile was last modified, in timestamp format.

" - } - }, - "LimitExceededException": { - "base": "

A resource limit has been exceeded.

", - "refs": { - } - }, - "ListProjectsRequest": { - "base": null, - "refs": { - } - }, - "ListProjectsResult": { - "base": null, - "refs": { - } - }, - "ListResourcesRequest": { - "base": null, - "refs": { - } - }, - "ListResourcesResult": { - "base": null, - "refs": { - } - }, - "ListTagsForProjectRequest": { - "base": null, - "refs": { - } - }, - "ListTagsForProjectResult": { - "base": null, - "refs": { - } - }, - "ListTeamMembersRequest": { - "base": null, - "refs": { - } - }, - "ListTeamMembersResult": { - "base": null, - "refs": { - } - }, - "ListUserProfilesRequest": { - "base": null, - "refs": { - } - }, - "ListUserProfilesResult": { - "base": null, - "refs": { - } - }, - "MaxResults": { - "base": null, - "refs": { - "ListProjectsRequest$maxResults": "

The maximum amount of data that can be contained in a single set of results.

", - "ListResourcesRequest$maxResults": "

The maximum amount of data that can be contained in a single set of results.

", - "ListTagsForProjectRequest$maxResults": "

Reserved for future use.

", - "ListTeamMembersRequest$maxResults": "

The maximum number of team members you want returned in a response.

", - "ListUserProfilesRequest$maxResults": "

The maximum number of results to return in a response.

" - } - }, - "PaginationToken": { - "base": null, - "refs": { - "ListProjectsRequest$nextToken": "

The continuation token to be used to return the next set of results, if the results cannot be returned in one response.

", - "ListProjectsResult$nextToken": "

The continuation token to use when requesting the next set of results, if there are more results to be returned.

", - "ListResourcesRequest$nextToken": "

The continuation token for the next set of results, if the results cannot be returned in one response.

", - "ListResourcesResult$nextToken": "

The continuation token to use when requesting the next set of results, if there are more results to be returned.

", - "ListTagsForProjectRequest$nextToken": "

Reserved for future use.

", - "ListTagsForProjectResult$nextToken": "

Reserved for future use.

", - "ListTeamMembersRequest$nextToken": "

The continuation token for the next set of results, if the results cannot be returned in one response.

", - "ListTeamMembersResult$nextToken": "

The continuation token to use when requesting the next set of results, if there are more results to be returned.

", - "ListUserProfilesRequest$nextToken": "

The continuation token for the next set of results, if the results cannot be returned in one response.

", - "ListUserProfilesResult$nextToken": "

The continuation token to use when requesting the next set of results, if there are more results to be returned.

" - } - }, - "ProjectAlreadyExistsException": { - "base": "

An AWS CodeStar project with the same ID already exists in this region for the AWS account. AWS CodeStar project IDs must be unique within a region for the AWS account.

", - "refs": { - } - }, - "ProjectArn": { - "base": null, - "refs": { - "CreateProjectResult$arn": "

The Amazon Resource Name (ARN) of the created project.

", - "DeleteProjectResult$projectArn": "

The Amazon Resource Name (ARN) of the deleted project.

", - "DescribeProjectResult$arn": "

The Amazon Resource Name (ARN) for the project.

", - "ProjectSummary$projectArn": "

The Amazon Resource Name (ARN) of the project.

" - } - }, - "ProjectConfigurationException": { - "base": "

Project configuration information is required but not specified.

", - "refs": { - } - }, - "ProjectCreationFailedException": { - "base": "

The project creation request was valid, but a nonspecific exception or error occurred during project creation. The project could not be created in AWS CodeStar.

", - "refs": { - } - }, - "ProjectDescription": { - "base": null, - "refs": { - "CreateProjectRequest$description": "

The description of the project, if any.

", - "DescribeProjectResult$description": "

The description of the project, if any.

", - "UpdateProjectRequest$description": "

The description of the project, if any.

" - } - }, - "ProjectId": { - "base": null, - "refs": { - "AssociateTeamMemberRequest$projectId": "

The ID of the project to which you will add the IAM user.

", - "CreateProjectRequest$id": "

The ID of the project to be created in AWS CodeStar.

", - "CreateProjectResult$id": "

The ID of the project.

", - "DeleteProjectRequest$id": "

The ID of the project to be deleted in AWS CodeStar.

", - "DescribeProjectRequest$id": "

The ID of the project.

", - "DescribeProjectResult$id": "

The ID of the project.

", - "DisassociateTeamMemberRequest$projectId": "

The ID of the AWS CodeStar project from which you want to remove a team member.

", - "ListResourcesRequest$projectId": "

The ID of the project.

", - "ListTagsForProjectRequest$id": "

The ID of the project to get tags for.

", - "ListTeamMembersRequest$projectId": "

The ID of the project for which you want to list team members.

", - "ProjectSummary$projectId": "

The ID of the project.

", - "TagProjectRequest$id": "

The ID of the project you want to add a tag to.

", - "UntagProjectRequest$id": "

The ID of the project to remove tags from.

", - "UpdateProjectRequest$id": "

The ID of the project you want to update.

", - "UpdateTeamMemberRequest$projectId": "

The ID of the project.

" - } - }, - "ProjectName": { - "base": null, - "refs": { - "CreateProjectRequest$name": "

The display name for the project to be created in AWS CodeStar.

", - "DescribeProjectResult$name": "

The display name for the project.

", - "UpdateProjectRequest$name": "

The name of the project you want to update.

" - } - }, - "ProjectNotFoundException": { - "base": "

The specified AWS CodeStar project was not found.

", - "refs": { - } - }, - "ProjectStatus": { - "base": "

An indication of whether a project creation or deletion is failed or successful.

", - "refs": { - "DescribeProjectResult$status": "

The project creation or deletion status.

" - } - }, - "ProjectSummary": { - "base": "

Information about the metadata for a project.

", - "refs": { - "ProjectsList$member": null - } - }, - "ProjectTemplateId": { - "base": null, - "refs": { - "CreateProjectResult$projectTemplateId": "

Reserved for future use.

", - "DescribeProjectResult$projectTemplateId": "

The ID for the AWS CodeStar project template used to create the project.

" - } - }, - "ProjectsList": { - "base": null, - "refs": { - "ListProjectsResult$projects": "

A list of projects.

" - } - }, - "Reason": { - "base": null, - "refs": { - "ProjectStatus$reason": "

In the case of a project creation or deletion failure, a reason for the failure.

" - } - }, - "RemoteAccessAllowed": { - "base": null, - "refs": { - "AssociateTeamMemberRequest$remoteAccessAllowed": "

Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances.

", - "TeamMember$remoteAccessAllowed": "

Whether the user is allowed to remotely access project resources using an SSH public/private key pair.

", - "UpdateTeamMemberRequest$remoteAccessAllowed": "

Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile. Even if this is set to True, the user must associate a public key with their profile before the user can access resources.

", - "UpdateTeamMemberResult$remoteAccessAllowed": "

Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile.

" - } - }, - "RepositoryDescription": { - "base": null, - "refs": { - "GitHubCodeDestination$description": "

Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.

" - } - }, - "RepositoryEnableIssues": { - "base": null, - "refs": { - "GitHubCodeDestination$issuesEnabled": "

Whether to enable issues for the GitHub repository.

" - } - }, - "RepositoryIsPrivate": { - "base": null, - "refs": { - "GitHubCodeDestination$privateRepository": "

Whether the GitHub repository is to be a private repository.

" - } - }, - "RepositoryName": { - "base": null, - "refs": { - "CodeCommitCodeDestination$name": "

The name of the AWS CodeCommit repository to be created in AWS CodeStar.

", - "GitHubCodeDestination$name": "

Name of the GitHub repository to be created in AWS CodeStar.

" - } - }, - "RepositoryOwner": { - "base": null, - "refs": { - "GitHubCodeDestination$owner": "

The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar. If this repository should be owned by a GitHub organization, provide its name.

" - } - }, - "RepositoryType": { - "base": null, - "refs": { - "GitHubCodeDestination$type": "

The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.

" - } - }, - "Resource": { - "base": "

Information about a resource for a project.

", - "refs": { - "ResourcesResult$member": null - } - }, - "ResourceId": { - "base": null, - "refs": { - "Resource$id": "

The Amazon Resource Name (ARN) of the resource.

" - } - }, - "ResourcesResult": { - "base": null, - "refs": { - "ListResourcesResult$resources": "

An array of resources associated with the project.

" - } - }, - "Role": { - "base": null, - "refs": { - "AssociateTeamMemberRequest$projectRole": "

The AWS CodeStar project role that will apply to this user. This role determines what actions a user can take in an AWS CodeStar project.

", - "TeamMember$projectRole": "

The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams in the AWS CodeStar User Guide.

", - "UpdateTeamMemberRequest$projectRole": "

The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams in the AWS CodeStar User Guide.

", - "UpdateTeamMemberResult$projectRole": "

The project role granted to the user.

" - } - }, - "RoleArn": { - "base": null, - "refs": { - "Toolchain$roleArn": "

The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.

" - } - }, - "S3Location": { - "base": "

The Amazon S3 location where the source code files provided with the project request are stored.

", - "refs": { - "CodeSource$s3": "

Information about the Amazon S3 location where the source code files provided with the project request are stored.

", - "ToolchainSource$s3": "

The Amazon S3 bucket where the toolchain template file provided with the project request is stored.

" - } - }, - "SourceCode": { - "base": null, - "refs": { - "CreateProjectRequest$sourceCode": "

A list of the Code objects submitted with the project request. If this parameter is specified, the request must also include the toolchain parameter.

" - } - }, - "SshPublicKey": { - "base": null, - "refs": { - "CreateUserProfileRequest$sshPublicKey": "

The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.

", - "CreateUserProfileResult$sshPublicKey": "

The SSH public key associated with the user in AWS CodeStar. This is the public portion of the public/private keypair the user can use to access project resources if a project owner allows the user remote access to those resources.

", - "DescribeUserProfileResult$sshPublicKey": "

The SSH public key associated with the user. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.

", - "UpdateUserProfileRequest$sshPublicKey": "

The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.

", - "UpdateUserProfileResult$sshPublicKey": "

The SSH public key associated with the user in AWS CodeStar. This is the public portion of the public/private keypair the user can use to access project resources if a project owner allows the user remote access to those resources.

", - "UserProfileSummary$sshPublicKey": "

The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.

" - } - }, - "StackId": { - "base": null, - "refs": { - "DeleteProjectResult$stackId": "

The ID of the primary stack in AWS CloudFormation that will be deleted as part of deleting the project and its resources.

", - "DescribeProjectResult$stackId": "

The ID of the primary stack in AWS CloudFormation used to generate resources for the project.

" - } - }, - "State": { - "base": null, - "refs": { - "ProjectStatus$state": "

The phase of completion for a project creation or deletion.

" - } - }, - "TagKey": { - "base": null, - "refs": { - "TagKeys$member": null, - "Tags$key": null - } - }, - "TagKeys": { - "base": null, - "refs": { - "UntagProjectRequest$tags": "

The tags to remove from the project.

" - } - }, - "TagProjectRequest": { - "base": null, - "refs": { - } - }, - "TagProjectResult": { - "base": null, - "refs": { - } - }, - "TagValue": { - "base": null, - "refs": { - "Tags$value": null - } - }, - "Tags": { - "base": null, - "refs": { - "CreateProjectRequest$tags": "

The tags created for the project.

", - "ListTagsForProjectResult$tags": "

The tags for the project.

", - "TagProjectRequest$tags": "

The tags you want to add to the project.

", - "TagProjectResult$tags": "

The tags for the project.

" - } - }, - "TeamMember": { - "base": "

Information about a team member in a project.

", - "refs": { - "TeamMemberResult$member": null - } - }, - "TeamMemberAlreadyAssociatedException": { - "base": "

The team member is already associated with a role in this project.

", - "refs": { - } - }, - "TeamMemberNotFoundException": { - "base": "

The specified team member was not found.

", - "refs": { - } - }, - "TeamMemberResult": { - "base": null, - "refs": { - "ListTeamMembersResult$teamMembers": "

A list of team member objects for the project.

" - } - }, - "TemplateParameterKey": { - "base": null, - "refs": { - "TemplateParameterMap$key": null - } - }, - "TemplateParameterMap": { - "base": null, - "refs": { - "Toolchain$stackParameters": "

The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.

" - } - }, - "TemplateParameterValue": { - "base": null, - "refs": { - "TemplateParameterMap$value": null - } - }, - "Toolchain": { - "base": "

The toolchain template file provided with the project request. AWS CodeStar uses the template to provision the toolchain stack in AWS CloudFormation.

", - "refs": { - "CreateProjectRequest$toolchain": "

The name of the toolchain template file submitted with the project request. If this parameter is specified, the request must also include the sourceCode parameter.

" - } - }, - "ToolchainSource": { - "base": "

The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS CodeStar retrieves the file during project creation.

", - "refs": { - "Toolchain$source": "

The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS CodeStar retrieves the file during project creation.

" - } - }, - "UntagProjectRequest": { - "base": null, - "refs": { - } - }, - "UntagProjectResult": { - "base": null, - "refs": { - } - }, - "UpdateProjectRequest": { - "base": null, - "refs": { - } - }, - "UpdateProjectResult": { - "base": null, - "refs": { - } - }, - "UpdateTeamMemberRequest": { - "base": null, - "refs": { - } - }, - "UpdateTeamMemberResult": { - "base": null, - "refs": { - } - }, - "UpdateUserProfileRequest": { - "base": null, - "refs": { - } - }, - "UpdateUserProfileResult": { - "base": null, - "refs": { - } - }, - "UserArn": { - "base": null, - "refs": { - "AssociateTeamMemberRequest$userArn": "

The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS CodeStar project.

", - "CreateUserProfileRequest$userArn": "

The Amazon Resource Name (ARN) of the user in IAM.

", - "CreateUserProfileResult$userArn": "

The Amazon Resource Name (ARN) of the user in IAM.

", - "DeleteUserProfileRequest$userArn": "

The Amazon Resource Name (ARN) of the user to delete from AWS CodeStar.

", - "DeleteUserProfileResult$userArn": "

The Amazon Resource Name (ARN) of the user deleted from AWS CodeStar.

", - "DescribeUserProfileRequest$userArn": "

The Amazon Resource Name (ARN) of the user.

", - "DescribeUserProfileResult$userArn": "

The Amazon Resource Name (ARN) of the user.

", - "DisassociateTeamMemberRequest$userArn": "

The Amazon Resource Name (ARN) of the IAM user or group whom you want to remove from the project.

", - "TeamMember$userArn": "

The Amazon Resource Name (ARN) of the user in IAM.

", - "UpdateTeamMemberRequest$userArn": "

The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes.

", - "UpdateTeamMemberResult$userArn": "

The Amazon Resource Name (ARN) of the user whose team membership attributes were updated.

", - "UpdateUserProfileRequest$userArn": "

The name that will be displayed as the friendly name for the user in AWS CodeStar.

", - "UpdateUserProfileResult$userArn": "

The Amazon Resource Name (ARN) of the user in IAM.

", - "UserProfileSummary$userArn": "

The Amazon Resource Name (ARN) of the user in IAM.

" - } - }, - "UserProfileAlreadyExistsException": { - "base": "

A user profile with that name already exists in this region for the AWS account. AWS CodeStar user profile names must be unique within a region for the AWS account.

", - "refs": { - } - }, - "UserProfileDisplayName": { - "base": null, - "refs": { - "CreateUserProfileRequest$displayName": "

The name that will be displayed as the friendly name for the user in AWS CodeStar.

", - "CreateUserProfileResult$displayName": "

The name that is displayed as the friendly name for the user in AWS CodeStar.

", - "DescribeUserProfileResult$displayName": "

The display name shown for the user in AWS CodeStar projects. For example, this could be set to both first and last name (\"Mary Major\") or a single name (\"Mary\"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example \"Mary Jane Major\") would generate an initial icon using the first character and the first character after the space (\"MJ\", not \"MM\").

", - "UpdateUserProfileRequest$displayName": "

The name that is displayed as the friendly name for the user in AWS CodeStar.

", - "UpdateUserProfileResult$displayName": "

The name that is displayed as the friendly name for the user in AWS CodeStar.

", - "UserProfileSummary$displayName": "

The display name of a user in AWS CodeStar. For example, this could be set to both first and last name (\"Mary Major\") or a single name (\"Mary\"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example \"Mary Jane Major\") would generate an initial icon using the first character and the first character after the space (\"MJ\", not \"MM\").

" - } - }, - "UserProfileNotFoundException": { - "base": "

The user profile was not found.

", - "refs": { - } - }, - "UserProfileSummary": { - "base": "

Information about a user's profile in AWS CodeStar.

", - "refs": { - "UserProfilesList$member": null - } - }, - "UserProfilesList": { - "base": null, - "refs": { - "ListUserProfilesResult$userProfiles": "

All the user profiles configured in AWS CodeStar for an AWS account.

" - } - }, - "ValidationException": { - "base": "

The specified input is either not valid, or it could not be validated.

", - "refs": { - } - } - } -} diff --git a/apis/codestar/2017-04-19/endpoint-rule-set-1.json b/apis/codestar/2017-04-19/endpoint-rule-set-1.json deleted file mode 100644 index bc48f9d098a..00000000000 --- a/apis/codestar/2017-04-19/endpoint-rule-set-1.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "String" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://codestar-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://codestar-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://codestar.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ] - }, - { - "conditions": [], - "endpoint": { - "url": "https://codestar.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] -} \ No newline at end of file diff --git a/apis/codestar/2017-04-19/endpoint-tests-1.json b/apis/codestar/2017-04-19/endpoint-tests-1.json deleted file mode 100644 index a4c4fb48a94..00000000000 --- a/apis/codestar/2017-04-19/endpoint-tests-1.json +++ /dev/null @@ -1,470 +0,0 @@ -{ - "testCases": [ - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.eu-north-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.eu-west-2.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.us-west-1.amazonaws.com" - } - }, - "params": { - "Region": "us-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://codestar-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://codestar.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://codestar-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://codestar.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://codestar-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://codestar.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://codestar.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" -} \ No newline at end of file diff --git a/apis/codestar/2017-04-19/examples-1.json b/apis/codestar/2017-04-19/examples-1.json deleted file mode 100644 index 0ea7e3b0bbe..00000000000 --- a/apis/codestar/2017-04-19/examples-1.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/apis/codestar/2017-04-19/paginators-1.json b/apis/codestar/2017-04-19/paginators-1.json deleted file mode 100644 index 5677bd8e4a2..00000000000 --- a/apis/codestar/2017-04-19/paginators-1.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "pagination": { - } -} diff --git a/gems/aws-sdk-codestar/CHANGELOG.md b/gems/aws-sdk-codestar/CHANGELOG.md deleted file mode 100644 index 23a2ee00a5c..00000000000 --- a/gems/aws-sdk-codestar/CHANGELOG.md +++ /dev/null @@ -1,357 +0,0 @@ -Unreleased Changes ------------------- - -1.59.0 (2024-08-09) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -* Feature - CodeStar has been removed from the SDK because it has been discontinued. - -1.58.0 (2024-07-18) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.57.0 (2024-07-02) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.56.0 (2024-06-28) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.55.0 (2024-06-25) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.54.0 (2024-06-24) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.53.0 (2024-06-05) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.52.0 (2024-05-13) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.51.0 (2024-04-25) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.50.0 (2024-01-26) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.49.0 (2023-11-28) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.48.0 (2023-11-22) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.47.0 (2023-09-27) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.46.0 (2023-09-19) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.45.0 (2023-07-11) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.44.0 (2023-07-06) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.43.0 (2023-06-28) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.42.0 (2023-06-15) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.41.0 (2023-05-31) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.40.0 (2023-01-18) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -* Issue - Replace runtime endpoint resolution approach with generated ruby code. - -1.39.0 (2022-10-25) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.38.0 (2022-02-24) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.37.0 (2022-02-03) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.36.0 (2021-12-21) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.35.0 (2021-11-30) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.34.0 (2021-11-04) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.33.0 (2021-10-18) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.32.0 (2021-09-01) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.31.0 (2021-07-30) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.30.0 (2021-07-28) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.29.0 (2021-03-10) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.28.0 (2021-02-02) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.27.0 (2020-09-30) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.26.0 (2020-09-15) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.25.0 (2020-08-25) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.24.0 (2020-07-02) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.23.0 (2020-06-23) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.22.1 (2020-06-11) ------------------- - -* Issue - Republish previous version with correct dependency on `aws-sdk-core`. - -1.22.0 (2020-06-10) ------------------- - -* Issue - This version has been yanked. (#2327). -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.21.0 (2020-05-28) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.20.0 (2020-05-07) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.19.0 (2020-03-09) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.18.0 (2019-10-23) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.17.0 (2019-07-25) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.16.0 (2019-07-01) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.15.0 (2019-06-17) ------------------- - -* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. - -1.14.0 (2019-05-21) ------------------- - -* Feature - API update. - -1.13.0 (2019-05-15) ------------------- - -* Feature - API update. - -1.12.0 (2019-05-14) ------------------- - -* Feature - API update. - -1.11.0 (2019-03-21) ------------------- - -* Feature - API update. - -1.10.0 (2019-03-18) ------------------- - -* Feature - API update. - -1.9.0 (2019-03-14) ------------------- - -* Feature - API update. - -1.8.0 (2018-11-20) ------------------- - -* Feature - API update. - -1.7.0 (2018-10-24) ------------------- - -* Feature - API update. - -1.6.0 (2018-10-23) ------------------- - -* Feature - API update. - -1.5.0 (2018-09-28) ------------------- - -* Feature - API update. - -1.4.0 (2018-09-06) ------------------- - -* Feature - Adds code paths and plugins for future SDK instrumentation and telemetry. - -1.3.0 (2018-09-05) ------------------- - -* Feature - API update. - -1.2.0 (2018-06-26) ------------------- - -* Feature - API update. - -1.1.0 (2017-09-05) ------------------- - -* Feature - API update. - -* Issue - Update `aws-sdk-codestar` gemspec metadata. - -1.0.0 (2017-08-29) ------------------- - -1.0.0.rc9 (2017-08-15) ------------------- - -* Feature - API update. - -1.0.0.rc8 (2017-07-31) ------------------- - -* Feature - API update. - -1.0.0.rc7 (2017-07-25) ------------------- - -* Feature - API update. - -1.0.0.rc6 (2017-07-13) ------------------- - -* Feature - API update. - -1.0.0.rc5 (2017-07-06) ------------------- - -* Feature - API update. - -1.0.0.rc4 (2017-06-29) ------------------- - -* Feature - API update. - -1.0.0.rc3 (2017-05-23) ------------------- - -* Feature - API update. - -1.0.0.rc2 (2017-05-09) ------------------- - -* Feature - API update. - -1.0.0.rc1 (2017-04-21) ------------------- - -* Feature - Initial release of `aws-sdk-codestar`. diff --git a/gems/aws-sdk-codestar/LICENSE.txt b/gems/aws-sdk-codestar/LICENSE.txt deleted file mode 100644 index d6456956733..00000000000 --- a/gems/aws-sdk-codestar/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/gems/aws-sdk-codestar/VERSION b/gems/aws-sdk-codestar/VERSION deleted file mode 100644 index bb120e876c6..00000000000 --- a/gems/aws-sdk-codestar/VERSION +++ /dev/null @@ -1 +0,0 @@ -1.59.0 diff --git a/gems/aws-sdk-codestar/aws-sdk-codestar.gemspec b/gems/aws-sdk-codestar/aws-sdk-codestar.gemspec deleted file mode 100644 index 04ac183d180..00000000000 --- a/gems/aws-sdk-codestar/aws-sdk-codestar.gemspec +++ /dev/null @@ -1,33 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -Gem::Specification.new do |spec| - - spec.name = 'aws-sdk-codestar' - spec.version = File.read(File.expand_path('../VERSION', __FILE__)).strip - spec.summary = 'AWS SDK for Ruby - CodeStar' - spec.description = '[DEPRECATED] Official AWS Ruby gem for AWS CodeStar (CodeStar). This gem is part of the AWS SDK for Ruby.' - spec.author = 'Amazon Web Services' - spec.homepage = 'https://github.com/aws/aws-sdk-ruby' - spec.license = 'Apache-2.0' - spec.email = ['aws-dr-rubygems@amazon.com'] - spec.require_paths = ['lib'] - spec.files = Dir["LICENSE.txt", "CHANGELOG.md", "VERSION", "lib/**/*.rb", "sig/**/*.rbs"] - - spec.metadata = { - 'source_code_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codestar', - 'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codestar/CHANGELOG.md' - } - - spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.201.0') - spec.add_dependency('aws-sigv4', '~> 1.5') - - spec.required_ruby_version = '>= 2.5' - spec.post_install_message = '*** aws-sdk-codestar is deprecated ***' -end diff --git a/gems/aws-sdk-codestar/features/env.rb b/gems/aws-sdk-codestar/features/env.rb deleted file mode 100644 index 52d13cc97b9..00000000000 --- a/gems/aws-sdk-codestar/features/env.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -$:.unshift(File.expand_path('../../lib', __FILE__)) -$:.unshift(File.expand_path('../../../aws-sdk-core/features', __FILE__)) -$:.unshift(File.expand_path('../../../aws-sdk-core/lib', __FILE__)) -$:.unshift(File.expand_path('../../../aws-sigv4/lib', __FILE__)) - -require 'features_helper' -require 'aws-sdk-codestar' - -Aws::CodeStar::Client.add_plugin(ApiCallTracker) diff --git a/gems/aws-sdk-codestar/features/step_definitions.rb b/gems/aws-sdk-codestar/features/step_definitions.rb deleted file mode 100644 index c1fbc8c3620..00000000000 --- a/gems/aws-sdk-codestar/features/step_definitions.rb +++ /dev/null @@ -1,10 +0,0 @@ -# frozen_string_literal: true - -Before("@codestar") do - @service = Aws::CodeStar::Resource.new - @client = @service.client -end - -After("@codestar") do - # shared cleanup logic -end diff --git a/gems/aws-sdk-codestar/lib/aws-sdk-codestar.rb b/gems/aws-sdk-codestar/lib/aws-sdk-codestar.rb deleted file mode 100644 index 526ddcb7da7..00000000000 --- a/gems/aws-sdk-codestar/lib/aws-sdk-codestar.rb +++ /dev/null @@ -1,57 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - - -require 'aws-sdk-core' -require 'aws-sigv4' - -require_relative 'aws-sdk-codestar/types' -require_relative 'aws-sdk-codestar/client_api' -require_relative 'aws-sdk-codestar/plugins/endpoints.rb' -require_relative 'aws-sdk-codestar/client' -require_relative 'aws-sdk-codestar/errors' -require_relative 'aws-sdk-codestar/resource' -require_relative 'aws-sdk-codestar/endpoint_parameters' -require_relative 'aws-sdk-codestar/endpoint_provider' -require_relative 'aws-sdk-codestar/endpoints' -require_relative 'aws-sdk-codestar/customizations' - -# This module provides support for AWS CodeStar. This module is available in the -# `aws-sdk-codestar` gem. -# -# # Client -# -# The {Client} class provides one method for each API operation. Operation -# methods each accept a hash of request parameters and return a response -# structure. -# -# code_star = Aws::CodeStar::Client.new -# resp = code_star.associate_team_member(params) -# -# See {Client} for more information. -# -# # Errors -# -# Errors returned from AWS CodeStar are defined in the -# {Errors} module and all extend {Errors::ServiceError}. -# -# begin -# # do stuff -# rescue Aws::CodeStar::Errors::ServiceError -# # rescues all AWS CodeStar API errors -# end -# -# See {Errors} for more information. -# -# @!group service -module Aws::CodeStar - - GEM_VERSION = '1.59.0' - -end diff --git a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/client.rb b/gems/aws-sdk-codestar/lib/aws-sdk-codestar/client.rb deleted file mode 100644 index b07ca0d8363..00000000000 --- a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/client.rb +++ /dev/null @@ -1,1282 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -require 'seahorse/client/plugins/content_length.rb' -require 'aws-sdk-core/plugins/credentials_configuration.rb' -require 'aws-sdk-core/plugins/logging.rb' -require 'aws-sdk-core/plugins/param_converter.rb' -require 'aws-sdk-core/plugins/param_validator.rb' -require 'aws-sdk-core/plugins/user_agent.rb' -require 'aws-sdk-core/plugins/helpful_socket_errors.rb' -require 'aws-sdk-core/plugins/retry_errors.rb' -require 'aws-sdk-core/plugins/global_configuration.rb' -require 'aws-sdk-core/plugins/regional_endpoint.rb' -require 'aws-sdk-core/plugins/endpoint_discovery.rb' -require 'aws-sdk-core/plugins/endpoint_pattern.rb' -require 'aws-sdk-core/plugins/response_paging.rb' -require 'aws-sdk-core/plugins/stub_responses.rb' -require 'aws-sdk-core/plugins/idempotency_token.rb' -require 'aws-sdk-core/plugins/invocation_id.rb' -require 'aws-sdk-core/plugins/jsonvalue_converter.rb' -require 'aws-sdk-core/plugins/client_metrics_plugin.rb' -require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb' -require 'aws-sdk-core/plugins/transfer_encoding.rb' -require 'aws-sdk-core/plugins/http_checksum.rb' -require 'aws-sdk-core/plugins/checksum_algorithm.rb' -require 'aws-sdk-core/plugins/request_compression.rb' -require 'aws-sdk-core/plugins/defaults_mode.rb' -require 'aws-sdk-core/plugins/recursion_detection.rb' -require 'aws-sdk-core/plugins/sign.rb' -require 'aws-sdk-core/plugins/protocols/json_rpc.rb' - -Aws::Plugins::GlobalConfiguration.add_identifier(:codestar) - -module Aws::CodeStar - # An API client for CodeStar. To construct a client, you need to configure a `:region` and `:credentials`. - # - # client = Aws::CodeStar::Client.new( - # region: region_name, - # credentials: credentials, - # # ... - # ) - # - # For details on configuring region and credentials see - # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html). - # - # See {#initialize} for a full list of supported configuration options. - class Client < Seahorse::Client::Base - - include Aws::ClientStubs - - @identifier = :codestar - - set_api(ClientApi::API) - - add_plugin(Seahorse::Client::Plugins::ContentLength) - add_plugin(Aws::Plugins::CredentialsConfiguration) - add_plugin(Aws::Plugins::Logging) - add_plugin(Aws::Plugins::ParamConverter) - add_plugin(Aws::Plugins::ParamValidator) - add_plugin(Aws::Plugins::UserAgent) - add_plugin(Aws::Plugins::HelpfulSocketErrors) - add_plugin(Aws::Plugins::RetryErrors) - add_plugin(Aws::Plugins::GlobalConfiguration) - add_plugin(Aws::Plugins::RegionalEndpoint) - add_plugin(Aws::Plugins::EndpointDiscovery) - add_plugin(Aws::Plugins::EndpointPattern) - add_plugin(Aws::Plugins::ResponsePaging) - add_plugin(Aws::Plugins::StubResponses) - add_plugin(Aws::Plugins::IdempotencyToken) - add_plugin(Aws::Plugins::InvocationId) - add_plugin(Aws::Plugins::JsonvalueConverter) - add_plugin(Aws::Plugins::ClientMetricsPlugin) - add_plugin(Aws::Plugins::ClientMetricsSendPlugin) - add_plugin(Aws::Plugins::TransferEncoding) - add_plugin(Aws::Plugins::HttpChecksum) - add_plugin(Aws::Plugins::ChecksumAlgorithm) - add_plugin(Aws::Plugins::RequestCompression) - add_plugin(Aws::Plugins::DefaultsMode) - add_plugin(Aws::Plugins::RecursionDetection) - add_plugin(Aws::Plugins::Sign) - add_plugin(Aws::Plugins::Protocols::JsonRpc) - add_plugin(Aws::CodeStar::Plugins::Endpoints) - - # @overload initialize(options) - # @param [Hash] options - # - # @option options [Array] :plugins ([]]) - # A list of plugins to apply to the client. Each plugin is either a - # class name or an instance of a plugin class. - # - # @option options [required, Aws::CredentialProvider] :credentials - # Your AWS credentials. This can be an instance of any one of the - # following classes: - # - # * `Aws::Credentials` - Used for configuring static, non-refreshing - # credentials. - # - # * `Aws::SharedCredentials` - Used for loading static credentials from a - # shared file, such as `~/.aws/config`. - # - # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role. - # - # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to - # assume a role after providing credentials via the web. - # - # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an - # access token generated from `aws login`. - # - # * `Aws::ProcessCredentials` - Used for loading credentials from a - # process that outputs to stdout. - # - # * `Aws::InstanceProfileCredentials` - Used for loading credentials - # from an EC2 IMDS on an EC2 instance. - # - # * `Aws::ECSCredentials` - Used for loading credentials from - # instances running in ECS. - # - # * `Aws::CognitoIdentityCredentials` - Used for loading credentials - # from the Cognito Identity service. - # - # When `:credentials` are not configured directly, the following - # locations will be searched for credentials: - # - # * `Aws.config[:credentials]` - # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options. - # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'] - # * `~/.aws/credentials` - # * `~/.aws/config` - # * EC2/ECS IMDS instance profile - When used by default, the timeouts - # are very aggressive. Construct and pass an instance of - # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to - # enable retries and extended timeouts. Instance profile credential - # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED'] - # to true. - # - # @option options [required, String] :region - # The AWS region to connect to. The configured `:region` is - # used to determine the service `:endpoint`. When not passed, - # a default `:region` is searched for in the following locations: - # - # * `Aws.config[:region]` - # * `ENV['AWS_REGION']` - # * `ENV['AMAZON_REGION']` - # * `ENV['AWS_DEFAULT_REGION']` - # * `~/.aws/credentials` - # * `~/.aws/config` - # - # @option options [String] :access_key_id - # - # @option options [Boolean] :active_endpoint_cache (false) - # When set to `true`, a thread polling for endpoints will be running in - # the background every 60 secs (default). Defaults to `false`. - # - # @option options [Boolean] :adaptive_retry_wait_to_fill (true) - # Used only in `adaptive` retry mode. When true, the request will sleep - # until there is sufficent client side capacity to retry the request. - # When false, the request will raise a `RetryCapacityNotAvailableError` and will - # not retry instead of sleeping. - # - # @option options [Boolean] :client_side_monitoring (false) - # When `true`, client-side metrics will be collected for all API requests from - # this client. - # - # @option options [String] :client_side_monitoring_client_id ("") - # Allows you to provide an identifier for this client which will be attached to - # all generated client side metrics. Defaults to an empty string. - # - # @option options [String] :client_side_monitoring_host ("127.0.0.1") - # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client - # side monitoring agent is running on, where client metrics will be published via UDP. - # - # @option options [Integer] :client_side_monitoring_port (31000) - # Required for publishing client metrics. The port that the client side monitoring - # agent is running on, where client metrics will be published via UDP. - # - # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher) - # Allows you to provide a custom client-side monitoring publisher class. By default, - # will use the Client Side Monitoring Agent Publisher. - # - # @option options [Boolean] :convert_params (true) - # When `true`, an attempt is made to coerce request parameters into - # the required types. - # - # @option options [Boolean] :correct_clock_skew (true) - # Used only in `standard` and adaptive retry modes. Specifies whether to apply - # a clock skew correction and retry requests with skewed client clocks. - # - # @option options [String] :defaults_mode ("legacy") - # See {Aws::DefaultsModeConfiguration} for a list of the - # accepted modes and the configuration defaults that are included. - # - # @option options [Boolean] :disable_host_prefix_injection (false) - # Set to true to disable SDK automatically adding host prefix - # to default service endpoint when available. - # - # @option options [Boolean] :disable_request_compression (false) - # When set to 'true' the request body will not be compressed - # for supported operations. - # - # @option options [String, URI::HTTPS, URI::HTTP] :endpoint - # Normally you should not configure the `:endpoint` option - # directly. This is normally constructed from the `:region` - # option. Configuring `:endpoint` is normally reserved for - # connecting to test or custom endpoints. The endpoint should - # be a URI formatted like: - # - # 'http://example.com' - # 'https://example.com' - # 'http://example.com:123' - # - # @option options [Integer] :endpoint_cache_max_entries (1000) - # Used for the maximum size limit of the LRU cache storing endpoints data - # for endpoint discovery enabled operations. Defaults to 1000. - # - # @option options [Integer] :endpoint_cache_max_threads (10) - # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10. - # - # @option options [Integer] :endpoint_cache_poll_interval (60) - # When :endpoint_discovery and :active_endpoint_cache is enabled, - # Use this option to config the time interval in seconds for making - # requests fetching endpoints information. Defaults to 60 sec. - # - # @option options [Boolean] :endpoint_discovery (false) - # When set to `true`, endpoint discovery will be enabled for operations when available. - # - # @option options [Boolean] :ignore_configured_endpoint_urls - # Setting to true disables use of endpoint URLs provided via environment - # variables and the shared configuration file. - # - # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default) - # The log formatter. - # - # @option options [Symbol] :log_level (:info) - # The log level to send messages to the `:logger` at. - # - # @option options [Logger] :logger - # The Logger instance to send log messages to. If this option - # is not set, logging will be disabled. - # - # @option options [Integer] :max_attempts (3) - # An integer representing the maximum number attempts that will be made for - # a single request, including the initial attempt. For example, - # setting this value to 5 will result in a request being retried up to - # 4 times. Used in `standard` and `adaptive` retry modes. - # - # @option options [String] :profile ("default") - # Used when loading credentials from the shared credentials file - # at HOME/.aws/credentials. When not specified, 'default' is used. - # - # @option options [Integer] :request_min_compression_size_bytes (10240) - # The minimum size in bytes that triggers compression for request - # bodies. The value must be non-negative integer value between 0 - # and 10485780 bytes inclusive. - # - # @option options [Proc] :retry_backoff - # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay. - # This option is only used in the `legacy` retry mode. - # - # @option options [Float] :retry_base_delay (0.3) - # The base delay in seconds used by the default backoff function. This option - # is only used in the `legacy` retry mode. - # - # @option options [Symbol] :retry_jitter (:none) - # A delay randomiser function used by the default backoff function. - # Some predefined functions can be referenced by name - :none, :equal, :full, - # otherwise a Proc that takes and returns a number. This option is only used - # in the `legacy` retry mode. - # - # @see https://www.awsarchitectureblog.com/2015/03/backoff.html - # - # @option options [Integer] :retry_limit (3) - # The maximum number of times to retry failed requests. Only - # ~ 500 level server errors and certain ~ 400 level client errors - # are retried. Generally, these are throttling errors, data - # checksum errors, networking errors, timeout errors, auth errors, - # endpoint discovery, and errors from expired credentials. - # This option is only used in the `legacy` retry mode. - # - # @option options [Integer] :retry_max_delay (0) - # The maximum number of seconds to delay between retries (0 for no limit) - # used by the default backoff function. This option is only used in the - # `legacy` retry mode. - # - # @option options [String] :retry_mode ("legacy") - # Specifies which retry algorithm to use. Values are: - # - # * `legacy` - The pre-existing retry behavior. This is default value if - # no retry mode is provided. - # - # * `standard` - A standardized set of retry rules across the AWS SDKs. - # This includes support for retry quotas, which limit the number of - # unsuccessful retries a client can make. - # - # * `adaptive` - An experimental retry mode that includes all the - # functionality of `standard` mode along with automatic client side - # throttling. This is a provisional mode that may change behavior - # in the future. - # - # @option options [String] :sdk_ua_app_id - # A unique and opaque application ID that is appended to the - # User-Agent header as app/sdk_ua_app_id. It should have a - # maximum length of 50. This variable is sourced from environment - # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id. - # - # @option options [String] :secret_access_key - # - # @option options [String] :session_token - # - # @option options [Array] :sigv4a_signing_region_set - # A list of regions that should be signed with SigV4a signing. When - # not passed, a default `:sigv4a_signing_region_set` is searched for - # in the following locations: - # - # * `Aws.config[:sigv4a_signing_region_set]` - # * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']` - # * `~/.aws/config` - # - # @option options [Boolean] :simple_json (false) - # Disables request parameter conversion, validation, and formatting. - # Also disables response data type conversions. The request parameters - # hash must be formatted exactly as the API expects.This option is useful - # when you want to ensure the highest level of performance by avoiding - # overhead of walking request parameters and response data structures. - # - # @option options [Boolean] :stub_responses (false) - # Causes the client to return stubbed responses. By default - # fake responses are generated and returned. You can specify - # the response data to return or errors to raise by calling - # {ClientStubs#stub_responses}. See {ClientStubs} for more information. - # - # ** Please note ** When response stubbing is enabled, no HTTP - # requests are made, and retries are disabled. - # - # @option options [Aws::TokenProvider] :token_provider - # A Bearer Token Provider. This can be an instance of any one of the - # following classes: - # - # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing - # tokens. - # - # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an - # access token generated from `aws login`. - # - # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain` - # will be used to search for tokens configured for your profile in shared configuration files. - # - # @option options [Boolean] :use_dualstack_endpoint - # When set to `true`, dualstack enabled endpoints (with `.aws` TLD) - # will be used if available. - # - # @option options [Boolean] :use_fips_endpoint - # When set to `true`, fips compatible endpoints will be used if available. - # When a `fips` region is used, the region is normalized and this config - # is set to `true`. - # - # @option options [Boolean] :validate_params (true) - # When `true`, request parameters are validated before - # sending the request. - # - # @option options [Aws::CodeStar::EndpointProvider] :endpoint_provider - # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::CodeStar::EndpointParameters` - # - # @option options [Float] :http_continue_timeout (1) - # The number of seconds to wait for a 100-continue response before sending the - # request body. This option has no effect unless the request has "Expect" - # header set to "100-continue". Defaults to `nil` which disables this - # behaviour. This value can safely be set per request on the session. - # - # @option options [Float] :http_idle_timeout (5) - # The number of seconds a connection is allowed to sit idle before it - # is considered stale. Stale connections are closed and removed from the - # pool before making a request. - # - # @option options [Float] :http_open_timeout (15) - # The default number of seconds to wait for response data. - # This value can safely be set per-request on the session. - # - # @option options [URI::HTTP,String] :http_proxy - # A proxy to send requests through. Formatted like 'http://proxy.com:123'. - # - # @option options [Float] :http_read_timeout (60) - # The default number of seconds to wait for response data. - # This value can safely be set per-request on the session. - # - # @option options [Boolean] :http_wire_trace (false) - # When `true`, HTTP debug output will be sent to the `:logger`. - # - # @option options [Proc] :on_chunk_received - # When a Proc object is provided, it will be used as callback when each chunk - # of the response body is received. It provides three arguments: the chunk, - # the number of bytes received, and the total number of - # bytes in the response (or nil if the server did not send a `content-length`). - # - # @option options [Proc] :on_chunk_sent - # When a Proc object is provided, it will be used as callback when each chunk - # of the request body is sent. It provides three arguments: the chunk, - # the number of bytes read from the body, and the total number of - # bytes in the body. - # - # @option options [Boolean] :raise_response_errors (true) - # When `true`, response errors are raised. - # - # @option options [String] :ssl_ca_bundle - # Full path to the SSL certificate authority bundle file that should be used when - # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or - # `:ssl_ca_directory` the the system default will be used if available. - # - # @option options [String] :ssl_ca_directory - # Full path of the directory that contains the unbundled SSL certificate - # authority files for verifying peer certificates. If you do - # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system - # default will be used if available. - # - # @option options [String] :ssl_ca_store - # Sets the X509::Store to verify peer certificate. - # - # @option options [Float] :ssl_timeout - # Sets the SSL timeout in seconds - # - # @option options [Boolean] :ssl_verify_peer (true) - # When `true`, SSL peer certificates are verified when establishing a connection. - # - def initialize(*args) - super - end - - # @!group API Operations - - # Adds an IAM user to the team for an AWS CodeStar project. - # - # @option params [required, String] :project_id - # The ID of the project to which you will add the IAM user. - # - # @option params [String] :client_request_token - # A user- or system-generated token that identifies the entity that - # requested the team member association to the project. This token can - # be used to repeat the request. - # - # @option params [required, String] :user_arn - # The Amazon Resource Name (ARN) for the IAM user you want to add to the - # AWS CodeStar project. - # - # @option params [required, String] :project_role - # The AWS CodeStar project role that will apply to this user. This role - # determines what actions a user can take in an AWS CodeStar project. - # - # @option params [Boolean] :remote_access_allowed - # Whether the team member is allowed to use an SSH public/private key - # pair to remotely access project resources, for example Amazon EC2 - # instances. - # - # @return [Types::AssociateTeamMemberResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::AssociateTeamMemberResult#client_request_token #client_request_token} => String - # - # @example Request syntax with placeholder values - # - # resp = client.associate_team_member({ - # project_id: "ProjectId", # required - # client_request_token: "ClientRequestToken", - # user_arn: "UserArn", # required - # project_role: "Role", # required - # remote_access_allowed: false, - # }) - # - # @example Response structure - # - # resp.client_request_token #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/AssociateTeamMember AWS API Documentation - # - # @overload associate_team_member(params = {}) - # @param [Hash] params ({}) - def associate_team_member(params = {}, options = {}) - req = build_request(:associate_team_member, params) - req.send_request(options) - end - - # Creates a project, including project resources. This action creates a - # project based on a submitted project request. A set of source code - # files and a toolchain template file can be included with the project - # request. If these are not provided, an empty project is created. - # - # @option params [required, String] :name - # The display name for the project to be created in AWS CodeStar. - # - # @option params [required, String] :id - # The ID of the project to be created in AWS CodeStar. - # - # @option params [String] :description - # The description of the project, if any. - # - # @option params [String] :client_request_token - # A user- or system-generated token that identifies the entity that - # requested project creation. This token can be used to repeat the - # request. - # - # @option params [Array] :source_code - # A list of the Code objects submitted with the project request. If this - # parameter is specified, the request must also include the toolchain - # parameter. - # - # @option params [Types::Toolchain] :toolchain - # The name of the toolchain template file submitted with the project - # request. If this parameter is specified, the request must also include - # the sourceCode parameter. - # - # @option params [Hash] :tags - # The tags created for the project. - # - # @return [Types::CreateProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::CreateProjectResult#id #id} => String - # * {Types::CreateProjectResult#arn #arn} => String - # * {Types::CreateProjectResult#client_request_token #client_request_token} => String - # * {Types::CreateProjectResult#project_template_id #project_template_id} => String - # - # @example Request syntax with placeholder values - # - # resp = client.create_project({ - # name: "ProjectName", # required - # id: "ProjectId", # required - # description: "ProjectDescription", - # client_request_token: "ClientRequestToken", - # source_code: [ - # { - # source: { # required - # s3: { # required - # bucket_name: "BucketName", - # bucket_key: "BucketKey", - # }, - # }, - # destination: { # required - # code_commit: { - # name: "RepositoryName", # required - # }, - # git_hub: { - # name: "RepositoryName", # required - # description: "RepositoryDescription", - # type: "RepositoryType", # required - # owner: "RepositoryOwner", # required - # private_repository: false, # required - # issues_enabled: false, # required - # token: "GitHubPersonalToken", # required - # }, - # }, - # }, - # ], - # toolchain: { - # source: { # required - # s3: { # required - # bucket_name: "BucketName", - # bucket_key: "BucketKey", - # }, - # }, - # role_arn: "RoleArn", - # stack_parameters: { - # "TemplateParameterKey" => "TemplateParameterValue", - # }, - # }, - # tags: { - # "TagKey" => "TagValue", - # }, - # }) - # - # @example Response structure - # - # resp.id #=> String - # resp.arn #=> String - # resp.client_request_token #=> String - # resp.project_template_id #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateProject AWS API Documentation - # - # @overload create_project(params = {}) - # @param [Hash] params ({}) - def create_project(params = {}, options = {}) - req = build_request(:create_project, params) - req.send_request(options) - end - - # Creates a profile for a user that includes user preferences, such as - # the display name and email address assocciated with the user, in AWS - # CodeStar. The user profile is not project-specific. Information in the - # user profile is displayed wherever the user's information appears to - # other users in AWS CodeStar. - # - # @option params [required, String] :user_arn - # The Amazon Resource Name (ARN) of the user in IAM. - # - # @option params [required, String] :display_name - # The name that will be displayed as the friendly name for the user in - # AWS CodeStar. - # - # @option params [required, String] :email_address - # The email address that will be displayed as part of the user's - # profile in AWS CodeStar. - # - # @option params [String] :ssh_public_key - # The SSH public key associated with the user in AWS CodeStar. If a - # project owner allows the user remote access to project resources, this - # public key will be used along with the user's private key for SSH - # access. - # - # @return [Types::CreateUserProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::CreateUserProfileResult#user_arn #user_arn} => String - # * {Types::CreateUserProfileResult#display_name #display_name} => String - # * {Types::CreateUserProfileResult#email_address #email_address} => String - # * {Types::CreateUserProfileResult#ssh_public_key #ssh_public_key} => String - # * {Types::CreateUserProfileResult#created_timestamp #created_timestamp} => Time - # * {Types::CreateUserProfileResult#last_modified_timestamp #last_modified_timestamp} => Time - # - # @example Request syntax with placeholder values - # - # resp = client.create_user_profile({ - # user_arn: "UserArn", # required - # display_name: "UserProfileDisplayName", # required - # email_address: "Email", # required - # ssh_public_key: "SshPublicKey", - # }) - # - # @example Response structure - # - # resp.user_arn #=> String - # resp.display_name #=> String - # resp.email_address #=> String - # resp.ssh_public_key #=> String - # resp.created_timestamp #=> Time - # resp.last_modified_timestamp #=> Time - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateUserProfile AWS API Documentation - # - # @overload create_user_profile(params = {}) - # @param [Hash] params ({}) - def create_user_profile(params = {}, options = {}) - req = build_request(:create_user_profile, params) - req.send_request(options) - end - - # Deletes a project, including project resources. Does not delete users - # associated with the project, but does delete the IAM roles that - # allowed access to the project. - # - # @option params [required, String] :id - # The ID of the project to be deleted in AWS CodeStar. - # - # @option params [String] :client_request_token - # A user- or system-generated token that identifies the entity that - # requested project deletion. This token can be used to repeat the - # request. - # - # @option params [Boolean] :delete_stack - # Whether to send a delete request for the primary stack in AWS - # CloudFormation originally used to generate the project and its - # resources. This option will delete all AWS resources for the project - # (except for any buckets in Amazon S3) as well as deleting the project - # itself. Recommended for most use cases. - # - # @return [Types::DeleteProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::DeleteProjectResult#stack_id #stack_id} => String - # * {Types::DeleteProjectResult#project_arn #project_arn} => String - # - # @example Request syntax with placeholder values - # - # resp = client.delete_project({ - # id: "ProjectId", # required - # client_request_token: "ClientRequestToken", - # delete_stack: false, - # }) - # - # @example Response structure - # - # resp.stack_id #=> String - # resp.project_arn #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteProject AWS API Documentation - # - # @overload delete_project(params = {}) - # @param [Hash] params ({}) - def delete_project(params = {}, options = {}) - req = build_request(:delete_project, params) - req.send_request(options) - end - - # Deletes a user profile in AWS CodeStar, including all personal - # preference data associated with that profile, such as display name and - # email address. It does not delete the history of that user, for - # example the history of commits made by that user. - # - # @option params [required, String] :user_arn - # The Amazon Resource Name (ARN) of the user to delete from AWS - # CodeStar. - # - # @return [Types::DeleteUserProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::DeleteUserProfileResult#user_arn #user_arn} => String - # - # @example Request syntax with placeholder values - # - # resp = client.delete_user_profile({ - # user_arn: "UserArn", # required - # }) - # - # @example Response structure - # - # resp.user_arn #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteUserProfile AWS API Documentation - # - # @overload delete_user_profile(params = {}) - # @param [Hash] params ({}) - def delete_user_profile(params = {}, options = {}) - req = build_request(:delete_user_profile, params) - req.send_request(options) - end - - # Describes a project and its resources. - # - # @option params [required, String] :id - # The ID of the project. - # - # @return [Types::DescribeProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::DescribeProjectResult#name #name} => String - # * {Types::DescribeProjectResult#id #id} => String - # * {Types::DescribeProjectResult#arn #arn} => String - # * {Types::DescribeProjectResult#description #description} => String - # * {Types::DescribeProjectResult#client_request_token #client_request_token} => String - # * {Types::DescribeProjectResult#created_time_stamp #created_time_stamp} => Time - # * {Types::DescribeProjectResult#stack_id #stack_id} => String - # * {Types::DescribeProjectResult#project_template_id #project_template_id} => String - # * {Types::DescribeProjectResult#status #status} => Types::ProjectStatus - # - # @example Request syntax with placeholder values - # - # resp = client.describe_project({ - # id: "ProjectId", # required - # }) - # - # @example Response structure - # - # resp.name #=> String - # resp.id #=> String - # resp.arn #=> String - # resp.description #=> String - # resp.client_request_token #=> String - # resp.created_time_stamp #=> Time - # resp.stack_id #=> String - # resp.project_template_id #=> String - # resp.status.state #=> String - # resp.status.reason #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeProject AWS API Documentation - # - # @overload describe_project(params = {}) - # @param [Hash] params ({}) - def describe_project(params = {}, options = {}) - req = build_request(:describe_project, params) - req.send_request(options) - end - - # Describes a user in AWS CodeStar and the user attributes across all - # projects. - # - # @option params [required, String] :user_arn - # The Amazon Resource Name (ARN) of the user. - # - # @return [Types::DescribeUserProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::DescribeUserProfileResult#user_arn #user_arn} => String - # * {Types::DescribeUserProfileResult#display_name #display_name} => String - # * {Types::DescribeUserProfileResult#email_address #email_address} => String - # * {Types::DescribeUserProfileResult#ssh_public_key #ssh_public_key} => String - # * {Types::DescribeUserProfileResult#created_timestamp #created_timestamp} => Time - # * {Types::DescribeUserProfileResult#last_modified_timestamp #last_modified_timestamp} => Time - # - # @example Request syntax with placeholder values - # - # resp = client.describe_user_profile({ - # user_arn: "UserArn", # required - # }) - # - # @example Response structure - # - # resp.user_arn #=> String - # resp.display_name #=> String - # resp.email_address #=> String - # resp.ssh_public_key #=> String - # resp.created_timestamp #=> Time - # resp.last_modified_timestamp #=> Time - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeUserProfile AWS API Documentation - # - # @overload describe_user_profile(params = {}) - # @param [Hash] params ({}) - def describe_user_profile(params = {}, options = {}) - req = build_request(:describe_user_profile, params) - req.send_request(options) - end - - # Removes a user from a project. Removing a user from a project also - # removes the IAM policies from that user that allowed access to the - # project and its resources. Disassociating a team member does not - # remove that user's profile from AWS CodeStar. It does not remove the - # user from IAM. - # - # @option params [required, String] :project_id - # The ID of the AWS CodeStar project from which you want to remove a - # team member. - # - # @option params [required, String] :user_arn - # The Amazon Resource Name (ARN) of the IAM user or group whom you want - # to remove from the project. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.disassociate_team_member({ - # project_id: "ProjectId", # required - # user_arn: "UserArn", # required - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DisassociateTeamMember AWS API Documentation - # - # @overload disassociate_team_member(params = {}) - # @param [Hash] params ({}) - def disassociate_team_member(params = {}, options = {}) - req = build_request(:disassociate_team_member, params) - req.send_request(options) - end - - # Lists all projects in AWS CodeStar associated with your AWS account. - # - # @option params [String] :next_token - # The continuation token to be used to return the next set of results, - # if the results cannot be returned in one response. - # - # @option params [Integer] :max_results - # The maximum amount of data that can be contained in a single set of - # results. - # - # @return [Types::ListProjectsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::ListProjectsResult#projects #projects} => Array<Types::ProjectSummary> - # * {Types::ListProjectsResult#next_token #next_token} => String - # - # @example Request syntax with placeholder values - # - # resp = client.list_projects({ - # next_token: "PaginationToken", - # max_results: 1, - # }) - # - # @example Response structure - # - # resp.projects #=> Array - # resp.projects[0].project_id #=> String - # resp.projects[0].project_arn #=> String - # resp.next_token #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListProjects AWS API Documentation - # - # @overload list_projects(params = {}) - # @param [Hash] params ({}) - def list_projects(params = {}, options = {}) - req = build_request(:list_projects, params) - req.send_request(options) - end - - # Lists resources associated with a project in AWS CodeStar. - # - # @option params [required, String] :project_id - # The ID of the project. - # - # @option params [String] :next_token - # The continuation token for the next set of results, if the results - # cannot be returned in one response. - # - # @option params [Integer] :max_results - # The maximum amount of data that can be contained in a single set of - # results. - # - # @return [Types::ListResourcesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::ListResourcesResult#resources #resources} => Array<Types::Resource> - # * {Types::ListResourcesResult#next_token #next_token} => String - # - # @example Request syntax with placeholder values - # - # resp = client.list_resources({ - # project_id: "ProjectId", # required - # next_token: "PaginationToken", - # max_results: 1, - # }) - # - # @example Response structure - # - # resp.resources #=> Array - # resp.resources[0].id #=> String - # resp.next_token #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListResources AWS API Documentation - # - # @overload list_resources(params = {}) - # @param [Hash] params ({}) - def list_resources(params = {}, options = {}) - req = build_request(:list_resources, params) - req.send_request(options) - end - - # Gets the tags for a project. - # - # @option params [required, String] :id - # The ID of the project to get tags for. - # - # @option params [String] :next_token - # Reserved for future use. - # - # @option params [Integer] :max_results - # Reserved for future use. - # - # @return [Types::ListTagsForProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::ListTagsForProjectResult#tags #tags} => Hash<String,String> - # * {Types::ListTagsForProjectResult#next_token #next_token} => String - # - # @example Request syntax with placeholder values - # - # resp = client.list_tags_for_project({ - # id: "ProjectId", # required - # next_token: "PaginationToken", - # max_results: 1, - # }) - # - # @example Response structure - # - # resp.tags #=> Hash - # resp.tags["TagKey"] #=> String - # resp.next_token #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProject AWS API Documentation - # - # @overload list_tags_for_project(params = {}) - # @param [Hash] params ({}) - def list_tags_for_project(params = {}, options = {}) - req = build_request(:list_tags_for_project, params) - req.send_request(options) - end - - # Lists all team members associated with a project. - # - # @option params [required, String] :project_id - # The ID of the project for which you want to list team members. - # - # @option params [String] :next_token - # The continuation token for the next set of results, if the results - # cannot be returned in one response. - # - # @option params [Integer] :max_results - # The maximum number of team members you want returned in a response. - # - # @return [Types::ListTeamMembersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::ListTeamMembersResult#team_members #team_members} => Array<Types::TeamMember> - # * {Types::ListTeamMembersResult#next_token #next_token} => String - # - # @example Request syntax with placeholder values - # - # resp = client.list_team_members({ - # project_id: "ProjectId", # required - # next_token: "PaginationToken", - # max_results: 1, - # }) - # - # @example Response structure - # - # resp.team_members #=> Array - # resp.team_members[0].user_arn #=> String - # resp.team_members[0].project_role #=> String - # resp.team_members[0].remote_access_allowed #=> Boolean - # resp.next_token #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTeamMembers AWS API Documentation - # - # @overload list_team_members(params = {}) - # @param [Hash] params ({}) - def list_team_members(params = {}, options = {}) - req = build_request(:list_team_members, params) - req.send_request(options) - end - - # Lists all the user profiles configured for your AWS account in AWS - # CodeStar. - # - # @option params [String] :next_token - # The continuation token for the next set of results, if the results - # cannot be returned in one response. - # - # @option params [Integer] :max_results - # The maximum number of results to return in a response. - # - # @return [Types::ListUserProfilesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::ListUserProfilesResult#user_profiles #user_profiles} => Array<Types::UserProfileSummary> - # * {Types::ListUserProfilesResult#next_token #next_token} => String - # - # @example Request syntax with placeholder values - # - # resp = client.list_user_profiles({ - # next_token: "PaginationToken", - # max_results: 1, - # }) - # - # @example Response structure - # - # resp.user_profiles #=> Array - # resp.user_profiles[0].user_arn #=> String - # resp.user_profiles[0].display_name #=> String - # resp.user_profiles[0].email_address #=> String - # resp.user_profiles[0].ssh_public_key #=> String - # resp.next_token #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListUserProfiles AWS API Documentation - # - # @overload list_user_profiles(params = {}) - # @param [Hash] params ({}) - def list_user_profiles(params = {}, options = {}) - req = build_request(:list_user_profiles, params) - req.send_request(options) - end - - # Adds tags to a project. - # - # @option params [required, String] :id - # The ID of the project you want to add a tag to. - # - # @option params [required, Hash] :tags - # The tags you want to add to the project. - # - # @return [Types::TagProjectResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::TagProjectResult#tags #tags} => Hash<String,String> - # - # @example Request syntax with placeholder values - # - # resp = client.tag_project({ - # id: "ProjectId", # required - # tags: { # required - # "TagKey" => "TagValue", - # }, - # }) - # - # @example Response structure - # - # resp.tags #=> Hash - # resp.tags["TagKey"] #=> String - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProject AWS API Documentation - # - # @overload tag_project(params = {}) - # @param [Hash] params ({}) - def tag_project(params = {}, options = {}) - req = build_request(:tag_project, params) - req.send_request(options) - end - - # Removes tags from a project. - # - # @option params [required, String] :id - # The ID of the project to remove tags from. - # - # @option params [required, Array] :tags - # The tags to remove from the project. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.untag_project({ - # id: "ProjectId", # required - # tags: ["TagKey"], # required - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProject AWS API Documentation - # - # @overload untag_project(params = {}) - # @param [Hash] params ({}) - def untag_project(params = {}, options = {}) - req = build_request(:untag_project, params) - req.send_request(options) - end - - # Updates a project in AWS CodeStar. - # - # @option params [required, String] :id - # The ID of the project you want to update. - # - # @option params [String] :name - # The name of the project you want to update. - # - # @option params [String] :description - # The description of the project, if any. - # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. - # - # @example Request syntax with placeholder values - # - # resp = client.update_project({ - # id: "ProjectId", # required - # name: "ProjectName", - # description: "ProjectDescription", - # }) - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateProject AWS API Documentation - # - # @overload update_project(params = {}) - # @param [Hash] params ({}) - def update_project(params = {}, options = {}) - req = build_request(:update_project, params) - req.send_request(options) - end - - # Updates a team member's attributes in an AWS CodeStar project. For - # example, you can change a team member's role in the project, or - # change whether they have remote access to project resources. - # - # @option params [required, String] :project_id - # The ID of the project. - # - # @option params [required, String] :user_arn - # The Amazon Resource Name (ARN) of the user for whom you want to change - # team membership attributes. - # - # @option params [String] :project_role - # The role assigned to the user in the project. Project roles have - # different levels of access. For more information, see [Working with - # Teams][1] in the *AWS CodeStar User Guide*. - # - # - # - # [1]: http://docs.aws.amazon.com/codestar/latest/userguide/working-with-teams.html - # - # @option params [Boolean] :remote_access_allowed - # Whether a team member is allowed to remotely access project resources - # using the SSH public key associated with the user's profile. Even if - # this is set to True, the user must associate a public key with their - # profile before the user can access resources. - # - # @return [Types::UpdateTeamMemberResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::UpdateTeamMemberResult#user_arn #user_arn} => String - # * {Types::UpdateTeamMemberResult#project_role #project_role} => String - # * {Types::UpdateTeamMemberResult#remote_access_allowed #remote_access_allowed} => Boolean - # - # @example Request syntax with placeholder values - # - # resp = client.update_team_member({ - # project_id: "ProjectId", # required - # user_arn: "UserArn", # required - # project_role: "Role", - # remote_access_allowed: false, - # }) - # - # @example Response structure - # - # resp.user_arn #=> String - # resp.project_role #=> String - # resp.remote_access_allowed #=> Boolean - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateTeamMember AWS API Documentation - # - # @overload update_team_member(params = {}) - # @param [Hash] params ({}) - def update_team_member(params = {}, options = {}) - req = build_request(:update_team_member, params) - req.send_request(options) - end - - # Updates a user's profile in AWS CodeStar. The user profile is not - # project-specific. Information in the user profile is displayed - # wherever the user's information appears to other users in AWS - # CodeStar. - # - # @option params [required, String] :user_arn - # The name that will be displayed as the friendly name for the user in - # AWS CodeStar. - # - # @option params [String] :display_name - # The name that is displayed as the friendly name for the user in AWS - # CodeStar. - # - # @option params [String] :email_address - # The email address that is displayed as part of the user's profile in - # AWS CodeStar. - # - # @option params [String] :ssh_public_key - # The SSH public key associated with the user in AWS CodeStar. If a - # project owner allows the user remote access to project resources, this - # public key will be used along with the user's private key for SSH - # access. - # - # @return [Types::UpdateUserProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: - # - # * {Types::UpdateUserProfileResult#user_arn #user_arn} => String - # * {Types::UpdateUserProfileResult#display_name #display_name} => String - # * {Types::UpdateUserProfileResult#email_address #email_address} => String - # * {Types::UpdateUserProfileResult#ssh_public_key #ssh_public_key} => String - # * {Types::UpdateUserProfileResult#created_timestamp #created_timestamp} => Time - # * {Types::UpdateUserProfileResult#last_modified_timestamp #last_modified_timestamp} => Time - # - # @example Request syntax with placeholder values - # - # resp = client.update_user_profile({ - # user_arn: "UserArn", # required - # display_name: "UserProfileDisplayName", - # email_address: "Email", - # ssh_public_key: "SshPublicKey", - # }) - # - # @example Response structure - # - # resp.user_arn #=> String - # resp.display_name #=> String - # resp.email_address #=> String - # resp.ssh_public_key #=> String - # resp.created_timestamp #=> Time - # resp.last_modified_timestamp #=> Time - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateUserProfile AWS API Documentation - # - # @overload update_user_profile(params = {}) - # @param [Hash] params ({}) - def update_user_profile(params = {}, options = {}) - req = build_request(:update_user_profile, params) - req.send_request(options) - end - - # @!endgroup - - # @param params ({}) - # @api private - def build_request(operation_name, params = {}) - handlers = @handlers.for(operation_name) - context = Seahorse::Client::RequestContext.new( - operation_name: operation_name, - operation: config.api.operation(operation_name), - client: self, - params: params, - config: config) - context[:gem_name] = 'aws-sdk-codestar' - context[:gem_version] = '1.59.0' - Seahorse::Client::Request.new(handlers, context) - end - - # @api private - # @deprecated - def waiter_names - [] - end - - class << self - - # @api private - attr_reader :identifier - - # @api private - def errors_module - Errors - end - - end - end -end diff --git a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/client_api.rb b/gems/aws-sdk-codestar/lib/aws-sdk-codestar/client_api.rb deleted file mode 100644 index 3b267f9377b..00000000000 --- a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/client_api.rb +++ /dev/null @@ -1,626 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws::CodeStar - # @api private - module ClientApi - - include Seahorse::Model - - AssociateTeamMemberRequest = Shapes::StructureShape.new(name: 'AssociateTeamMemberRequest') - AssociateTeamMemberResult = Shapes::StructureShape.new(name: 'AssociateTeamMemberResult') - BucketKey = Shapes::StringShape.new(name: 'BucketKey') - BucketName = Shapes::StringShape.new(name: 'BucketName') - ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken') - Code = Shapes::StructureShape.new(name: 'Code') - CodeCommitCodeDestination = Shapes::StructureShape.new(name: 'CodeCommitCodeDestination') - CodeDestination = Shapes::StructureShape.new(name: 'CodeDestination') - CodeSource = Shapes::StructureShape.new(name: 'CodeSource') - ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException') - CreateProjectRequest = Shapes::StructureShape.new(name: 'CreateProjectRequest') - CreateProjectResult = Shapes::StructureShape.new(name: 'CreateProjectResult') - CreateUserProfileRequest = Shapes::StructureShape.new(name: 'CreateUserProfileRequest') - CreateUserProfileResult = Shapes::StructureShape.new(name: 'CreateUserProfileResult') - CreatedTimestamp = Shapes::TimestampShape.new(name: 'CreatedTimestamp') - DeleteProjectRequest = Shapes::StructureShape.new(name: 'DeleteProjectRequest') - DeleteProjectResult = Shapes::StructureShape.new(name: 'DeleteProjectResult') - DeleteStack = Shapes::BooleanShape.new(name: 'DeleteStack') - DeleteUserProfileRequest = Shapes::StructureShape.new(name: 'DeleteUserProfileRequest') - DeleteUserProfileResult = Shapes::StructureShape.new(name: 'DeleteUserProfileResult') - DescribeProjectRequest = Shapes::StructureShape.new(name: 'DescribeProjectRequest') - DescribeProjectResult = Shapes::StructureShape.new(name: 'DescribeProjectResult') - DescribeUserProfileRequest = Shapes::StructureShape.new(name: 'DescribeUserProfileRequest') - DescribeUserProfileResult = Shapes::StructureShape.new(name: 'DescribeUserProfileResult') - DisassociateTeamMemberRequest = Shapes::StructureShape.new(name: 'DisassociateTeamMemberRequest') - DisassociateTeamMemberResult = Shapes::StructureShape.new(name: 'DisassociateTeamMemberResult') - Email = Shapes::StringShape.new(name: 'Email') - GitHubCodeDestination = Shapes::StructureShape.new(name: 'GitHubCodeDestination') - GitHubPersonalToken = Shapes::StringShape.new(name: 'GitHubPersonalToken') - InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException') - InvalidServiceRoleException = Shapes::StructureShape.new(name: 'InvalidServiceRoleException') - LastModifiedTimestamp = Shapes::TimestampShape.new(name: 'LastModifiedTimestamp') - LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException') - ListProjectsRequest = Shapes::StructureShape.new(name: 'ListProjectsRequest') - ListProjectsResult = Shapes::StructureShape.new(name: 'ListProjectsResult') - ListResourcesRequest = Shapes::StructureShape.new(name: 'ListResourcesRequest') - ListResourcesResult = Shapes::StructureShape.new(name: 'ListResourcesResult') - ListTagsForProjectRequest = Shapes::StructureShape.new(name: 'ListTagsForProjectRequest') - ListTagsForProjectResult = Shapes::StructureShape.new(name: 'ListTagsForProjectResult') - ListTeamMembersRequest = Shapes::StructureShape.new(name: 'ListTeamMembersRequest') - ListTeamMembersResult = Shapes::StructureShape.new(name: 'ListTeamMembersResult') - ListUserProfilesRequest = Shapes::StructureShape.new(name: 'ListUserProfilesRequest') - ListUserProfilesResult = Shapes::StructureShape.new(name: 'ListUserProfilesResult') - MaxResults = Shapes::IntegerShape.new(name: 'MaxResults') - PaginationToken = Shapes::StringShape.new(name: 'PaginationToken') - ProjectAlreadyExistsException = Shapes::StructureShape.new(name: 'ProjectAlreadyExistsException') - ProjectArn = Shapes::StringShape.new(name: 'ProjectArn') - ProjectConfigurationException = Shapes::StructureShape.new(name: 'ProjectConfigurationException') - ProjectCreationFailedException = Shapes::StructureShape.new(name: 'ProjectCreationFailedException') - ProjectDescription = Shapes::StringShape.new(name: 'ProjectDescription') - ProjectId = Shapes::StringShape.new(name: 'ProjectId') - ProjectName = Shapes::StringShape.new(name: 'ProjectName') - ProjectNotFoundException = Shapes::StructureShape.new(name: 'ProjectNotFoundException') - ProjectStatus = Shapes::StructureShape.new(name: 'ProjectStatus') - ProjectSummary = Shapes::StructureShape.new(name: 'ProjectSummary') - ProjectTemplateId = Shapes::StringShape.new(name: 'ProjectTemplateId') - ProjectsList = Shapes::ListShape.new(name: 'ProjectsList') - Reason = Shapes::StringShape.new(name: 'Reason') - RemoteAccessAllowed = Shapes::BooleanShape.new(name: 'RemoteAccessAllowed') - RepositoryDescription = Shapes::StringShape.new(name: 'RepositoryDescription') - RepositoryEnableIssues = Shapes::BooleanShape.new(name: 'RepositoryEnableIssues') - RepositoryIsPrivate = Shapes::BooleanShape.new(name: 'RepositoryIsPrivate') - RepositoryName = Shapes::StringShape.new(name: 'RepositoryName') - RepositoryOwner = Shapes::StringShape.new(name: 'RepositoryOwner') - RepositoryType = Shapes::StringShape.new(name: 'RepositoryType') - Resource = Shapes::StructureShape.new(name: 'Resource') - ResourceId = Shapes::StringShape.new(name: 'ResourceId') - ResourcesResult = Shapes::ListShape.new(name: 'ResourcesResult') - Role = Shapes::StringShape.new(name: 'Role') - RoleArn = Shapes::StringShape.new(name: 'RoleArn') - S3Location = Shapes::StructureShape.new(name: 'S3Location') - SourceCode = Shapes::ListShape.new(name: 'SourceCode') - SshPublicKey = Shapes::StringShape.new(name: 'SshPublicKey') - StackId = Shapes::StringShape.new(name: 'StackId') - State = Shapes::StringShape.new(name: 'State') - TagKey = Shapes::StringShape.new(name: 'TagKey') - TagKeys = Shapes::ListShape.new(name: 'TagKeys') - TagProjectRequest = Shapes::StructureShape.new(name: 'TagProjectRequest') - TagProjectResult = Shapes::StructureShape.new(name: 'TagProjectResult') - TagValue = Shapes::StringShape.new(name: 'TagValue') - Tags = Shapes::MapShape.new(name: 'Tags') - TeamMember = Shapes::StructureShape.new(name: 'TeamMember') - TeamMemberAlreadyAssociatedException = Shapes::StructureShape.new(name: 'TeamMemberAlreadyAssociatedException') - TeamMemberNotFoundException = Shapes::StructureShape.new(name: 'TeamMemberNotFoundException') - TeamMemberResult = Shapes::ListShape.new(name: 'TeamMemberResult') - TemplateParameterKey = Shapes::StringShape.new(name: 'TemplateParameterKey') - TemplateParameterMap = Shapes::MapShape.new(name: 'TemplateParameterMap') - TemplateParameterValue = Shapes::StringShape.new(name: 'TemplateParameterValue') - Toolchain = Shapes::StructureShape.new(name: 'Toolchain') - ToolchainSource = Shapes::StructureShape.new(name: 'ToolchainSource') - UntagProjectRequest = Shapes::StructureShape.new(name: 'UntagProjectRequest') - UntagProjectResult = Shapes::StructureShape.new(name: 'UntagProjectResult') - UpdateProjectRequest = Shapes::StructureShape.new(name: 'UpdateProjectRequest') - UpdateProjectResult = Shapes::StructureShape.new(name: 'UpdateProjectResult') - UpdateTeamMemberRequest = Shapes::StructureShape.new(name: 'UpdateTeamMemberRequest') - UpdateTeamMemberResult = Shapes::StructureShape.new(name: 'UpdateTeamMemberResult') - UpdateUserProfileRequest = Shapes::StructureShape.new(name: 'UpdateUserProfileRequest') - UpdateUserProfileResult = Shapes::StructureShape.new(name: 'UpdateUserProfileResult') - UserArn = Shapes::StringShape.new(name: 'UserArn') - UserProfileAlreadyExistsException = Shapes::StructureShape.new(name: 'UserProfileAlreadyExistsException') - UserProfileDisplayName = Shapes::StringShape.new(name: 'UserProfileDisplayName') - UserProfileNotFoundException = Shapes::StructureShape.new(name: 'UserProfileNotFoundException') - UserProfileSummary = Shapes::StructureShape.new(name: 'UserProfileSummary') - UserProfilesList = Shapes::ListShape.new(name: 'UserProfilesList') - ValidationException = Shapes::StructureShape.new(name: 'ValidationException') - - AssociateTeamMemberRequest.add_member(:project_id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "projectId")) - AssociateTeamMemberRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken")) - AssociateTeamMemberRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) - AssociateTeamMemberRequest.add_member(:project_role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "projectRole")) - AssociateTeamMemberRequest.add_member(:remote_access_allowed, Shapes::ShapeRef.new(shape: RemoteAccessAllowed, location_name: "remoteAccessAllowed", metadata: {"box"=>true})) - AssociateTeamMemberRequest.struct_class = Types::AssociateTeamMemberRequest - - AssociateTeamMemberResult.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken")) - AssociateTeamMemberResult.struct_class = Types::AssociateTeamMemberResult - - Code.add_member(:source, Shapes::ShapeRef.new(shape: CodeSource, required: true, location_name: "source")) - Code.add_member(:destination, Shapes::ShapeRef.new(shape: CodeDestination, required: true, location_name: "destination")) - Code.struct_class = Types::Code - - CodeCommitCodeDestination.add_member(:name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "name")) - CodeCommitCodeDestination.struct_class = Types::CodeCommitCodeDestination - - CodeDestination.add_member(:code_commit, Shapes::ShapeRef.new(shape: CodeCommitCodeDestination, location_name: "codeCommit")) - CodeDestination.add_member(:git_hub, Shapes::ShapeRef.new(shape: GitHubCodeDestination, location_name: "gitHub")) - CodeDestination.struct_class = Types::CodeDestination - - CodeSource.add_member(:s3, Shapes::ShapeRef.new(shape: S3Location, required: true, location_name: "s3")) - CodeSource.struct_class = Types::CodeSource - - ConcurrentModificationException.struct_class = Types::ConcurrentModificationException - - CreateProjectRequest.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "name")) - CreateProjectRequest.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id")) - CreateProjectRequest.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description")) - CreateProjectRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken")) - CreateProjectRequest.add_member(:source_code, Shapes::ShapeRef.new(shape: SourceCode, location_name: "sourceCode")) - CreateProjectRequest.add_member(:toolchain, Shapes::ShapeRef.new(shape: Toolchain, location_name: "toolchain")) - CreateProjectRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags")) - CreateProjectRequest.struct_class = Types::CreateProjectRequest - - CreateProjectResult.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id")) - CreateProjectResult.add_member(:arn, Shapes::ShapeRef.new(shape: ProjectArn, required: true, location_name: "arn")) - CreateProjectResult.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken")) - CreateProjectResult.add_member(:project_template_id, Shapes::ShapeRef.new(shape: ProjectTemplateId, location_name: "projectTemplateId")) - CreateProjectResult.struct_class = Types::CreateProjectResult - - CreateUserProfileRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) - CreateUserProfileRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: UserProfileDisplayName, required: true, location_name: "displayName")) - CreateUserProfileRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: Email, required: true, location_name: "emailAddress")) - CreateUserProfileRequest.add_member(:ssh_public_key, Shapes::ShapeRef.new(shape: SshPublicKey, location_name: "sshPublicKey")) - CreateUserProfileRequest.struct_class = Types::CreateUserProfileRequest - - CreateUserProfileResult.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) - CreateUserProfileResult.add_member(:display_name, Shapes::ShapeRef.new(shape: UserProfileDisplayName, location_name: "displayName")) - CreateUserProfileResult.add_member(:email_address, Shapes::ShapeRef.new(shape: Email, location_name: "emailAddress")) - CreateUserProfileResult.add_member(:ssh_public_key, Shapes::ShapeRef.new(shape: SshPublicKey, location_name: "sshPublicKey")) - CreateUserProfileResult.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: CreatedTimestamp, location_name: "createdTimestamp")) - CreateUserProfileResult.add_member(:last_modified_timestamp, Shapes::ShapeRef.new(shape: LastModifiedTimestamp, location_name: "lastModifiedTimestamp")) - CreateUserProfileResult.struct_class = Types::CreateUserProfileResult - - DeleteProjectRequest.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id")) - DeleteProjectRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken")) - DeleteProjectRequest.add_member(:delete_stack, Shapes::ShapeRef.new(shape: DeleteStack, location_name: "deleteStack")) - DeleteProjectRequest.struct_class = Types::DeleteProjectRequest - - DeleteProjectResult.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "stackId")) - DeleteProjectResult.add_member(:project_arn, Shapes::ShapeRef.new(shape: ProjectArn, location_name: "projectArn")) - DeleteProjectResult.struct_class = Types::DeleteProjectResult - - DeleteUserProfileRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) - DeleteUserProfileRequest.struct_class = Types::DeleteUserProfileRequest - - DeleteUserProfileResult.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) - DeleteUserProfileResult.struct_class = Types::DeleteUserProfileResult - - DescribeProjectRequest.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id")) - DescribeProjectRequest.struct_class = Types::DescribeProjectRequest - - DescribeProjectResult.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, location_name: "name")) - DescribeProjectResult.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, location_name: "id")) - DescribeProjectResult.add_member(:arn, Shapes::ShapeRef.new(shape: ProjectArn, location_name: "arn")) - DescribeProjectResult.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description")) - DescribeProjectResult.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken")) - DescribeProjectResult.add_member(:created_time_stamp, Shapes::ShapeRef.new(shape: CreatedTimestamp, location_name: "createdTimeStamp")) - DescribeProjectResult.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "stackId")) - DescribeProjectResult.add_member(:project_template_id, Shapes::ShapeRef.new(shape: ProjectTemplateId, location_name: "projectTemplateId")) - DescribeProjectResult.add_member(:status, Shapes::ShapeRef.new(shape: ProjectStatus, location_name: "status")) - DescribeProjectResult.struct_class = Types::DescribeProjectResult - - DescribeUserProfileRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) - DescribeUserProfileRequest.struct_class = Types::DescribeUserProfileRequest - - DescribeUserProfileResult.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) - DescribeUserProfileResult.add_member(:display_name, Shapes::ShapeRef.new(shape: UserProfileDisplayName, location_name: "displayName")) - DescribeUserProfileResult.add_member(:email_address, Shapes::ShapeRef.new(shape: Email, location_name: "emailAddress")) - DescribeUserProfileResult.add_member(:ssh_public_key, Shapes::ShapeRef.new(shape: SshPublicKey, location_name: "sshPublicKey")) - DescribeUserProfileResult.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: CreatedTimestamp, required: true, location_name: "createdTimestamp")) - DescribeUserProfileResult.add_member(:last_modified_timestamp, Shapes::ShapeRef.new(shape: LastModifiedTimestamp, required: true, location_name: "lastModifiedTimestamp")) - DescribeUserProfileResult.struct_class = Types::DescribeUserProfileResult - - DisassociateTeamMemberRequest.add_member(:project_id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "projectId")) - DisassociateTeamMemberRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) - DisassociateTeamMemberRequest.struct_class = Types::DisassociateTeamMemberRequest - - DisassociateTeamMemberResult.struct_class = Types::DisassociateTeamMemberResult - - GitHubCodeDestination.add_member(:name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "name")) - GitHubCodeDestination.add_member(:description, Shapes::ShapeRef.new(shape: RepositoryDescription, location_name: "description")) - GitHubCodeDestination.add_member(:type, Shapes::ShapeRef.new(shape: RepositoryType, required: true, location_name: "type")) - GitHubCodeDestination.add_member(:owner, Shapes::ShapeRef.new(shape: RepositoryOwner, required: true, location_name: "owner")) - GitHubCodeDestination.add_member(:private_repository, Shapes::ShapeRef.new(shape: RepositoryIsPrivate, required: true, location_name: "privateRepository")) - GitHubCodeDestination.add_member(:issues_enabled, Shapes::ShapeRef.new(shape: RepositoryEnableIssues, required: true, location_name: "issuesEnabled")) - GitHubCodeDestination.add_member(:token, Shapes::ShapeRef.new(shape: GitHubPersonalToken, required: true, location_name: "token")) - GitHubCodeDestination.struct_class = Types::GitHubCodeDestination - - InvalidNextTokenException.struct_class = Types::InvalidNextTokenException - - InvalidServiceRoleException.struct_class = Types::InvalidServiceRoleException - - LimitExceededException.struct_class = Types::LimitExceededException - - ListProjectsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) - ListProjectsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults", metadata: {"box"=>true})) - ListProjectsRequest.struct_class = Types::ListProjectsRequest - - ListProjectsResult.add_member(:projects, Shapes::ShapeRef.new(shape: ProjectsList, required: true, location_name: "projects")) - ListProjectsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) - ListProjectsResult.struct_class = Types::ListProjectsResult - - ListResourcesRequest.add_member(:project_id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "projectId")) - ListResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) - ListResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults", metadata: {"box"=>true})) - ListResourcesRequest.struct_class = Types::ListResourcesRequest - - ListResourcesResult.add_member(:resources, Shapes::ShapeRef.new(shape: ResourcesResult, location_name: "resources")) - ListResourcesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) - ListResourcesResult.struct_class = Types::ListResourcesResult - - ListTagsForProjectRequest.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id")) - ListTagsForProjectRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) - ListTagsForProjectRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults", metadata: {"box"=>true})) - ListTagsForProjectRequest.struct_class = Types::ListTagsForProjectRequest - - ListTagsForProjectResult.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags")) - ListTagsForProjectResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) - ListTagsForProjectResult.struct_class = Types::ListTagsForProjectResult - - ListTeamMembersRequest.add_member(:project_id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "projectId")) - ListTeamMembersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) - ListTeamMembersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults", metadata: {"box"=>true})) - ListTeamMembersRequest.struct_class = Types::ListTeamMembersRequest - - ListTeamMembersResult.add_member(:team_members, Shapes::ShapeRef.new(shape: TeamMemberResult, required: true, location_name: "teamMembers")) - ListTeamMembersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) - ListTeamMembersResult.struct_class = Types::ListTeamMembersResult - - ListUserProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) - ListUserProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults", metadata: {"box"=>true})) - ListUserProfilesRequest.struct_class = Types::ListUserProfilesRequest - - ListUserProfilesResult.add_member(:user_profiles, Shapes::ShapeRef.new(shape: UserProfilesList, required: true, location_name: "userProfiles")) - ListUserProfilesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) - ListUserProfilesResult.struct_class = Types::ListUserProfilesResult - - ProjectAlreadyExistsException.struct_class = Types::ProjectAlreadyExistsException - - ProjectConfigurationException.struct_class = Types::ProjectConfigurationException - - ProjectCreationFailedException.struct_class = Types::ProjectCreationFailedException - - ProjectNotFoundException.struct_class = Types::ProjectNotFoundException - - ProjectStatus.add_member(:state, Shapes::ShapeRef.new(shape: State, required: true, location_name: "state")) - ProjectStatus.add_member(:reason, Shapes::ShapeRef.new(shape: Reason, location_name: "reason")) - ProjectStatus.struct_class = Types::ProjectStatus - - ProjectSummary.add_member(:project_id, Shapes::ShapeRef.new(shape: ProjectId, location_name: "projectId")) - ProjectSummary.add_member(:project_arn, Shapes::ShapeRef.new(shape: ProjectArn, location_name: "projectArn")) - ProjectSummary.struct_class = Types::ProjectSummary - - ProjectsList.member = Shapes::ShapeRef.new(shape: ProjectSummary) - - Resource.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "id")) - Resource.struct_class = Types::Resource - - ResourcesResult.member = Shapes::ShapeRef.new(shape: Resource) - - S3Location.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, location_name: "bucketName")) - S3Location.add_member(:bucket_key, Shapes::ShapeRef.new(shape: BucketKey, location_name: "bucketKey")) - S3Location.struct_class = Types::S3Location - - SourceCode.member = Shapes::ShapeRef.new(shape: Code) - - TagKeys.member = Shapes::ShapeRef.new(shape: TagKey) - - TagProjectRequest.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id")) - TagProjectRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags")) - TagProjectRequest.struct_class = Types::TagProjectRequest - - TagProjectResult.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags")) - TagProjectResult.struct_class = Types::TagProjectResult - - Tags.key = Shapes::ShapeRef.new(shape: TagKey) - Tags.value = Shapes::ShapeRef.new(shape: TagValue) - - TeamMember.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) - TeamMember.add_member(:project_role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "projectRole")) - TeamMember.add_member(:remote_access_allowed, Shapes::ShapeRef.new(shape: RemoteAccessAllowed, location_name: "remoteAccessAllowed", metadata: {"box"=>true})) - TeamMember.struct_class = Types::TeamMember - - TeamMemberAlreadyAssociatedException.struct_class = Types::TeamMemberAlreadyAssociatedException - - TeamMemberNotFoundException.struct_class = Types::TeamMemberNotFoundException - - TeamMemberResult.member = Shapes::ShapeRef.new(shape: TeamMember) - - TemplateParameterMap.key = Shapes::ShapeRef.new(shape: TemplateParameterKey) - TemplateParameterMap.value = Shapes::ShapeRef.new(shape: TemplateParameterValue) - - Toolchain.add_member(:source, Shapes::ShapeRef.new(shape: ToolchainSource, required: true, location_name: "source")) - Toolchain.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn")) - Toolchain.add_member(:stack_parameters, Shapes::ShapeRef.new(shape: TemplateParameterMap, location_name: "stackParameters")) - Toolchain.struct_class = Types::Toolchain - - ToolchainSource.add_member(:s3, Shapes::ShapeRef.new(shape: S3Location, required: true, location_name: "s3")) - ToolchainSource.struct_class = Types::ToolchainSource - - UntagProjectRequest.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id")) - UntagProjectRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "tags")) - UntagProjectRequest.struct_class = Types::UntagProjectRequest - - UntagProjectResult.struct_class = Types::UntagProjectResult - - UpdateProjectRequest.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id")) - UpdateProjectRequest.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, location_name: "name")) - UpdateProjectRequest.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description")) - UpdateProjectRequest.struct_class = Types::UpdateProjectRequest - - UpdateProjectResult.struct_class = Types::UpdateProjectResult - - UpdateTeamMemberRequest.add_member(:project_id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "projectId")) - UpdateTeamMemberRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) - UpdateTeamMemberRequest.add_member(:project_role, Shapes::ShapeRef.new(shape: Role, location_name: "projectRole")) - UpdateTeamMemberRequest.add_member(:remote_access_allowed, Shapes::ShapeRef.new(shape: RemoteAccessAllowed, location_name: "remoteAccessAllowed", metadata: {"box"=>true})) - UpdateTeamMemberRequest.struct_class = Types::UpdateTeamMemberRequest - - UpdateTeamMemberResult.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, location_name: "userArn")) - UpdateTeamMemberResult.add_member(:project_role, Shapes::ShapeRef.new(shape: Role, location_name: "projectRole")) - UpdateTeamMemberResult.add_member(:remote_access_allowed, Shapes::ShapeRef.new(shape: RemoteAccessAllowed, location_name: "remoteAccessAllowed", metadata: {"box"=>true})) - UpdateTeamMemberResult.struct_class = Types::UpdateTeamMemberResult - - UpdateUserProfileRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) - UpdateUserProfileRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: UserProfileDisplayName, location_name: "displayName")) - UpdateUserProfileRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: Email, location_name: "emailAddress")) - UpdateUserProfileRequest.add_member(:ssh_public_key, Shapes::ShapeRef.new(shape: SshPublicKey, location_name: "sshPublicKey")) - UpdateUserProfileRequest.struct_class = Types::UpdateUserProfileRequest - - UpdateUserProfileResult.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) - UpdateUserProfileResult.add_member(:display_name, Shapes::ShapeRef.new(shape: UserProfileDisplayName, location_name: "displayName")) - UpdateUserProfileResult.add_member(:email_address, Shapes::ShapeRef.new(shape: Email, location_name: "emailAddress")) - UpdateUserProfileResult.add_member(:ssh_public_key, Shapes::ShapeRef.new(shape: SshPublicKey, location_name: "sshPublicKey")) - UpdateUserProfileResult.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: CreatedTimestamp, location_name: "createdTimestamp")) - UpdateUserProfileResult.add_member(:last_modified_timestamp, Shapes::ShapeRef.new(shape: LastModifiedTimestamp, location_name: "lastModifiedTimestamp")) - UpdateUserProfileResult.struct_class = Types::UpdateUserProfileResult - - UserProfileAlreadyExistsException.struct_class = Types::UserProfileAlreadyExistsException - - UserProfileNotFoundException.struct_class = Types::UserProfileNotFoundException - - UserProfileSummary.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, location_name: "userArn")) - UserProfileSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: UserProfileDisplayName, location_name: "displayName")) - UserProfileSummary.add_member(:email_address, Shapes::ShapeRef.new(shape: Email, location_name: "emailAddress")) - UserProfileSummary.add_member(:ssh_public_key, Shapes::ShapeRef.new(shape: SshPublicKey, location_name: "sshPublicKey")) - UserProfileSummary.struct_class = Types::UserProfileSummary - - UserProfilesList.member = Shapes::ShapeRef.new(shape: UserProfileSummary) - - ValidationException.struct_class = Types::ValidationException - - - # @api private - API = Seahorse::Model::Api.new.tap do |api| - - api.version = "2017-04-19" - - api.metadata = { - "apiVersion" => "2017-04-19", - "auth" => ["aws.auth#sigv4"], - "endpointPrefix" => "codestar", - "jsonVersion" => "1.1", - "protocol" => "json", - "protocols" => ["json"], - "serviceAbbreviation" => "CodeStar", - "serviceFullName" => "AWS CodeStar", - "serviceId" => "CodeStar", - "signatureVersion" => "v4", - "targetPrefix" => "CodeStar_20170419", - "uid" => "codestar-2017-04-19", - } - - api.add_operation(:associate_team_member, Seahorse::Model::Operation.new.tap do |o| - o.name = "AssociateTeamMember" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: AssociateTeamMemberRequest) - o.output = Shapes::ShapeRef.new(shape: AssociateTeamMemberResult) - o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) - o.errors << Shapes::ShapeRef.new(shape: ProjectNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: TeamMemberAlreadyAssociatedException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - o.errors << Shapes::ShapeRef.new(shape: InvalidServiceRoleException) - o.errors << Shapes::ShapeRef.new(shape: ProjectConfigurationException) - o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException) - end) - - api.add_operation(:create_project, Seahorse::Model::Operation.new.tap do |o| - o.name = "CreateProject" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: CreateProjectRequest) - o.output = Shapes::ShapeRef.new(shape: CreateProjectResult) - o.errors << Shapes::ShapeRef.new(shape: ProjectAlreadyExistsException) - o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - o.errors << Shapes::ShapeRef.new(shape: ProjectCreationFailedException) - o.errors << Shapes::ShapeRef.new(shape: InvalidServiceRoleException) - o.errors << Shapes::ShapeRef.new(shape: ProjectConfigurationException) - o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException) - end) - - api.add_operation(:create_user_profile, Seahorse::Model::Operation.new.tap do |o| - o.name = "CreateUserProfile" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: CreateUserProfileRequest) - o.output = Shapes::ShapeRef.new(shape: CreateUserProfileResult) - o.errors << Shapes::ShapeRef.new(shape: UserProfileAlreadyExistsException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - end) - - api.add_operation(:delete_project, Seahorse::Model::Operation.new.tap do |o| - o.name = "DeleteProject" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: DeleteProjectRequest) - o.output = Shapes::ShapeRef.new(shape: DeleteProjectResult) - o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - o.errors << Shapes::ShapeRef.new(shape: InvalidServiceRoleException) - end) - - api.add_operation(:delete_user_profile, Seahorse::Model::Operation.new.tap do |o| - o.name = "DeleteUserProfile" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: DeleteUserProfileRequest) - o.output = Shapes::ShapeRef.new(shape: DeleteUserProfileResult) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - end) - - api.add_operation(:describe_project, Seahorse::Model::Operation.new.tap do |o| - o.name = "DescribeProject" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: DescribeProjectRequest) - o.output = Shapes::ShapeRef.new(shape: DescribeProjectResult) - o.errors << Shapes::ShapeRef.new(shape: ProjectNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - o.errors << Shapes::ShapeRef.new(shape: InvalidServiceRoleException) - o.errors << Shapes::ShapeRef.new(shape: ProjectConfigurationException) - o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException) - end) - - api.add_operation(:describe_user_profile, Seahorse::Model::Operation.new.tap do |o| - o.name = "DescribeUserProfile" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: DescribeUserProfileRequest) - o.output = Shapes::ShapeRef.new(shape: DescribeUserProfileResult) - o.errors << Shapes::ShapeRef.new(shape: UserProfileNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - end) - - api.add_operation(:disassociate_team_member, Seahorse::Model::Operation.new.tap do |o| - o.name = "DisassociateTeamMember" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: DisassociateTeamMemberRequest) - o.output = Shapes::ShapeRef.new(shape: DisassociateTeamMemberResult) - o.errors << Shapes::ShapeRef.new(shape: ProjectNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - o.errors << Shapes::ShapeRef.new(shape: InvalidServiceRoleException) - o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException) - end) - - api.add_operation(:list_projects, Seahorse::Model::Operation.new.tap do |o| - o.name = "ListProjects" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: ListProjectsRequest) - o.output = Shapes::ShapeRef.new(shape: ListProjectsResult) - o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - end) - - api.add_operation(:list_resources, Seahorse::Model::Operation.new.tap do |o| - o.name = "ListResources" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: ListResourcesRequest) - o.output = Shapes::ShapeRef.new(shape: ListResourcesResult) - o.errors << Shapes::ShapeRef.new(shape: ProjectNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - end) - - api.add_operation(:list_tags_for_project, Seahorse::Model::Operation.new.tap do |o| - o.name = "ListTagsForProject" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: ListTagsForProjectRequest) - o.output = Shapes::ShapeRef.new(shape: ListTagsForProjectResult) - o.errors << Shapes::ShapeRef.new(shape: ProjectNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) - end) - - api.add_operation(:list_team_members, Seahorse::Model::Operation.new.tap do |o| - o.name = "ListTeamMembers" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: ListTeamMembersRequest) - o.output = Shapes::ShapeRef.new(shape: ListTeamMembersResult) - o.errors << Shapes::ShapeRef.new(shape: ProjectNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - end) - - api.add_operation(:list_user_profiles, Seahorse::Model::Operation.new.tap do |o| - o.name = "ListUserProfiles" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: ListUserProfilesRequest) - o.output = Shapes::ShapeRef.new(shape: ListUserProfilesResult) - o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - end) - - api.add_operation(:tag_project, Seahorse::Model::Operation.new.tap do |o| - o.name = "TagProject" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: TagProjectRequest) - o.output = Shapes::ShapeRef.new(shape: TagProjectResult) - o.errors << Shapes::ShapeRef.new(shape: ProjectNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) - o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException) - end) - - api.add_operation(:untag_project, Seahorse::Model::Operation.new.tap do |o| - o.name = "UntagProject" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: UntagProjectRequest) - o.output = Shapes::ShapeRef.new(shape: UntagProjectResult) - o.errors << Shapes::ShapeRef.new(shape: ProjectNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) - o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException) - end) - - api.add_operation(:update_project, Seahorse::Model::Operation.new.tap do |o| - o.name = "UpdateProject" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: UpdateProjectRequest) - o.output = Shapes::ShapeRef.new(shape: UpdateProjectResult) - o.errors << Shapes::ShapeRef.new(shape: ProjectNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - end) - - api.add_operation(:update_team_member, Seahorse::Model::Operation.new.tap do |o| - o.name = "UpdateTeamMember" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: UpdateTeamMemberRequest) - o.output = Shapes::ShapeRef.new(shape: UpdateTeamMemberResult) - o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) - o.errors << Shapes::ShapeRef.new(shape: ProjectNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - o.errors << Shapes::ShapeRef.new(shape: InvalidServiceRoleException) - o.errors << Shapes::ShapeRef.new(shape: ProjectConfigurationException) - o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException) - o.errors << Shapes::ShapeRef.new(shape: TeamMemberNotFoundException) - end) - - api.add_operation(:update_user_profile, Seahorse::Model::Operation.new.tap do |o| - o.name = "UpdateUserProfile" - o.http_method = "POST" - o.http_request_uri = "/" - o.input = Shapes::ShapeRef.new(shape: UpdateUserProfileRequest) - o.output = Shapes::ShapeRef.new(shape: UpdateUserProfileResult) - o.errors << Shapes::ShapeRef.new(shape: UserProfileNotFoundException) - o.errors << Shapes::ShapeRef.new(shape: ValidationException) - end) - end - - end -end diff --git a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/customizations.rb b/gems/aws-sdk-codestar/lib/aws-sdk-codestar/customizations.rb deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/endpoint_parameters.rb b/gems/aws-sdk-codestar/lib/aws-sdk-codestar/endpoint_parameters.rb deleted file mode 100644 index 2790dca17aa..00000000000 --- a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/endpoint_parameters.rb +++ /dev/null @@ -1,66 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws::CodeStar - # Endpoint parameters used to influence endpoints per request. - # - # @!attribute region - # The AWS region used to dispatch the request. - # - # @return [String] - # - # @!attribute use_dual_stack - # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error. - # - # @return [Boolean] - # - # @!attribute use_fips - # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error. - # - # @return [Boolean] - # - # @!attribute endpoint - # Override the endpoint used to send this request - # - # @return [String] - # - EndpointParameters = Struct.new( - :region, - :use_dual_stack, - :use_fips, - :endpoint, - ) do - include Aws::Structure - - # @api private - class << self - PARAM_MAP = { - 'Region' => :region, - 'UseDualStack' => :use_dual_stack, - 'UseFIPS' => :use_fips, - 'Endpoint' => :endpoint, - }.freeze - end - - def initialize(options = {}) - self[:region] = options[:region] - self[:use_dual_stack] = options[:use_dual_stack] - self[:use_dual_stack] = false if self[:use_dual_stack].nil? - if self[:use_dual_stack].nil? - raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack" - end - self[:use_fips] = options[:use_fips] - self[:use_fips] = false if self[:use_fips].nil? - if self[:use_fips].nil? - raise ArgumentError, "Missing required EndpointParameter: :use_fips" - end - self[:endpoint] = options[:endpoint] - end - end -end diff --git a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/endpoint_provider.rb b/gems/aws-sdk-codestar/lib/aws-sdk-codestar/endpoint_provider.rb deleted file mode 100644 index e6b30b3a514..00000000000 --- a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/endpoint_provider.rb +++ /dev/null @@ -1,54 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws::CodeStar - class EndpointProvider - def resolve_endpoint(parameters) - region = parameters.region - use_dual_stack = parameters.use_dual_stack - use_fips = parameters.use_fips - endpoint = parameters.endpoint - if Aws::Endpoints::Matchers.set?(endpoint) - if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) - raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported" - end - if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true) - raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported" - end - return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {}) - end - if Aws::Endpoints::Matchers.set?(region) - if (partition_result = Aws::Endpoints::Matchers.aws_partition(region)) - if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true) - if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack")) - return Aws::Endpoints::Endpoint.new(url: "https://codestar-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}) - end - raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both" - end - if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) - if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) - return Aws::Endpoints::Endpoint.new(url: "https://codestar-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) - end - raise ArgumentError, "FIPS is enabled but this partition does not support FIPS" - end - if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true) - if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack")) - return Aws::Endpoints::Endpoint.new(url: "https://codestar.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}) - end - raise ArgumentError, "DualStack is enabled but this partition does not support DualStack" - end - return Aws::Endpoints::Endpoint.new(url: "https://codestar.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) - end - end - raise ArgumentError, "Invalid Configuration: Missing Region" - raise ArgumentError, 'No endpoint could be resolved' - - end - end -end diff --git a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/endpoints.rb b/gems/aws-sdk-codestar/lib/aws-sdk-codestar/endpoints.rb deleted file mode 100644 index 344fba7d208..00000000000 --- a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/endpoints.rb +++ /dev/null @@ -1,268 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - - -module Aws::CodeStar - # @api private - module Endpoints - - class AssociateTeamMember - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class CreateProject - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class CreateUserProfile - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class DeleteProject - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class DeleteUserProfile - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class DescribeProject - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class DescribeUserProfile - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class DisassociateTeamMember - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class ListProjects - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class ListResources - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class ListTagsForProject - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class ListTeamMembers - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class ListUserProfiles - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class TagProject - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class UntagProject - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class UpdateProject - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class UpdateTeamMember - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - class UpdateUserProfile - def self.build(context) - unless context.config.regional_endpoint - endpoint = context.config.endpoint.to_s - end - Aws::CodeStar::EndpointParameters.new( - region: context.config.region, - use_dual_stack: context.config.use_dualstack_endpoint, - use_fips: context.config.use_fips_endpoint, - endpoint: endpoint, - ) - end - end - - end -end diff --git a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/errors.rb b/gems/aws-sdk-codestar/lib/aws-sdk-codestar/errors.rb deleted file mode 100644 index 744bde171d2..00000000000 --- a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/errors.rb +++ /dev/null @@ -1,181 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws::CodeStar - - # When CodeStar returns an error response, the Ruby SDK constructs and raises an error. - # These errors all extend Aws::CodeStar::Errors::ServiceError < {Aws::Errors::ServiceError} - # - # You can rescue all CodeStar errors using ServiceError: - # - # begin - # # do stuff - # rescue Aws::CodeStar::Errors::ServiceError - # # rescues all CodeStar API errors - # end - # - # - # ## Request Context - # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns - # information about the request that generated the error. - # See {Seahorse::Client::RequestContext} for more information. - # - # ## Error Classes - # * {ConcurrentModificationException} - # * {InvalidNextTokenException} - # * {InvalidServiceRoleException} - # * {LimitExceededException} - # * {ProjectAlreadyExistsException} - # * {ProjectConfigurationException} - # * {ProjectCreationFailedException} - # * {ProjectNotFoundException} - # * {TeamMemberAlreadyAssociatedException} - # * {TeamMemberNotFoundException} - # * {UserProfileAlreadyExistsException} - # * {UserProfileNotFoundException} - # * {ValidationException} - # - # Additionally, error classes are dynamically generated for service errors based on the error code - # if they are not defined above. - module Errors - - extend Aws::Errors::DynamicErrors - - class ConcurrentModificationException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::CodeStar::Types::ConcurrentModificationException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - end - - class InvalidNextTokenException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::CodeStar::Types::InvalidNextTokenException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - end - - class InvalidServiceRoleException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::CodeStar::Types::InvalidServiceRoleException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - end - - class LimitExceededException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::CodeStar::Types::LimitExceededException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - end - - class ProjectAlreadyExistsException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::CodeStar::Types::ProjectAlreadyExistsException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - end - - class ProjectConfigurationException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::CodeStar::Types::ProjectConfigurationException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - end - - class ProjectCreationFailedException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::CodeStar::Types::ProjectCreationFailedException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - end - - class ProjectNotFoundException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::CodeStar::Types::ProjectNotFoundException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - end - - class TeamMemberAlreadyAssociatedException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::CodeStar::Types::TeamMemberAlreadyAssociatedException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - end - - class TeamMemberNotFoundException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::CodeStar::Types::TeamMemberNotFoundException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - end - - class UserProfileAlreadyExistsException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::CodeStar::Types::UserProfileAlreadyExistsException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - end - - class UserProfileNotFoundException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::CodeStar::Types::UserProfileNotFoundException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - end - - class ValidationException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::CodeStar::Types::ValidationException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - end - - end -end diff --git a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/plugins/endpoints.rb b/gems/aws-sdk-codestar/lib/aws-sdk-codestar/plugins/endpoints.rb deleted file mode 100644 index 6120a35eec2..00000000000 --- a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/plugins/endpoints.rb +++ /dev/null @@ -1,106 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - - -module Aws::CodeStar - module Plugins - class Endpoints < Seahorse::Client::Plugin - option( - :endpoint_provider, - doc_type: 'Aws::CodeStar::EndpointProvider', - rbs_type: 'untyped', - docstring: 'The endpoint provider used to resolve endpoints. Any '\ - 'object that responds to `#resolve_endpoint(parameters)` '\ - 'where `parameters` is a Struct similar to '\ - '`Aws::CodeStar::EndpointParameters`' - ) do |cfg| - Aws::CodeStar::EndpointProvider.new - end - - # @api private - class Handler < Seahorse::Client::Handler - def call(context) - unless context[:discovered_endpoint] - params = parameters_for_operation(context) - endpoint = context.config.endpoint_provider.resolve_endpoint(params) - - context.http_request.endpoint = endpoint.url - apply_endpoint_headers(context, endpoint.headers) - - context[:endpoint_params] = params - context[:endpoint_properties] = endpoint.properties - end - - context[:auth_scheme] = - Aws::Endpoints.resolve_auth_scheme(context, endpoint) - - @handler.call(context) - end - - private - - def apply_endpoint_headers(context, headers) - headers.each do |key, values| - value = values - .compact - .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) } - .join(',') - - context.http_request.headers[key] = value - end - end - - def parameters_for_operation(context) - case context.operation_name - when :associate_team_member - Aws::CodeStar::Endpoints::AssociateTeamMember.build(context) - when :create_project - Aws::CodeStar::Endpoints::CreateProject.build(context) - when :create_user_profile - Aws::CodeStar::Endpoints::CreateUserProfile.build(context) - when :delete_project - Aws::CodeStar::Endpoints::DeleteProject.build(context) - when :delete_user_profile - Aws::CodeStar::Endpoints::DeleteUserProfile.build(context) - when :describe_project - Aws::CodeStar::Endpoints::DescribeProject.build(context) - when :describe_user_profile - Aws::CodeStar::Endpoints::DescribeUserProfile.build(context) - when :disassociate_team_member - Aws::CodeStar::Endpoints::DisassociateTeamMember.build(context) - when :list_projects - Aws::CodeStar::Endpoints::ListProjects.build(context) - when :list_resources - Aws::CodeStar::Endpoints::ListResources.build(context) - when :list_tags_for_project - Aws::CodeStar::Endpoints::ListTagsForProject.build(context) - when :list_team_members - Aws::CodeStar::Endpoints::ListTeamMembers.build(context) - when :list_user_profiles - Aws::CodeStar::Endpoints::ListUserProfiles.build(context) - when :tag_project - Aws::CodeStar::Endpoints::TagProject.build(context) - when :untag_project - Aws::CodeStar::Endpoints::UntagProject.build(context) - when :update_project - Aws::CodeStar::Endpoints::UpdateProject.build(context) - when :update_team_member - Aws::CodeStar::Endpoints::UpdateTeamMember.build(context) - when :update_user_profile - Aws::CodeStar::Endpoints::UpdateUserProfile.build(context) - end - end - end - - def add_handlers(handlers, _config) - handlers.add(Handler, step: :build, priority: 75) - end - end - end -end diff --git a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/resource.rb b/gems/aws-sdk-codestar/lib/aws-sdk-codestar/resource.rb deleted file mode 100644 index ce002b88166..00000000000 --- a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/resource.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws::CodeStar - - class Resource - - # @param options ({}) - # @option options [Client] :client - def initialize(options = {}) - @client = options[:client] || Client.new(options) - end - - # @return [Client] - def client - @client - end - - end -end diff --git a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb b/gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb deleted file mode 100644 index 752c5f6d05d..00000000000 --- a/gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb +++ /dev/null @@ -1,1267 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws::CodeStar - module Types - - # @!attribute [rw] project_id - # The ID of the project to which you will add the IAM user. - # @return [String] - # - # @!attribute [rw] client_request_token - # A user- or system-generated token that identifies the entity that - # requested the team member association to the project. This token can - # be used to repeat the request. - # @return [String] - # - # @!attribute [rw] user_arn - # The Amazon Resource Name (ARN) for the IAM user you want to add to - # the AWS CodeStar project. - # @return [String] - # - # @!attribute [rw] project_role - # The AWS CodeStar project role that will apply to this user. This - # role determines what actions a user can take in an AWS CodeStar - # project. - # @return [String] - # - # @!attribute [rw] remote_access_allowed - # Whether the team member is allowed to use an SSH public/private key - # pair to remotely access project resources, for example Amazon EC2 - # instances. - # @return [Boolean] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/AssociateTeamMemberRequest AWS API Documentation - # - class AssociateTeamMemberRequest < Struct.new( - :project_id, - :client_request_token, - :user_arn, - :project_role, - :remote_access_allowed) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] client_request_token - # The user- or system-generated token from the initial request that - # can be used to repeat the request. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/AssociateTeamMemberResult AWS API Documentation - # - class AssociateTeamMemberResult < Struct.new( - :client_request_token) - SENSITIVE = [] - include Aws::Structure - end - - # Location and destination information about the source code files - # provided with the project request. The source code is uploaded to the - # new project source repository after project creation. - # - # @!attribute [rw] source - # The location where the source code files provided with the project - # request are stored. AWS CodeStar retrieves the files during project - # creation. - # @return [Types::CodeSource] - # - # @!attribute [rw] destination - # The repository to be created in AWS CodeStar. Valid values are AWS - # CodeCommit or GitHub. After AWS CodeStar provisions the new - # repository, the source code files provided with the project request - # are placed in the repository. - # @return [Types::CodeDestination] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/Code AWS API Documentation - # - class Code < Struct.new( - :source, - :destination) - SENSITIVE = [] - include Aws::Structure - end - - # Information about the AWS CodeCommit repository to be created in AWS - # CodeStar. This is where the source code files provided with the - # project request will be uploaded after project creation. - # - # @!attribute [rw] name - # The name of the AWS CodeCommit repository to be created in AWS - # CodeStar. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CodeCommitCodeDestination AWS API Documentation - # - class CodeCommitCodeDestination < Struct.new( - :name) - SENSITIVE = [] - include Aws::Structure - end - - # The repository to be created in AWS CodeStar. Valid values are AWS - # CodeCommit or GitHub. After AWS CodeStar provisions the new - # repository, the source code files provided with the project request - # are placed in the repository. - # - # @!attribute [rw] code_commit - # Information about the AWS CodeCommit repository to be created in AWS - # CodeStar. This is where the source code files provided with the - # project request will be uploaded after project creation. - # @return [Types::CodeCommitCodeDestination] - # - # @!attribute [rw] git_hub - # Information about the GitHub repository to be created in AWS - # CodeStar. This is where the source code files provided with the - # project request will be uploaded after project creation. - # @return [Types::GitHubCodeDestination] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CodeDestination AWS API Documentation - # - class CodeDestination < Struct.new( - :code_commit, - :git_hub) - SENSITIVE = [] - include Aws::Structure - end - - # The location where the source code files provided with the project - # request are stored. AWS CodeStar retrieves the files during project - # creation. - # - # @!attribute [rw] s3 - # Information about the Amazon S3 location where the source code files - # provided with the project request are stored. - # @return [Types::S3Location] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CodeSource AWS API Documentation - # - class CodeSource < Struct.new( - :s3) - SENSITIVE = [] - include Aws::Structure - end - - # Another modification is being made. That modification must complete - # before you can make your change. - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ConcurrentModificationException AWS API Documentation - # - class ConcurrentModificationException < Aws::EmptyStructure; end - - # @!attribute [rw] name - # The display name for the project to be created in AWS CodeStar. - # @return [String] - # - # @!attribute [rw] id - # The ID of the project to be created in AWS CodeStar. - # @return [String] - # - # @!attribute [rw] description - # The description of the project, if any. - # @return [String] - # - # @!attribute [rw] client_request_token - # A user- or system-generated token that identifies the entity that - # requested project creation. This token can be used to repeat the - # request. - # @return [String] - # - # @!attribute [rw] source_code - # A list of the Code objects submitted with the project request. If - # this parameter is specified, the request must also include the - # toolchain parameter. - # @return [Array] - # - # @!attribute [rw] toolchain - # The name of the toolchain template file submitted with the project - # request. If this parameter is specified, the request must also - # include the sourceCode parameter. - # @return [Types::Toolchain] - # - # @!attribute [rw] tags - # The tags created for the project. - # @return [Hash] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateProjectRequest AWS API Documentation - # - class CreateProjectRequest < Struct.new( - :name, - :id, - :description, - :client_request_token, - :source_code, - :toolchain, - :tags) - SENSITIVE = [:name, :description] - include Aws::Structure - end - - # @!attribute [rw] id - # The ID of the project. - # @return [String] - # - # @!attribute [rw] arn - # The Amazon Resource Name (ARN) of the created project. - # @return [String] - # - # @!attribute [rw] client_request_token - # A user- or system-generated token that identifies the entity that - # requested project creation. - # @return [String] - # - # @!attribute [rw] project_template_id - # Reserved for future use. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateProjectResult AWS API Documentation - # - class CreateProjectResult < Struct.new( - :id, - :arn, - :client_request_token, - :project_template_id) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] user_arn - # The Amazon Resource Name (ARN) of the user in IAM. - # @return [String] - # - # @!attribute [rw] display_name - # The name that will be displayed as the friendly name for the user in - # AWS CodeStar. - # @return [String] - # - # @!attribute [rw] email_address - # The email address that will be displayed as part of the user's - # profile in AWS CodeStar. - # @return [String] - # - # @!attribute [rw] ssh_public_key - # The SSH public key associated with the user in AWS CodeStar. If a - # project owner allows the user remote access to project resources, - # this public key will be used along with the user's private key for - # SSH access. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateUserProfileRequest AWS API Documentation - # - class CreateUserProfileRequest < Struct.new( - :user_arn, - :display_name, - :email_address, - :ssh_public_key) - SENSITIVE = [:display_name, :email_address] - include Aws::Structure - end - - # @!attribute [rw] user_arn - # The Amazon Resource Name (ARN) of the user in IAM. - # @return [String] - # - # @!attribute [rw] display_name - # The name that is displayed as the friendly name for the user in AWS - # CodeStar. - # @return [String] - # - # @!attribute [rw] email_address - # The email address that is displayed as part of the user's profile - # in AWS CodeStar. - # @return [String] - # - # @!attribute [rw] ssh_public_key - # The SSH public key associated with the user in AWS CodeStar. This is - # the public portion of the public/private keypair the user can use to - # access project resources if a project owner allows the user remote - # access to those resources. - # @return [String] - # - # @!attribute [rw] created_timestamp - # The date the user profile was created, in timestamp format. - # @return [Time] - # - # @!attribute [rw] last_modified_timestamp - # The date the user profile was last modified, in timestamp format. - # @return [Time] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateUserProfileResult AWS API Documentation - # - class CreateUserProfileResult < Struct.new( - :user_arn, - :display_name, - :email_address, - :ssh_public_key, - :created_timestamp, - :last_modified_timestamp) - SENSITIVE = [:display_name, :email_address] - include Aws::Structure - end - - # @!attribute [rw] id - # The ID of the project to be deleted in AWS CodeStar. - # @return [String] - # - # @!attribute [rw] client_request_token - # A user- or system-generated token that identifies the entity that - # requested project deletion. This token can be used to repeat the - # request. - # @return [String] - # - # @!attribute [rw] delete_stack - # Whether to send a delete request for the primary stack in AWS - # CloudFormation originally used to generate the project and its - # resources. This option will delete all AWS resources for the project - # (except for any buckets in Amazon S3) as well as deleting the - # project itself. Recommended for most use cases. - # @return [Boolean] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteProjectRequest AWS API Documentation - # - class DeleteProjectRequest < Struct.new( - :id, - :client_request_token, - :delete_stack) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] stack_id - # The ID of the primary stack in AWS CloudFormation that will be - # deleted as part of deleting the project and its resources. - # @return [String] - # - # @!attribute [rw] project_arn - # The Amazon Resource Name (ARN) of the deleted project. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteProjectResult AWS API Documentation - # - class DeleteProjectResult < Struct.new( - :stack_id, - :project_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] user_arn - # The Amazon Resource Name (ARN) of the user to delete from AWS - # CodeStar. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteUserProfileRequest AWS API Documentation - # - class DeleteUserProfileRequest < Struct.new( - :user_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] user_arn - # The Amazon Resource Name (ARN) of the user deleted from AWS - # CodeStar. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteUserProfileResult AWS API Documentation - # - class DeleteUserProfileResult < Struct.new( - :user_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] id - # The ID of the project. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeProjectRequest AWS API Documentation - # - class DescribeProjectRequest < Struct.new( - :id) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] name - # The display name for the project. - # @return [String] - # - # @!attribute [rw] id - # The ID of the project. - # @return [String] - # - # @!attribute [rw] arn - # The Amazon Resource Name (ARN) for the project. - # @return [String] - # - # @!attribute [rw] description - # The description of the project, if any. - # @return [String] - # - # @!attribute [rw] client_request_token - # A user- or system-generated token that identifies the entity that - # requested project creation. - # @return [String] - # - # @!attribute [rw] created_time_stamp - # The date and time the project was created, in timestamp format. - # @return [Time] - # - # @!attribute [rw] stack_id - # The ID of the primary stack in AWS CloudFormation used to generate - # resources for the project. - # @return [String] - # - # @!attribute [rw] project_template_id - # The ID for the AWS CodeStar project template used to create the - # project. - # @return [String] - # - # @!attribute [rw] status - # The project creation or deletion status. - # @return [Types::ProjectStatus] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeProjectResult AWS API Documentation - # - class DescribeProjectResult < Struct.new( - :name, - :id, - :arn, - :description, - :client_request_token, - :created_time_stamp, - :stack_id, - :project_template_id, - :status) - SENSITIVE = [:name, :description] - include Aws::Structure - end - - # @!attribute [rw] user_arn - # The Amazon Resource Name (ARN) of the user. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeUserProfileRequest AWS API Documentation - # - class DescribeUserProfileRequest < Struct.new( - :user_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] user_arn - # The Amazon Resource Name (ARN) of the user. - # @return [String] - # - # @!attribute [rw] display_name - # The display name shown for the user in AWS CodeStar projects. For - # example, this could be set to both first and last name ("Mary - # Major") or a single name ("Mary"). The display name is also used - # to generate the initial icon associated with the user in AWS - # CodeStar projects. If spaces are included in the display name, the - # first character that appears after the space will be used as the - # second character in the user initial icon. The initial icon displays - # a maximum of two characters, so a display name with more than one - # space (for example "Mary Jane Major") would generate an initial - # icon using the first character and the first character after the - # space ("MJ", not "MM"). - # @return [String] - # - # @!attribute [rw] email_address - # The email address for the user. Optional. - # @return [String] - # - # @!attribute [rw] ssh_public_key - # The SSH public key associated with the user. This SSH public key is - # associated with the user profile, and can be used in conjunction - # with the associated private key for access to project resources, - # such as Amazon EC2 instances, if a project owner grants remote - # access to those resources. - # @return [String] - # - # @!attribute [rw] created_timestamp - # The date and time when the user profile was created in AWS CodeStar, - # in timestamp format. - # @return [Time] - # - # @!attribute [rw] last_modified_timestamp - # The date and time when the user profile was last modified, in - # timestamp format. - # @return [Time] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeUserProfileResult AWS API Documentation - # - class DescribeUserProfileResult < Struct.new( - :user_arn, - :display_name, - :email_address, - :ssh_public_key, - :created_timestamp, - :last_modified_timestamp) - SENSITIVE = [:display_name, :email_address] - include Aws::Structure - end - - # @!attribute [rw] project_id - # The ID of the AWS CodeStar project from which you want to remove a - # team member. - # @return [String] - # - # @!attribute [rw] user_arn - # The Amazon Resource Name (ARN) of the IAM user or group whom you - # want to remove from the project. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DisassociateTeamMemberRequest AWS API Documentation - # - class DisassociateTeamMemberRequest < Struct.new( - :project_id, - :user_arn) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DisassociateTeamMemberResult AWS API Documentation - # - class DisassociateTeamMemberResult < Aws::EmptyStructure; end - - # Information about the GitHub repository to be created in AWS CodeStar. - # This is where the source code files provided with the project request - # will be uploaded after project creation. - # - # @!attribute [rw] name - # Name of the GitHub repository to be created in AWS CodeStar. - # @return [String] - # - # @!attribute [rw] description - # Description for the GitHub repository to be created in AWS CodeStar. - # This description displays in GitHub after the repository is created. - # @return [String] - # - # @!attribute [rw] type - # The type of GitHub repository to be created in AWS CodeStar. Valid - # values are User or Organization. - # @return [String] - # - # @!attribute [rw] owner - # The GitHub username for the owner of the GitHub repository to be - # created in AWS CodeStar. If this repository should be owned by a - # GitHub organization, provide its name. - # @return [String] - # - # @!attribute [rw] private_repository - # Whether the GitHub repository is to be a private repository. - # @return [Boolean] - # - # @!attribute [rw] issues_enabled - # Whether to enable issues for the GitHub repository. - # @return [Boolean] - # - # @!attribute [rw] token - # The GitHub user's personal access token for the GitHub repository. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/GitHubCodeDestination AWS API Documentation - # - class GitHubCodeDestination < Struct.new( - :name, - :description, - :type, - :owner, - :private_repository, - :issues_enabled, - :token) - SENSITIVE = [:token] - include Aws::Structure - end - - # The next token is not valid. - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/InvalidNextTokenException AWS API Documentation - # - class InvalidNextTokenException < Aws::EmptyStructure; end - - # The service role is not valid. - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/InvalidServiceRoleException AWS API Documentation - # - class InvalidServiceRoleException < Aws::EmptyStructure; end - - # A resource limit has been exceeded. - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/LimitExceededException AWS API Documentation - # - class LimitExceededException < Aws::EmptyStructure; end - - # @!attribute [rw] next_token - # The continuation token to be used to return the next set of results, - # if the results cannot be returned in one response. - # @return [String] - # - # @!attribute [rw] max_results - # The maximum amount of data that can be contained in a single set of - # results. - # @return [Integer] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListProjectsRequest AWS API Documentation - # - class ListProjectsRequest < Struct.new( - :next_token, - :max_results) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] projects - # A list of projects. - # @return [Array] - # - # @!attribute [rw] next_token - # The continuation token to use when requesting the next set of - # results, if there are more results to be returned. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListProjectsResult AWS API Documentation - # - class ListProjectsResult < Struct.new( - :projects, - :next_token) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] project_id - # The ID of the project. - # @return [String] - # - # @!attribute [rw] next_token - # The continuation token for the next set of results, if the results - # cannot be returned in one response. - # @return [String] - # - # @!attribute [rw] max_results - # The maximum amount of data that can be contained in a single set of - # results. - # @return [Integer] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListResourcesRequest AWS API Documentation - # - class ListResourcesRequest < Struct.new( - :project_id, - :next_token, - :max_results) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] resources - # An array of resources associated with the project. - # @return [Array] - # - # @!attribute [rw] next_token - # The continuation token to use when requesting the next set of - # results, if there are more results to be returned. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListResourcesResult AWS API Documentation - # - class ListResourcesResult < Struct.new( - :resources, - :next_token) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] id - # The ID of the project to get tags for. - # @return [String] - # - # @!attribute [rw] next_token - # Reserved for future use. - # @return [String] - # - # @!attribute [rw] max_results - # Reserved for future use. - # @return [Integer] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProjectRequest AWS API Documentation - # - class ListTagsForProjectRequest < Struct.new( - :id, - :next_token, - :max_results) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] tags - # The tags for the project. - # @return [Hash] - # - # @!attribute [rw] next_token - # Reserved for future use. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProjectResult AWS API Documentation - # - class ListTagsForProjectResult < Struct.new( - :tags, - :next_token) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] project_id - # The ID of the project for which you want to list team members. - # @return [String] - # - # @!attribute [rw] next_token - # The continuation token for the next set of results, if the results - # cannot be returned in one response. - # @return [String] - # - # @!attribute [rw] max_results - # The maximum number of team members you want returned in a response. - # @return [Integer] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTeamMembersRequest AWS API Documentation - # - class ListTeamMembersRequest < Struct.new( - :project_id, - :next_token, - :max_results) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] team_members - # A list of team member objects for the project. - # @return [Array] - # - # @!attribute [rw] next_token - # The continuation token to use when requesting the next set of - # results, if there are more results to be returned. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTeamMembersResult AWS API Documentation - # - class ListTeamMembersResult < Struct.new( - :team_members, - :next_token) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] next_token - # The continuation token for the next set of results, if the results - # cannot be returned in one response. - # @return [String] - # - # @!attribute [rw] max_results - # The maximum number of results to return in a response. - # @return [Integer] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListUserProfilesRequest AWS API Documentation - # - class ListUserProfilesRequest < Struct.new( - :next_token, - :max_results) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] user_profiles - # All the user profiles configured in AWS CodeStar for an AWS account. - # @return [Array] - # - # @!attribute [rw] next_token - # The continuation token to use when requesting the next set of - # results, if there are more results to be returned. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListUserProfilesResult AWS API Documentation - # - class ListUserProfilesResult < Struct.new( - :user_profiles, - :next_token) - SENSITIVE = [] - include Aws::Structure - end - - # An AWS CodeStar project with the same ID already exists in this region - # for the AWS account. AWS CodeStar project IDs must be unique within a - # region for the AWS account. - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ProjectAlreadyExistsException AWS API Documentation - # - class ProjectAlreadyExistsException < Aws::EmptyStructure; end - - # Project configuration information is required but not specified. - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ProjectConfigurationException AWS API Documentation - # - class ProjectConfigurationException < Aws::EmptyStructure; end - - # The project creation request was valid, but a nonspecific exception or - # error occurred during project creation. The project could not be - # created in AWS CodeStar. - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ProjectCreationFailedException AWS API Documentation - # - class ProjectCreationFailedException < Aws::EmptyStructure; end - - # The specified AWS CodeStar project was not found. - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ProjectNotFoundException AWS API Documentation - # - class ProjectNotFoundException < Aws::EmptyStructure; end - - # An indication of whether a project creation or deletion is failed or - # successful. - # - # @!attribute [rw] state - # The phase of completion for a project creation or deletion. - # @return [String] - # - # @!attribute [rw] reason - # In the case of a project creation or deletion failure, a reason for - # the failure. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ProjectStatus AWS API Documentation - # - class ProjectStatus < Struct.new( - :state, - :reason) - SENSITIVE = [] - include Aws::Structure - end - - # Information about the metadata for a project. - # - # @!attribute [rw] project_id - # The ID of the project. - # @return [String] - # - # @!attribute [rw] project_arn - # The Amazon Resource Name (ARN) of the project. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ProjectSummary AWS API Documentation - # - class ProjectSummary < Struct.new( - :project_id, - :project_arn) - SENSITIVE = [] - include Aws::Structure - end - - # Information about a resource for a project. - # - # @!attribute [rw] id - # The Amazon Resource Name (ARN) of the resource. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/Resource AWS API Documentation - # - class Resource < Struct.new( - :id) - SENSITIVE = [] - include Aws::Structure - end - - # The Amazon S3 location where the source code files provided with the - # project request are stored. - # - # @!attribute [rw] bucket_name - # The Amazon S3 bucket name where the source code files provided with - # the project request are stored. - # @return [String] - # - # @!attribute [rw] bucket_key - # The Amazon S3 object key where the source code files provided with - # the project request are stored. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/S3Location AWS API Documentation - # - class S3Location < Struct.new( - :bucket_name, - :bucket_key) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] id - # The ID of the project you want to add a tag to. - # @return [String] - # - # @!attribute [rw] tags - # The tags you want to add to the project. - # @return [Hash] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProjectRequest AWS API Documentation - # - class TagProjectRequest < Struct.new( - :id, - :tags) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] tags - # The tags for the project. - # @return [Hash] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProjectResult AWS API Documentation - # - class TagProjectResult < Struct.new( - :tags) - SENSITIVE = [] - include Aws::Structure - end - - # Information about a team member in a project. - # - # @!attribute [rw] user_arn - # The Amazon Resource Name (ARN) of the user in IAM. - # @return [String] - # - # @!attribute [rw] project_role - # The role assigned to the user in the project. Project roles have - # different levels of access. For more information, see [Working with - # Teams][1] in the *AWS CodeStar User Guide*. - # - # - # - # [1]: http://docs.aws.amazon.com/codestar/latest/userguide/working-with-teams.html - # @return [String] - # - # @!attribute [rw] remote_access_allowed - # Whether the user is allowed to remotely access project resources - # using an SSH public/private key pair. - # @return [Boolean] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TeamMember AWS API Documentation - # - class TeamMember < Struct.new( - :user_arn, - :project_role, - :remote_access_allowed) - SENSITIVE = [] - include Aws::Structure - end - - # The team member is already associated with a role in this project. - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TeamMemberAlreadyAssociatedException AWS API Documentation - # - class TeamMemberAlreadyAssociatedException < Aws::EmptyStructure; end - - # The specified team member was not found. - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TeamMemberNotFoundException AWS API Documentation - # - class TeamMemberNotFoundException < Aws::EmptyStructure; end - - # The toolchain template file provided with the project request. AWS - # CodeStar uses the template to provision the toolchain stack in AWS - # CloudFormation. - # - # @!attribute [rw] source - # The Amazon S3 location where the toolchain template file provided - # with the project request is stored. AWS CodeStar retrieves the file - # during project creation. - # @return [Types::ToolchainSource] - # - # @!attribute [rw] role_arn - # The service role ARN for AWS CodeStar to use for the toolchain - # template during stack provisioning. - # @return [String] - # - # @!attribute [rw] stack_parameters - # The list of parameter overrides to be passed into the toolchain - # template during stack provisioning, if any. - # @return [Hash] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/Toolchain AWS API Documentation - # - class Toolchain < Struct.new( - :source, - :role_arn, - :stack_parameters) - SENSITIVE = [:stack_parameters] - include Aws::Structure - end - - # The Amazon S3 location where the toolchain template file provided with - # the project request is stored. AWS CodeStar retrieves the file during - # project creation. - # - # @!attribute [rw] s3 - # The Amazon S3 bucket where the toolchain template file provided with - # the project request is stored. - # @return [Types::S3Location] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ToolchainSource AWS API Documentation - # - class ToolchainSource < Struct.new( - :s3) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] id - # The ID of the project to remove tags from. - # @return [String] - # - # @!attribute [rw] tags - # The tags to remove from the project. - # @return [Array] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProjectRequest AWS API Documentation - # - class UntagProjectRequest < Struct.new( - :id, - :tags) - SENSITIVE = [] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProjectResult AWS API Documentation - # - class UntagProjectResult < Aws::EmptyStructure; end - - # @!attribute [rw] id - # The ID of the project you want to update. - # @return [String] - # - # @!attribute [rw] name - # The name of the project you want to update. - # @return [String] - # - # @!attribute [rw] description - # The description of the project, if any. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateProjectRequest AWS API Documentation - # - class UpdateProjectRequest < Struct.new( - :id, - :name, - :description) - SENSITIVE = [:name, :description] - include Aws::Structure - end - - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateProjectResult AWS API Documentation - # - class UpdateProjectResult < Aws::EmptyStructure; end - - # @!attribute [rw] project_id - # The ID of the project. - # @return [String] - # - # @!attribute [rw] user_arn - # The Amazon Resource Name (ARN) of the user for whom you want to - # change team membership attributes. - # @return [String] - # - # @!attribute [rw] project_role - # The role assigned to the user in the project. Project roles have - # different levels of access. For more information, see [Working with - # Teams][1] in the *AWS CodeStar User Guide*. - # - # - # - # [1]: http://docs.aws.amazon.com/codestar/latest/userguide/working-with-teams.html - # @return [String] - # - # @!attribute [rw] remote_access_allowed - # Whether a team member is allowed to remotely access project - # resources using the SSH public key associated with the user's - # profile. Even if this is set to True, the user must associate a - # public key with their profile before the user can access resources. - # @return [Boolean] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateTeamMemberRequest AWS API Documentation - # - class UpdateTeamMemberRequest < Struct.new( - :project_id, - :user_arn, - :project_role, - :remote_access_allowed) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] user_arn - # The Amazon Resource Name (ARN) of the user whose team membership - # attributes were updated. - # @return [String] - # - # @!attribute [rw] project_role - # The project role granted to the user. - # @return [String] - # - # @!attribute [rw] remote_access_allowed - # Whether a team member is allowed to remotely access project - # resources using the SSH public key associated with the user's - # profile. - # @return [Boolean] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateTeamMemberResult AWS API Documentation - # - class UpdateTeamMemberResult < Struct.new( - :user_arn, - :project_role, - :remote_access_allowed) - SENSITIVE = [] - include Aws::Structure - end - - # @!attribute [rw] user_arn - # The name that will be displayed as the friendly name for the user in - # AWS CodeStar. - # @return [String] - # - # @!attribute [rw] display_name - # The name that is displayed as the friendly name for the user in AWS - # CodeStar. - # @return [String] - # - # @!attribute [rw] email_address - # The email address that is displayed as part of the user's profile - # in AWS CodeStar. - # @return [String] - # - # @!attribute [rw] ssh_public_key - # The SSH public key associated with the user in AWS CodeStar. If a - # project owner allows the user remote access to project resources, - # this public key will be used along with the user's private key for - # SSH access. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateUserProfileRequest AWS API Documentation - # - class UpdateUserProfileRequest < Struct.new( - :user_arn, - :display_name, - :email_address, - :ssh_public_key) - SENSITIVE = [:display_name, :email_address] - include Aws::Structure - end - - # @!attribute [rw] user_arn - # The Amazon Resource Name (ARN) of the user in IAM. - # @return [String] - # - # @!attribute [rw] display_name - # The name that is displayed as the friendly name for the user in AWS - # CodeStar. - # @return [String] - # - # @!attribute [rw] email_address - # The email address that is displayed as part of the user's profile - # in AWS CodeStar. - # @return [String] - # - # @!attribute [rw] ssh_public_key - # The SSH public key associated with the user in AWS CodeStar. This is - # the public portion of the public/private keypair the user can use to - # access project resources if a project owner allows the user remote - # access to those resources. - # @return [String] - # - # @!attribute [rw] created_timestamp - # The date the user profile was created, in timestamp format. - # @return [Time] - # - # @!attribute [rw] last_modified_timestamp - # The date the user profile was last modified, in timestamp format. - # @return [Time] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateUserProfileResult AWS API Documentation - # - class UpdateUserProfileResult < Struct.new( - :user_arn, - :display_name, - :email_address, - :ssh_public_key, - :created_timestamp, - :last_modified_timestamp) - SENSITIVE = [:display_name, :email_address] - include Aws::Structure - end - - # A user profile with that name already exists in this region for the - # AWS account. AWS CodeStar user profile names must be unique within a - # region for the AWS account. - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UserProfileAlreadyExistsException AWS API Documentation - # - class UserProfileAlreadyExistsException < Aws::EmptyStructure; end - - # The user profile was not found. - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UserProfileNotFoundException AWS API Documentation - # - class UserProfileNotFoundException < Aws::EmptyStructure; end - - # Information about a user's profile in AWS CodeStar. - # - # @!attribute [rw] user_arn - # The Amazon Resource Name (ARN) of the user in IAM. - # @return [String] - # - # @!attribute [rw] display_name - # The display name of a user in AWS CodeStar. For example, this could - # be set to both first and last name ("Mary Major") or a single name - # ("Mary"). The display name is also used to generate the initial - # icon associated with the user in AWS CodeStar projects. If spaces - # are included in the display name, the first character that appears - # after the space will be used as the second character in the user - # initial icon. The initial icon displays a maximum of two characters, - # so a display name with more than one space (for example "Mary Jane - # Major") would generate an initial icon using the first character - # and the first character after the space ("MJ", not "MM"). - # @return [String] - # - # @!attribute [rw] email_address - # The email address associated with the user. - # @return [String] - # - # @!attribute [rw] ssh_public_key - # The SSH public key associated with the user in AWS CodeStar. If a - # project owner allows the user remote access to project resources, - # this public key will be used along with the user's private key for - # SSH access. - # @return [String] - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UserProfileSummary AWS API Documentation - # - class UserProfileSummary < Struct.new( - :user_arn, - :display_name, - :email_address, - :ssh_public_key) - SENSITIVE = [:display_name, :email_address] - include Aws::Structure - end - - # The specified input is either not valid, or it could not be validated. - # - # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ValidationException AWS API Documentation - # - class ValidationException < Aws::EmptyStructure; end - - end -end diff --git a/gems/aws-sdk-codestar/sig/client.rbs b/gems/aws-sdk-codestar/sig/client.rbs deleted file mode 100644 index 8bccfdc2615..00000000000 --- a/gems/aws-sdk-codestar/sig/client.rbs +++ /dev/null @@ -1,356 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws - module CodeStar - class Client < ::Seahorse::Client::Base - include ::Aws::ClientStubs - - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#initialize-instance_method - def self.new: ( - ?credentials: untyped, - ?region: String, - ?access_key_id: String, - ?active_endpoint_cache: bool, - ?adaptive_retry_wait_to_fill: bool, - ?client_side_monitoring: bool, - ?client_side_monitoring_client_id: String, - ?client_side_monitoring_host: String, - ?client_side_monitoring_port: Integer, - ?client_side_monitoring_publisher: untyped, - ?convert_params: bool, - ?correct_clock_skew: bool, - ?defaults_mode: String, - ?disable_host_prefix_injection: bool, - ?disable_request_compression: bool, - ?endpoint: String, - ?endpoint_cache_max_entries: Integer, - ?endpoint_cache_max_threads: Integer, - ?endpoint_cache_poll_interval: Integer, - ?endpoint_discovery: bool, - ?ignore_configured_endpoint_urls: bool, - ?log_formatter: untyped, - ?log_level: Symbol, - ?logger: untyped, - ?max_attempts: Integer, - ?profile: String, - ?request_min_compression_size_bytes: Integer, - ?retry_backoff: Proc, - ?retry_base_delay: Float, - ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer), - ?retry_limit: Integer, - ?retry_max_delay: Integer, - ?retry_mode: ("legacy" | "standard" | "adaptive"), - ?sdk_ua_app_id: String, - ?secret_access_key: String, - ?session_token: String, - ?sigv4a_signing_region_set: Array[String], - ?simple_json: bool, - ?stub_responses: untyped, - ?token_provider: untyped, - ?use_dualstack_endpoint: bool, - ?use_fips_endpoint: bool, - ?validate_params: bool, - ?endpoint_provider: untyped, - ?http_proxy: String, - ?http_open_timeout: (Float | Integer), - ?http_read_timeout: (Float | Integer), - ?http_idle_timeout: (Float | Integer), - ?http_continue_timeout: (Float | Integer), - ?ssl_timeout: (Float | Integer | nil), - ?http_wire_trace: bool, - ?ssl_verify_peer: bool, - ?ssl_ca_bundle: String, - ?ssl_ca_directory: String, - ?ssl_ca_store: String, - ?on_chunk_received: Proc, - ?on_chunk_sent: Proc, - ?raise_response_errors: bool - ) -> instance - | (?Hash[Symbol, untyped]) -> instance - - - interface _AssociateTeamMemberResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::AssociateTeamMemberResult] - def client_request_token: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#associate_team_member-instance_method - def associate_team_member: ( - project_id: ::String, - ?client_request_token: ::String, - user_arn: ::String, - project_role: ::String, - ?remote_access_allowed: bool - ) -> _AssociateTeamMemberResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateTeamMemberResponseSuccess - - interface _CreateProjectResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::CreateProjectResult] - def id: () -> ::String - def arn: () -> ::String - def client_request_token: () -> ::String - def project_template_id: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#create_project-instance_method - def create_project: ( - name: ::String, - id: ::String, - ?description: ::String, - ?client_request_token: ::String, - ?source_code: Array[ - { - source: { - s3: { - bucket_name: ::String?, - bucket_key: ::String? - } - }, - destination: { - code_commit: { - name: ::String - }?, - git_hub: { - name: ::String, - description: ::String?, - type: ::String, - owner: ::String, - private_repository: bool, - issues_enabled: bool, - token: ::String - }? - } - }, - ], - ?toolchain: { - source: { - s3: { - bucket_name: ::String?, - bucket_key: ::String? - } - }, - role_arn: ::String?, - stack_parameters: Hash[::String, ::String]? - }, - ?tags: Hash[::String, ::String] - ) -> _CreateProjectResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProjectResponseSuccess - - interface _CreateUserProfileResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::CreateUserProfileResult] - def user_arn: () -> ::String - def display_name: () -> ::String - def email_address: () -> ::String - def ssh_public_key: () -> ::String - def created_timestamp: () -> ::Time - def last_modified_timestamp: () -> ::Time - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#create_user_profile-instance_method - def create_user_profile: ( - user_arn: ::String, - display_name: ::String, - email_address: ::String, - ?ssh_public_key: ::String - ) -> _CreateUserProfileResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUserProfileResponseSuccess - - interface _DeleteProjectResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DeleteProjectResult] - def stack_id: () -> ::String - def project_arn: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#delete_project-instance_method - def delete_project: ( - id: ::String, - ?client_request_token: ::String, - ?delete_stack: bool - ) -> _DeleteProjectResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProjectResponseSuccess - - interface _DeleteUserProfileResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DeleteUserProfileResult] - def user_arn: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#delete_user_profile-instance_method - def delete_user_profile: ( - user_arn: ::String - ) -> _DeleteUserProfileResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteUserProfileResponseSuccess - - interface _DescribeProjectResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DescribeProjectResult] - def name: () -> ::String - def id: () -> ::String - def arn: () -> ::String - def description: () -> ::String - def client_request_token: () -> ::String - def created_time_stamp: () -> ::Time - def stack_id: () -> ::String - def project_template_id: () -> ::String - def status: () -> Types::ProjectStatus - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#describe_project-instance_method - def describe_project: ( - id: ::String - ) -> _DescribeProjectResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeProjectResponseSuccess - - interface _DescribeUserProfileResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DescribeUserProfileResult] - def user_arn: () -> ::String - def display_name: () -> ::String - def email_address: () -> ::String - def ssh_public_key: () -> ::String - def created_timestamp: () -> ::Time - def last_modified_timestamp: () -> ::Time - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#describe_user_profile-instance_method - def describe_user_profile: ( - user_arn: ::String - ) -> _DescribeUserProfileResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeUserProfileResponseSuccess - - interface _DisassociateTeamMemberResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateTeamMemberResult] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#disassociate_team_member-instance_method - def disassociate_team_member: ( - project_id: ::String, - user_arn: ::String - ) -> _DisassociateTeamMemberResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateTeamMemberResponseSuccess - - interface _ListProjectsResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::ListProjectsResult] - def projects: () -> ::Array[Types::ProjectSummary] - def next_token: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#list_projects-instance_method - def list_projects: ( - ?next_token: ::String, - ?max_results: ::Integer - ) -> _ListProjectsResponseSuccess - | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProjectsResponseSuccess - - interface _ListResourcesResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::ListResourcesResult] - def resources: () -> ::Array[Types::Resource] - def next_token: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#list_resources-instance_method - def list_resources: ( - project_id: ::String, - ?next_token: ::String, - ?max_results: ::Integer - ) -> _ListResourcesResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourcesResponseSuccess - - interface _ListTagsForProjectResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForProjectResult] - def tags: () -> ::Hash[::String, ::String] - def next_token: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#list_tags_for_project-instance_method - def list_tags_for_project: ( - id: ::String, - ?next_token: ::String, - ?max_results: ::Integer - ) -> _ListTagsForProjectResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForProjectResponseSuccess - - interface _ListTeamMembersResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::ListTeamMembersResult] - def team_members: () -> ::Array[Types::TeamMember] - def next_token: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#list_team_members-instance_method - def list_team_members: ( - project_id: ::String, - ?next_token: ::String, - ?max_results: ::Integer - ) -> _ListTeamMembersResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTeamMembersResponseSuccess - - interface _ListUserProfilesResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::ListUserProfilesResult] - def user_profiles: () -> ::Array[Types::UserProfileSummary] - def next_token: () -> ::String - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#list_user_profiles-instance_method - def list_user_profiles: ( - ?next_token: ::String, - ?max_results: ::Integer - ) -> _ListUserProfilesResponseSuccess - | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListUserProfilesResponseSuccess - - interface _TagProjectResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::TagProjectResult] - def tags: () -> ::Hash[::String, ::String] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#tag_project-instance_method - def tag_project: ( - id: ::String, - tags: Hash[::String, ::String] - ) -> _TagProjectResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagProjectResponseSuccess - - interface _UntagProjectResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::UntagProjectResult] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#untag_project-instance_method - def untag_project: ( - id: ::String, - tags: Array[::String] - ) -> _UntagProjectResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagProjectResponseSuccess - - interface _UpdateProjectResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProjectResult] - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#update_project-instance_method - def update_project: ( - id: ::String, - ?name: ::String, - ?description: ::String - ) -> _UpdateProjectResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProjectResponseSuccess - - interface _UpdateTeamMemberResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTeamMemberResult] - def user_arn: () -> ::String - def project_role: () -> ::String - def remote_access_allowed: () -> bool - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#update_team_member-instance_method - def update_team_member: ( - project_id: ::String, - user_arn: ::String, - ?project_role: ::String, - ?remote_access_allowed: bool - ) -> _UpdateTeamMemberResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTeamMemberResponseSuccess - - interface _UpdateUserProfileResponseSuccess - include ::Seahorse::Client::_ResponseSuccess[Types::UpdateUserProfileResult] - def user_arn: () -> ::String - def display_name: () -> ::String - def email_address: () -> ::String - def ssh_public_key: () -> ::String - def created_timestamp: () -> ::Time - def last_modified_timestamp: () -> ::Time - end - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Client.html#update_user_profile-instance_method - def update_user_profile: ( - user_arn: ::String, - ?display_name: ::String, - ?email_address: ::String, - ?ssh_public_key: ::String - ) -> _UpdateUserProfileResponseSuccess - | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateUserProfileResponseSuccess - end - end -end - diff --git a/gems/aws-sdk-codestar/sig/errors.rbs b/gems/aws-sdk-codestar/sig/errors.rbs deleted file mode 100644 index bfa0b2d5731..00000000000 --- a/gems/aws-sdk-codestar/sig/errors.rbs +++ /dev/null @@ -1,42 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws - module CodeStar - module Errors - class ServiceError < ::Aws::Errors::ServiceError - end - - class ConcurrentModificationException < ::Aws::Errors::ServiceError - end - class InvalidNextTokenException < ::Aws::Errors::ServiceError - end - class InvalidServiceRoleException < ::Aws::Errors::ServiceError - end - class LimitExceededException < ::Aws::Errors::ServiceError - end - class ProjectAlreadyExistsException < ::Aws::Errors::ServiceError - end - class ProjectConfigurationException < ::Aws::Errors::ServiceError - end - class ProjectCreationFailedException < ::Aws::Errors::ServiceError - end - class ProjectNotFoundException < ::Aws::Errors::ServiceError - end - class TeamMemberAlreadyAssociatedException < ::Aws::Errors::ServiceError - end - class TeamMemberNotFoundException < ::Aws::Errors::ServiceError - end - class UserProfileAlreadyExistsException < ::Aws::Errors::ServiceError - end - class UserProfileNotFoundException < ::Aws::Errors::ServiceError - end - class ValidationException < ::Aws::Errors::ServiceError - end - end - end -end diff --git a/gems/aws-sdk-codestar/sig/resource.rbs b/gems/aws-sdk-codestar/sig/resource.rbs deleted file mode 100644 index 7ccd7cdc809..00000000000 --- a/gems/aws-sdk-codestar/sig/resource.rbs +++ /dev/null @@ -1,81 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws - module CodeStar - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Resource.html - class Resource - # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStar/Resource.html#initialize-instance_method - def initialize: ( - ?client: Client, - ?credentials: untyped, - ?region: String, - ?access_key_id: String, - ?active_endpoint_cache: bool, - ?adaptive_retry_wait_to_fill: bool, - ?client_side_monitoring: bool, - ?client_side_monitoring_client_id: String, - ?client_side_monitoring_host: String, - ?client_side_monitoring_port: Integer, - ?client_side_monitoring_publisher: untyped, - ?convert_params: bool, - ?correct_clock_skew: bool, - ?defaults_mode: String, - ?disable_host_prefix_injection: bool, - ?disable_request_compression: bool, - ?endpoint: String, - ?endpoint_cache_max_entries: Integer, - ?endpoint_cache_max_threads: Integer, - ?endpoint_cache_poll_interval: Integer, - ?endpoint_discovery: bool, - ?ignore_configured_endpoint_urls: bool, - ?log_formatter: untyped, - ?log_level: Symbol, - ?logger: untyped, - ?max_attempts: Integer, - ?profile: String, - ?request_min_compression_size_bytes: Integer, - ?retry_backoff: Proc, - ?retry_base_delay: Float, - ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer), - ?retry_limit: Integer, - ?retry_max_delay: Integer, - ?retry_mode: ("legacy" | "standard" | "adaptive"), - ?sdk_ua_app_id: String, - ?secret_access_key: String, - ?session_token: String, - ?sigv4a_signing_region_set: Array[String], - ?simple_json: bool, - ?stub_responses: untyped, - ?token_provider: untyped, - ?use_dualstack_endpoint: bool, - ?use_fips_endpoint: bool, - ?validate_params: bool, - ?endpoint_provider: untyped, - ?http_proxy: String, - ?http_open_timeout: (Float | Integer), - ?http_read_timeout: (Float | Integer), - ?http_idle_timeout: (Float | Integer), - ?http_continue_timeout: (Float | Integer), - ?ssl_timeout: (Float | Integer | nil), - ?http_wire_trace: bool, - ?ssl_verify_peer: bool, - ?ssl_ca_bundle: String, - ?ssl_ca_directory: String, - ?ssl_ca_store: String, - ?on_chunk_received: Proc, - ?on_chunk_sent: Proc, - ?raise_response_errors: bool - ) -> void - | (?Hash[Symbol, untyped]) -> void - - def client: () -> Client - - - end - end -end diff --git a/gems/aws-sdk-codestar/sig/types.rbs b/gems/aws-sdk-codestar/sig/types.rbs deleted file mode 100644 index 0c9710ab745..00000000000 --- a/gems/aws-sdk-codestar/sig/types.rbs +++ /dev/null @@ -1,375 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws::CodeStar - module Types - - class AssociateTeamMemberRequest - attr_accessor project_id: ::String - attr_accessor client_request_token: ::String - attr_accessor user_arn: ::String - attr_accessor project_role: ::String - attr_accessor remote_access_allowed: bool - SENSITIVE: [] - end - - class AssociateTeamMemberResult - attr_accessor client_request_token: ::String - SENSITIVE: [] - end - - class Code - attr_accessor source: Types::CodeSource - attr_accessor destination: Types::CodeDestination - SENSITIVE: [] - end - - class CodeCommitCodeDestination - attr_accessor name: ::String - SENSITIVE: [] - end - - class CodeDestination - attr_accessor code_commit: Types::CodeCommitCodeDestination - attr_accessor git_hub: Types::GitHubCodeDestination - SENSITIVE: [] - end - - class CodeSource - attr_accessor s3: Types::S3Location - SENSITIVE: [] - end - - class ConcurrentModificationException < Aws::EmptyStructure - end - - class CreateProjectRequest - attr_accessor name: ::String - attr_accessor id: ::String - attr_accessor description: ::String - attr_accessor client_request_token: ::String - attr_accessor source_code: ::Array[Types::Code] - attr_accessor toolchain: Types::Toolchain - attr_accessor tags: ::Hash[::String, ::String] - SENSITIVE: [:name, :description] - end - - class CreateProjectResult - attr_accessor id: ::String - attr_accessor arn: ::String - attr_accessor client_request_token: ::String - attr_accessor project_template_id: ::String - SENSITIVE: [] - end - - class CreateUserProfileRequest - attr_accessor user_arn: ::String - attr_accessor display_name: ::String - attr_accessor email_address: ::String - attr_accessor ssh_public_key: ::String - SENSITIVE: [:display_name, :email_address] - end - - class CreateUserProfileResult - attr_accessor user_arn: ::String - attr_accessor display_name: ::String - attr_accessor email_address: ::String - attr_accessor ssh_public_key: ::String - attr_accessor created_timestamp: ::Time - attr_accessor last_modified_timestamp: ::Time - SENSITIVE: [:display_name, :email_address] - end - - class DeleteProjectRequest - attr_accessor id: ::String - attr_accessor client_request_token: ::String - attr_accessor delete_stack: bool - SENSITIVE: [] - end - - class DeleteProjectResult - attr_accessor stack_id: ::String - attr_accessor project_arn: ::String - SENSITIVE: [] - end - - class DeleteUserProfileRequest - attr_accessor user_arn: ::String - SENSITIVE: [] - end - - class DeleteUserProfileResult - attr_accessor user_arn: ::String - SENSITIVE: [] - end - - class DescribeProjectRequest - attr_accessor id: ::String - SENSITIVE: [] - end - - class DescribeProjectResult - attr_accessor name: ::String - attr_accessor id: ::String - attr_accessor arn: ::String - attr_accessor description: ::String - attr_accessor client_request_token: ::String - attr_accessor created_time_stamp: ::Time - attr_accessor stack_id: ::String - attr_accessor project_template_id: ::String - attr_accessor status: Types::ProjectStatus - SENSITIVE: [:name, :description] - end - - class DescribeUserProfileRequest - attr_accessor user_arn: ::String - SENSITIVE: [] - end - - class DescribeUserProfileResult - attr_accessor user_arn: ::String - attr_accessor display_name: ::String - attr_accessor email_address: ::String - attr_accessor ssh_public_key: ::String - attr_accessor created_timestamp: ::Time - attr_accessor last_modified_timestamp: ::Time - SENSITIVE: [:display_name, :email_address] - end - - class DisassociateTeamMemberRequest - attr_accessor project_id: ::String - attr_accessor user_arn: ::String - SENSITIVE: [] - end - - class DisassociateTeamMemberResult < Aws::EmptyStructure - end - - class GitHubCodeDestination - attr_accessor name: ::String - attr_accessor description: ::String - attr_accessor type: ::String - attr_accessor owner: ::String - attr_accessor private_repository: bool - attr_accessor issues_enabled: bool - attr_accessor token: ::String - SENSITIVE: [:token] - end - - class InvalidNextTokenException < Aws::EmptyStructure - end - - class InvalidServiceRoleException < Aws::EmptyStructure - end - - class LimitExceededException < Aws::EmptyStructure - end - - class ListProjectsRequest - attr_accessor next_token: ::String - attr_accessor max_results: ::Integer - SENSITIVE: [] - end - - class ListProjectsResult - attr_accessor projects: ::Array[Types::ProjectSummary] - attr_accessor next_token: ::String - SENSITIVE: [] - end - - class ListResourcesRequest - attr_accessor project_id: ::String - attr_accessor next_token: ::String - attr_accessor max_results: ::Integer - SENSITIVE: [] - end - - class ListResourcesResult - attr_accessor resources: ::Array[Types::Resource] - attr_accessor next_token: ::String - SENSITIVE: [] - end - - class ListTagsForProjectRequest - attr_accessor id: ::String - attr_accessor next_token: ::String - attr_accessor max_results: ::Integer - SENSITIVE: [] - end - - class ListTagsForProjectResult - attr_accessor tags: ::Hash[::String, ::String] - attr_accessor next_token: ::String - SENSITIVE: [] - end - - class ListTeamMembersRequest - attr_accessor project_id: ::String - attr_accessor next_token: ::String - attr_accessor max_results: ::Integer - SENSITIVE: [] - end - - class ListTeamMembersResult - attr_accessor team_members: ::Array[Types::TeamMember] - attr_accessor next_token: ::String - SENSITIVE: [] - end - - class ListUserProfilesRequest - attr_accessor next_token: ::String - attr_accessor max_results: ::Integer - SENSITIVE: [] - end - - class ListUserProfilesResult - attr_accessor user_profiles: ::Array[Types::UserProfileSummary] - attr_accessor next_token: ::String - SENSITIVE: [] - end - - class ProjectAlreadyExistsException < Aws::EmptyStructure - end - - class ProjectConfigurationException < Aws::EmptyStructure - end - - class ProjectCreationFailedException < Aws::EmptyStructure - end - - class ProjectNotFoundException < Aws::EmptyStructure - end - - class ProjectStatus - attr_accessor state: ::String - attr_accessor reason: ::String - SENSITIVE: [] - end - - class ProjectSummary - attr_accessor project_id: ::String - attr_accessor project_arn: ::String - SENSITIVE: [] - end - - class Resource - attr_accessor id: ::String - SENSITIVE: [] - end - - class S3Location - attr_accessor bucket_name: ::String - attr_accessor bucket_key: ::String - SENSITIVE: [] - end - - class TagProjectRequest - attr_accessor id: ::String - attr_accessor tags: ::Hash[::String, ::String] - SENSITIVE: [] - end - - class TagProjectResult - attr_accessor tags: ::Hash[::String, ::String] - SENSITIVE: [] - end - - class TeamMember - attr_accessor user_arn: ::String - attr_accessor project_role: ::String - attr_accessor remote_access_allowed: bool - SENSITIVE: [] - end - - class TeamMemberAlreadyAssociatedException < Aws::EmptyStructure - end - - class TeamMemberNotFoundException < Aws::EmptyStructure - end - - class Toolchain - attr_accessor source: Types::ToolchainSource - attr_accessor role_arn: ::String - attr_accessor stack_parameters: ::Hash[::String, ::String] - SENSITIVE: [] - end - - class ToolchainSource - attr_accessor s3: Types::S3Location - SENSITIVE: [] - end - - class UntagProjectRequest - attr_accessor id: ::String - attr_accessor tags: ::Array[::String] - SENSITIVE: [] - end - - class UntagProjectResult < Aws::EmptyStructure - end - - class UpdateProjectRequest - attr_accessor id: ::String - attr_accessor name: ::String - attr_accessor description: ::String - SENSITIVE: [:name, :description] - end - - class UpdateProjectResult < Aws::EmptyStructure - end - - class UpdateTeamMemberRequest - attr_accessor project_id: ::String - attr_accessor user_arn: ::String - attr_accessor project_role: ::String - attr_accessor remote_access_allowed: bool - SENSITIVE: [] - end - - class UpdateTeamMemberResult - attr_accessor user_arn: ::String - attr_accessor project_role: ::String - attr_accessor remote_access_allowed: bool - SENSITIVE: [] - end - - class UpdateUserProfileRequest - attr_accessor user_arn: ::String - attr_accessor display_name: ::String - attr_accessor email_address: ::String - attr_accessor ssh_public_key: ::String - SENSITIVE: [:display_name, :email_address] - end - - class UpdateUserProfileResult - attr_accessor user_arn: ::String - attr_accessor display_name: ::String - attr_accessor email_address: ::String - attr_accessor ssh_public_key: ::String - attr_accessor created_timestamp: ::Time - attr_accessor last_modified_timestamp: ::Time - SENSITIVE: [:display_name, :email_address] - end - - class UserProfileAlreadyExistsException < Aws::EmptyStructure - end - - class UserProfileNotFoundException < Aws::EmptyStructure - end - - class UserProfileSummary - attr_accessor user_arn: ::String - attr_accessor display_name: ::String - attr_accessor email_address: ::String - attr_accessor ssh_public_key: ::String - SENSITIVE: [:display_name, :email_address] - end - - class ValidationException < Aws::EmptyStructure - end - end -end diff --git a/gems/aws-sdk-codestar/sig/waiters.rbs b/gems/aws-sdk-codestar/sig/waiters.rbs deleted file mode 100644 index f1446064f98..00000000000 --- a/gems/aws-sdk-codestar/sig/waiters.rbs +++ /dev/null @@ -1,13 +0,0 @@ -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -module Aws - module CodeStar - module Waiters - end - end -end diff --git a/gems/aws-sdk-codestar/spec/endpoint_provider_spec.rb b/gems/aws-sdk-codestar/spec/endpoint_provider_spec.rb deleted file mode 100644 index 804e5fb741d..00000000000 --- a/gems/aws-sdk-codestar/spec/endpoint_provider_spec.rb +++ /dev/null @@ -1,529 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - - -require_relative 'spec_helper' - -module Aws::CodeStar - describe EndpointProvider do - subject { Aws::CodeStar::EndpointProvider.new } - - context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.ap-northeast-1.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"ap-northeast-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.ap-northeast-2.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"ap-northeast-2", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.ap-southeast-1.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"ap-southeast-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.ap-southeast-2.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"ap-southeast-2", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.ca-central-1.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"ca-central-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.eu-central-1.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"eu-central-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.eu-north-1.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"eu-north-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.eu-west-1.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"eu-west-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.eu-west-2.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"eu-west-2", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region us-east-1 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.us-east-1.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region us-east-2 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.us-east-2.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-2", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region us-west-1 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.us-west-1.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-west-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region us-west-2 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.us-west-2.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-west-2", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region us-east-1 with FIPS enabled and DualStack enabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar-fips.us-east-1.api.aws"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>true, :use_dual_stack=>true}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region us-east-1 with FIPS enabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar-fips.us-east-1.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>true, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region us-east-1 with FIPS disabled and DualStack enabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.us-east-1.api.aws"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>false, :use_dual_stack=>true}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar-fips.cn-north-1.api.amazonwebservices.com.cn"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"cn-north-1", :use_fips=>true, :use_dual_stack=>true}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar-fips.cn-north-1.amazonaws.com.cn"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"cn-north-1", :use_fips=>true, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.cn-north-1.api.amazonwebservices.com.cn"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"cn-north-1", :use_fips=>false, :use_dual_stack=>true}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.cn-north-1.amazonaws.com.cn"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"cn-north-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar-fips.us-gov-east-1.api.aws"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-gov-east-1", :use_fips=>true, :use_dual_stack=>true}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar-fips.us-gov-east-1.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-gov-east-1", :use_fips=>true, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.us-gov-east-1.api.aws"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-gov-east-1", :use_fips=>false, :use_dual_stack=>true}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.us-gov-east-1.amazonaws.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-gov-east-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do - let(:expected) do - {"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-iso-east-1", :use_fips=>true, :use_dual_stack=>true}) - expect do - subject.resolve_endpoint(params) - end.to raise_error(ArgumentError, expected['error']) - end - end - - context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar-fips.us-iso-east-1.c2s.ic.gov"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-iso-east-1", :use_fips=>true, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do - let(:expected) do - {"error"=>"DualStack is enabled but this partition does not support DualStack"} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-iso-east-1", :use_fips=>false, :use_dual_stack=>true}) - expect do - subject.resolve_endpoint(params) - end.to raise_error(ArgumentError, expected['error']) - end - end - - context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.us-iso-east-1.c2s.ic.gov"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-iso-east-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do - let(:expected) do - {"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-isob-east-1", :use_fips=>true, :use_dual_stack=>true}) - expect do - subject.resolve_endpoint(params) - end.to raise_error(ArgumentError, expected['error']) - end - end - - context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar-fips.us-isob-east-1.sc2s.sgov.gov"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-isob-east-1", :use_fips=>true, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do - let(:expected) do - {"error"=>"DualStack is enabled but this partition does not support DualStack"} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-isob-east-1", :use_fips=>false, :use_dual_stack=>true}) - expect do - subject.resolve_endpoint(params) - end.to raise_error(ArgumentError, expected['error']) - end - end - - context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://codestar.us-isob-east-1.sc2s.sgov.gov"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-isob-east-1", :use_fips=>false, :use_dual_stack=>false}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For custom endpoint with region set and fips disabled and dualstack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://example.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>false, :use_dual_stack=>false, :endpoint=>"https://example.com"}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do - let(:expected) do - {"endpoint"=>{"url"=>"https://example.com"}} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:use_fips=>false, :use_dual_stack=>false, :endpoint=>"https://example.com"}) - endpoint = subject.resolve_endpoint(params) - expect(endpoint.url).to eq(expected['endpoint']['url']) - expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) - expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) - end - end - - context 'For custom endpoint with fips enabled and dualstack disabled' do - let(:expected) do - {"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>true, :use_dual_stack=>false, :endpoint=>"https://example.com"}) - expect do - subject.resolve_endpoint(params) - end.to raise_error(ArgumentError, expected['error']) - end - end - - context 'For custom endpoint with fips disabled and dualstack enabled' do - let(:expected) do - {"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>false, :use_dual_stack=>true, :endpoint=>"https://example.com"}) - expect do - subject.resolve_endpoint(params) - end.to raise_error(ArgumentError, expected['error']) - end - end - - context 'Missing region' do - let(:expected) do - {"error"=>"Invalid Configuration: Missing Region"} - end - - it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{}) - expect do - subject.resolve_endpoint(params) - end.to raise_error(ArgumentError, expected['error']) - end - end - - end -end diff --git a/gems/aws-sdk-codestar/spec/spec_helper.rb b/gems/aws-sdk-codestar/spec/spec_helper.rb deleted file mode 100644 index 684f9b0c881..00000000000 --- a/gems/aws-sdk-codestar/spec/spec_helper.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -# WARNING ABOUT GENERATED CODE -# -# This file is generated. See the contributing guide for more information: -# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md -# -# WARNING ABOUT GENERATED CODE - -require_relative '../../aws-sdk-core/spec/shared_spec_helper' - -$:.unshift(File.expand_path('../../lib', __FILE__)) -$:.unshift(File.expand_path('../../../aws-sdk-core/lib', __FILE__)) -$:.unshift(File.expand_path('../../../aws-sigv4/lib', __FILE__)) - -require 'rspec' -require 'webmock/rspec' -require 'aws-sdk-codestar' diff --git a/services.json b/services.json index f1af0e4274d..27ec3954203 100644 --- a/services.json +++ b/services.json @@ -257,10 +257,6 @@ "CodePipeline": { "models": "codepipeline/2015-07-09" }, - "CodeStar": { - "models": "codestar/2017-04-19", - "deprecated": true - }, "CodeStarNotifications": { "models": "codestar-notifications/2019-10-15" },