From ac2c871bff4a9fbb6284f1dcc061fdcabea346f3 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Mon, 20 Nov 2023 20:12:06 +0000 Subject: [PATCH] Update API model --- .../aws-models/codestar-connections.json | 2735 ++--------------- codegen/sdk-codegen/aws-models/docdb.json | 42 + codegen/sdk-codegen/aws-models/ec2.json | 75 +- 3 files changed, 412 insertions(+), 2440 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/codestar-connections.json b/codegen/sdk-codegen/aws-models/codestar-connections.json index f3c2002f478..5322f8bb8ed 100644 --- a/codegen/sdk-codegen/aws-models/codestar-connections.json +++ b/codegen/sdk-codegen/aws-models/codestar-connections.json @@ -29,19 +29,6 @@ ] }, "shapes": { - "com.amazonaws.codestarconnections#AccessDeniedException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.codestarconnections#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

You do not have sufficient access to perform this action.

", - "smithy.api#error": "client", - "smithy.api#httpError": 403 - } - }, "com.amazonaws.codestarconnections#AccountId": { "type": "string", "traits": { @@ -62,44 +49,6 @@ "smithy.api#pattern": "^arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+$" } }, - "com.amazonaws.codestarconnections#BlockerStatus": { - "type": "enum", - "members": { - "ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVE" - } - }, - "RESOLVED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RESOLVED" - } - } - } - }, - "com.amazonaws.codestarconnections#BlockerType": { - "type": "enum", - "members": { - "AUTOMATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AUTOMATED" - } - } - } - }, - "com.amazonaws.codestarconnections#BranchName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - }, - "smithy.api#pattern": "^.*$" - } - }, "com.amazonaws.codestarconnections#CodeStar_connections_20191201": { "type": "service", "version": "2019-12-01", @@ -110,60 +59,24 @@ { "target": "com.amazonaws.codestarconnections#CreateHost" }, - { - "target": "com.amazonaws.codestarconnections#CreateRepositoryLink" - }, - { - "target": "com.amazonaws.codestarconnections#CreateSyncConfiguration" - }, { "target": "com.amazonaws.codestarconnections#DeleteConnection" }, { "target": "com.amazonaws.codestarconnections#DeleteHost" }, - { - "target": "com.amazonaws.codestarconnections#DeleteRepositoryLink" - }, - { - "target": "com.amazonaws.codestarconnections#DeleteSyncConfiguration" - }, { "target": "com.amazonaws.codestarconnections#GetConnection" }, { "target": "com.amazonaws.codestarconnections#GetHost" }, - { - "target": "com.amazonaws.codestarconnections#GetRepositoryLink" - }, - { - "target": "com.amazonaws.codestarconnections#GetRepositorySyncStatus" - }, - { - "target": "com.amazonaws.codestarconnections#GetResourceSyncStatus" - }, - { - "target": "com.amazonaws.codestarconnections#GetSyncBlockerSummary" - }, - { - "target": "com.amazonaws.codestarconnections#GetSyncConfiguration" - }, { "target": "com.amazonaws.codestarconnections#ListConnections" }, { "target": "com.amazonaws.codestarconnections#ListHosts" }, - { - "target": "com.amazonaws.codestarconnections#ListRepositoryLinks" - }, - { - "target": "com.amazonaws.codestarconnections#ListRepositorySyncDefinitions" - }, - { - "target": "com.amazonaws.codestarconnections#ListSyncConfigurations" - }, { "target": "com.amazonaws.codestarconnections#ListTagsForResource" }, @@ -175,15 +88,6 @@ }, { "target": "com.amazonaws.codestarconnections#UpdateHost" - }, - { - "target": "com.amazonaws.codestarconnections#UpdateRepositoryLink" - }, - { - "target": "com.amazonaws.codestarconnections#UpdateSyncBlocker" - }, - { - "target": "com.amazonaws.codestarconnections#UpdateSyncConfiguration" } ], "traits": { @@ -1025,32 +929,6 @@ } } }, - "com.amazonaws.codestarconnections#ConcurrentModificationException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.codestarconnections#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

Exception thrown as a result of concurrent modification to an application. For example, two individuals attempting to edit the same application at the same time.

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

The conditional check failed. Try again later.

", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } - }, "com.amazonaws.codestarconnections#ConflictException": { "type": "structure", "members": { @@ -1282,10 +1160,7 @@ } }, "Tags": { - "target": "com.amazonaws.codestarconnections#TagList", - "traits": { - "smithy.api#documentation": "

Tags for the host to be created.

" - } + "target": "com.amazonaws.codestarconnections#TagList" } }, "traits": { @@ -1302,184 +1177,79 @@ } }, "Tags": { - "target": "com.amazonaws.codestarconnections#TagList", - "traits": { - "smithy.api#documentation": "

Tags for the created host.

" - } + "target": "com.amazonaws.codestarconnections#TagList" } }, "traits": { "smithy.api#output": {} } }, - "com.amazonaws.codestarconnections#CreateRepositoryLink": { + "com.amazonaws.codestarconnections#DeleteConnection": { "type": "operation", "input": { - "target": "com.amazonaws.codestarconnections#CreateRepositoryLinkInput" + "target": "com.amazonaws.codestarconnections#DeleteConnectionInput" }, "output": { - "target": "com.amazonaws.codestarconnections#CreateRepositoryLinkOutput" + "target": "com.amazonaws.codestarconnections#DeleteConnectionOutput" }, "errors": [ { - "target": "com.amazonaws.codestarconnections#AccessDeniedException" - }, - { - "target": "com.amazonaws.codestarconnections#ConcurrentModificationException" - }, - { - "target": "com.amazonaws.codestarconnections#InternalServerException" - }, - { - "target": "com.amazonaws.codestarconnections#InvalidInputException" - }, - { - "target": "com.amazonaws.codestarconnections#LimitExceededException" - }, - { - "target": "com.amazonaws.codestarconnections#ResourceAlreadyExistsException" - }, - { - "target": "com.amazonaws.codestarconnections#ThrottlingException" + "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" } ], "traits": { - "smithy.api#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.

" + "smithy.api#documentation": "

The connection to be deleted.

" } }, - "com.amazonaws.codestarconnections#CreateRepositoryLinkInput": { + "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 associated with the repository link.

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

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

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

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

", + "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": {} } - }, - "EncryptionKeyArn": { - "target": "com.amazonaws.codestarconnections#KmsKeyArn", - "traits": { - "smithy.api#documentation": "

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

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

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

" - } } }, "traits": { "smithy.api#input": {} } }, - "com.amazonaws.codestarconnections#CreateRepositoryLinkOutput": { + "com.amazonaws.codestarconnections#DeleteConnectionOutput": { "type": "structure", - "members": { - "RepositoryLinkInfo": { - "target": "com.amazonaws.codestarconnections#RepositoryLinkInfo", - "traits": { - "smithy.api#documentation": "

The returned information about the created repository link.

", - "smithy.api#required": {} - } - } - }, + "members": {}, "traits": { "smithy.api#output": {} } }, - "com.amazonaws.codestarconnections#CreateSyncConfiguration": { + "com.amazonaws.codestarconnections#DeleteHost": { "type": "operation", "input": { - "target": "com.amazonaws.codestarconnections#CreateSyncConfigurationInput" + "target": "com.amazonaws.codestarconnections#DeleteHostInput" }, "output": { - "target": "com.amazonaws.codestarconnections#CreateSyncConfigurationOutput" + "target": "com.amazonaws.codestarconnections#DeleteHostOutput" }, "errors": [ { - "target": "com.amazonaws.codestarconnections#AccessDeniedException" - }, - { - "target": "com.amazonaws.codestarconnections#ConcurrentModificationException" - }, - { - "target": "com.amazonaws.codestarconnections#InternalServerException" - }, - { - "target": "com.amazonaws.codestarconnections#InvalidInputException" - }, - { - "target": "com.amazonaws.codestarconnections#LimitExceededException" - }, - { - "target": "com.amazonaws.codestarconnections#ResourceAlreadyExistsException" + "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" }, { - "target": "com.amazonaws.codestarconnections#ThrottlingException" + "target": "com.amazonaws.codestarconnections#ResourceUnavailableException" } ], "traits": { - "smithy.api#documentation": "

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

" + "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#CreateSyncConfigurationInput": { + "com.amazonaws.codestarconnections#DeleteHostInput": { "type": "structure", "members": { - "Branch": { - "target": "com.amazonaws.codestarconnections#BranchName", - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#required": {} - } - }, - "ConfigFile": { - "target": "com.amazonaws.codestarconnections#DeploymentFilePath", - "traits": { - "smithy.api#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.

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

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

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

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

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

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

", - "smithy.api#required": {} - } - }, - "SyncType": { - "target": "com.amazonaws.codestarconnections#SyncConfigurationType", + "HostArn": { + "target": "com.amazonaws.codestarconnections#HostArn", "traits": { - "smithy.api#documentation": "

The type of sync configuration.

", + "smithy.api#documentation": "

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

", "smithy.api#required": {} } } @@ -1488,48 +1258,49 @@ "smithy.api#input": {} } }, - "com.amazonaws.codestarconnections#CreateSyncConfigurationOutput": { + "com.amazonaws.codestarconnections#DeleteHostOutput": { "type": "structure", - "members": { - "SyncConfiguration": { - "target": "com.amazonaws.codestarconnections#SyncConfiguration", - "traits": { - "smithy.api#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\n resource.

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

The connection to be deleted.

" + "smithy.api#documentation": "

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

" } }, - "com.amazonaws.codestarconnections#DeleteConnectionInput": { + "com.amazonaws.codestarconnections#GetConnectionInput": { "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#documentation": "

The Amazon Resource Name (ARN) of a connection.

", "smithy.api#required": {} } } @@ -1538,20 +1309,27 @@ "smithy.api#input": {} } }, - "com.amazonaws.codestarconnections#DeleteConnectionOutput": { + "com.amazonaws.codestarconnections#GetConnectionOutput": { "type": "structure", - "members": {}, + "members": { + "Connection": { + "target": "com.amazonaws.codestarconnections#Connection", + "traits": { + "smithy.api#documentation": "

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

" + } + } + }, "traits": { "smithy.api#output": {} } }, - "com.amazonaws.codestarconnections#DeleteHost": { + "com.amazonaws.codestarconnections#GetHost": { "type": "operation", "input": { - "target": "com.amazonaws.codestarconnections#DeleteHostInput" + "target": "com.amazonaws.codestarconnections#GetHostInput" }, "output": { - "target": "com.amazonaws.codestarconnections#DeleteHostOutput" + "target": "com.amazonaws.codestarconnections#GetHostOutput" }, "errors": [ { @@ -1562,16 +1340,16 @@ } ], "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
" + "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#DeleteHostInput": { + "com.amazonaws.codestarconnections#GetHostInput": { "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#documentation": "

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

", "smithy.api#required": {} } } @@ -1580,183 +1358,194 @@ "smithy.api#input": {} } }, - "com.amazonaws.codestarconnections#DeleteHostOutput": { + "com.amazonaws.codestarconnections#GetHostOutput": { "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.codestarconnections#DeleteRepositoryLink": { - "type": "operation", - "input": { - "target": "com.amazonaws.codestarconnections#DeleteRepositoryLinkInput" - }, - "output": { - "target": "com.amazonaws.codestarconnections#DeleteRepositoryLinkOutput" - }, - "errors": [ - { - "target": "com.amazonaws.codestarconnections#AccessDeniedException" + "members": { + "Name": { + "target": "com.amazonaws.codestarconnections#HostName", + "traits": { + "smithy.api#documentation": "

The name of the requested host.

" + } }, - { - "target": "com.amazonaws.codestarconnections#ConcurrentModificationException" - }, - { - "target": "com.amazonaws.codestarconnections#InternalServerException" - }, - { - "target": "com.amazonaws.codestarconnections#InvalidInputException" - }, - { - "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" + "Status": { + "target": "com.amazonaws.codestarconnections#HostStatus", + "traits": { + "smithy.api#documentation": "

The status of the requested host.

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

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

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

The endpoint of the infrastructure represented by the requested host.

" + } }, - { - "target": "com.amazonaws.codestarconnections#UnsupportedProviderTypeException" - } - ], - "traits": { - "smithy.api#documentation": "

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

" - } - }, - "com.amazonaws.codestarconnections#DeleteRepositoryLinkInput": { - "type": "structure", - "members": { - "RepositoryLinkId": { - "target": "com.amazonaws.codestarconnections#RepositoryLinkId", + "VpcConfiguration": { + "target": "com.amazonaws.codestarconnections#VpcConfiguration", "traits": { - "smithy.api#documentation": "

The ID of the repository link to be deleted.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The VPC configuration of the requested host.

" } } }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.codestarconnections#DeleteRepositoryLinkOutput": { - "type": "structure", - "members": {}, "traits": { "smithy.api#output": {} } }, - "com.amazonaws.codestarconnections#DeleteSyncConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.codestarconnections#DeleteSyncConfigurationInput" - }, - "output": { - "target": "com.amazonaws.codestarconnections#DeleteSyncConfigurationOutput" - }, - "errors": [ - { - "target": "com.amazonaws.codestarconnections#AccessDeniedException" + "com.amazonaws.codestarconnections#Host": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.codestarconnections#HostName", + "traits": { + "smithy.api#documentation": "

The name of the host.

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

The Amazon Resource Name (ARN) of the host.

" + } }, - { - "target": "com.amazonaws.codestarconnections#InternalServerException" + "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.

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

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

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

The VPC configuration provisioned for the host.

" + } }, - { - "target": "com.amazonaws.codestarconnections#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "

Deletes the sync configuration for a specified repository and connection.

" - } - }, - "com.amazonaws.codestarconnections#DeleteSyncConfigurationInput": { - "type": "structure", - "members": { - "SyncType": { - "target": "com.amazonaws.codestarconnections#SyncConfigurationType", + "Status": { + "target": "com.amazonaws.codestarconnections#HostStatus", "traits": { - "smithy.api#documentation": "

The type of sync configuration to be deleted.

", - "smithy.api#required": {} + "smithy.api#documentation": "

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

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

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

", - "smithy.api#required": {} + "smithy.api#documentation": "

The status description for the host.

" } } }, "traits": { - "smithy.api#input": {} + "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#DeleteSyncConfigurationOutput": { - "type": "structure", - "members": {}, + "com.amazonaws.codestarconnections#HostArn": { + "type": "string", "traits": { - "smithy.api#output": {} + "smithy.api#length": { + "min": 0, + "max": 256 + }, + "smithy.api#pattern": "^arn:aws(-[\\w]+)*:codestar-connections:.+:[0-9]{12}:host\\/.+$" } }, - "com.amazonaws.codestarconnections#DeploymentFilePath": { - "type": "string" + "com.amazonaws.codestarconnections#HostList": { + "type": "list", + "member": { + "target": "com.amazonaws.codestarconnections#Host" + } }, - "com.amazonaws.codestarconnections#Directory": { - "type": "string" + "com.amazonaws.codestarconnections#HostName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" + } }, - "com.amazonaws.codestarconnections#ErrorMessage": { + "com.amazonaws.codestarconnections#HostStatus": { "type": "string", "traits": { "smithy.api#length": { - "min": 0, - "max": 600 - } + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" } }, - "com.amazonaws.codestarconnections#Event": { + "com.amazonaws.codestarconnections#HostStatusMessage": { "type": "string" }, - "com.amazonaws.codestarconnections#ExternalId": { - "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#GetConnection": { + "com.amazonaws.codestarconnections#ListConnections": { "type": "operation", "input": { - "target": "com.amazonaws.codestarconnections#GetConnectionInput" + "target": "com.amazonaws.codestarconnections#ListConnectionsInput" }, "output": { - "target": "com.amazonaws.codestarconnections#GetConnectionOutput" + "target": "com.amazonaws.codestarconnections#ListConnectionsOutput" }, "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.

" + "smithy.api#documentation": "

Lists the connections associated with your account.

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

The Amazon Resource Name (ARN) of a connection.

", - "smithy.api#required": {} + "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#default": 0, + "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.

" } } }, @@ -1764,13 +1553,19 @@ "smithy.api#input": {} } }, - "com.amazonaws.codestarconnections#GetConnectionOutput": { + "com.amazonaws.codestarconnections#ListConnectionsOutput": { "type": "structure", "members": { - "Connection": { - "target": "com.amazonaws.codestarconnections#Connection", + "Connections": { + "target": "com.amazonaws.codestarconnections#ConnectionList", "traits": { - "smithy.api#documentation": "

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

" + "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.

" } } }, @@ -1778,34 +1573,37 @@ "smithy.api#output": {} } }, - "com.amazonaws.codestarconnections#GetHost": { + "com.amazonaws.codestarconnections#ListHosts": { "type": "operation", "input": { - "target": "com.amazonaws.codestarconnections#GetHostInput" + "target": "com.amazonaws.codestarconnections#ListHostsInput" }, "output": { - "target": "com.amazonaws.codestarconnections#GetHostOutput" + "target": "com.amazonaws.codestarconnections#ListHostsOutput" }, - "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.

" + "smithy.api#documentation": "

Lists the hosts associated with your account.

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

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

", - "smithy.api#required": {} + "smithy.api#default": 0, + "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.

" } } }, @@ -1813,37 +1611,19 @@ "smithy.api#input": {} } }, - "com.amazonaws.codestarconnections#GetHostOutput": { + "com.amazonaws.codestarconnections#ListHostsOutput": { "type": "structure", "members": { - "Name": { - "target": "com.amazonaws.codestarconnections#HostName", + "Hosts": { + "target": "com.amazonaws.codestarconnections#HostList", "traits": { - "smithy.api#documentation": "

The name of the requested host.

" + "smithy.api#documentation": "

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

" } }, - "Status": { - "target": "com.amazonaws.codestarconnections#HostStatus", + "NextToken": { + "target": "com.amazonaws.codestarconnections#NextToken", "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.

" + "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.

" } } }, @@ -1851,45 +1631,30 @@ "smithy.api#output": {} } }, - "com.amazonaws.codestarconnections#GetRepositoryLink": { + "com.amazonaws.codestarconnections#ListTagsForResource": { "type": "operation", "input": { - "target": "com.amazonaws.codestarconnections#GetRepositoryLinkInput" + "target": "com.amazonaws.codestarconnections#ListTagsForResourceInput" }, "output": { - "target": "com.amazonaws.codestarconnections#GetRepositoryLinkOutput" + "target": "com.amazonaws.codestarconnections#ListTagsForResourceOutput" }, "errors": [ - { - "target": "com.amazonaws.codestarconnections#AccessDeniedException" - }, - { - "target": "com.amazonaws.codestarconnections#ConcurrentModificationException" - }, - { - "target": "com.amazonaws.codestarconnections#InternalServerException" - }, - { - "target": "com.amazonaws.codestarconnections#InvalidInputException" - }, { "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.codestarconnections#ThrottlingException" } ], "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

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

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

The ID of the repository link to get.

", + "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": {} } } @@ -1898,14 +1663,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.codestarconnections#GetRepositoryLinkOutput": { + "com.amazonaws.codestarconnections#ListTagsForResourceOutput": { "type": "structure", "members": { - "RepositoryLinkInfo": { - "target": "com.amazonaws.codestarconnections#RepositoryLinkInfo", + "Tags": { + "target": "com.amazonaws.codestarconnections#TagList", "traits": { - "smithy.api#documentation": "

The information returned for a specified repository link.

", - "smithy.api#required": {} + "smithy.api#documentation": "

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

" } } }, @@ -1913,1701 +1677,122 @@ "smithy.api#output": {} } }, - "com.amazonaws.codestarconnections#GetRepositorySyncStatus": { - "type": "operation", - "input": { - "target": "com.amazonaws.codestarconnections#GetRepositorySyncStatusInput" - }, - "output": { - "target": "com.amazonaws.codestarconnections#GetRepositorySyncStatusOutput" - }, - "errors": [ - { - "target": "com.amazonaws.codestarconnections#AccessDeniedException" - }, - { - "target": "com.amazonaws.codestarconnections#InternalServerException" - }, - { - "target": "com.amazonaws.codestarconnections#InvalidInputException" - }, - { - "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.codestarconnections#ThrottlingException" - } - ], + "com.amazonaws.codestarconnections#MaxResults": { + "type": "integer", "traits": { - "smithy.api#documentation": "

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

" - } - }, - "com.amazonaws.codestarconnections#GetRepositorySyncStatusInput": { - "type": "structure", - "members": { - "Branch": { - "target": "com.amazonaws.codestarconnections#BranchName", - "traits": { - "smithy.api#documentation": "

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

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

The repository link ID for the requested repository sync status.

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

The sync type of the requested sync status.

", - "smithy.api#required": {} - } + "smithy.api#default": 0, + "smithy.api#range": { + "min": 0, + "max": 100 } - }, - "traits": { - "smithy.api#input": {} } }, - "com.amazonaws.codestarconnections#GetRepositorySyncStatusOutput": { - "type": "structure", - "members": { - "LatestSync": { - "target": "com.amazonaws.codestarconnections#RepositorySyncAttempt", - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#required": {} - } - } - }, + "com.amazonaws.codestarconnections#NextToken": { + "type": "string", "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.codestarconnections#GetResourceSyncStatus": { - "type": "operation", - "input": { - "target": "com.amazonaws.codestarconnections#GetResourceSyncStatusInput" - }, - "output": { - "target": "com.amazonaws.codestarconnections#GetResourceSyncStatusOutput" - }, - "errors": [ - { - "target": "com.amazonaws.codestarconnections#AccessDeniedException" - }, - { - "target": "com.amazonaws.codestarconnections#InternalServerException" - }, - { - "target": "com.amazonaws.codestarconnections#InvalidInputException" - }, - { - "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" + "smithy.api#length": { + "min": 1, + "max": 1024 }, - { - "target": "com.amazonaws.codestarconnections#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#pattern": ".*" } }, - "com.amazonaws.codestarconnections#GetResourceSyncStatusInput": { - "type": "structure", + "com.amazonaws.codestarconnections#ProviderType": { + "type": "enum", "members": { - "ResourceName": { - "target": "com.amazonaws.codestarconnections#ResourceName", + "BITBUCKET": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#required": {} + "smithy.api#enumValue": "Bitbucket" } }, - "SyncType": { - "target": "com.amazonaws.codestarconnections#SyncConfigurationType", - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.codestarconnections#GetResourceSyncStatusOutput": { - "type": "structure", - "members": { - "DesiredState": { - "target": "com.amazonaws.codestarconnections#Revision", + "GITHUB": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#enumValue": "GitHub" } }, - "LatestSuccessfulSync": { - "target": "com.amazonaws.codestarconnections#ResourceSyncAttempt", + "GITHUB_ENTERPRISE_SERVER": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#enumValue": "GitHubEnterpriseServer" } }, - "LatestSync": { - "target": "com.amazonaws.codestarconnections#ResourceSyncAttempt", + "GITLAB": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#required": {} + "smithy.api#enumValue": "GitLab" } } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.codestarconnections#GetSyncBlockerSummary": { - "type": "operation", - "input": { - "target": "com.amazonaws.codestarconnections#GetSyncBlockerSummaryInput" - }, - "output": { - "target": "com.amazonaws.codestarconnections#GetSyncBlockerSummaryOutput" - }, - "errors": [ - { - "target": "com.amazonaws.codestarconnections#AccessDeniedException" - }, - { - "target": "com.amazonaws.codestarconnections#InternalServerException" - }, - { - "target": "com.amazonaws.codestarconnections#InvalidInputException" - }, - { - "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.codestarconnections#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns a list of the most recent sync blockers.

" } }, - "com.amazonaws.codestarconnections#GetSyncBlockerSummaryInput": { + "com.amazonaws.codestarconnections#ResourceNotFoundException": { "type": "structure", "members": { - "SyncType": { - "target": "com.amazonaws.codestarconnections#SyncConfigurationType", - "traits": { - "smithy.api#documentation": "

The sync type for the sync blocker summary.

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

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

", - "smithy.api#required": {} - } + "Message": { + "target": "com.amazonaws.codestarconnections#ErrorMessage" } }, "traits": { - "smithy.api#input": {} + "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#GetSyncBlockerSummaryOutput": { + "com.amazonaws.codestarconnections#ResourceUnavailableException": { "type": "structure", "members": { - "SyncBlockerSummary": { - "target": "com.amazonaws.codestarconnections#SyncBlockerSummary", - "traits": { - "smithy.api#documentation": "

The list of sync blockers for a specified resource.

", - "smithy.api#required": {} - } + "Message": { + "target": "com.amazonaws.codestarconnections#ErrorMessage" } }, "traits": { - "smithy.api#output": {} + "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#GetSyncConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.codestarconnections#GetSyncConfigurationInput" - }, - "output": { - "target": "com.amazonaws.codestarconnections#GetSyncConfigurationOutput" - }, - "errors": [ - { - "target": "com.amazonaws.codestarconnections#AccessDeniedException" - }, - { - "target": "com.amazonaws.codestarconnections#InternalServerException" - }, - { - "target": "com.amazonaws.codestarconnections#InvalidInputException" - }, - { - "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.codestarconnections#ThrottlingException" - } - ], + "com.amazonaws.codestarconnections#SecurityGroupId": { + "type": "string", "traits": { - "smithy.api#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.

" - } - }, - "com.amazonaws.codestarconnections#GetSyncConfigurationInput": { - "type": "structure", - "members": { - "SyncType": { - "target": "com.amazonaws.codestarconnections#SyncConfigurationType", - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#required": {} - } + "smithy.api#length": { + "min": 11, + "max": 20 }, - "ResourceName": { - "target": "com.amazonaws.codestarconnections#ResourceName", - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} + "smithy.api#pattern": "^sg-\\w{8}(\\w{9})?$" } }, - "com.amazonaws.codestarconnections#GetSyncConfigurationOutput": { - "type": "structure", - "members": { - "SyncConfiguration": { - "target": "com.amazonaws.codestarconnections#SyncConfiguration", - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#required": {} - } - } + "com.amazonaws.codestarconnections#SecurityGroupIds": { + "type": "list", + "member": { + "target": "com.amazonaws.codestarconnections#SecurityGroupId" }, "traits": { - "smithy.api#output": {} - } - }, - "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#IamRoleArn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#pattern": "^arn:aws(-[\\w]+)*:iam::\\d{12}:role/[a-zA-Z_0-9+=,.@\\-_/]+$" - } - }, - "com.amazonaws.codestarconnections#Id": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.codestarconnections#InternalServerException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.codestarconnections#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

Received an internal server exception. Try again later.

", - "smithy.api#error": "server", - "smithy.api#httpError": 503 - } - }, - "com.amazonaws.codestarconnections#InvalidInputException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.codestarconnections#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The input is not valid. Verify that the action is typed correctly.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.codestarconnections#KmsKeyArn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#pattern": "^arn:aws(-[\\w]+)*:kms:[a-z\\-0-9]+:\\d{12}:key/[a-zA-Z0-9\\-]+$" - } - }, - "com.amazonaws.codestarconnections#LatestSyncBlockerList": { - "type": "list", - "member": { - "target": "com.amazonaws.codestarconnections#SyncBlocker" - } - }, - "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" - }, - "errors": [ - { - "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" - } - ], - "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#default": 0, - "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.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "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.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "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#default": 0, - "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.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "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.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.codestarconnections#ListRepositoryLinks": { - "type": "operation", - "input": { - "target": "com.amazonaws.codestarconnections#ListRepositoryLinksInput" - }, - "output": { - "target": "com.amazonaws.codestarconnections#ListRepositoryLinksOutput" - }, - "errors": [ - { - "target": "com.amazonaws.codestarconnections#AccessDeniedException" - }, - { - "target": "com.amazonaws.codestarconnections#ConcurrentModificationException" - }, - { - "target": "com.amazonaws.codestarconnections#InternalServerException" - }, - { - "target": "com.amazonaws.codestarconnections#InvalidInputException" - }, - { - "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.codestarconnections#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the repository links created for connections in your account.

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

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

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

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

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.codestarconnections#ListRepositoryLinksOutput": { - "type": "structure", - "members": { - "RepositoryLinks": { - "target": "com.amazonaws.codestarconnections#RepositoryLinkList", - "traits": { - "smithy.api#documentation": "

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

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

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

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.codestarconnections#ListRepositorySyncDefinitions": { - "type": "operation", - "input": { - "target": "com.amazonaws.codestarconnections#ListRepositorySyncDefinitionsInput" - }, - "output": { - "target": "com.amazonaws.codestarconnections#ListRepositorySyncDefinitionsOutput" - }, - "errors": [ - { - "target": "com.amazonaws.codestarconnections#AccessDeniedException" - }, - { - "target": "com.amazonaws.codestarconnections#InternalServerException" - }, - { - "target": "com.amazonaws.codestarconnections#InvalidInputException" - }, - { - "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.codestarconnections#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "

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

" - } - }, - "com.amazonaws.codestarconnections#ListRepositorySyncDefinitionsInput": { - "type": "structure", - "members": { - "RepositoryLinkId": { - "target": "com.amazonaws.codestarconnections#RepositoryLinkId", - "traits": { - "smithy.api#documentation": "

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

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

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

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.codestarconnections#ListRepositorySyncDefinitionsOutput": { - "type": "structure", - "members": { - "RepositorySyncDefinitions": { - "target": "com.amazonaws.codestarconnections#RepositorySyncDefinitionList", - "traits": { - "smithy.api#documentation": "

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

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

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

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.codestarconnections#ListSyncConfigurations": { - "type": "operation", - "input": { - "target": "com.amazonaws.codestarconnections#ListSyncConfigurationsInput" - }, - "output": { - "target": "com.amazonaws.codestarconnections#ListSyncConfigurationsOutput" - }, - "errors": [ - { - "target": "com.amazonaws.codestarconnections#AccessDeniedException" - }, - { - "target": "com.amazonaws.codestarconnections#InternalServerException" - }, - { - "target": "com.amazonaws.codestarconnections#InvalidInputException" - }, - { - "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.codestarconnections#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns a list of sync configurations for a specified repository.

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

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

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

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

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

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

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

The sync type for the requested list of sync configurations.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.codestarconnections#ListSyncConfigurationsOutput": { - "type": "structure", - "members": { - "SyncConfigurations": { - "target": "com.amazonaws.codestarconnections#SyncConfigurationList", - "traits": { - "smithy.api#documentation": "

The list of repository sync definitions returned by the request.

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

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

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "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": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "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.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.codestarconnections#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#default": 0, - "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#OwnerId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - }, - "smithy.api#pattern": "^.*$" - } - }, - "com.amazonaws.codestarconnections#Parent": { - "type": "string" - }, - "com.amazonaws.codestarconnections#ProviderType": { - "type": "enum", - "members": { - "BITBUCKET": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Bitbucket" - } - }, - "GITHUB": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GitHub" - } - }, - "GITHUB_ENTERPRISE_SERVER": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GitHubEnterpriseServer" - } - }, - "GITLAB": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GitLab" - } - } - } - }, - "com.amazonaws.codestarconnections#RepositoryLinkArn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:aws(?:-[a-z]+)*:codestar-connections:[a-z\\-0-9]+:\\d{12}:repository-link\\/[a-zA-Z0-9\\-:/]+$" - } - }, - "com.amazonaws.codestarconnections#RepositoryLinkId": { - "type": "string", - "traits": { - "smithy.api#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}$" - } - }, - "com.amazonaws.codestarconnections#RepositoryLinkInfo": { - "type": "structure", - "members": { - "ConnectionArn": { - "target": "com.amazonaws.codestarconnections#ConnectionArn", - "traits": { - "smithy.api#documentation": "

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

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

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

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

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

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

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

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

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

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

The ID of the repository link.

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

The name of the repository associated with the repository link.

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

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

" - } - }, - "com.amazonaws.codestarconnections#RepositoryLinkList": { - "type": "list", - "member": { - "target": "com.amazonaws.codestarconnections#RepositoryLinkInfo" - } - }, - "com.amazonaws.codestarconnections#RepositoryName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^.*$" - } - }, - "com.amazonaws.codestarconnections#RepositorySyncAttempt": { - "type": "structure", - "members": { - "StartedAt": { - "target": "com.amazonaws.codestarconnections#Timestamp", - "traits": { - "smithy.api#documentation": "

The start time of a specific sync attempt.

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

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

\n ", - "smithy.api#required": {} - } - }, - "Events": { - "target": "com.amazonaws.codestarconnections#RepositorySyncEventList", - "traits": { - "smithy.api#documentation": "

The events associated with a specific sync attempt.

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

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

" - } - }, - "com.amazonaws.codestarconnections#RepositorySyncDefinition": { - "type": "structure", - "members": { - "Branch": { - "target": "com.amazonaws.codestarconnections#BranchName", - "traits": { - "smithy.api#documentation": "

The branch specified for a repository sync definition.

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

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

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

The parent resource specified for a repository sync definition.

", - "smithy.api#required": {} - } - }, - "Target": { - "target": "com.amazonaws.codestarconnections#Target", - "traits": { - "smithy.api#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.

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

The definition for a repository with a sync configuration.

" - } - }, - "com.amazonaws.codestarconnections#RepositorySyncDefinitionList": { - "type": "list", - "member": { - "target": "com.amazonaws.codestarconnections#RepositorySyncDefinition" - } - }, - "com.amazonaws.codestarconnections#RepositorySyncEvent": { - "type": "structure", - "members": { - "Event": { - "target": "com.amazonaws.codestarconnections#Event", - "traits": { - "smithy.api#documentation": "

A description of a repository sync event.

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

The ID for a repository sync event.

" - } - }, - "Time": { - "target": "com.amazonaws.codestarconnections#Timestamp", - "traits": { - "smithy.api#documentation": "

The time that a repository sync event occurred.

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

The event type for a repository sync event.

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

Information about a repository sync event.

" - } - }, - "com.amazonaws.codestarconnections#RepositorySyncEventList": { - "type": "list", - "member": { - "target": "com.amazonaws.codestarconnections#RepositorySyncEvent" - } - }, - "com.amazonaws.codestarconnections#RepositorySyncStatus": { - "type": "enum", - "members": { - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED" - } - }, - "INITIATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INITIATED" - } - }, - "IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "IN_PROGRESS" - } - }, - "SUCCEEDED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SUCCEEDED" - } - }, - "QUEUED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "QUEUED" - } - } - } - }, - "com.amazonaws.codestarconnections#ResolvedReason": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 250 - } - } - }, - "com.amazonaws.codestarconnections#ResourceAlreadyExistsException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.codestarconnections#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

Unable to create resource. Resource already exists.

", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } - }, - "com.amazonaws.codestarconnections#ResourceName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - }, - "smithy.api#pattern": "^[0-9A-Za-z]+[0-9A-Za-z_\\\\-]*$" - } - }, - "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#ResourceSyncAttempt": { - "type": "structure", - "members": { - "Events": { - "target": "com.amazonaws.codestarconnections#ResourceSyncEventList", - "traits": { - "smithy.api#documentation": "

The events related to a resource sync attempt.

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

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

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

The start time for a resource sync attempt.

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

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

\n ", - "smithy.api#required": {} - } - }, - "TargetRevision": { - "target": "com.amazonaws.codestarconnections#Revision", - "traits": { - "smithy.api#documentation": "

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

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

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

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

Information about a resource sync attempt.

" - } - }, - "com.amazonaws.codestarconnections#ResourceSyncEvent": { - "type": "structure", - "members": { - "Event": { - "target": "com.amazonaws.codestarconnections#Event", - "traits": { - "smithy.api#documentation": "

The event for a resource sync event.

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

The ID for a resource sync event.

" - } - }, - "Time": { - "target": "com.amazonaws.codestarconnections#Timestamp", - "traits": { - "smithy.api#documentation": "

The time that a resource sync event occurred.

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

The type of resource sync event.

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

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

" - } - }, - "com.amazonaws.codestarconnections#ResourceSyncEventList": { - "type": "list", - "member": { - "target": "com.amazonaws.codestarconnections#ResourceSyncEvent" - } - }, - "com.amazonaws.codestarconnections#ResourceSyncStatus": { - "type": "enum", - "members": { - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED" - } - }, - "INITIATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INITIATED" - } - }, - "IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "IN_PROGRESS" - } - }, - "SUCCEEDED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SUCCEEDED" - } - } - } - }, - "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#RetryLatestCommitFailedException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.codestarconnections#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

Retrying the latest commit failed. Try again later.

", - "smithy.api#error": "server", - "smithy.api#httpError": 503 - } - }, - "com.amazonaws.codestarconnections#Revision": { - "type": "structure", - "members": { - "Branch": { - "target": "com.amazonaws.codestarconnections#BranchName", - "traits": { - "smithy.api#documentation": "

The branch name for a specific revision.

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

The directory, if any, for a specific revision.

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

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

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

The repository name for a specific revision.

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

The provider type for a revision, such as GitHub.

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

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

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

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

" - } - }, - "com.amazonaws.codestarconnections#SHA": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - } - } - }, - "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#SharpNextToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 2048 - }, - "smithy.api#pattern": "^.*$" - } - }, - "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#SyncBlocker": { - "type": "structure", - "members": { - "Id": { - "target": "com.amazonaws.codestarconnections#Id", - "traits": { - "smithy.api#documentation": "

The ID for a specific sync blocker.

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

The sync blocker type.

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

The status for a specific sync blocker.

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

The provided reason for a specific sync blocker.

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

The creation time for a specific sync blocker.

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

The contexts for a specific sync blocker.

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

The resolved reason for a specific sync blocker.

" - } - }, - "ResolvedAt": { - "target": "com.amazonaws.codestarconnections#Timestamp", - "traits": { - "smithy.api#documentation": "

The time that a specific sync blocker was resolved.

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

Information about a blocker for a sync event.

" - } - }, - "com.amazonaws.codestarconnections#SyncBlockerContext": { - "type": "structure", - "members": { - "Key": { - "target": "com.amazonaws.codestarconnections#SyncBlockerContextKey", - "traits": { - "smithy.api#documentation": "

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

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

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

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

The context for a specific sync blocker.

" - } - }, - "com.amazonaws.codestarconnections#SyncBlockerContextKey": { - "type": "string" - }, - "com.amazonaws.codestarconnections#SyncBlockerContextList": { - "type": "list", - "member": { - "target": "com.amazonaws.codestarconnections#SyncBlockerContext" - } - }, - "com.amazonaws.codestarconnections#SyncBlockerContextValue": { - "type": "string" - }, - "com.amazonaws.codestarconnections#SyncBlockerDoesNotExistException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.codestarconnections#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

Unable to continue. The sync blocker does not exist.

", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.codestarconnections#SyncBlockerSummary": { - "type": "structure", - "members": { - "ResourceName": { - "target": "com.amazonaws.codestarconnections#ResourceName", - "traits": { - "smithy.api#documentation": "

The resource name for sync blocker summary.

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

The parent resource name for a sync blocker summary.

" - } - }, - "LatestBlockers": { - "target": "com.amazonaws.codestarconnections#LatestSyncBlockerList", - "traits": { - "smithy.api#documentation": "

The latest events for a sync blocker summary.

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

A summary for sync blockers.

" - } - }, - "com.amazonaws.codestarconnections#SyncConfiguration": { - "type": "structure", - "members": { - "Branch": { - "target": "com.amazonaws.codestarconnections#BranchName", - "traits": { - "smithy.api#documentation": "

The branch associated with a specific sync configuration.

", - "smithy.api#required": {} - } - }, - "ConfigFile": { - "target": "com.amazonaws.codestarconnections#DeploymentFilePath", - "traits": { - "smithy.api#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": { - "target": "com.amazonaws.codestarconnections#OwnerId", - "traits": { - "smithy.api#documentation": "

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

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

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

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

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

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

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

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

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

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

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

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

The type of sync for a specific sync configuration.

", - "smithy.api#required": {} - } + "smithy.api#length": { + "min": 1, + "max": 10 } - }, + } + }, + "com.amazonaws.codestarconnections#SubnetId": { + "type": "string", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#length": { + "min": 15, + "max": 24 + }, + "smithy.api#pattern": "^subnet-\\w{8}(\\w{9})?$" } }, - "com.amazonaws.codestarconnections#SyncConfigurationList": { + "com.amazonaws.codestarconnections#SubnetIds": { "type": "list", "member": { - "target": "com.amazonaws.codestarconnections#SyncConfiguration" - } - }, - "com.amazonaws.codestarconnections#SyncConfigurationStillExistsException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.codestarconnections#ErrorMessage" - } + "target": "com.amazonaws.codestarconnections#SubnetId" }, "traits": { - "smithy.api#documentation": "

Unable to continue. The sync blocker still exists.

", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } - }, - "com.amazonaws.codestarconnections#SyncConfigurationType": { - "type": "enum", - "members": { - "CFN_STACK_SYNC": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CFN_STACK_SYNC" - } + "smithy.api#length": { + "min": 1, + "max": 10 } } }, @@ -3726,25 +1911,6 @@ "smithy.api#pattern": ".*" } }, - "com.amazonaws.codestarconnections#Target": { - "type": "string" - }, - "com.amazonaws.codestarconnections#ThrottlingException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.codestarconnections#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The request was denied due to request throttling.

", - "smithy.api#error": "client", - "smithy.api#httpError": 429 - } - }, - "com.amazonaws.codestarconnections#Timestamp": { - "type": "timestamp" - }, "com.amazonaws.codestarconnections#TlsCertificate": { "type": "string", "traits": { @@ -3755,9 +1921,6 @@ "smithy.api#pattern": "^[\\s\\S]*$" } }, - "com.amazonaws.codestarconnections#Type": { - "type": "string" - }, "com.amazonaws.codestarconnections#UnsupportedOperationException": { "type": "structure", "members": { @@ -3771,19 +1934,6 @@ "smithy.api#httpError": 400 } }, - "com.amazonaws.codestarconnections#UnsupportedProviderTypeException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.codestarconnections#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The specified provider type is not supported for connections.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, "com.amazonaws.codestarconnections#UntagResource": { "type": "operation", "input": { @@ -3890,291 +2040,6 @@ "smithy.api#output": {} } }, - "com.amazonaws.codestarconnections#UpdateOutOfSyncException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.codestarconnections#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The update is out of sync. Try syncing again.

", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } - }, - "com.amazonaws.codestarconnections#UpdateRepositoryLink": { - "type": "operation", - "input": { - "target": "com.amazonaws.codestarconnections#UpdateRepositoryLinkInput" - }, - "output": { - "target": "com.amazonaws.codestarconnections#UpdateRepositoryLinkOutput" - }, - "errors": [ - { - "target": "com.amazonaws.codestarconnections#AccessDeniedException" - }, - { - "target": "com.amazonaws.codestarconnections#ConditionalCheckFailedException" - }, - { - "target": "com.amazonaws.codestarconnections#InternalServerException" - }, - { - "target": "com.amazonaws.codestarconnections#InvalidInputException" - }, - { - "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.codestarconnections#ThrottlingException" - }, - { - "target": "com.amazonaws.codestarconnections#UpdateOutOfSyncException" - } - ], - "traits": { - "smithy.api#documentation": "

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

" - } - }, - "com.amazonaws.codestarconnections#UpdateRepositoryLinkInput": { - "type": "structure", - "members": { - "ConnectionArn": { - "target": "com.amazonaws.codestarconnections#ConnectionArn", - "traits": { - "smithy.api#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": { - "target": "com.amazonaws.codestarconnections#KmsKeyArn", - "traits": { - "smithy.api#documentation": "

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

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

The ID of the repository link to be updated.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.codestarconnections#UpdateRepositoryLinkOutput": { - "type": "structure", - "members": { - "RepositoryLinkInfo": { - "target": "com.amazonaws.codestarconnections#RepositoryLinkInfo", - "traits": { - "smithy.api#documentation": "

Information about the repository link to be updated.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.codestarconnections#UpdateSyncBlocker": { - "type": "operation", - "input": { - "target": "com.amazonaws.codestarconnections#UpdateSyncBlockerInput" - }, - "output": { - "target": "com.amazonaws.codestarconnections#UpdateSyncBlockerOutput" - }, - "errors": [ - { - "target": "com.amazonaws.codestarconnections#AccessDeniedException" - }, - { - "target": "com.amazonaws.codestarconnections#InternalServerException" - }, - { - "target": "com.amazonaws.codestarconnections#InvalidInputException" - }, - { - "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.codestarconnections#RetryLatestCommitFailedException" - }, - { - "target": "com.amazonaws.codestarconnections#SyncBlockerDoesNotExistException" - }, - { - "target": "com.amazonaws.codestarconnections#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "

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

" - } - }, - "com.amazonaws.codestarconnections#UpdateSyncBlockerInput": { - "type": "structure", - "members": { - "Id": { - "target": "com.amazonaws.codestarconnections#Id", - "traits": { - "smithy.api#documentation": "

The ID of the sync blocker to be updated.

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

The sync type of the sync blocker to be updated.

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

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

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

The reason for resolving the sync blocker.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.codestarconnections#UpdateSyncBlockerOutput": { - "type": "structure", - "members": { - "ResourceName": { - "target": "com.amazonaws.codestarconnections#ResourceName", - "traits": { - "smithy.api#documentation": "

The resource name for the sync blocker.

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

The parent resource name for the sync blocker.

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

Information about the sync blocker to be updated.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.codestarconnections#UpdateSyncConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.codestarconnections#UpdateSyncConfigurationInput" - }, - "output": { - "target": "com.amazonaws.codestarconnections#UpdateSyncConfigurationOutput" - }, - "errors": [ - { - "target": "com.amazonaws.codestarconnections#AccessDeniedException" - }, - { - "target": "com.amazonaws.codestarconnections#ConcurrentModificationException" - }, - { - "target": "com.amazonaws.codestarconnections#InternalServerException" - }, - { - "target": "com.amazonaws.codestarconnections#InvalidInputException" - }, - { - "target": "com.amazonaws.codestarconnections#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.codestarconnections#ThrottlingException" - }, - { - "target": "com.amazonaws.codestarconnections#UpdateOutOfSyncException" - } - ], - "traits": { - "smithy.api#documentation": "

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

" - } - }, - "com.amazonaws.codestarconnections#UpdateSyncConfigurationInput": { - "type": "structure", - "members": { - "Branch": { - "target": "com.amazonaws.codestarconnections#BranchName", - "traits": { - "smithy.api#documentation": "

The branch for the sync configuration to be updated.

" - } - }, - "ConfigFile": { - "target": "com.amazonaws.codestarconnections#DeploymentFilePath", - "traits": { - "smithy.api#documentation": "

The configuration file for the sync configuration to be updated.

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

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

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

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

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

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

" - } - }, - "SyncType": { - "target": "com.amazonaws.codestarconnections#SyncConfigurationType", - "traits": { - "smithy.api#documentation": "

The sync type for the sync configuration to be updated.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.codestarconnections#UpdateSyncConfigurationOutput": { - "type": "structure", - "members": { - "SyncConfiguration": { - "target": "com.amazonaws.codestarconnections#SyncConfiguration", - "traits": { - "smithy.api#documentation": "

The information returned for the sync configuration to be updated.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, "com.amazonaws.codestarconnections#Url": { "type": "string", "traits": { diff --git a/codegen/sdk-codegen/aws-models/docdb.json b/codegen/sdk-codegen/aws-models/docdb.json index b3d239e05fc..d444daf664e 100644 --- a/codegen/sdk-codegen/aws-models/docdb.json +++ b/codegen/sdk-codegen/aws-models/docdb.json @@ -1986,6 +1986,12 @@ "traits": { "smithy.api#documentation": "

The cluster identifier of the new global cluster.

" } + }, + "StorageType": { + "target": "com.amazonaws.docdb#String", + "traits": { + "smithy.api#documentation": "

The storage type to associate with the DB cluster.

\n

For information on storage types for Amazon DocumentDB clusters, see \n Cluster storage configurations in the Amazon DocumentDB Developer Guide.

\n

Valid values for storage type - standard | iopt1\n

\n

Default value is standard \n

\n \n

When you create a DocumentDB DB cluster with the storage type set to iopt1, the storage type is returned\n in the response. The storage type isn't returned when you set it to standard.

\n
" + } } }, "traits": { @@ -2774,6 +2780,12 @@ "traits": { "smithy.api#documentation": "

Specifies whether this cluster can be deleted. If DeletionProtection is\n enabled, the cluster cannot be deleted unless it is modified and\n DeletionProtection is disabled. DeletionProtection\n protects clusters from being accidentally deleted.

" } + }, + "StorageType": { + "target": "com.amazonaws.docdb#String", + "traits": { + "smithy.api#documentation": "

Storage type associated with your cluster

\n

Storage type associated with your cluster

\n

For information on storage types for Amazon DocumentDB clusters, see \n Cluster storage configurations in the Amazon DocumentDB Developer Guide.

\n

Valid values for storage type - standard | iopt1\n

\n

Default value is standard \n

" + } } }, "traits": { @@ -3148,6 +3160,12 @@ "traits": { "smithy.api#documentation": "

If the cluster snapshot was copied from a source cluster snapshot, the ARN for\n the source cluster snapshot; otherwise, a null value.

" } + }, + "StorageType": { + "target": "com.amazonaws.docdb#String", + "traits": { + "smithy.api#documentation": "

Storage type associated with your cluster snapshot

\n

For information on storage types for Amazon DocumentDB clusters, see \n Cluster storage configurations in the Amazon DocumentDB Developer Guide.

\n

Valid values for storage type - standard | iopt1\n

\n

Default value is standard \n

" + } } }, "traits": { @@ -6459,6 +6477,12 @@ "traits": { "smithy.api#documentation": "

Specifies whether this cluster can be deleted. If DeletionProtection is\n enabled, the cluster cannot be deleted unless it is modified and\n DeletionProtection is disabled. DeletionProtection\n protects clusters from being accidentally deleted.

" } + }, + "StorageType": { + "target": "com.amazonaws.docdb#String", + "traits": { + "smithy.api#documentation": "

The storage type to associate with the DB cluster.

\n

For information on storage types for Amazon DocumentDB clusters, see \n Cluster storage configurations in the Amazon DocumentDB Developer Guide.

\n

Valid values for storage type - standard | iopt1\n

\n

Default value is standard \n

" + } } }, "traits": { @@ -6993,6 +7017,12 @@ "traits": { "smithy.api#documentation": "

Indicates whether an instance is in a virtual private cloud (VPC).

" } + }, + "StorageType": { + "target": "com.amazonaws.docdb#String", + "traits": { + "smithy.api#documentation": "

The storage type to associate with the DB cluster

" + } } }, "traits": { @@ -7761,6 +7791,12 @@ "traits": { "smithy.api#documentation": "

The name of the DB cluster parameter group to associate with this DB cluster.

\n

\n Type: String.       Required: No.

\n

If this argument is omitted, the default DB cluster parameter group is used.\n If supplied, must match the name of an existing default DB cluster parameter group.\n The string must consist of from 1 to 255 letters, numbers or hyphens. Its first\n character must be a letter, and it cannot end with a hyphen or contain two consecutive\n hyphens.

" } + }, + "StorageType": { + "target": "com.amazonaws.docdb#String", + "traits": { + "smithy.api#documentation": "

The storage type to associate with the DB cluster.

\n

For information on storage types for Amazon DocumentDB clusters, see \n Cluster storage configurations in the Amazon DocumentDB Developer Guide.

\n

Valid values for storage type - standard | iopt1\n

\n

Default value is standard \n

" + } } }, "traits": { @@ -7916,6 +7952,12 @@ "traits": { "smithy.api#documentation": "

Specifies whether this cluster can be deleted. If DeletionProtection is enabled, the cluster cannot be deleted unless it is modified and DeletionProtection is disabled. DeletionProtection protects clusters from being accidentally deleted.

" } + }, + "StorageType": { + "target": "com.amazonaws.docdb#String", + "traits": { + "smithy.api#documentation": "

The storage type to associate with the DB cluster.

\n

For information on storage types for Amazon DocumentDB clusters, see \n Cluster storage configurations in the Amazon DocumentDB Developer Guide.

\n

Valid values for storage type - standard | iopt1\n

\n

Default value is standard \n

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index fcb1afaa077..c7f01b9a60c 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -8228,7 +8228,7 @@ "target": "com.amazonaws.ec2#AuthorizeSecurityGroupEgressResult" }, "traits": { - "smithy.api#documentation": "

Adds the specified outbound (egress) rules to a security group for use with a VPC.

\n

An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR\n address ranges, or to the instances that are associated with the specified source\n security groups. When specifying an outbound rule for your security group in a VPC, the\n IpPermissions must include a destination for the traffic.

\n

You specify a protocol for each rule (for example, TCP). \n For the TCP and UDP protocols, you must also specify the destination port or port range. \n For the ICMP protocol, you must also specify the ICMP type and code. \n You can use -1 for the type or code to mean all types or all codes.

\n

Rule changes are propagated to affected instances as quickly as possible. However, a small delay might occur.

\n

For information about VPC security group quotas, see Amazon VPC quotas.

", + "smithy.api#documentation": "

Adds the specified outbound (egress) rules to a security group for use with a VPC.

\n

An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR\n address ranges, or to the instances that are associated with the specified source\n security groups. When specifying an outbound rule for your security group in a VPC, the\n IpPermissions must include a destination for the traffic.

\n

You specify a protocol for each rule (for example, TCP). \n For the TCP and UDP protocols, you must also specify the destination port or port range. \n For the ICMP protocol, you must also specify the ICMP type and code. \n You can use -1 for the type or code to mean all types or all codes.

\n

Rule changes are propagated to affected instances as quickly as possible. However, a small delay might occur.

\n

For information about VPC security group quotas, see Amazon VPC quotas.

\n \n

If you want to reference a security group across VPCs attached to a transit gateway using the\n security group\n referencing feature, note that you can only reference security groups\n for ingress rules. You cannot reference a security group for egress rules.

\n
", "smithy.api#examples": [ { "title": "To add a rule that allows outbound traffic to a specific address range", @@ -20027,6 +20027,12 @@ "smithy.api#documentation": "

Enable or disable DNS support. The default is enable.

" } }, + "SecurityGroupReferencingSupport": { + "target": "com.amazonaws.ec2#SecurityGroupReferencingSupportValue", + "traits": { + "smithy.api#documentation": "

Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.

\n

If you don't enable or disable SecurityGroupReferencingSupport in the request, the\n attachment will inherit the security group referencing support setting on the transit\n gateway.

\n

For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.

" + } + }, "Ipv6Support": { "target": "com.amazonaws.ec2#Ipv6SupportValue", "traits": { @@ -36174,7 +36180,7 @@ "target": "com.amazonaws.ec2#DescribeSecurityGroupReferencesResult" }, "traits": { - "smithy.api#documentation": "

Describes the VPCs on the other side of a VPC peering connection that are referencing the security groups you've specified in this request.

", + "smithy.api#documentation": "

Describes the VPCs on the other side of a VPC peering connection or the VPCs attached to a transit gateway that are referencing the security groups you've specified in this request.

", "smithy.api#examples": [ { "title": "To describe security group references", @@ -37653,7 +37659,7 @@ "target": "com.amazonaws.ec2#DescribeStaleSecurityGroupsResult" }, "traits": { - "smithy.api#documentation": "

Describes the stale security group rules for security groups in a specified VPC. \n Rules are stale when they reference a deleted security group in the same VPC or in a peer VPC, \n or if they reference a security group in a peer VPC for which the VPC peering connection has \n been deleted.

", + "smithy.api#documentation": "

Describes the stale security group rules for security groups in a specified VPC. \n Rules are stale when they reference a deleted security group in the same VPC, peered VPC, or in separate VPCs attached to a transit gateway (with security group referencing support enabled). Rules can also be stale if they reference a security group in a peer VPC for which the VPC peering connection has \n been deleted or if they reference a security group in a VPC that has been detached from a transit gateway.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -75835,6 +75841,12 @@ "smithy.api#documentation": "

Enable or disable DNS support.

" } }, + "SecurityGroupReferencingSupport": { + "target": "com.amazonaws.ec2#SecurityGroupReferencingSupportValue", + "traits": { + "smithy.api#documentation": "

Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.

\n

For important information about this feature, see Create a transit gateway in the Amazon Web Services Transit Gateway Guide.

" + } + }, "AutoAcceptSharedAttachments": { "target": "com.amazonaws.ec2#AutoAcceptSharedAttachmentsValue", "traits": { @@ -76057,6 +76069,12 @@ "smithy.api#documentation": "

Enable or disable DNS support. The default is enable.

" } }, + "SecurityGroupReferencingSupport": { + "target": "com.amazonaws.ec2#SecurityGroupReferencingSupportValue", + "traits": { + "smithy.api#documentation": "

Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.

\n

For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.

" + } + }, "Ipv6Support": { "target": "com.amazonaws.ec2#Ipv6SupportValue", "traits": { @@ -84096,7 +84114,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "VpcPeeringConnectionId", - "smithy.api#documentation": "

The ID of the VPC peering connection.

", + "smithy.api#documentation": "

The ID of the VPC peering connection (if applicable).

", "smithy.api#xmlName": "vpcPeeringConnectionId" } } @@ -91890,9 +91908,17 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "VpcPeeringConnectionId", - "smithy.api#documentation": "

The ID of the VPC peering connection.

", + "smithy.api#documentation": "

The ID of the VPC peering connection (if applicable). For more information about security group referencing for peering connections, see Update your security groups to reference peer security groups in the VPC Peering Guide.

", "smithy.api#xmlName": "vpcPeeringConnectionId" } + }, + "TransitGatewayId": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "TransitGatewayId", + "smithy.api#documentation": "

The ID of the transit gateway (if applicable). For more information about security group referencing for transit gateways, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.

", + "smithy.api#xmlName": "transitGatewayId" + } } }, "traits": { @@ -91908,6 +91934,23 @@ } } }, + "com.amazonaws.ec2#SecurityGroupReferencingSupportValue": { + "type": "enum", + "members": { + "enable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "enable" + } + }, + "disable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "disable" + } + } + } + }, "com.amazonaws.ec2#SecurityGroupRule": { "type": "structure", "members": { @@ -99047,6 +99090,14 @@ "smithy.api#xmlName": "dnsSupport" } }, + "SecurityGroupReferencingSupport": { + "target": "com.amazonaws.ec2#SecurityGroupReferencingSupportValue", + "traits": { + "aws.protocols#ec2QueryName": "SecurityGroupReferencingSupport", + "smithy.api#documentation": "

Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.

\n

For important information about this feature, see Create a transit gateway in the Amazon Web Services Transit Gateway Guide.

", + "smithy.api#xmlName": "securityGroupReferencingSupport" + } + }, "MulticastSupport": { "target": "com.amazonaws.ec2#MulticastSupportValue", "traits": { @@ -99691,6 +99742,12 @@ "smithy.api#documentation": "

Enable or disable DNS support. Enabled by default.

" } }, + "SecurityGroupReferencingSupport": { + "target": "com.amazonaws.ec2#SecurityGroupReferencingSupportValue", + "traits": { + "smithy.api#documentation": "

Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.

\n

For important information about this feature, see Create a transit gateway in the Amazon Web Services Transit Gateway Guide.

" + } + }, "MulticastSupport": { "target": "com.amazonaws.ec2#MulticastSupportValue", "traits": { @@ -100469,6 +100526,14 @@ "smithy.api#xmlName": "dnsSupport" } }, + "SecurityGroupReferencingSupport": { + "target": "com.amazonaws.ec2#SecurityGroupReferencingSupportValue", + "traits": { + "aws.protocols#ec2QueryName": "SecurityGroupReferencingSupport", + "smithy.api#documentation": "

For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.

", + "smithy.api#xmlName": "securityGroupReferencingSupport" + } + }, "Ipv6Support": { "target": "com.amazonaws.ec2#Ipv6SupportValue", "traits": {