{ "version": "2.0", "metadata": { "apiVersion": "2019-12-01", "endpointPrefix": "codestar-connections", "jsonVersion": "1.0", "protocol": "json", "serviceFullName": "AWS CodeStar connections", "serviceId": "CodeStar connections", "signatureVersion": "v4", "signingName": "codestar-connections", "targetPrefix": "com.amazonaws.codestar.connections.CodeStar_connections_20191201", "uid": "codestar-connections-2019-12-01" }, "operations": { "CreateConnection": { "name": "CreateConnection", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateConnectionInput" }, "output": { "shape": "CreateConnectionOutput" }, "errors": [ { "shape": "LimitExceededException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ResourceUnavailableException" } ], "documentation": "

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

" }, "CreateHost": { "name": "CreateHost", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateHostInput" }, "output": { "shape": "CreateHostOutput" }, "errors": [ { "shape": "LimitExceededException" } ], "documentation": "

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

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

" }, "CreateRepositoryLink": { "name": "CreateRepositoryLink", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateRepositoryLinkInput" }, "output": { "shape": "CreateRepositoryLinkOutput" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConcurrentModificationException" }, { "shape": "InternalServerException" }, { "shape": "InvalidInputException" }, { "shape": "LimitExceededException" }, { "shape": "ResourceAlreadyExistsException" }, { "shape": "ThrottlingException" } ], "documentation": "

Creates a link to a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.

" }, "CreateSyncConfiguration": { "name": "CreateSyncConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateSyncConfigurationInput" }, "output": { "shape": "CreateSyncConfigurationOutput" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConcurrentModificationException" }, { "shape": "InternalServerException" }, { "shape": "InvalidInputException" }, { "shape": "LimitExceededException" }, { "shape": "ResourceAlreadyExistsException" }, { "shape": "ThrottlingException" } ], "documentation": "

Creates a sync configuration which allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services resource. Parameters for the sync configuration are determined by the sync type.

" }, "DeleteConnection": { "name": "DeleteConnection", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteConnectionInput" }, "output": { "shape": "DeleteConnectionOutput" }, "errors": [ { "shape": "ResourceNotFoundException" } ], "documentation": "

The connection to be deleted.

" }, "DeleteHost": { "name": "DeleteHost", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteHostInput" }, "output": { "shape": "DeleteHostOutput" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "ResourceUnavailableException" } ], "documentation": "

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

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

" }, "DeleteRepositoryLink": { "name": "DeleteRepositoryLink", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteRepositoryLinkInput" }, "output": { "shape": "DeleteRepositoryLinkOutput" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConcurrentModificationException" }, { "shape": "InternalServerException" }, { "shape": "InvalidInputException" }, { "shape": "SyncConfigurationStillExistsException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "UnsupportedProviderTypeException" } ], "documentation": "

Deletes the association between your connection and a specified external Git repository.

" }, "DeleteSyncConfiguration": { "name": "DeleteSyncConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteSyncConfigurationInput" }, "output": { "shape": "DeleteSyncConfigurationOutput" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConcurrentModificationException" }, { "shape": "InternalServerException" }, { "shape": "InvalidInputException" }, { "shape": "LimitExceededException" }, { "shape": "ThrottlingException" } ], "documentation": "

Deletes the sync configuration for a specified repository and connection.

" }, "GetConnection": { "name": "GetConnection", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetConnectionInput" }, "output": { "shape": "GetConnectionOutput" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "ResourceUnavailableException" } ], "documentation": "

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

" }, "GetHost": { "name": "GetHost", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetHostInput" }, "output": { "shape": "GetHostOutput" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "ResourceUnavailableException" } ], "documentation": "

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

" }, "GetRepositoryLink": { "name": "GetRepositoryLink", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetRepositoryLinkInput" }, "output": { "shape": "GetRepositoryLinkOutput" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConcurrentModificationException" }, { "shape": "InternalServerException" }, { "shape": "InvalidInputException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" } ], "documentation": "

Returns details about a repository link. A repository link allows Git sync to monitor and sync changes from files in a specified Git repository.

" }, "GetRepositorySyncStatus": { "name": "GetRepositorySyncStatus", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetRepositorySyncStatusInput" }, "output": { "shape": "GetRepositorySyncStatusOutput" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "InvalidInputException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" } ], "documentation": "

Returns details about the sync status for a repository. A repository sync uses Git sync to push and pull changes from your remote repository.

" }, "GetResourceSyncStatus": { "name": "GetResourceSyncStatus", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetResourceSyncStatusInput" }, "output": { "shape": "GetResourceSyncStatusOutput" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "InvalidInputException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" } ], "documentation": "

Returns the status of the sync with the Git repository for a specific Amazon Web Services resource.

" }, "GetSyncBlockerSummary": { "name": "GetSyncBlockerSummary", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetSyncBlockerSummaryInput" }, "output": { "shape": "GetSyncBlockerSummaryOutput" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "InvalidInputException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" } ], "documentation": "

Returns a list of the most recent sync blockers.

" }, "GetSyncConfiguration": { "name": "GetSyncConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetSyncConfigurationInput" }, "output": { "shape": "GetSyncConfigurationOutput" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "InvalidInputException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" } ], "documentation": "

Returns details about a sync configuration, including the sync type and resource name. A sync configuration allows the configuration to sync (push and pull) changes from the remote repository for a specified branch in a Git repository.

" }, "ListConnections": { "name": "ListConnections", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListConnectionsInput" }, "output": { "shape": "ListConnectionsOutput" }, "errors": [ { "shape": "ResourceNotFoundException" } ], "documentation": "

Lists the connections associated with your account.

" }, "ListHosts": { "name": "ListHosts", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListHostsInput" }, "output": { "shape": "ListHostsOutput" }, "documentation": "

Lists the hosts associated with your account.

" }, "ListRepositoryLinks": { "name": "ListRepositoryLinks", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListRepositoryLinksInput" }, "output": { "shape": "ListRepositoryLinksOutput" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConcurrentModificationException" }, { "shape": "InternalServerException" }, { "shape": "InvalidInputException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" } ], "documentation": "

Lists the repository links created for connections in your account.

" }, "ListRepositorySyncDefinitions": { "name": "ListRepositorySyncDefinitions", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListRepositorySyncDefinitionsInput" }, "output": { "shape": "ListRepositorySyncDefinitionsOutput" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "InvalidInputException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" } ], "documentation": "

Lists the repository sync definitions for repository links in your account.

" }, "ListSyncConfigurations": { "name": "ListSyncConfigurations", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListSyncConfigurationsInput" }, "output": { "shape": "ListSyncConfigurationsOutput" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "InvalidInputException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" } ], "documentation": "

Returns a list of sync configurations for a specified repository.

" }, "ListTagsForResource": { "name": "ListTagsForResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListTagsForResourceInput" }, "output": { "shape": "ListTagsForResourceOutput" }, "errors": [ { "shape": "ResourceNotFoundException" } ], "documentation": "

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

" }, "TagResource": { "name": "TagResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "TagResourceInput" }, "output": { "shape": "TagResourceOutput" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "LimitExceededException" } ], "documentation": "

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

" }, "UntagResource": { "name": "UntagResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UntagResourceInput" }, "output": { "shape": "UntagResourceOutput" }, "errors": [ { "shape": "ResourceNotFoundException" } ], "documentation": "

Removes tags from an Amazon Web Services resource.

" }, "UpdateHost": { "name": "UpdateHost", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateHostInput" }, "output": { "shape": "UpdateHostOutput" }, "errors": [ { "shape": "ConflictException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ResourceUnavailableException" }, { "shape": "UnsupportedOperationException" } ], "documentation": "

Updates a specified host with the provided configurations.

" }, "UpdateRepositoryLink": { "name": "UpdateRepositoryLink", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateRepositoryLinkInput" }, "output": { "shape": "UpdateRepositoryLinkOutput" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConditionalCheckFailedException" }, { "shape": "InternalServerException" }, { "shape": "InvalidInputException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "UpdateOutOfSyncException" } ], "documentation": "

Updates the association between your connection and a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.

" }, "UpdateSyncBlocker": { "name": "UpdateSyncBlocker", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateSyncBlockerInput" }, "output": { "shape": "UpdateSyncBlockerOutput" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "InvalidInputException" }, { "shape": "ResourceNotFoundException" }, { "shape": "RetryLatestCommitFailedException" }, { "shape": "SyncBlockerDoesNotExistException" }, { "shape": "ThrottlingException" } ], "documentation": "

Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue.

" }, "UpdateSyncConfiguration": { "name": "UpdateSyncConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateSyncConfigurationInput" }, "output": { "shape": "UpdateSyncConfigurationOutput" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ConcurrentModificationException" }, { "shape": "InternalServerException" }, { "shape": "InvalidInputException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "UpdateOutOfSyncException" } ], "documentation": "

Updates the sync configuration for your connection and a specified external Git repository.

" } }, "shapes": { "AccountId": { "type": "string", "max": 12, "min": 12, "pattern": "[0-9]{12}" }, "AmazonResourceName": { "type": "string", "max": 1011, "min": 1, "pattern": "arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+" }, "BlockerStatus": { "type": "string", "enum": [ "ACTIVE", "RESOLVED" ] }, "BlockerType": { "type": "string", "enum": [ "AUTOMATED" ] }, "BranchName": { "type": "string", "max": 255, "min": 1, "pattern": "^.*$" }, "Connection": { "type": "structure", "members": { "ConnectionName": { "shape": "ConnectionName", "documentation": "

The name of the connection. Connection names must be unique in an Amazon Web Services account.

" }, "ConnectionArn": { "shape": "ConnectionArn", "documentation": "

The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between Amazon Web Services.

The ARN is never reused if the connection is deleted.

" }, "ProviderType": { "shape": "ProviderType", "documentation": "

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

" }, "OwnerAccountId": { "shape": "AccountId", "documentation": "

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

" }, "ConnectionStatus": { "shape": "ConnectionStatus", "documentation": "

The current status of the connection.

" }, "HostArn": { "shape": "HostArn", "documentation": "

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

" } }, "documentation": "

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

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 connection in the console.

" }, "ConnectionArn": { "type": "string", "max": 256, "min": 0, "pattern": "arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+" }, "ConnectionList": { "type": "list", "member": { "shape": "Connection" } }, "ConnectionName": { "type": "string", "max": 32, "min": 1, "pattern": "[\\s\\S]*" }, "ConnectionStatus": { "type": "string", "enum": [ "PENDING", "AVAILABLE", "ERROR" ] }, "CreateConnectionInput": { "type": "structure", "required": [ "ConnectionName" ], "members": { "ProviderType": { "shape": "ProviderType", "documentation": "

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

" }, "ConnectionName": { "shape": "ConnectionName", "documentation": "

The name of the connection to be created.

" }, "Tags": { "shape": "TagList", "documentation": "

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

" }, "HostArn": { "shape": "HostArn", "documentation": "

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

" } } }, "CreateConnectionOutput": { "type": "structure", "required": [ "ConnectionArn" ], "members": { "ConnectionArn": { "shape": "ConnectionArn", "documentation": "

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

The ARN is never reused if the connection is deleted.

" }, "Tags": { "shape": "TagList", "documentation": "

Specifies the tags applied to the resource.

" } } }, "CreateHostInput": { "type": "structure", "required": [ "Name", "ProviderType", "ProviderEndpoint" ], "members": { "Name": { "shape": "HostName", "documentation": "

The name of the host to be created.

" }, "ProviderType": { "shape": "ProviderType", "documentation": "

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

" }, "ProviderEndpoint": { "shape": "Url", "documentation": "

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

" }, "VpcConfiguration": { "shape": "VpcConfiguration", "documentation": "

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

" }, "Tags": { "shape": "TagList", "documentation": "

Tags for the host to be created.

" } } }, "CreateHostOutput": { "type": "structure", "members": { "HostArn": { "shape": "HostArn", "documentation": "

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

" }, "Tags": { "shape": "TagList", "documentation": "

Tags for the created host.

" } } }, "CreateRepositoryLinkInput": { "type": "structure", "required": [ "ConnectionArn", "OwnerId", "RepositoryName" ], "members": { "ConnectionArn": { "shape": "ConnectionArn", "documentation": "

The Amazon Resource Name (ARN) of the connection to be associated with the repository link.

" }, "OwnerId": { "shape": "OwnerId", "documentation": "

The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.

" }, "RepositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository to be associated with the repository link.

" }, "EncryptionKeyArn": { "shape": "KmsKeyArn", "documentation": "

The Amazon Resource Name (ARN) encryption key for the repository to be associated with the repository link.

" }, "Tags": { "shape": "TagList", "documentation": "

The tags for the repository to be associated with the repository link.

" } } }, "CreateRepositoryLinkOutput": { "type": "structure", "required": [ "RepositoryLinkInfo" ], "members": { "RepositoryLinkInfo": { "shape": "RepositoryLinkInfo", "documentation": "

The returned information about the created repository link.

" } } }, "CreateSyncConfigurationInput": { "type": "structure", "required": [ "Branch", "ConfigFile", "RepositoryLinkId", "ResourceName", "RoleArn", "SyncType" ], "members": { "Branch": { "shape": "BranchName", "documentation": "

The branch in the repository from which changes will be synced.

" }, "ConfigFile": { "shape": "DeploymentFilePath", "documentation": "

The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.

" }, "RepositoryLinkId": { "shape": "RepositoryLinkId", "documentation": "

The ID of the repository link created for the connection. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.

" }, "ResourceName": { "shape": "ResourceName", "documentation": "

The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.

" }, "RoleArn": { "shape": "IamRoleArn", "documentation": "

The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.

" }, "SyncType": { "shape": "SyncConfigurationType", "documentation": "

The type of sync configuration.

" }, "PublishDeploymentStatus": { "shape": "PublishDeploymentStatus", "documentation": "

Whether to enable or disable publishing of deployment status to source providers.

" }, "TriggerResourceUpdateOn": { "shape": "TriggerResourceUpdateOn", "documentation": "

When to trigger Git sync to begin the stack update.

" } } }, "CreateSyncConfigurationOutput": { "type": "structure", "required": [ "SyncConfiguration" ], "members": { "SyncConfiguration": { "shape": "SyncConfiguration", "documentation": "

The created sync configuration for the connection. A sync configuration allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services resource.

" } } }, "CreatedReason": { "type": "string" }, "DeleteConnectionInput": { "type": "structure", "required": [ "ConnectionArn" ], "members": { "ConnectionArn": { "shape": "ConnectionArn", "documentation": "

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

The ARN is never reused if the connection is deleted.

" } } }, "DeleteConnectionOutput": { "type": "structure", "members": {} }, "DeleteHostInput": { "type": "structure", "required": [ "HostArn" ], "members": { "HostArn": { "shape": "HostArn", "documentation": "

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

" } } }, "DeleteHostOutput": { "type": "structure", "members": {} }, "DeleteRepositoryLinkInput": { "type": "structure", "required": [ "RepositoryLinkId" ], "members": { "RepositoryLinkId": { "shape": "RepositoryLinkId", "documentation": "

The ID of the repository link to be deleted.

" } } }, "DeleteRepositoryLinkOutput": { "type": "structure", "members": {} }, "DeleteSyncConfigurationInput": { "type": "structure", "required": [ "SyncType", "ResourceName" ], "members": { "SyncType": { "shape": "SyncConfigurationType", "documentation": "

The type of sync configuration to be deleted.

" }, "ResourceName": { "shape": "ResourceName", "documentation": "

The name of the Amazon Web Services resource associated with the sync configuration to be deleted.

" } } }, "DeleteSyncConfigurationOutput": { "type": "structure", "members": {} }, "DeploymentFilePath": { "type": "string" }, "Directory": { "type": "string" }, "Event": { "type": "string" }, "ExternalId": { "type": "string" }, "GetConnectionInput": { "type": "structure", "required": [ "ConnectionArn" ], "members": { "ConnectionArn": { "shape": "ConnectionArn", "documentation": "

The Amazon Resource Name (ARN) of a connection.

" } } }, "GetConnectionOutput": { "type": "structure", "members": { "Connection": { "shape": "Connection", "documentation": "

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

" } } }, "GetHostInput": { "type": "structure", "required": [ "HostArn" ], "members": { "HostArn": { "shape": "HostArn", "documentation": "

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

" } } }, "GetHostOutput": { "type": "structure", "members": { "Name": { "shape": "HostName", "documentation": "

The name of the requested host.

" }, "Status": { "shape": "HostStatus", "documentation": "

The status of the requested host.

" }, "ProviderType": { "shape": "ProviderType", "documentation": "

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

" }, "ProviderEndpoint": { "shape": "Url", "documentation": "

The endpoint of the infrastructure represented by the requested host.

" }, "VpcConfiguration": { "shape": "VpcConfiguration", "documentation": "

The VPC configuration of the requested host.

" } } }, "GetRepositoryLinkInput": { "type": "structure", "required": [ "RepositoryLinkId" ], "members": { "RepositoryLinkId": { "shape": "RepositoryLinkId", "documentation": "

The ID of the repository link to get.

" } } }, "GetRepositoryLinkOutput": { "type": "structure", "required": [ "RepositoryLinkInfo" ], "members": { "RepositoryLinkInfo": { "shape": "RepositoryLinkInfo", "documentation": "

The information returned for a specified repository link.

" } } }, "GetRepositorySyncStatusInput": { "type": "structure", "required": [ "Branch", "RepositoryLinkId", "SyncType" ], "members": { "Branch": { "shape": "BranchName", "documentation": "

The branch of the repository link for the requested repository sync status.

" }, "RepositoryLinkId": { "shape": "RepositoryLinkId", "documentation": "

The repository link ID for the requested repository sync status.

" }, "SyncType": { "shape": "SyncConfigurationType", "documentation": "

The sync type of the requested sync status.

" } } }, "GetRepositorySyncStatusOutput": { "type": "structure", "required": [ "LatestSync" ], "members": { "LatestSync": { "shape": "RepositorySyncAttempt", "documentation": "

The status of the latest sync returned for a specified repository and branch.

" } } }, "GetResourceSyncStatusInput": { "type": "structure", "required": [ "ResourceName", "SyncType" ], "members": { "ResourceName": { "shape": "ResourceName", "documentation": "

The name of the Amazon Web Services resource for the sync status with the Git repository.

" }, "SyncType": { "shape": "SyncConfigurationType", "documentation": "

The sync type for the sync status with the Git repository.

" } } }, "GetResourceSyncStatusOutput": { "type": "structure", "required": [ "LatestSync" ], "members": { "DesiredState": { "shape": "Revision", "documentation": "

The desired state of the Amazon Web Services resource for the sync status with the Git repository.

" }, "LatestSuccessfulSync": { "shape": "ResourceSyncAttempt", "documentation": "

The latest successful sync for the sync status with the Git repository.

" }, "LatestSync": { "shape": "ResourceSyncAttempt", "documentation": "

The latest sync for the sync status with the Git repository, whether successful or not.

" } } }, "GetSyncBlockerSummaryInput": { "type": "structure", "required": [ "SyncType", "ResourceName" ], "members": { "SyncType": { "shape": "SyncConfigurationType", "documentation": "

The sync type for the sync blocker summary.

" }, "ResourceName": { "shape": "ResourceName", "documentation": "

The name of the Amazon Web Services resource currently blocked from automatically being synced from a Git repository.

" } } }, "GetSyncBlockerSummaryOutput": { "type": "structure", "required": [ "SyncBlockerSummary" ], "members": { "SyncBlockerSummary": { "shape": "SyncBlockerSummary", "documentation": "

The list of sync blockers for a specified resource.

" } } }, "GetSyncConfigurationInput": { "type": "structure", "required": [ "SyncType", "ResourceName" ], "members": { "SyncType": { "shape": "SyncConfigurationType", "documentation": "

The sync type for the sync configuration for which you want to retrieve information.

" }, "ResourceName": { "shape": "ResourceName", "documentation": "

The name of the Amazon Web Services resource for the sync configuration for which you want to retrieve information.

" } } }, "GetSyncConfigurationOutput": { "type": "structure", "required": [ "SyncConfiguration" ], "members": { "SyncConfiguration": { "shape": "SyncConfiguration", "documentation": "

The details about the sync configuration for which you want to retrieve information.

" } } }, "Host": { "type": "structure", "members": { "Name": { "shape": "HostName", "documentation": "

The name of the host.

" }, "HostArn": { "shape": "HostArn", "documentation": "

The Amazon Resource Name (ARN) of the host.

" }, "ProviderType": { "shape": "ProviderType", "documentation": "

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

" }, "ProviderEndpoint": { "shape": "Url", "documentation": "

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

" }, "VpcConfiguration": { "shape": "VpcConfiguration", "documentation": "

The VPC configuration provisioned for the host.

" }, "Status": { "shape": "HostStatus", "documentation": "

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

" }, "StatusMessage": { "shape": "HostStatusMessage", "documentation": "

The status description for the host.

" } }, "documentation": "

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

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

" }, "HostArn": { "type": "string", "max": 256, "min": 0, "pattern": "arn:aws(-[\\w]+)*:codestar-connections:.+:[0-9]{12}:host\\/.+" }, "HostList": { "type": "list", "member": { "shape": "Host" } }, "HostName": { "type": "string", "max": 64, "min": 1, "pattern": ".*" }, "HostStatus": { "type": "string", "max": 64, "min": 1, "pattern": ".*" }, "HostStatusMessage": { "type": "string" }, "IamRoleArn": { "type": "string", "max": 1024, "min": 1, "pattern": "arn:aws(-[\\w]+)*:iam::\\d{12}:role/[a-zA-Z_0-9+=,.@\\-_/]+" }, "Id": { "type": "string", "max": 50, "min": 1 }, "KmsKeyArn": { "type": "string", "max": 1024, "min": 1, "pattern": "arn:aws(-[\\w]+)*:kms:[a-z\\-0-9]+:\\d{12}:key/[a-zA-Z0-9\\-]+" }, "LatestSyncBlockerList": { "type": "list", "member": { "shape": "SyncBlocker" } }, "ListConnectionsInput": { "type": "structure", "members": { "ProviderTypeFilter": { "shape": "ProviderType", "documentation": "

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

" }, "HostArnFilter": { "shape": "HostArn", "documentation": "

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

" }, "MaxResults": { "shape": "MaxResults", "documentation": "

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

" }, "NextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "ListConnectionsOutput": { "type": "structure", "members": { "Connections": { "shape": "ConnectionList", "documentation": "

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

" }, "NextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "ListHostsInput": { "type": "structure", "members": { "MaxResults": { "shape": "MaxResults", "documentation": "

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

" }, "NextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "ListHostsOutput": { "type": "structure", "members": { "Hosts": { "shape": "HostList", "documentation": "

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

" }, "NextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "ListRepositoryLinksInput": { "type": "structure", "members": { "MaxResults": { "shape": "MaxResults", "documentation": "

A non-zero, non-negative integer used to limit the number of returned results.

" }, "NextToken": { "shape": "SharpNextToken", "documentation": "

An enumeration token that, when provided in a request, returns the next batch of the results.

" } } }, "ListRepositoryLinksOutput": { "type": "structure", "required": [ "RepositoryLinks" ], "members": { "RepositoryLinks": { "shape": "RepositoryLinkList", "documentation": "

Lists the repository links called by the list repository links operation.

" }, "NextToken": { "shape": "SharpNextToken", "documentation": "

An enumeration token that allows the operation to batch the results of the operation.

" } } }, "ListRepositorySyncDefinitionsInput": { "type": "structure", "required": [ "RepositoryLinkId", "SyncType" ], "members": { "RepositoryLinkId": { "shape": "RepositoryLinkId", "documentation": "

The ID of the repository link for the sync definition for which you want to retrieve information.

" }, "SyncType": { "shape": "SyncConfigurationType", "documentation": "

The sync type of the repository link for the the sync definition for which you want to retrieve information.

" } } }, "ListRepositorySyncDefinitionsOutput": { "type": "structure", "required": [ "RepositorySyncDefinitions" ], "members": { "RepositorySyncDefinitions": { "shape": "RepositorySyncDefinitionList", "documentation": "

The list of repository sync definitions returned by the request. A RepositorySyncDefinition is a mapping from a repository branch to all the Amazon Web Services resources that are being synced from that branch.

" }, "NextToken": { "shape": "SharpNextToken", "documentation": "

An enumeration token that, when provided in a request, returns the next batch of the results.

" } } }, "ListSyncConfigurationsInput": { "type": "structure", "required": [ "RepositoryLinkId", "SyncType" ], "members": { "MaxResults": { "shape": "MaxResults", "documentation": "

A non-zero, non-negative integer used to limit the number of returned results.

" }, "NextToken": { "shape": "SharpNextToken", "documentation": "

An enumeration token that allows the operation to batch the results of the operation.

" }, "RepositoryLinkId": { "shape": "RepositoryLinkId", "documentation": "

The ID of the repository link for the requested list of sync configurations.

" }, "SyncType": { "shape": "SyncConfigurationType", "documentation": "

The sync type for the requested list of sync configurations.

" } } }, "ListSyncConfigurationsOutput": { "type": "structure", "required": [ "SyncConfigurations" ], "members": { "SyncConfigurations": { "shape": "SyncConfigurationList", "documentation": "

The list of repository sync definitions returned by the request.

" }, "NextToken": { "shape": "SharpNextToken", "documentation": "

An enumeration token that allows the operation to batch the next results of the operation.

" } } }, "ListTagsForResourceInput": { "type": "structure", "required": [ "ResourceArn" ], "members": { "ResourceArn": { "shape": "AmazonResourceName", "documentation": "

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

" } } }, "ListTagsForResourceOutput": { "type": "structure", "members": { "Tags": { "shape": "TagList", "documentation": "

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

" } } }, "MaxResults": { "type": "integer", "max": 100, "min": 0 }, "NextToken": { "type": "string", "max": 1024, "min": 1, "pattern": "^.*$" }, "OwnerId": { "type": "string", "max": 255, "min": 1, "pattern": "^.*$" }, "Parent": { "type": "string" }, "ProviderType": { "type": "string", "enum": [ "Bitbucket", "GitHub", "GitHubEnterpriseServer", "GitLab", "GitLabSelfManaged" ] }, "PublishDeploymentStatus": { "type": "string", "enum": [ "ENABLED", "DISABLED" ] }, "RepositoryLinkArn": { "type": "string", "pattern": "^arn:aws(?:-[a-z]+)*:codestar-connections:[a-z\\-0-9]+:\\d{12}:repository-link\\/[a-zA-Z0-9\\-:/]+" }, "RepositoryLinkId": { "type": "string", "pattern": "^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$" }, "RepositoryLinkInfo": { "type": "structure", "required": [ "ConnectionArn", "OwnerId", "ProviderType", "RepositoryLinkArn", "RepositoryLinkId", "RepositoryName" ], "members": { "ConnectionArn": { "shape": "ConnectionArn", "documentation": "

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

" }, "EncryptionKeyArn": { "shape": "KmsKeyArn", "documentation": "

The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.

" }, "OwnerId": { "shape": "OwnerId", "documentation": "

The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.

" }, "ProviderType": { "shape": "ProviderType", "documentation": "

The provider type for the connection, such as GitHub, associated with the repository link.

" }, "RepositoryLinkArn": { "shape": "RepositoryLinkArn", "documentation": "

The Amazon Resource Name (ARN) of the repository link.

" }, "RepositoryLinkId": { "shape": "RepositoryLinkId", "documentation": "

The ID of the repository link.

" }, "RepositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository associated with the repository link.

" } }, "documentation": "

Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID.

" }, "RepositoryLinkList": { "type": "list", "member": { "shape": "RepositoryLinkInfo" } }, "RepositoryName": { "type": "string", "max": 128, "min": 1, "pattern": "^.*$" }, "RepositorySyncAttempt": { "type": "structure", "required": [ "StartedAt", "Status", "Events" ], "members": { "StartedAt": { "shape": "Timestamp", "documentation": "

The start time of a specific sync attempt.

" }, "Status": { "shape": "RepositorySyncStatus", "documentation": "

The status of a specific sync attempt. The following are valid statuses:

" }, "Events": { "shape": "RepositorySyncEventList", "documentation": "

The events associated with a specific sync attempt.

" } }, "documentation": "

Information about a repository sync attempt for a repository with a sync configuration.

" }, "RepositorySyncDefinition": { "type": "structure", "required": [ "Branch", "Directory", "Parent", "Target" ], "members": { "Branch": { "shape": "BranchName", "documentation": "

The branch specified for a repository sync definition.

" }, "Directory": { "shape": "Directory", "documentation": "

The configuration file for a repository sync definition. This value comes from creating or updating the config-file field of a sync-configuration.

" }, "Parent": { "shape": "Parent", "documentation": "

The parent resource specified for a repository sync definition.

" }, "Target": { "shape": "Target", "documentation": "

The target resource specified for a repository sync definition. In some cases, such as CFN_STACK_SYNC, the parent and target resource are the same.

" } }, "documentation": "

The definition for a repository with a sync configuration.

" }, "RepositorySyncDefinitionList": { "type": "list", "member": { "shape": "RepositorySyncDefinition" } }, "RepositorySyncEvent": { "type": "structure", "required": [ "Event", "Time", "Type" ], "members": { "Event": { "shape": "Event", "documentation": "

A description of a repository sync event.

" }, "ExternalId": { "shape": "ExternalId", "documentation": "

The ID for a repository sync event.

" }, "Time": { "shape": "Timestamp", "documentation": "

The time that a repository sync event occurred.

" }, "Type": { "shape": "Type", "documentation": "

The event type for a repository sync event.

" } }, "documentation": "

Information about a repository sync event.

" }, "RepositorySyncEventList": { "type": "list", "member": { "shape": "RepositorySyncEvent" } }, "RepositorySyncStatus": { "type": "string", "enum": [ "FAILED", "INITIATED", "IN_PROGRESS", "SUCCEEDED", "QUEUED" ] }, "ResolvedReason": { "type": "string", "max": 250, "min": 1 }, "ResourceName": { "type": "string", "max": 100, "min": 1, "pattern": "^[0-9A-Za-z]+[0-9A-Za-z_\\\\-]*$" }, "ResourceSyncAttempt": { "type": "structure", "required": [ "Events", "InitialRevision", "StartedAt", "Status", "TargetRevision", "Target" ], "members": { "Events": { "shape": "ResourceSyncEventList", "documentation": "

The events related to a resource sync attempt.

" }, "InitialRevision": { "shape": "Revision", "documentation": "

The current state of the resource as defined in the resource's config-file in the linked repository.

" }, "StartedAt": { "shape": "Timestamp", "documentation": "

The start time for a resource sync attempt.

" }, "Status": { "shape": "ResourceSyncStatus", "documentation": "

The status for a resource sync attempt. The follow are valid statuses:

" }, "TargetRevision": { "shape": "Revision", "documentation": "

The desired state of the resource as defined in the resource's config-file in the linked repository. Git sync attempts to update the resource to this state.

" }, "Target": { "shape": "Target", "documentation": "

The name of the Amazon Web Services resource that is attempted to be synchronized.

" } }, "documentation": "

Information about a resource sync attempt.

" }, "ResourceSyncEvent": { "type": "structure", "required": [ "Event", "Time", "Type" ], "members": { "Event": { "shape": "Event", "documentation": "

The event for a resource sync event.

" }, "ExternalId": { "shape": "ExternalId", "documentation": "

The ID for a resource sync event.

" }, "Time": { "shape": "Timestamp", "documentation": "

The time that a resource sync event occurred.

" }, "Type": { "shape": "Type", "documentation": "

The type of resource sync event.

" } }, "documentation": "

Information about a resource sync event for the resource associated with a sync configuration.

" }, "ResourceSyncEventList": { "type": "list", "member": { "shape": "ResourceSyncEvent" } }, "ResourceSyncStatus": { "type": "string", "enum": [ "FAILED", "INITIATED", "IN_PROGRESS", "SUCCEEDED" ] }, "Revision": { "type": "structure", "required": [ "Branch", "Directory", "OwnerId", "RepositoryName", "ProviderType", "Sha" ], "members": { "Branch": { "shape": "BranchName", "documentation": "

The branch name for a specific revision.

" }, "Directory": { "shape": "Directory", "documentation": "

The directory, if any, for a specific revision.

" }, "OwnerId": { "shape": "OwnerId", "documentation": "

The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.

" }, "RepositoryName": { "shape": "RepositoryName", "documentation": "

The repository name for a specific revision.

" }, "ProviderType": { "shape": "ProviderType", "documentation": "

The provider type for a revision, such as GitHub.

" }, "Sha": { "shape": "SHA", "documentation": "

The SHA, such as the commit ID, for a specific revision.

" } }, "documentation": "

Information about the revision for a specific sync event, such as the branch, owner ID, and name of the repository.

" }, "SHA": { "type": "string", "max": 255, "min": 1 }, "SecurityGroupId": { "type": "string", "max": 20, "min": 11, "pattern": "sg-\\w{8}(\\w{9})?" }, "SecurityGroupIds": { "type": "list", "member": { "shape": "SecurityGroupId" }, "max": 10, "min": 1 }, "SharpNextToken": { "type": "string", "max": 2048, "min": 1, "pattern": "^.*$" }, "SubnetId": { "type": "string", "max": 24, "min": 15, "pattern": "subnet-\\w{8}(\\w{9})?" }, "SubnetIds": { "type": "list", "member": { "shape": "SubnetId" }, "max": 10, "min": 1 }, "SyncBlocker": { "type": "structure", "required": [ "Id", "Type", "Status", "CreatedReason", "CreatedAt" ], "members": { "Id": { "shape": "Id", "documentation": "

The ID for a specific sync blocker.

" }, "Type": { "shape": "BlockerType", "documentation": "

The sync blocker type.

" }, "Status": { "shape": "BlockerStatus", "documentation": "

The status for a specific sync blocker.

" }, "CreatedReason": { "shape": "CreatedReason", "documentation": "

The provided reason for a specific sync blocker.

" }, "CreatedAt": { "shape": "Timestamp", "documentation": "

The creation time for a specific sync blocker.

" }, "Contexts": { "shape": "SyncBlockerContextList", "documentation": "

The contexts for a specific sync blocker.

" }, "ResolvedReason": { "shape": "ResolvedReason", "documentation": "

The resolved reason for a specific sync blocker.

" }, "ResolvedAt": { "shape": "Timestamp", "documentation": "

The time that a specific sync blocker was resolved.

" } }, "documentation": "

Information about a blocker for a sync event.

" }, "SyncBlockerContext": { "type": "structure", "required": [ "Key", "Value" ], "members": { "Key": { "shape": "SyncBlockerContextKey", "documentation": "

The key provided for a context key-value pair for a specific sync blocker.

" }, "Value": { "shape": "SyncBlockerContextValue", "documentation": "

The value provided for a context key-value pair for a specific sync blocker.

" } }, "documentation": "

The context for a specific sync blocker.

" }, "SyncBlockerContextKey": { "type": "string" }, "SyncBlockerContextList": { "type": "list", "member": { "shape": "SyncBlockerContext" } }, "SyncBlockerContextValue": { "type": "string" }, "SyncBlockerSummary": { "type": "structure", "required": [ "ResourceName" ], "members": { "ResourceName": { "shape": "ResourceName", "documentation": "

The resource name for sync blocker summary.

" }, "ParentResourceName": { "shape": "ResourceName", "documentation": "

The parent resource name for a sync blocker summary.

" }, "LatestBlockers": { "shape": "LatestSyncBlockerList", "documentation": "

The latest events for a sync blocker summary.

" } }, "documentation": "

A summary for sync blockers.

" }, "SyncConfiguration": { "type": "structure", "required": [ "Branch", "OwnerId", "ProviderType", "RepositoryLinkId", "RepositoryName", "ResourceName", "RoleArn", "SyncType" ], "members": { "Branch": { "shape": "BranchName", "documentation": "

The branch associated with a specific sync configuration.

" }, "ConfigFile": { "shape": "DeploymentFilePath", "documentation": "

The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.

" }, "OwnerId": { "shape": "OwnerId", "documentation": "

The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.

" }, "ProviderType": { "shape": "ProviderType", "documentation": "

The connection provider type associated with a specific sync configuration, such as GitHub.

" }, "RepositoryLinkId": { "shape": "RepositoryLinkId", "documentation": "

The ID of the repository link associated with a specific sync configuration.

" }, "RepositoryName": { "shape": "RepositoryName", "documentation": "

The name of the repository associated with a specific sync configuration.

" }, "ResourceName": { "shape": "ResourceName", "documentation": "

The name of the connection resource associated with a specific sync configuration.

" }, "RoleArn": { "shape": "IamRoleArn", "documentation": "

The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.

" }, "SyncType": { "shape": "SyncConfigurationType", "documentation": "

The type of sync for a specific sync configuration.

" }, "PublishDeploymentStatus": { "shape": "PublishDeploymentStatus", "documentation": "

Whether to enable or disable publishing of deployment status to source providers.

" }, "TriggerResourceUpdateOn": { "shape": "TriggerResourceUpdateOn", "documentation": "

When to trigger Git sync to begin the stack update.

" } }, "documentation": "

Information, such as repository, branch, provider, and resource names for a specific sync configuration.

" }, "SyncConfigurationList": { "type": "list", "member": { "shape": "SyncConfiguration" } }, "SyncConfigurationType": { "type": "string", "enum": [ "CFN_STACK_SYNC" ] }, "Tag": { "type": "structure", "required": [ "Key", "Value" ], "members": { "Key": { "shape": "TagKey", "documentation": "

The tag's key.

" }, "Value": { "shape": "TagValue", "documentation": "

The tag's value.

" } }, "documentation": "

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

This tag is available for use by Amazon Web Services services that support tags.

" }, "TagKey": { "type": "string", "max": 128, "min": 1, "pattern": ".*" }, "TagKeyList": { "type": "list", "member": { "shape": "TagKey" }, "max": 200, "min": 0 }, "TagList": { "type": "list", "member": { "shape": "Tag" }, "max": 200, "min": 0 }, "TagResourceInput": { "type": "structure", "required": [ "ResourceArn", "Tags" ], "members": { "ResourceArn": { "shape": "AmazonResourceName", "documentation": "

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

" }, "Tags": { "shape": "TagList", "documentation": "

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

" } } }, "TagResourceOutput": { "type": "structure", "members": {} }, "TagValue": { "type": "string", "max": 256, "min": 0, "pattern": ".*" }, "Target": { "type": "string" }, "Timestamp": { "type": "timestamp" }, "TlsCertificate": { "type": "string", "max": 16384, "min": 1, "pattern": "[\\s\\S]*" }, "TriggerResourceUpdateOn": { "type": "string", "enum": [ "ANY_CHANGE", "FILE_CHANGE" ] }, "Type": { "type": "string" }, "UntagResourceInput": { "type": "structure", "required": [ "ResourceArn", "TagKeys" ], "members": { "ResourceArn": { "shape": "AmazonResourceName", "documentation": "

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

" }, "TagKeys": { "shape": "TagKeyList", "documentation": "

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

" } } }, "UntagResourceOutput": { "type": "structure", "members": {} }, "UpdateHostInput": { "type": "structure", "required": [ "HostArn" ], "members": { "HostArn": { "shape": "HostArn", "documentation": "

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

" }, "ProviderEndpoint": { "shape": "Url", "documentation": "

The URL or endpoint of the host to be updated.

" }, "VpcConfiguration": { "shape": "VpcConfiguration", "documentation": "

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

" } } }, "UpdateHostOutput": { "type": "structure", "members": {} }, "UpdateRepositoryLinkInput": { "type": "structure", "required": [ "RepositoryLinkId" ], "members": { "ConnectionArn": { "shape": "ConnectionArn", "documentation": "

The Amazon Resource Name (ARN) of the connection for the repository link to be updated. The updated connection ARN must have the same providerType (such as GitHub) as the original connection ARN for the repo link.

" }, "EncryptionKeyArn": { "shape": "KmsKeyArn", "documentation": "

The Amazon Resource Name (ARN) of the encryption key for the repository link to be updated.

" }, "RepositoryLinkId": { "shape": "RepositoryLinkId", "documentation": "

The ID of the repository link to be updated.

" } } }, "UpdateRepositoryLinkOutput": { "type": "structure", "required": [ "RepositoryLinkInfo" ], "members": { "RepositoryLinkInfo": { "shape": "RepositoryLinkInfo", "documentation": "

Information about the repository link to be updated.

" } } }, "UpdateSyncBlockerInput": { "type": "structure", "required": [ "Id", "SyncType", "ResourceName", "ResolvedReason" ], "members": { "Id": { "shape": "Id", "documentation": "

The ID of the sync blocker to be updated.

" }, "SyncType": { "shape": "SyncConfigurationType", "documentation": "

The sync type of the sync blocker to be updated.

" }, "ResourceName": { "shape": "ResourceName", "documentation": "

The name of the resource for the sync blocker to be updated.

" }, "ResolvedReason": { "shape": "ResolvedReason", "documentation": "

The reason for resolving the sync blocker.

" } } }, "UpdateSyncBlockerOutput": { "type": "structure", "required": [ "ResourceName", "SyncBlocker" ], "members": { "ResourceName": { "shape": "ResourceName", "documentation": "

The resource name for the sync blocker.

" }, "ParentResourceName": { "shape": "ResourceName", "documentation": "

The parent resource name for the sync blocker.

" }, "SyncBlocker": { "shape": "SyncBlocker", "documentation": "

Information about the sync blocker to be updated.

" } } }, "UpdateSyncConfigurationInput": { "type": "structure", "required": [ "ResourceName", "SyncType" ], "members": { "Branch": { "shape": "BranchName", "documentation": "

The branch for the sync configuration to be updated.

" }, "ConfigFile": { "shape": "DeploymentFilePath", "documentation": "

The configuration file for the sync configuration to be updated.

" }, "RepositoryLinkId": { "shape": "RepositoryLinkId", "documentation": "

The ID of the repository link for the sync configuration to be updated.

" }, "ResourceName": { "shape": "ResourceName", "documentation": "

The name of the Amazon Web Services resource for the sync configuration to be updated.

" }, "RoleArn": { "shape": "IamRoleArn", "documentation": "

The ARN of the IAM role for the sync configuration to be updated.

" }, "SyncType": { "shape": "SyncConfigurationType", "documentation": "

The sync type for the sync configuration to be updated.

" }, "PublishDeploymentStatus": { "shape": "PublishDeploymentStatus", "documentation": "

Whether to enable or disable publishing of deployment status to source providers.

" }, "TriggerResourceUpdateOn": { "shape": "TriggerResourceUpdateOn", "documentation": "

When to trigger Git sync to begin the stack update.

" } } }, "UpdateSyncConfigurationOutput": { "type": "structure", "required": [ "SyncConfiguration" ], "members": { "SyncConfiguration": { "shape": "SyncConfiguration", "documentation": "

The information returned for the sync configuration to be updated.

" } } }, "Url": { "type": "string", "max": 512, "min": 1, "pattern": ".*" }, "VpcConfiguration": { "type": "structure", "required": [ "VpcId", "SubnetIds", "SecurityGroupIds" ], "members": { "VpcId": { "shape": "VpcId", "documentation": "

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

" }, "SubnetIds": { "shape": "SubnetIds", "documentation": "

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

" }, "SecurityGroupIds": { "shape": "SecurityGroupIds", "documentation": "

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

" }, "TlsCertificate": { "shape": "TlsCertificate", "documentation": "

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

" } }, "documentation": "

The VPC configuration provisioned for the host.

" }, "VpcId": { "type": "string", "max": 21, "min": 12, "pattern": "vpc-\\w{8}(\\w{9})?" } }, "documentation": "AWS CodeStar Connections

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

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

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

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

You can work with connections by calling:

You can work with hosts by calling:

You can work with tags in Amazon Web Services CodeStar Connections by calling the following:

For information about how to use Amazon Web Services CodeStar Connections, see the Developer Tools User Guide.

" }