1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2019-12-01", 5 "endpointPrefix":"codestar-connections", 6 "jsonVersion":"1.0", 7 "protocol":"json", 8 "serviceFullName":"AWS CodeStar connections", 9 "serviceId":"CodeStar connections", 10 "signatureVersion":"v4", 11 "signingName":"codestar-connections", 12 "targetPrefix":"com.amazonaws.codestar.connections.CodeStar_connections_20191201", 13 "uid":"codestar-connections-2019-12-01" 14 }, 15 "operations":{ 16 "CreateConnection":{ 17 "name":"CreateConnection", 18 "http":{ 19 "method":"POST", 20 "requestUri":"/" 21 }, 22 "input":{"shape":"CreateConnectionInput"}, 23 "output":{"shape":"CreateConnectionOutput"}, 24 "errors":[ 25 {"shape":"LimitExceededException"}, 26 {"shape":"ResourceNotFoundException"}, 27 {"shape":"ResourceUnavailableException"} 28 ], 29 "documentation":"<p>Creates a connection that can then be given to other AWS services like CodePipeline so that it can access third-party code repositories. The connection is in pending status until the third-party connection handshake is completed from the console.</p>" 30 }, 31 "CreateHost":{ 32 "name":"CreateHost", 33 "http":{ 34 "method":"POST", 35 "requestUri":"/" 36 }, 37 "input":{"shape":"CreateHostInput"}, 38 "output":{"shape":"CreateHostOutput"}, 39 "errors":[ 40 {"shape":"LimitExceededException"} 41 ], 42 "documentation":"<p>Creates a resource that represents the infrastructure where a third-party provider is installed. The host is used when you create connections to an installed third-party provider type, such as GitHub Enterprise Server. You create one host for all connections to that provider.</p> <note> <p>A host created through the CLI or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by setting up the host in the console.</p> </note>" 43 }, 44 "DeleteConnection":{ 45 "name":"DeleteConnection", 46 "http":{ 47 "method":"POST", 48 "requestUri":"/" 49 }, 50 "input":{"shape":"DeleteConnectionInput"}, 51 "output":{"shape":"DeleteConnectionOutput"}, 52 "errors":[ 53 {"shape":"ResourceNotFoundException"} 54 ], 55 "documentation":"<p>The connection to be deleted.</p>" 56 }, 57 "DeleteHost":{ 58 "name":"DeleteHost", 59 "http":{ 60 "method":"POST", 61 "requestUri":"/" 62 }, 63 "input":{"shape":"DeleteHostInput"}, 64 "output":{"shape":"DeleteHostOutput"}, 65 "errors":[ 66 {"shape":"ResourceNotFoundException"}, 67 {"shape":"ResourceUnavailableException"} 68 ], 69 "documentation":"<p>The host to be deleted. Before you delete a host, all connections associated to the host must be deleted.</p> <note> <p>A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state.</p> </note>" 70 }, 71 "GetConnection":{ 72 "name":"GetConnection", 73 "http":{ 74 "method":"POST", 75 "requestUri":"/" 76 }, 77 "input":{"shape":"GetConnectionInput"}, 78 "output":{"shape":"GetConnectionOutput"}, 79 "errors":[ 80 {"shape":"ResourceNotFoundException"}, 81 {"shape":"ResourceUnavailableException"} 82 ], 83 "documentation":"<p>Returns the connection ARN and details such as status, owner, and provider type.</p>" 84 }, 85 "GetHost":{ 86 "name":"GetHost", 87 "http":{ 88 "method":"POST", 89 "requestUri":"/" 90 }, 91 "input":{"shape":"GetHostInput"}, 92 "output":{"shape":"GetHostOutput"}, 93 "errors":[ 94 {"shape":"ResourceNotFoundException"}, 95 {"shape":"ResourceUnavailableException"} 96 ], 97 "documentation":"<p>Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC configuration.</p>" 98 }, 99 "ListConnections":{ 100 "name":"ListConnections", 101 "http":{ 102 "method":"POST", 103 "requestUri":"/" 104 }, 105 "input":{"shape":"ListConnectionsInput"}, 106 "output":{"shape":"ListConnectionsOutput"}, 107 "documentation":"<p>Lists the connections associated with your account.</p>" 108 }, 109 "ListHosts":{ 110 "name":"ListHosts", 111 "http":{ 112 "method":"POST", 113 "requestUri":"/" 114 }, 115 "input":{"shape":"ListHostsInput"}, 116 "output":{"shape":"ListHostsOutput"}, 117 "documentation":"<p>Lists the hosts associated with your account.</p>" 118 }, 119 "ListTagsForResource":{ 120 "name":"ListTagsForResource", 121 "http":{ 122 "method":"POST", 123 "requestUri":"/" 124 }, 125 "input":{"shape":"ListTagsForResourceInput"}, 126 "output":{"shape":"ListTagsForResourceOutput"}, 127 "errors":[ 128 {"shape":"ResourceNotFoundException"} 129 ], 130 "documentation":"<p>Gets the set of key-value pairs (metadata) that are used to manage the resource.</p>" 131 }, 132 "TagResource":{ 133 "name":"TagResource", 134 "http":{ 135 "method":"POST", 136 "requestUri":"/" 137 }, 138 "input":{"shape":"TagResourceInput"}, 139 "output":{"shape":"TagResourceOutput"}, 140 "errors":[ 141 {"shape":"ResourceNotFoundException"}, 142 {"shape":"LimitExceededException"} 143 ], 144 "documentation":"<p>Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.</p>" 145 }, 146 "UntagResource":{ 147 "name":"UntagResource", 148 "http":{ 149 "method":"POST", 150 "requestUri":"/" 151 }, 152 "input":{"shape":"UntagResourceInput"}, 153 "output":{"shape":"UntagResourceOutput"}, 154 "errors":[ 155 {"shape":"ResourceNotFoundException"} 156 ], 157 "documentation":"<p>Removes tags from an AWS resource.</p>" 158 }, 159 "UpdateHost":{ 160 "name":"UpdateHost", 161 "http":{ 162 "method":"POST", 163 "requestUri":"/" 164 }, 165 "input":{"shape":"UpdateHostInput"}, 166 "output":{"shape":"UpdateHostOutput"}, 167 "errors":[ 168 {"shape":"ConflictException"}, 169 {"shape":"ResourceNotFoundException"}, 170 {"shape":"ResourceUnavailableException"}, 171 {"shape":"UnsupportedOperationException"} 172 ], 173 "documentation":"<p>Updates a specified host with the provided configurations.</p>" 174 } 175 }, 176 "shapes":{ 177 "AccountId":{ 178 "type":"string", 179 "max":12, 180 "min":12, 181 "pattern":"[0-9]{12}" 182 }, 183 "AmazonResourceName":{ 184 "type":"string", 185 "max":1011, 186 "min":1, 187 "pattern":"arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+" 188 }, 189 "ConflictException":{ 190 "type":"structure", 191 "members":{ 192 "Message":{"shape":"ErrorMessage"} 193 }, 194 "documentation":"<p>Two conflicting operations have been made on the same resource.</p>", 195 "exception":true 196 }, 197 "Connection":{ 198 "type":"structure", 199 "members":{ 200 "ConnectionName":{ 201 "shape":"ConnectionName", 202 "documentation":"<p>The name of the connection. Connection names must be unique in an AWS user account.</p>" 203 }, 204 "ConnectionArn":{ 205 "shape":"ConnectionArn", 206 "documentation":"<p>The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.</p> <note> <p>The ARN is never reused if the connection is deleted.</p> </note>" 207 }, 208 "ProviderType":{ 209 "shape":"ProviderType", 210 "documentation":"<p>The name of the external provider where your third-party code repository is configured.</p>" 211 }, 212 "OwnerAccountId":{ 213 "shape":"AccountId", 214 "documentation":"<p>The identifier of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.</p>" 215 }, 216 "ConnectionStatus":{ 217 "shape":"ConnectionStatus", 218 "documentation":"<p>The current status of the connection. </p>" 219 }, 220 "HostArn":{ 221 "shape":"HostArn", 222 "documentation":"<p>The Amazon Resource Name (ARN) of the host associated with the connection.</p>" 223 } 224 }, 225 "documentation":"<p>A resource that is used to connect third-party source providers with services like AWS CodePipeline.</p> <p>Note: A connection created through CloudFormation, the CLI, or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by updating the connection in the console.</p>" 226 }, 227 "ConnectionArn":{ 228 "type":"string", 229 "max":256, 230 "min":0, 231 "pattern":"arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+" 232 }, 233 "ConnectionList":{ 234 "type":"list", 235 "member":{"shape":"Connection"} 236 }, 237 "ConnectionName":{ 238 "type":"string", 239 "max":32, 240 "min":1, 241 "pattern":"[\\s\\S]*" 242 }, 243 "ConnectionStatus":{ 244 "type":"string", 245 "enum":[ 246 "PENDING", 247 "AVAILABLE", 248 "ERROR" 249 ] 250 }, 251 "CreateConnectionInput":{ 252 "type":"structure", 253 "required":["ConnectionName"], 254 "members":{ 255 "ProviderType":{ 256 "shape":"ProviderType", 257 "documentation":"<p>The name of the external provider where your third-party code repository is configured.</p>" 258 }, 259 "ConnectionName":{ 260 "shape":"ConnectionName", 261 "documentation":"<p>The name of the connection to be created. The name must be unique in the calling AWS account.</p>" 262 }, 263 "Tags":{ 264 "shape":"TagList", 265 "documentation":"<p>The key-value pair to use when tagging the resource.</p>" 266 }, 267 "HostArn":{ 268 "shape":"HostArn", 269 "documentation":"<p>The Amazon Resource Name (ARN) of the host associated with the connection to be created.</p>" 270 } 271 } 272 }, 273 "CreateConnectionOutput":{ 274 "type":"structure", 275 "required":["ConnectionArn"], 276 "members":{ 277 "ConnectionArn":{ 278 "shape":"ConnectionArn", 279 "documentation":"<p>The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between AWS services.</p> <note> <p>The ARN is never reused if the connection is deleted.</p> </note>" 280 }, 281 "Tags":{ 282 "shape":"TagList", 283 "documentation":"<p>Specifies the tags applied to the resource.</p>" 284 } 285 } 286 }, 287 "CreateHostInput":{ 288 "type":"structure", 289 "required":[ 290 "Name", 291 "ProviderType", 292 "ProviderEndpoint" 293 ], 294 "members":{ 295 "Name":{ 296 "shape":"HostName", 297 "documentation":"<p>The name of the host to be created. The name must be unique in the calling AWS account.</p>" 298 }, 299 "ProviderType":{ 300 "shape":"ProviderType", 301 "documentation":"<p>The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.</p>" 302 }, 303 "ProviderEndpoint":{ 304 "shape":"Url", 305 "documentation":"<p>The endpoint of the infrastructure to be represented by the host after it is created.</p>" 306 }, 307 "VpcConfiguration":{ 308 "shape":"VpcConfiguration", 309 "documentation":"<p>The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.</p>" 310 }, 311 "Tags":{"shape":"TagList"} 312 } 313 }, 314 "CreateHostOutput":{ 315 "type":"structure", 316 "members":{ 317 "HostArn":{ 318 "shape":"HostArn", 319 "documentation":"<p>The Amazon Resource Name (ARN) of the host to be created.</p>" 320 }, 321 "Tags":{"shape":"TagList"} 322 } 323 }, 324 "DeleteConnectionInput":{ 325 "type":"structure", 326 "required":["ConnectionArn"], 327 "members":{ 328 "ConnectionArn":{ 329 "shape":"ConnectionArn", 330 "documentation":"<p>The Amazon Resource Name (ARN) of the connection to be deleted.</p> <note> <p>The ARN is never reused if the connection is deleted.</p> </note>" 331 } 332 } 333 }, 334 "DeleteConnectionOutput":{ 335 "type":"structure", 336 "members":{ 337 } 338 }, 339 "DeleteHostInput":{ 340 "type":"structure", 341 "required":["HostArn"], 342 "members":{ 343 "HostArn":{ 344 "shape":"HostArn", 345 "documentation":"<p>The Amazon Resource Name (ARN) of the host to be deleted.</p>" 346 } 347 } 348 }, 349 "DeleteHostOutput":{ 350 "type":"structure", 351 "members":{ 352 } 353 }, 354 "ErrorMessage":{ 355 "type":"string", 356 "max":600 357 }, 358 "GetConnectionInput":{ 359 "type":"structure", 360 "required":["ConnectionArn"], 361 "members":{ 362 "ConnectionArn":{ 363 "shape":"ConnectionArn", 364 "documentation":"<p>The Amazon Resource Name (ARN) of a connection.</p>" 365 } 366 } 367 }, 368 "GetConnectionOutput":{ 369 "type":"structure", 370 "members":{ 371 "Connection":{ 372 "shape":"Connection", 373 "documentation":"<p>The connection details, such as status, owner, and provider type.</p>" 374 } 375 } 376 }, 377 "GetHostInput":{ 378 "type":"structure", 379 "required":["HostArn"], 380 "members":{ 381 "HostArn":{ 382 "shape":"HostArn", 383 "documentation":"<p>The Amazon Resource Name (ARN) of the requested host.</p>" 384 } 385 } 386 }, 387 "GetHostOutput":{ 388 "type":"structure", 389 "members":{ 390 "Name":{ 391 "shape":"HostName", 392 "documentation":"<p>The name of the requested host.</p>" 393 }, 394 "Status":{ 395 "shape":"HostStatus", 396 "documentation":"<p>The status of the requested host.</p>" 397 }, 398 "ProviderType":{ 399 "shape":"ProviderType", 400 "documentation":"<p>The provider type of the requested host, such as GitHub Enterprise Server.</p>" 401 }, 402 "ProviderEndpoint":{ 403 "shape":"Url", 404 "documentation":"<p>The endpoint of the infrastructure represented by the requested host.</p>" 405 }, 406 "VpcConfiguration":{ 407 "shape":"VpcConfiguration", 408 "documentation":"<p>The VPC configuration of the requested host.</p>" 409 } 410 } 411 }, 412 "Host":{ 413 "type":"structure", 414 "members":{ 415 "Name":{ 416 "shape":"HostName", 417 "documentation":"<p>The name of the host.</p>" 418 }, 419 "HostArn":{ 420 "shape":"HostArn", 421 "documentation":"<p>The Amazon Resource Name (ARN) of the host.</p>" 422 }, 423 "ProviderType":{ 424 "shape":"ProviderType", 425 "documentation":"<p>The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.</p>" 426 }, 427 "ProviderEndpoint":{ 428 "shape":"Url", 429 "documentation":"<p>The endpoint of the infrastructure where your provider type is installed.</p>" 430 }, 431 "VpcConfiguration":{ 432 "shape":"VpcConfiguration", 433 "documentation":"<p>The VPC configuration provisioned for the host.</p>" 434 }, 435 "Status":{ 436 "shape":"HostStatus", 437 "documentation":"<p>The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.</p>" 438 }, 439 "StatusMessage":{ 440 "shape":"HostStatusMessage", 441 "documentation":"<p>The status description for the host.</p>" 442 } 443 }, 444 "documentation":"<p>A resource that represents the infrastructure where a third-party provider is installed. The host is used when you create connections to an installed third-party provider type, such as GitHub Enterprise Server. You create one host for all connections to that provider.</p> <note> <p>A host created through the CLI or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by setting up the host in the console.</p> </note>" 445 }, 446 "HostArn":{ 447 "type":"string", 448 "max":256, 449 "min":0, 450 "pattern":"arn:aws(-[\\w]+)*:codestar-connections:.+:[0-9]{12}:host\\/.+" 451 }, 452 "HostList":{ 453 "type":"list", 454 "member":{"shape":"Host"} 455 }, 456 "HostName":{ 457 "type":"string", 458 "max":64, 459 "min":1, 460 "pattern":".*" 461 }, 462 "HostStatus":{ 463 "type":"string", 464 "max":64, 465 "min":1, 466 "pattern":".*" 467 }, 468 "HostStatusMessage":{"type":"string"}, 469 "LimitExceededException":{ 470 "type":"structure", 471 "members":{ 472 "Message":{"shape":"ErrorMessage"} 473 }, 474 "documentation":"<p>Exceeded the maximum limit for connections.</p>", 475 "exception":true 476 }, 477 "ListConnectionsInput":{ 478 "type":"structure", 479 "members":{ 480 "ProviderTypeFilter":{ 481 "shape":"ProviderType", 482 "documentation":"<p>Filters the list of connections to those associated with a specified provider, such as Bitbucket.</p>" 483 }, 484 "HostArnFilter":{ 485 "shape":"HostArn", 486 "documentation":"<p>Filters the list of connections to those associated with a specified host.</p>" 487 }, 488 "MaxResults":{ 489 "shape":"MaxResults", 490 "documentation":"<p>The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>" 491 }, 492 "NextToken":{ 493 "shape":"NextToken", 494 "documentation":"<p>The token that was returned from the previous <code>ListConnections</code> call, which can be used to return the next set of connections in the list.</p>" 495 } 496 } 497 }, 498 "ListConnectionsOutput":{ 499 "type":"structure", 500 "members":{ 501 "Connections":{ 502 "shape":"ConnectionList", 503 "documentation":"<p>A list of connections and the details for each connection, such as status, owner, and provider type.</p>" 504 }, 505 "NextToken":{ 506 "shape":"NextToken", 507 "documentation":"<p>A token that can be used in the next <code>ListConnections</code> call. To view all items in the list, continue to call this operation with each subsequent token until no more <code>nextToken</code> values are returned.</p>" 508 } 509 } 510 }, 511 "ListHostsInput":{ 512 "type":"structure", 513 "members":{ 514 "MaxResults":{ 515 "shape":"MaxResults", 516 "documentation":"<p>The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>" 517 }, 518 "NextToken":{ 519 "shape":"NextToken", 520 "documentation":"<p>The token that was returned from the previous <code>ListHosts</code> call, which can be used to return the next set of hosts in the list.</p>" 521 } 522 } 523 }, 524 "ListHostsOutput":{ 525 "type":"structure", 526 "members":{ 527 "Hosts":{ 528 "shape":"HostList", 529 "documentation":"<p>A list of hosts and the details for each host, such as status, endpoint, and provider type.</p>" 530 }, 531 "NextToken":{ 532 "shape":"NextToken", 533 "documentation":"<p>A token that can be used in the next <code>ListHosts</code> call. To view all items in the list, continue to call this operation with each subsequent token until no more <code>nextToken</code> values are returned.</p>" 534 } 535 } 536 }, 537 "ListTagsForResourceInput":{ 538 "type":"structure", 539 "required":["ResourceArn"], 540 "members":{ 541 "ResourceArn":{ 542 "shape":"AmazonResourceName", 543 "documentation":"<p>The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any.</p>" 544 } 545 } 546 }, 547 "ListTagsForResourceOutput":{ 548 "type":"structure", 549 "members":{ 550 "Tags":{ 551 "shape":"TagList", 552 "documentation":"<p>A list of tag key and value pairs associated with the specified resource.</p>" 553 } 554 } 555 }, 556 "MaxResults":{ 557 "type":"integer", 558 "max":100, 559 "min":0 560 }, 561 "NextToken":{ 562 "type":"string", 563 "max":1024, 564 "min":1, 565 "pattern":".*" 566 }, 567 "ProviderType":{ 568 "type":"string", 569 "enum":[ 570 "Bitbucket", 571 "GitHub", 572 "GitHubEnterpriseServer" 573 ] 574 }, 575 "ResourceNotFoundException":{ 576 "type":"structure", 577 "members":{ 578 "Message":{"shape":"ErrorMessage"} 579 }, 580 "documentation":"<p>Resource not found. Verify the connection resource ARN and try again.</p>", 581 "exception":true 582 }, 583 "ResourceUnavailableException":{ 584 "type":"structure", 585 "members":{ 586 "Message":{"shape":"ErrorMessage"} 587 }, 588 "documentation":"<p>Resource not found. Verify the ARN for the host resource and try again.</p>", 589 "exception":true 590 }, 591 "SecurityGroupId":{ 592 "type":"string", 593 "max":20, 594 "min":11, 595 "pattern":"sg-\\w{8}(\\w{9})?" 596 }, 597 "SecurityGroupIds":{ 598 "type":"list", 599 "member":{"shape":"SecurityGroupId"}, 600 "max":10, 601 "min":1 602 }, 603 "SubnetId":{ 604 "type":"string", 605 "max":24, 606 "min":15, 607 "pattern":"subnet-\\w{8}(\\w{9})?" 608 }, 609 "SubnetIds":{ 610 "type":"list", 611 "member":{"shape":"SubnetId"}, 612 "max":10, 613 "min":1 614 }, 615 "Tag":{ 616 "type":"structure", 617 "required":[ 618 "Key", 619 "Value" 620 ], 621 "members":{ 622 "Key":{ 623 "shape":"TagKey", 624 "documentation":"<p>The tag's key.</p>" 625 }, 626 "Value":{ 627 "shape":"TagValue", 628 "documentation":"<p>The tag's value.</p>" 629 } 630 }, 631 "documentation":"<p>A tag is a key-value pair that is used to manage the resource.</p> <p>This tag is available for use by AWS services that support tags.</p>" 632 }, 633 "TagKey":{ 634 "type":"string", 635 "max":128, 636 "min":1, 637 "pattern":".*" 638 }, 639 "TagKeyList":{ 640 "type":"list", 641 "member":{"shape":"TagKey"}, 642 "max":200, 643 "min":0 644 }, 645 "TagList":{ 646 "type":"list", 647 "member":{"shape":"Tag"}, 648 "max":200, 649 "min":0 650 }, 651 "TagResourceInput":{ 652 "type":"structure", 653 "required":[ 654 "ResourceArn", 655 "Tags" 656 ], 657 "members":{ 658 "ResourceArn":{ 659 "shape":"AmazonResourceName", 660 "documentation":"<p>The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.</p>" 661 }, 662 "Tags":{ 663 "shape":"TagList", 664 "documentation":"<p>The tags you want to modify or add to the resource.</p>" 665 } 666 } 667 }, 668 "TagResourceOutput":{ 669 "type":"structure", 670 "members":{ 671 } 672 }, 673 "TagValue":{ 674 "type":"string", 675 "max":256, 676 "min":0, 677 "pattern":".*" 678 }, 679 "TlsCertificate":{ 680 "type":"string", 681 "max":16384, 682 "min":1, 683 "pattern":"[\\s\\S]*" 684 }, 685 "UnsupportedOperationException":{ 686 "type":"structure", 687 "members":{ 688 "Message":{"shape":"ErrorMessage"} 689 }, 690 "documentation":"<p>The operation is not supported. Check the connection status and try again.</p>", 691 "exception":true 692 }, 693 "UntagResourceInput":{ 694 "type":"structure", 695 "required":[ 696 "ResourceArn", 697 "TagKeys" 698 ], 699 "members":{ 700 "ResourceArn":{ 701 "shape":"AmazonResourceName", 702 "documentation":"<p>The Amazon Resource Name (ARN) of the resource to remove tags from.</p>" 703 }, 704 "TagKeys":{ 705 "shape":"TagKeyList", 706 "documentation":"<p>The list of keys for the tags to be removed from the resource.</p>" 707 } 708 } 709 }, 710 "UntagResourceOutput":{ 711 "type":"structure", 712 "members":{ 713 } 714 }, 715 "UpdateHostInput":{ 716 "type":"structure", 717 "required":["HostArn"], 718 "members":{ 719 "HostArn":{ 720 "shape":"HostArn", 721 "documentation":"<p>The Amazon Resource Name (ARN) of the host to be updated.</p>" 722 }, 723 "ProviderEndpoint":{ 724 "shape":"Url", 725 "documentation":"<p>The URL or endpoint of the host to be updated.</p>" 726 }, 727 "VpcConfiguration":{ 728 "shape":"VpcConfiguration", 729 "documentation":"<p>The VPC configuration of the host to be updated. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.</p>" 730 } 731 } 732 }, 733 "UpdateHostOutput":{ 734 "type":"structure", 735 "members":{ 736 } 737 }, 738 "Url":{ 739 "type":"string", 740 "max":512, 741 "min":1, 742 "pattern":".*" 743 }, 744 "VpcConfiguration":{ 745 "type":"structure", 746 "required":[ 747 "VpcId", 748 "SubnetIds", 749 "SecurityGroupIds" 750 ], 751 "members":{ 752 "VpcId":{ 753 "shape":"VpcId", 754 "documentation":"<p>The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.</p>" 755 }, 756 "SubnetIds":{ 757 "shape":"SubnetIds", 758 "documentation":"<p>The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.</p>" 759 }, 760 "SecurityGroupIds":{ 761 "shape":"SecurityGroupIds", 762 "documentation":"<p>The ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.</p>" 763 }, 764 "TlsCertificate":{ 765 "shape":"TlsCertificate", 766 "documentation":"<p>The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.</p>" 767 } 768 }, 769 "documentation":"<p>The VPC configuration provisioned for the host.</p>" 770 }, 771 "VpcId":{ 772 "type":"string", 773 "max":21, 774 "min":12, 775 "pattern":"vpc-\\w{8}(\\w{9})?" 776 } 777 }, 778 "documentation":"<fullname>AWS CodeStar Connections</fullname> <p>This AWS CodeStar Connections API Reference provides descriptions and usage examples of the operations and data types for the AWS CodeStar Connections API. You can use the connections API to work with connections and installations.</p> <p> <i>Connections</i> are configurations that you use to connect AWS resources to external code repositories. Each connection is a resource that can be given to services such as CodePipeline to connect to a third-party repository such as Bitbucket. For example, you can add the connection in CodePipeline so that it triggers your pipeline when a code change is made to your third-party code repository. Each connection is named and associated with a unique ARN that is used to reference the connection.</p> <p>When you create a connection, the console initiates a third-party connection handshake. <i>Installations</i> are the apps that are used to conduct this handshake. For example, the installation for the Bitbucket provider type is the Bitbucket app. When you create a connection, you can choose an existing installation or create one.</p> <p>When you want to create a connection to an installed provider type such as GitHub Enterprise Server, you create a <i>host</i> for your connections.</p> <p>You can work with connections by calling:</p> <ul> <li> <p> <a>CreateConnection</a>, which creates a uniquely named connection that can be referenced by services such as CodePipeline.</p> </li> <li> <p> <a>DeleteConnection</a>, which deletes the specified connection.</p> </li> <li> <p> <a>GetConnection</a>, which returns information about the connection, including the connection status.</p> </li> <li> <p> <a>ListConnections</a>, which lists the connections associated with your account.</p> </li> </ul> <p>You can work with hosts by calling:</p> <ul> <li> <p> <a>CreateHost</a>, which creates a host that represents the infrastructure where your provider is installed.</p> </li> <li> <p> <a>DeleteHost</a>, which deletes the specified host.</p> </li> <li> <p> <a>GetHost</a>, which returns information about the host, including the setup status.</p> </li> <li> <p> <a>ListHosts</a>, which lists the hosts associated with your account.</p> </li> </ul> <p>You can work with tags in AWS CodeStar Connections by calling the following:</p> <ul> <li> <p> <a>ListTagsForResource</a>, which gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeStar Connections.</p> </li> <li> <p> <a>TagResource</a>, which adds or updates tags for a resource in AWS CodeStar Connections.</p> </li> <li> <p> <a>UntagResource</a>, which removes tags for a resource in AWS CodeStar Connections.</p> </li> </ul> <p>For information about how to use AWS CodeStar Connections, see the <a href=\"https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html\">Developer Tools User Guide</a>.</p>" 779} 780