{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.codestarconnections#AccountId": { "type": "string", "traits": { "smithy.api#length": { "min": 12, "max": 12 }, "smithy.api#pattern": "[0-9]{12}" } }, "com.amazonaws.codestarconnections#AmazonResourceName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+" } }, "com.amazonaws.codestarconnections#CodeStar_connections_20191201": { "type": "service", "version": "2019-12-01", "operations": [ { "target": "com.amazonaws.codestarconnections#CreateConnection" }, { "target": "com.amazonaws.codestarconnections#CreateHost" }, { "target": "com.amazonaws.codestarconnections#DeleteConnection" }, { "target": "com.amazonaws.codestarconnections#DeleteHost" }, { "target": "com.amazonaws.codestarconnections#GetConnection" }, { "target": "com.amazonaws.codestarconnections#GetHost" }, { "target": "com.amazonaws.codestarconnections#ListConnections" }, { "target": "com.amazonaws.codestarconnections#ListHosts" }, { "target": "com.amazonaws.codestarconnections#ListTagsForResource" }, { "target": "com.amazonaws.codestarconnections#TagResource" }, { "target": "com.amazonaws.codestarconnections#UntagResource" }, { "target": "com.amazonaws.codestarconnections#UpdateHost" } ], "traits": { "aws.api#service": { "sdkId": "CodeStar connections", "arnNamespace": "codestar-connections", "cloudFormationName": "CodeStarconnections", "cloudTrailEventSource": "codestarconnections.amazonaws.com", "endpointPrefix": "codestar-connections" }, "aws.auth#sigv4": { "name": "codestar-connections" }, "aws.protocols#awsJson1_0": {}, "smithy.api#documentation": "AWS CodeStar Connections\n

This AWS CodeStar Connections API Reference provides descriptions and usage examples of\n the operations and data types for the AWS CodeStar Connections API. You can use the\n connections API to work with connections and installations.

\n

\n Connections are configurations that you use to connect AWS\n resources to external code repositories. Each connection is a resource that can be given to\n services such as CodePipeline to connect to a third-party repository such as Bitbucket. For\n example, you can add the connection in CodePipeline so that it triggers your pipeline when a\n code change is made to your third-party code repository. Each connection is named and\n associated with a unique ARN that is used to reference the connection.

\n

When you create a connection, the console initiates a third-party connection handshake.\n Installations are the apps that are used to conduct this handshake. For\n example, the installation for the Bitbucket provider type is the Bitbucket app. When you\n create a connection, you can choose an existing installation or create one.

\n

When you want to create a connection to an installed provider type such as GitHub\n Enterprise Server, you create a host for your connections.

\n

You can work with connections by calling:

\n \n

You can work with hosts by calling:

\n \n

You can work with tags in AWS CodeStar Connections by calling the following:

\n \n

For information about how to use AWS CodeStar Connections, see the Developer Tools User\n Guide.

", "smithy.api#title": "AWS CodeStar connections" } }, "com.amazonaws.codestarconnections#ConflictException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.codestarconnections#ErrorMessage" } }, "traits": { "smithy.api#documentation": "

Two conflicting operations have been made on the same resource.

", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.codestarconnections#Connection": { "type": "structure", "members": { "ConnectionName": { "target": "com.amazonaws.codestarconnections#ConnectionName", "traits": { "smithy.api#documentation": "

The name of the connection. Connection names must be unique in an AWS user account.

" } }, "ConnectionArn": { "target": "com.amazonaws.codestarconnections#ConnectionArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection\n reference when the connection is shared between AWS services.

\n \n

The ARN is never reused if the connection is deleted.

\n
" } }, "ProviderType": { "target": "com.amazonaws.codestarconnections#ProviderType", "traits": { "smithy.api#documentation": "

The name of the external provider where your third-party code repository is\n configured.

" } }, "OwnerAccountId": { "target": "com.amazonaws.codestarconnections#AccountId", "traits": { "smithy.api#documentation": "

The identifier of the external provider where your third-party code repository is configured.\n For Bitbucket, this is the account ID of the owner of the Bitbucket repository.

" } }, "ConnectionStatus": { "target": "com.amazonaws.codestarconnections#ConnectionStatus", "traits": { "smithy.api#documentation": "

The current status of the connection.

" } }, "HostArn": { "target": "com.amazonaws.codestarconnections#HostArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the host associated with the connection.

" } } }, "traits": { "smithy.api#documentation": "

A resource that is used to connect third-party source providers with services like AWS CodePipeline.

\n

Note: A connection created through CloudFormation, the CLI, or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by updating the \n connection in the console.

" } }, "com.amazonaws.codestarconnections#ConnectionArn": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+" } }, "com.amazonaws.codestarconnections#ConnectionList": { "type": "list", "member": { "target": "com.amazonaws.codestarconnections#Connection" } }, "com.amazonaws.codestarconnections#ConnectionName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 32 }, "smithy.api#pattern": "[\\s\\S]*" } }, "com.amazonaws.codestarconnections#ConnectionStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "PENDING", "name": "PENDING" }, { "value": "AVAILABLE", "name": "AVAILABLE" }, { "value": "ERROR", "name": "ERROR" } ] } }, "com.amazonaws.codestarconnections#CreateConnection": { "type": "operation", "input": { "target": "com.amazonaws.codestarconnections#CreateConnectionInput" }, "output": { "target": "com.amazonaws.codestarconnections#CreateConnectionOutput" }, "errors": [ { "target": "com.amazonaws.codestarconnections#LimitExceededException" }, { "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" }, { "target": "com.amazonaws.codestarconnections#ResourceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Creates a connection that can then be given to other AWS services like CodePipeline so\n that it can access third-party code repositories. The connection is in pending status until\n the third-party connection handshake is completed from the console.

" } }, "com.amazonaws.codestarconnections#CreateConnectionInput": { "type": "structure", "members": { "ProviderType": { "target": "com.amazonaws.codestarconnections#ProviderType", "traits": { "smithy.api#documentation": "

The name of the external provider where your third-party code repository is\n configured.

" } }, "ConnectionName": { "target": "com.amazonaws.codestarconnections#ConnectionName", "traits": { "smithy.api#documentation": "

The name of the connection to be created. The name must be unique in the calling AWS\n account.

", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.codestarconnections#TagList", "traits": { "smithy.api#documentation": "

The key-value pair to use when tagging the resource.

" } }, "HostArn": { "target": "com.amazonaws.codestarconnections#HostArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the host associated with the connection to be created.

" } } } }, "com.amazonaws.codestarconnections#CreateConnectionOutput": { "type": "structure", "members": { "ConnectionArn": { "target": "com.amazonaws.codestarconnections#ConnectionArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the\n connection reference when the connection is shared between AWS services.

\n \n

The ARN is never reused if the connection is deleted.

\n
", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.codestarconnections#TagList", "traits": { "smithy.api#documentation": "

Specifies the tags applied to the resource.

" } } } }, "com.amazonaws.codestarconnections#CreateHost": { "type": "operation", "input": { "target": "com.amazonaws.codestarconnections#CreateHostInput" }, "output": { "target": "com.amazonaws.codestarconnections#CreateHostOutput" }, "errors": [ { "target": "com.amazonaws.codestarconnections#LimitExceededException" } ], "traits": { "smithy.api#documentation": "

Creates a resource that represents the infrastructure where a third-party provider is\n installed. The host is used when you create connections to an installed third-party provider\n type, such as GitHub Enterprise Server. You create one host for all connections to that\n provider.

\n \n

A host created through the CLI or the SDK is in `PENDING` status by\n default. You can make its status `AVAILABLE` by setting up the host in the console.

\n
" } }, "com.amazonaws.codestarconnections#CreateHostInput": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.codestarconnections#HostName", "traits": { "smithy.api#documentation": "

The name of the host to be created. The name must be unique in the calling AWS\n account.

", "smithy.api#required": {} } }, "ProviderType": { "target": "com.amazonaws.codestarconnections#ProviderType", "traits": { "smithy.api#documentation": "

The name of the installed provider to be associated with your connection. The host\n resource represents the infrastructure where your provider type is installed. The valid\n provider type is GitHub Enterprise Server.

", "smithy.api#required": {} } }, "ProviderEndpoint": { "target": "com.amazonaws.codestarconnections#Url", "traits": { "smithy.api#documentation": "

The endpoint of the infrastructure to be represented by the host after it is\n created.

", "smithy.api#required": {} } }, "VpcConfiguration": { "target": "com.amazonaws.codestarconnections#VpcConfiguration", "traits": { "smithy.api#documentation": "

The VPC configuration to be provisioned for the host. A VPC must be configured and the\n infrastructure to be represented by the host must already be connected to the VPC.

" } }, "Tags": { "target": "com.amazonaws.codestarconnections#TagList" } } }, "com.amazonaws.codestarconnections#CreateHostOutput": { "type": "structure", "members": { "HostArn": { "target": "com.amazonaws.codestarconnections#HostArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the host to be created.

" } }, "Tags": { "target": "com.amazonaws.codestarconnections#TagList" } } }, "com.amazonaws.codestarconnections#DeleteConnection": { "type": "operation", "input": { "target": "com.amazonaws.codestarconnections#DeleteConnectionInput" }, "output": { "target": "com.amazonaws.codestarconnections#DeleteConnectionOutput" }, "errors": [ { "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

The connection to be deleted.

" } }, "com.amazonaws.codestarconnections#DeleteConnectionInput": { "type": "structure", "members": { "ConnectionArn": { "target": "com.amazonaws.codestarconnections#ConnectionArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the connection to be deleted.

\n \n

The ARN is never reused if the connection is deleted.

\n
", "smithy.api#required": {} } } } }, "com.amazonaws.codestarconnections#DeleteConnectionOutput": { "type": "structure", "members": {} }, "com.amazonaws.codestarconnections#DeleteHost": { "type": "operation", "input": { "target": "com.amazonaws.codestarconnections#DeleteHostInput" }, "output": { "target": "com.amazonaws.codestarconnections#DeleteHostOutput" }, "errors": [ { "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" }, { "target": "com.amazonaws.codestarconnections#ResourceUnavailableException" } ], "traits": { "smithy.api#documentation": "

The host to be deleted. Before you delete a host, all connections associated to the host must be deleted.

\n \n

A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state.

\n
" } }, "com.amazonaws.codestarconnections#DeleteHostInput": { "type": "structure", "members": { "HostArn": { "target": "com.amazonaws.codestarconnections#HostArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the host to be deleted.

", "smithy.api#required": {} } } } }, "com.amazonaws.codestarconnections#DeleteHostOutput": { "type": "structure", "members": {} }, "com.amazonaws.codestarconnections#ErrorMessage": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 600 } } }, "com.amazonaws.codestarconnections#GetConnection": { "type": "operation", "input": { "target": "com.amazonaws.codestarconnections#GetConnectionInput" }, "output": { "target": "com.amazonaws.codestarconnections#GetConnectionOutput" }, "errors": [ { "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" }, { "target": "com.amazonaws.codestarconnections#ResourceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Returns the connection ARN and details such as status, owner, and provider type.

" } }, "com.amazonaws.codestarconnections#GetConnectionInput": { "type": "structure", "members": { "ConnectionArn": { "target": "com.amazonaws.codestarconnections#ConnectionArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a connection.

", "smithy.api#required": {} } } } }, "com.amazonaws.codestarconnections#GetConnectionOutput": { "type": "structure", "members": { "Connection": { "target": "com.amazonaws.codestarconnections#Connection", "traits": { "smithy.api#documentation": "

The connection details, such as status, owner, and provider type.

" } } } }, "com.amazonaws.codestarconnections#GetHost": { "type": "operation", "input": { "target": "com.amazonaws.codestarconnections#GetHostInput" }, "output": { "target": "com.amazonaws.codestarconnections#GetHostOutput" }, "errors": [ { "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" }, { "target": "com.amazonaws.codestarconnections#ResourceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Returns the host ARN and details such as status, provider type, endpoint, and, if\n applicable, the VPC configuration.

" } }, "com.amazonaws.codestarconnections#GetHostInput": { "type": "structure", "members": { "HostArn": { "target": "com.amazonaws.codestarconnections#HostArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the requested host.

", "smithy.api#required": {} } } } }, "com.amazonaws.codestarconnections#GetHostOutput": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.codestarconnections#HostName", "traits": { "smithy.api#documentation": "

The name of the requested host.

" } }, "Status": { "target": "com.amazonaws.codestarconnections#HostStatus", "traits": { "smithy.api#documentation": "

The status of the requested host.

" } }, "ProviderType": { "target": "com.amazonaws.codestarconnections#ProviderType", "traits": { "smithy.api#documentation": "

The provider type of the requested host, such as GitHub Enterprise Server.

" } }, "ProviderEndpoint": { "target": "com.amazonaws.codestarconnections#Url", "traits": { "smithy.api#documentation": "

The endpoint of the infrastructure represented by the requested host.

" } }, "VpcConfiguration": { "target": "com.amazonaws.codestarconnections#VpcConfiguration", "traits": { "smithy.api#documentation": "

The VPC configuration of the requested host.

" } } } }, "com.amazonaws.codestarconnections#Host": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.codestarconnections#HostName", "traits": { "smithy.api#documentation": "

The name of the host.

" } }, "HostArn": { "target": "com.amazonaws.codestarconnections#HostArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the host.

" } }, "ProviderType": { "target": "com.amazonaws.codestarconnections#ProviderType", "traits": { "smithy.api#documentation": "

The name of the installed provider to be associated with your connection. The host\n resource represents the infrastructure where your provider type is installed. The valid\n provider type is GitHub Enterprise Server.

" } }, "ProviderEndpoint": { "target": "com.amazonaws.codestarconnections#Url", "traits": { "smithy.api#documentation": "

The endpoint of the infrastructure where your provider type is installed.

" } }, "VpcConfiguration": { "target": "com.amazonaws.codestarconnections#VpcConfiguration", "traits": { "smithy.api#documentation": "

The VPC configuration provisioned for the host.

" } }, "Status": { "target": "com.amazonaws.codestarconnections#HostStatus", "traits": { "smithy.api#documentation": "

The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.

" } }, "StatusMessage": { "target": "com.amazonaws.codestarconnections#HostStatusMessage", "traits": { "smithy.api#documentation": "

The status description for the host.

" } } }, "traits": { "smithy.api#documentation": "

A resource that represents the infrastructure where a third-party provider is installed.\n The host is used when you create connections to an installed third-party provider type, such\n as GitHub Enterprise Server. You create one host for all connections to that provider.

\n \n

A host created through the CLI or the SDK is in `PENDING` status by\n default. You can make its status `AVAILABLE` by setting up the host in the console.

\n
" } }, "com.amazonaws.codestarconnections#HostArn": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "arn:aws(-[\\w]+)*:codestar-connections:.+:[0-9]{12}:host\\/.+" } }, "com.amazonaws.codestarconnections#HostList": { "type": "list", "member": { "target": "com.amazonaws.codestarconnections#Host" } }, "com.amazonaws.codestarconnections#HostName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": ".*" } }, "com.amazonaws.codestarconnections#HostStatus": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": ".*" } }, "com.amazonaws.codestarconnections#HostStatusMessage": { "type": "string" }, "com.amazonaws.codestarconnections#LimitExceededException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.codestarconnections#ErrorMessage" } }, "traits": { "smithy.api#documentation": "

Exceeded the maximum limit for connections.

", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.codestarconnections#ListConnections": { "type": "operation", "input": { "target": "com.amazonaws.codestarconnections#ListConnectionsInput" }, "output": { "target": "com.amazonaws.codestarconnections#ListConnectionsOutput" }, "traits": { "smithy.api#documentation": "

Lists the connections associated with your account.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.codestarconnections#ListConnectionsInput": { "type": "structure", "members": { "ProviderTypeFilter": { "target": "com.amazonaws.codestarconnections#ProviderType", "traits": { "smithy.api#documentation": "

Filters the list of connections to those associated with a specified provider, such as\n Bitbucket.

" } }, "HostArnFilter": { "target": "com.amazonaws.codestarconnections#HostArn", "traits": { "smithy.api#documentation": "

Filters the list of connections to those associated with a specified host.

" } }, "MaxResults": { "target": "com.amazonaws.codestarconnections#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to return in a single call. To retrieve the remaining\n results, make another call with the returned nextToken value.

" } }, "NextToken": { "target": "com.amazonaws.codestarconnections#NextToken", "traits": { "smithy.api#documentation": "

The token that was returned from the previous ListConnections call, which\n can be used to return the next set of connections in the list.

" } } } }, "com.amazonaws.codestarconnections#ListConnectionsOutput": { "type": "structure", "members": { "Connections": { "target": "com.amazonaws.codestarconnections#ConnectionList", "traits": { "smithy.api#documentation": "

A list of connections and the details for each connection, such as status, owner, and\n provider type.

" } }, "NextToken": { "target": "com.amazonaws.codestarconnections#NextToken", "traits": { "smithy.api#documentation": "

A token that can be used in the next ListConnections call. To view all\n items in the list, continue to call this operation with each subsequent token until no more\n nextToken values are returned.

" } } } }, "com.amazonaws.codestarconnections#ListHosts": { "type": "operation", "input": { "target": "com.amazonaws.codestarconnections#ListHostsInput" }, "output": { "target": "com.amazonaws.codestarconnections#ListHostsOutput" }, "traits": { "smithy.api#documentation": "

Lists the hosts associated with your account.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.codestarconnections#ListHostsInput": { "type": "structure", "members": { "MaxResults": { "target": "com.amazonaws.codestarconnections#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to return in a single call. To retrieve the remaining\n results, make another call with the returned nextToken value.

" } }, "NextToken": { "target": "com.amazonaws.codestarconnections#NextToken", "traits": { "smithy.api#documentation": "

The token that was returned from the previous ListHosts call, which can be\n used to return the next set of hosts in the list.

" } } } }, "com.amazonaws.codestarconnections#ListHostsOutput": { "type": "structure", "members": { "Hosts": { "target": "com.amazonaws.codestarconnections#HostList", "traits": { "smithy.api#documentation": "

A list of hosts and the details for each host, such as status, endpoint, and provider\n type.

" } }, "NextToken": { "target": "com.amazonaws.codestarconnections#NextToken", "traits": { "smithy.api#documentation": "

A token that can be used in the next ListHosts call. To view all items in the\n list, continue to call this operation with each subsequent token until no more\n nextToken values are returned.

" } } } }, "com.amazonaws.codestarconnections#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.codestarconnections#ListTagsForResourceInput" }, "output": { "target": "com.amazonaws.codestarconnections#ListTagsForResourceOutput" }, "errors": [ { "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Gets the set of key-value pairs (metadata) that are used to manage the resource.

" } }, "com.amazonaws.codestarconnections#ListTagsForResourceInput": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.codestarconnections#AmazonResourceName", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any.

", "smithy.api#required": {} } } } }, "com.amazonaws.codestarconnections#ListTagsForResourceOutput": { "type": "structure", "members": { "Tags": { "target": "com.amazonaws.codestarconnections#TagList", "traits": { "smithy.api#documentation": "

A list of tag key and value pairs associated with the specified resource.

" } } } }, "com.amazonaws.codestarconnections#MaxResults": { "type": "integer", "traits": { "smithy.api#range": { "min": 0, "max": 100 } } }, "com.amazonaws.codestarconnections#NextToken": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#pattern": ".*" } }, "com.amazonaws.codestarconnections#ProviderType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Bitbucket", "name": "BITBUCKET" }, { "value": "GitHub", "name": "GITHUB" }, { "value": "GitHubEnterpriseServer", "name": "GITHUB_ENTERPRISE_SERVER" } ] } }, "com.amazonaws.codestarconnections#ResourceNotFoundException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.codestarconnections#ErrorMessage" } }, "traits": { "smithy.api#documentation": "

Resource not found. Verify the connection resource ARN and try again.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.codestarconnections#ResourceUnavailableException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.codestarconnections#ErrorMessage" } }, "traits": { "smithy.api#documentation": "

Resource not found. Verify the ARN for the host resource and try again.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.codestarconnections#SecurityGroupId": { "type": "string", "traits": { "smithy.api#length": { "min": 11, "max": 20 }, "smithy.api#pattern": "sg-\\w{8}(\\w{9})?" } }, "com.amazonaws.codestarconnections#SecurityGroupIds": { "type": "list", "member": { "target": "com.amazonaws.codestarconnections#SecurityGroupId" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.codestarconnections#SubnetId": { "type": "string", "traits": { "smithy.api#length": { "min": 15, "max": 24 }, "smithy.api#pattern": "subnet-\\w{8}(\\w{9})?" } }, "com.amazonaws.codestarconnections#SubnetIds": { "type": "list", "member": { "target": "com.amazonaws.codestarconnections#SubnetId" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.codestarconnections#Tag": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.codestarconnections#TagKey", "traits": { "smithy.api#documentation": "

The tag's key.

", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.codestarconnections#TagValue", "traits": { "smithy.api#documentation": "

The tag's value.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

A tag is a key-value pair that is used to manage the resource.

\n

This tag is available for use by AWS services that support tags.

" } }, "com.amazonaws.codestarconnections#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": ".*" } }, "com.amazonaws.codestarconnections#TagKeyList": { "type": "list", "member": { "target": "com.amazonaws.codestarconnections#TagKey" }, "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.codestarconnections#TagList": { "type": "list", "member": { "target": "com.amazonaws.codestarconnections#Tag" }, "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.codestarconnections#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.codestarconnections#TagResourceInput" }, "output": { "target": "com.amazonaws.codestarconnections#TagResourceOutput" }, "errors": [ { "target": "com.amazonaws.codestarconnections#LimitExceededException" }, { "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Adds to or modifies the tags of the given resource. Tags are metadata that can be used\n to manage a resource.

" } }, "com.amazonaws.codestarconnections#TagResourceInput": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.codestarconnections#AmazonResourceName", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.

", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.codestarconnections#TagList", "traits": { "smithy.api#documentation": "

The tags you want to modify or add to the resource.

", "smithy.api#required": {} } } } }, "com.amazonaws.codestarconnections#TagResourceOutput": { "type": "structure", "members": {} }, "com.amazonaws.codestarconnections#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": ".*" } }, "com.amazonaws.codestarconnections#TlsCertificate": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 16384 }, "smithy.api#pattern": "[\\s\\S]*" } }, "com.amazonaws.codestarconnections#UnsupportedOperationException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.codestarconnections#ErrorMessage" } }, "traits": { "smithy.api#documentation": "

The operation is not supported. Check the connection status and try again.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.codestarconnections#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.codestarconnections#UntagResourceInput" }, "output": { "target": "com.amazonaws.codestarconnections#UntagResourceOutput" }, "errors": [ { "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "

Removes tags from an AWS resource.

" } }, "com.amazonaws.codestarconnections#UntagResourceInput": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.codestarconnections#AmazonResourceName", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource to remove tags from.

", "smithy.api#required": {} } }, "TagKeys": { "target": "com.amazonaws.codestarconnections#TagKeyList", "traits": { "smithy.api#documentation": "

The list of keys for the tags to be removed from the resource.

", "smithy.api#required": {} } } } }, "com.amazonaws.codestarconnections#UntagResourceOutput": { "type": "structure", "members": {} }, "com.amazonaws.codestarconnections#UpdateHost": { "type": "operation", "input": { "target": "com.amazonaws.codestarconnections#UpdateHostInput" }, "output": { "target": "com.amazonaws.codestarconnections#UpdateHostOutput" }, "errors": [ { "target": "com.amazonaws.codestarconnections#ConflictException" }, { "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" }, { "target": "com.amazonaws.codestarconnections#ResourceUnavailableException" }, { "target": "com.amazonaws.codestarconnections#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Updates a specified host with the provided configurations.

" } }, "com.amazonaws.codestarconnections#UpdateHostInput": { "type": "structure", "members": { "HostArn": { "target": "com.amazonaws.codestarconnections#HostArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the host to be updated.

", "smithy.api#required": {} } }, "ProviderEndpoint": { "target": "com.amazonaws.codestarconnections#Url", "traits": { "smithy.api#documentation": "

The URL or endpoint of the host to be updated.

" } }, "VpcConfiguration": { "target": "com.amazonaws.codestarconnections#VpcConfiguration", "traits": { "smithy.api#documentation": "

The VPC configuration of the host to be updated. A VPC must be configured and the\n infrastructure to be represented by the host must already be connected to the VPC.

" } } } }, "com.amazonaws.codestarconnections#UpdateHostOutput": { "type": "structure", "members": {} }, "com.amazonaws.codestarconnections#Url": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 512 }, "smithy.api#pattern": ".*" } }, "com.amazonaws.codestarconnections#VpcConfiguration": { "type": "structure", "members": { "VpcId": { "target": "com.amazonaws.codestarconnections#VpcId", "traits": { "smithy.api#documentation": "

The ID of the Amazon VPC connected to the infrastructure where your provider type is\n installed.

", "smithy.api#required": {} } }, "SubnetIds": { "target": "com.amazonaws.codestarconnections#SubnetIds", "traits": { "smithy.api#documentation": "

The ID of the subnet or subnets associated with the Amazon VPC connected to the\n infrastructure where your provider type is installed.

", "smithy.api#required": {} } }, "SecurityGroupIds": { "target": "com.amazonaws.codestarconnections#SecurityGroupIds", "traits": { "smithy.api#documentation": "

The ID of the security group or security groups associated with the Amazon VPC connected\n to the infrastructure where your provider type is installed.

", "smithy.api#required": {} } }, "TlsCertificate": { "target": "com.amazonaws.codestarconnections#TlsCertificate", "traits": { "smithy.api#documentation": "

The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.

" } } }, "traits": { "smithy.api#documentation": "

The VPC configuration provisioned for the host.

" } }, "com.amazonaws.codestarconnections#VpcId": { "type": "string", "traits": { "smithy.api#length": { "min": 12, "max": 21 }, "smithy.api#pattern": "vpc-\\w{8}(\\w{9})?" } } } }