aws-sdk-codestarconnections 1.8.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/lib/aws-sdk-codestarconnections.rb +2 -1
 - data/lib/aws-sdk-codestarconnections/client.rb +46 -9
 - data/lib/aws-sdk-codestarconnections/client_api.rb +30 -0
 - data/lib/aws-sdk-codestarconnections/errors.rb +32 -0
 - data/lib/aws-sdk-codestarconnections/types.rb +74 -5
 - metadata +4 -4
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 06fe672bce02eafad45a8d9b82dc7d19010388273f23f113c4548a586c76a192
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 9f36365a566657fe2624eebb4c3e7fb43c535baddf18c145f6db4991e6fad880
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: a799ac8485a7089150f498628d5febfaef93666bd35a0db9725977f04a909680e33c6c684c4a895c53998d17e0e8b046d458c00777faf1aae440e9d8757a15e9
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 10297d2a4c2fcd69b741e7a0f4afa9f27226acfa8718e991992991af11982b3262e5677d93452e5cee2e998c593c240b533d5d8567132cbd04c31691beb387aa
         
     | 
| 
         @@ -7,6 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
            #
         
     | 
| 
       8 
8 
     | 
    
         
             
            # WARNING ABOUT GENERATED CODE
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
       10 
11 
     | 
    
         
             
            require 'aws-sdk-core'
         
     | 
| 
       11 
12 
     | 
    
         
             
            require 'aws-sigv4'
         
     | 
| 
       12 
13 
     | 
    
         | 
| 
         @@ -47,6 +48,6 @@ require_relative 'aws-sdk-codestarconnections/customizations' 
     | 
|
| 
       47 
48 
     | 
    
         
             
            # @!group service
         
     | 
| 
       48 
49 
     | 
    
         
             
            module Aws::CodeStarconnections
         
     | 
| 
       49 
50 
     | 
    
         | 
| 
       50 
     | 
    
         
            -
              GEM_VERSION = '1. 
     | 
| 
      
 51 
     | 
    
         
            +
              GEM_VERSION = '1.13.0'
         
     | 
| 
       51 
52 
     | 
    
         | 
| 
       52 
53 
     | 
    
         
             
            end
         
     | 
| 
         @@ -344,7 +344,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       344 
344 
     | 
    
         
             
                #
         
     | 
| 
       345 
345 
     | 
    
         
             
                # @option params [String] :provider_type
         
     | 
| 
       346 
346 
     | 
    
         
             
                #   The name of the external provider where your third-party code
         
     | 
| 
       347 
     | 
    
         
            -
                #   repository is configured. 
     | 
| 
      
 347 
     | 
    
         
            +
                #   repository is configured.
         
     | 
| 
       348 
348 
     | 
    
         
             
                #
         
     | 
| 
       349 
349 
     | 
    
         
             
                # @option params [required, String] :connection_name
         
     | 
| 
       350 
350 
     | 
    
         
             
                #   The name of the connection to be created. The name must be unique in
         
     | 
| 
         @@ -365,7 +365,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       365 
365 
     | 
    
         
             
                # @example Request syntax with placeholder values
         
     | 
| 
       366 
366 
     | 
    
         
             
                #
         
     | 
| 
       367 
367 
     | 
    
         
             
                #   resp = client.create_connection({
         
     | 
| 
       368 
     | 
    
         
            -
                #     provider_type: "Bitbucket", # accepts Bitbucket, GitHubEnterpriseServer
         
     | 
| 
      
 368 
     | 
    
         
            +
                #     provider_type: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
         
     | 
| 
       369 
369 
     | 
    
         
             
                #     connection_name: "ConnectionName", # required
         
     | 
| 
       370 
370 
     | 
    
         
             
                #     tags: [
         
     | 
| 
       371 
371 
     | 
    
         
             
                #       {
         
     | 
| 
         @@ -431,7 +431,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       431 
431 
     | 
    
         
             
                #
         
     | 
| 
       432 
432 
     | 
    
         
             
                #   resp = client.create_host({
         
     | 
| 
       433 
433 
     | 
    
         
             
                #     name: "HostName", # required
         
     | 
| 
       434 
     | 
    
         
            -
                #     provider_type: "Bitbucket", # required, accepts Bitbucket, GitHubEnterpriseServer
         
     | 
| 
      
 434 
     | 
    
         
            +
                #     provider_type: "Bitbucket", # required, accepts Bitbucket, GitHub, GitHubEnterpriseServer
         
     | 
| 
       435 
435 
     | 
    
         
             
                #     provider_endpoint: "Url", # required
         
     | 
| 
       436 
436 
     | 
    
         
             
                #     vpc_configuration: {
         
     | 
| 
       437 
437 
     | 
    
         
             
                #       vpc_id: "VpcId", # required
         
     | 
| 
         @@ -528,7 +528,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       528 
528 
     | 
    
         
             
                #
         
     | 
| 
       529 
529 
     | 
    
         
             
                #   resp.connection.connection_name #=> String
         
     | 
| 
       530 
530 
     | 
    
         
             
                #   resp.connection.connection_arn #=> String
         
     | 
| 
       531 
     | 
    
         
            -
                #   resp.connection.provider_type #=> String, one of "Bitbucket", "GitHubEnterpriseServer"
         
     | 
| 
      
 531 
     | 
    
         
            +
                #   resp.connection.provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
         
     | 
| 
       532 
532 
     | 
    
         
             
                #   resp.connection.owner_account_id #=> String
         
     | 
| 
       533 
533 
     | 
    
         
             
                #   resp.connection.connection_status #=> String, one of "PENDING", "AVAILABLE", "ERROR"
         
     | 
| 
       534 
534 
     | 
    
         
             
                #   resp.connection.host_arn #=> String
         
     | 
| 
         @@ -566,7 +566,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       566 
566 
     | 
    
         
             
                #
         
     | 
| 
       567 
567 
     | 
    
         
             
                #   resp.name #=> String
         
     | 
| 
       568 
568 
     | 
    
         
             
                #   resp.status #=> String
         
     | 
| 
       569 
     | 
    
         
            -
                #   resp.provider_type #=> String, one of "Bitbucket", "GitHubEnterpriseServer"
         
     | 
| 
      
 569 
     | 
    
         
            +
                #   resp.provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
         
     | 
| 
       570 
570 
     | 
    
         
             
                #   resp.provider_endpoint #=> String
         
     | 
| 
       571 
571 
     | 
    
         
             
                #   resp.vpc_configuration.vpc_id #=> String
         
     | 
| 
       572 
572 
     | 
    
         
             
                #   resp.vpc_configuration.subnet_ids #=> Array
         
     | 
| 
         @@ -613,7 +613,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       613 
613 
     | 
    
         
             
                # @example Request syntax with placeholder values
         
     | 
| 
       614 
614 
     | 
    
         
             
                #
         
     | 
| 
       615 
615 
     | 
    
         
             
                #   resp = client.list_connections({
         
     | 
| 
       616 
     | 
    
         
            -
                #     provider_type_filter: "Bitbucket", # accepts Bitbucket, GitHubEnterpriseServer
         
     | 
| 
      
 616 
     | 
    
         
            +
                #     provider_type_filter: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
         
     | 
| 
       617 
617 
     | 
    
         
             
                #     host_arn_filter: "HostArn",
         
     | 
| 
       618 
618 
     | 
    
         
             
                #     max_results: 1,
         
     | 
| 
       619 
619 
     | 
    
         
             
                #     next_token: "NextToken",
         
     | 
| 
         @@ -624,7 +624,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       624 
624 
     | 
    
         
             
                #   resp.connections #=> Array
         
     | 
| 
       625 
625 
     | 
    
         
             
                #   resp.connections[0].connection_name #=> String
         
     | 
| 
       626 
626 
     | 
    
         
             
                #   resp.connections[0].connection_arn #=> String
         
     | 
| 
       627 
     | 
    
         
            -
                #   resp.connections[0].provider_type #=> String, one of "Bitbucket", "GitHubEnterpriseServer"
         
     | 
| 
      
 627 
     | 
    
         
            +
                #   resp.connections[0].provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
         
     | 
| 
       628 
628 
     | 
    
         
             
                #   resp.connections[0].owner_account_id #=> String
         
     | 
| 
       629 
629 
     | 
    
         
             
                #   resp.connections[0].connection_status #=> String, one of "PENDING", "AVAILABLE", "ERROR"
         
     | 
| 
       630 
630 
     | 
    
         
             
                #   resp.connections[0].host_arn #=> String
         
     | 
| 
         @@ -669,7 +669,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       669 
669 
     | 
    
         
             
                #   resp.hosts #=> Array
         
     | 
| 
       670 
670 
     | 
    
         
             
                #   resp.hosts[0].name #=> String
         
     | 
| 
       671 
671 
     | 
    
         
             
                #   resp.hosts[0].host_arn #=> String
         
     | 
| 
       672 
     | 
    
         
            -
                #   resp.hosts[0].provider_type #=> String, one of "Bitbucket", "GitHubEnterpriseServer"
         
     | 
| 
      
 672 
     | 
    
         
            +
                #   resp.hosts[0].provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
         
     | 
| 
       673 
673 
     | 
    
         
             
                #   resp.hosts[0].provider_endpoint #=> String
         
     | 
| 
       674 
674 
     | 
    
         
             
                #   resp.hosts[0].vpc_configuration.vpc_id #=> String
         
     | 
| 
       675 
675 
     | 
    
         
             
                #   resp.hosts[0].vpc_configuration.subnet_ids #=> Array
         
     | 
| 
         @@ -781,6 +781,43 @@ module Aws::CodeStarconnections 
     | 
|
| 
       781 
781 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       782 
782 
     | 
    
         
             
                end
         
     | 
| 
       783 
783 
     | 
    
         | 
| 
      
 784 
     | 
    
         
            +
                # Updates a specified host with the provided configurations.
         
     | 
| 
      
 785 
     | 
    
         
            +
                #
         
     | 
| 
      
 786 
     | 
    
         
            +
                # @option params [required, String] :host_arn
         
     | 
| 
      
 787 
     | 
    
         
            +
                #   The Amazon Resource Name (ARN) of the host to be updated.
         
     | 
| 
      
 788 
     | 
    
         
            +
                #
         
     | 
| 
      
 789 
     | 
    
         
            +
                # @option params [String] :provider_endpoint
         
     | 
| 
      
 790 
     | 
    
         
            +
                #   The URL or endpoint of the host to be updated.
         
     | 
| 
      
 791 
     | 
    
         
            +
                #
         
     | 
| 
      
 792 
     | 
    
         
            +
                # @option params [Types::VpcConfiguration] :vpc_configuration
         
     | 
| 
      
 793 
     | 
    
         
            +
                #   The VPC configuration of the host to be updated. A VPC must be
         
     | 
| 
      
 794 
     | 
    
         
            +
                #   configured and the infrastructure to be represented by the host must
         
     | 
| 
      
 795 
     | 
    
         
            +
                #   already be connected to the VPC.
         
     | 
| 
      
 796 
     | 
    
         
            +
                #
         
     | 
| 
      
 797 
     | 
    
         
            +
                # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
         
     | 
| 
      
 798 
     | 
    
         
            +
                #
         
     | 
| 
      
 799 
     | 
    
         
            +
                # @example Request syntax with placeholder values
         
     | 
| 
      
 800 
     | 
    
         
            +
                #
         
     | 
| 
      
 801 
     | 
    
         
            +
                #   resp = client.update_host({
         
     | 
| 
      
 802 
     | 
    
         
            +
                #     host_arn: "HostArn", # required
         
     | 
| 
      
 803 
     | 
    
         
            +
                #     provider_endpoint: "Url",
         
     | 
| 
      
 804 
     | 
    
         
            +
                #     vpc_configuration: {
         
     | 
| 
      
 805 
     | 
    
         
            +
                #       vpc_id: "VpcId", # required
         
     | 
| 
      
 806 
     | 
    
         
            +
                #       subnet_ids: ["SubnetId"], # required
         
     | 
| 
      
 807 
     | 
    
         
            +
                #       security_group_ids: ["SecurityGroupId"], # required
         
     | 
| 
      
 808 
     | 
    
         
            +
                #       tls_certificate: "TlsCertificate",
         
     | 
| 
      
 809 
     | 
    
         
            +
                #     },
         
     | 
| 
      
 810 
     | 
    
         
            +
                #   })
         
     | 
| 
      
 811 
     | 
    
         
            +
                #
         
     | 
| 
      
 812 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateHost AWS API Documentation
         
     | 
| 
      
 813 
     | 
    
         
            +
                #
         
     | 
| 
      
 814 
     | 
    
         
            +
                # @overload update_host(params = {})
         
     | 
| 
      
 815 
     | 
    
         
            +
                # @param [Hash] params ({})
         
     | 
| 
      
 816 
     | 
    
         
            +
                def update_host(params = {}, options = {})
         
     | 
| 
      
 817 
     | 
    
         
            +
                  req = build_request(:update_host, params)
         
     | 
| 
      
 818 
     | 
    
         
            +
                  req.send_request(options)
         
     | 
| 
      
 819 
     | 
    
         
            +
                end
         
     | 
| 
      
 820 
     | 
    
         
            +
             
     | 
| 
       784 
821 
     | 
    
         
             
                # @!endgroup
         
     | 
| 
       785 
822 
     | 
    
         | 
| 
       786 
823 
     | 
    
         
             
                # @param params ({})
         
     | 
| 
         @@ -794,7 +831,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       794 
831 
     | 
    
         
             
                    params: params,
         
     | 
| 
       795 
832 
     | 
    
         
             
                    config: config)
         
     | 
| 
       796 
833 
     | 
    
         
             
                  context[:gem_name] = 'aws-sdk-codestarconnections'
         
     | 
| 
       797 
     | 
    
         
            -
                  context[:gem_version] = '1. 
     | 
| 
      
 834 
     | 
    
         
            +
                  context[:gem_version] = '1.13.0'
         
     | 
| 
       798 
835 
     | 
    
         
             
                  Seahorse::Client::Request.new(handlers, context)
         
     | 
| 
       799 
836 
     | 
    
         
             
                end
         
     | 
| 
       800 
837 
     | 
    
         | 
| 
         @@ -15,6 +15,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
                AccountId = Shapes::StringShape.new(name: 'AccountId')
         
     | 
| 
       17 
17 
     | 
    
         
             
                AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
         
     | 
| 
      
 18 
     | 
    
         
            +
                ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
         
     | 
| 
       18 
19 
     | 
    
         
             
                Connection = Shapes::StructureShape.new(name: 'Connection')
         
     | 
| 
       19 
20 
     | 
    
         
             
                ConnectionArn = Shapes::StringShape.new(name: 'ConnectionArn')
         
     | 
| 
       20 
21 
     | 
    
         
             
                ConnectionList = Shapes::ListShape.new(name: 'ConnectionList')
         
     | 
| 
         @@ -63,12 +64,18 @@ module Aws::CodeStarconnections 
     | 
|
| 
       63 
64 
     | 
    
         
             
                TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
         
     | 
| 
       64 
65 
     | 
    
         
             
                TagValue = Shapes::StringShape.new(name: 'TagValue')
         
     | 
| 
       65 
66 
     | 
    
         
             
                TlsCertificate = Shapes::StringShape.new(name: 'TlsCertificate')
         
     | 
| 
      
 67 
     | 
    
         
            +
                UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
         
     | 
| 
       66 
68 
     | 
    
         
             
                UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
         
     | 
| 
       67 
69 
     | 
    
         
             
                UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
         
     | 
| 
      
 70 
     | 
    
         
            +
                UpdateHostInput = Shapes::StructureShape.new(name: 'UpdateHostInput')
         
     | 
| 
      
 71 
     | 
    
         
            +
                UpdateHostOutput = Shapes::StructureShape.new(name: 'UpdateHostOutput')
         
     | 
| 
       68 
72 
     | 
    
         
             
                Url = Shapes::StringShape.new(name: 'Url')
         
     | 
| 
       69 
73 
     | 
    
         
             
                VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
         
     | 
| 
       70 
74 
     | 
    
         
             
                VpcId = Shapes::StringShape.new(name: 'VpcId')
         
     | 
| 
       71 
75 
     | 
    
         | 
| 
      
 76 
     | 
    
         
            +
                ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
         
     | 
| 
      
 77 
     | 
    
         
            +
                ConflictException.struct_class = Types::ConflictException
         
     | 
| 
      
 78 
     | 
    
         
            +
             
     | 
| 
       72 
79 
     | 
    
         
             
                Connection.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "ConnectionName"))
         
     | 
| 
       73 
80 
     | 
    
         
             
                Connection.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
         
     | 
| 
       74 
81 
     | 
    
         
             
                Connection.add_member(:provider_type, Shapes::ShapeRef.new(shape: ProviderType, location_name: "ProviderType"))
         
     | 
| 
         @@ -186,12 +193,22 @@ module Aws::CodeStarconnections 
     | 
|
| 
       186 
193 
     | 
    
         | 
| 
       187 
194 
     | 
    
         
             
                TagResourceOutput.struct_class = Types::TagResourceOutput
         
     | 
| 
       188 
195 
     | 
    
         | 
| 
      
 196 
     | 
    
         
            +
                UnsupportedOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
         
     | 
| 
      
 197 
     | 
    
         
            +
                UnsupportedOperationException.struct_class = Types::UnsupportedOperationException
         
     | 
| 
      
 198 
     | 
    
         
            +
             
     | 
| 
       189 
199 
     | 
    
         
             
                UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceArn"))
         
     | 
| 
       190 
200 
     | 
    
         
             
                UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
         
     | 
| 
       191 
201 
     | 
    
         
             
                UntagResourceInput.struct_class = Types::UntagResourceInput
         
     | 
| 
       192 
202 
     | 
    
         | 
| 
       193 
203 
     | 
    
         
             
                UntagResourceOutput.struct_class = Types::UntagResourceOutput
         
     | 
| 
       194 
204 
     | 
    
         | 
| 
      
 205 
     | 
    
         
            +
                UpdateHostInput.add_member(:host_arn, Shapes::ShapeRef.new(shape: HostArn, required: true, location_name: "HostArn"))
         
     | 
| 
      
 206 
     | 
    
         
            +
                UpdateHostInput.add_member(:provider_endpoint, Shapes::ShapeRef.new(shape: Url, location_name: "ProviderEndpoint"))
         
     | 
| 
      
 207 
     | 
    
         
            +
                UpdateHostInput.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "VpcConfiguration"))
         
     | 
| 
      
 208 
     | 
    
         
            +
                UpdateHostInput.struct_class = Types::UpdateHostInput
         
     | 
| 
      
 209 
     | 
    
         
            +
             
     | 
| 
      
 210 
     | 
    
         
            +
                UpdateHostOutput.struct_class = Types::UpdateHostOutput
         
     | 
| 
      
 211 
     | 
    
         
            +
             
     | 
| 
       195 
212 
     | 
    
         
             
                VpcConfiguration.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
         
     | 
| 
       196 
213 
     | 
    
         
             
                VpcConfiguration.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
         
     | 
| 
       197 
214 
     | 
    
         
             
                VpcConfiguration.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "SecurityGroupIds"))
         
     | 
| 
         @@ -273,6 +290,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       273 
290 
     | 
    
         
             
                    o.input = Shapes::ShapeRef.new(shape: GetHostInput)
         
     | 
| 
       274 
291 
     | 
    
         
             
                    o.output = Shapes::ShapeRef.new(shape: GetHostOutput)
         
     | 
| 
       275 
292 
     | 
    
         
             
                    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
         
     | 
| 
      
 293 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
         
     | 
| 
       276 
294 
     | 
    
         
             
                  end)
         
     | 
| 
       277 
295 
     | 
    
         | 
| 
       278 
296 
     | 
    
         
             
                  api.add_operation(:list_connections, Seahorse::Model::Operation.new.tap do |o|
         
     | 
| 
         @@ -330,6 +348,18 @@ module Aws::CodeStarconnections 
     | 
|
| 
       330 
348 
     | 
    
         
             
                    o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
         
     | 
| 
       331 
349 
     | 
    
         
             
                    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
         
     | 
| 
       332 
350 
     | 
    
         
             
                  end)
         
     | 
| 
      
 351 
     | 
    
         
            +
             
     | 
| 
      
 352 
     | 
    
         
            +
                  api.add_operation(:update_host, Seahorse::Model::Operation.new.tap do |o|
         
     | 
| 
      
 353 
     | 
    
         
            +
                    o.name = "UpdateHost"
         
     | 
| 
      
 354 
     | 
    
         
            +
                    o.http_method = "POST"
         
     | 
| 
      
 355 
     | 
    
         
            +
                    o.http_request_uri = "/"
         
     | 
| 
      
 356 
     | 
    
         
            +
                    o.input = Shapes::ShapeRef.new(shape: UpdateHostInput)
         
     | 
| 
      
 357 
     | 
    
         
            +
                    o.output = Shapes::ShapeRef.new(shape: UpdateHostOutput)
         
     | 
| 
      
 358 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
         
     | 
| 
      
 359 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
         
     | 
| 
      
 360 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
         
     | 
| 
      
 361 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
         
     | 
| 
      
 362 
     | 
    
         
            +
                  end)
         
     | 
| 
       333 
363 
     | 
    
         
             
                end
         
     | 
| 
       334 
364 
     | 
    
         | 
| 
       335 
365 
     | 
    
         
             
              end
         
     | 
| 
         @@ -27,9 +27,11 @@ module Aws::CodeStarconnections 
     | 
|
| 
       27 
27 
     | 
    
         
             
              # See {Seahorse::Client::RequestContext} for more information.
         
     | 
| 
       28 
28 
     | 
    
         
             
              #
         
     | 
| 
       29 
29 
     | 
    
         
             
              # ## Error Classes
         
     | 
| 
      
 30 
     | 
    
         
            +
              # * {ConflictException}
         
     | 
| 
       30 
31 
     | 
    
         
             
              # * {LimitExceededException}
         
     | 
| 
       31 
32 
     | 
    
         
             
              # * {ResourceNotFoundException}
         
     | 
| 
       32 
33 
     | 
    
         
             
              # * {ResourceUnavailableException}
         
     | 
| 
      
 34 
     | 
    
         
            +
              # * {UnsupportedOperationException}
         
     | 
| 
       33 
35 
     | 
    
         
             
              #
         
     | 
| 
       34 
36 
     | 
    
         
             
              # Additionally, error classes are dynamically generated for service errors based on the error code
         
     | 
| 
       35 
37 
     | 
    
         
             
              # if they are not defined above.
         
     | 
| 
         @@ -37,6 +39,21 @@ module Aws::CodeStarconnections 
     | 
|
| 
       37 
39 
     | 
    
         | 
| 
       38 
40 
     | 
    
         
             
                extend Aws::Errors::DynamicErrors
         
     | 
| 
       39 
41 
     | 
    
         | 
| 
      
 42 
     | 
    
         
            +
                class ConflictException < ServiceError
         
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
                  # @param [Seahorse::Client::RequestContext] context
         
     | 
| 
      
 45 
     | 
    
         
            +
                  # @param [String] message
         
     | 
| 
      
 46 
     | 
    
         
            +
                  # @param [Aws::CodeStarconnections::Types::ConflictException] data
         
     | 
| 
      
 47 
     | 
    
         
            +
                  def initialize(context, message, data = Aws::EmptyStructure.new)
         
     | 
| 
      
 48 
     | 
    
         
            +
                    super(context, message, data)
         
     | 
| 
      
 49 
     | 
    
         
            +
                  end
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
                  # @return [String]
         
     | 
| 
      
 52 
     | 
    
         
            +
                  def message
         
     | 
| 
      
 53 
     | 
    
         
            +
                    @message || @data[:message]
         
     | 
| 
      
 54 
     | 
    
         
            +
                  end
         
     | 
| 
      
 55 
     | 
    
         
            +
                end
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
       40 
57 
     | 
    
         
             
                class LimitExceededException < ServiceError
         
     | 
| 
       41 
58 
     | 
    
         | 
| 
       42 
59 
     | 
    
         
             
                  # @param [Seahorse::Client::RequestContext] context
         
     | 
| 
         @@ -82,5 +99,20 @@ module Aws::CodeStarconnections 
     | 
|
| 
       82 
99 
     | 
    
         
             
                  end
         
     | 
| 
       83 
100 
     | 
    
         
             
                end
         
     | 
| 
       84 
101 
     | 
    
         | 
| 
      
 102 
     | 
    
         
            +
                class UnsupportedOperationException < ServiceError
         
     | 
| 
      
 103 
     | 
    
         
            +
             
     | 
| 
      
 104 
     | 
    
         
            +
                  # @param [Seahorse::Client::RequestContext] context
         
     | 
| 
      
 105 
     | 
    
         
            +
                  # @param [String] message
         
     | 
| 
      
 106 
     | 
    
         
            +
                  # @param [Aws::CodeStarconnections::Types::UnsupportedOperationException] data
         
     | 
| 
      
 107 
     | 
    
         
            +
                  def initialize(context, message, data = Aws::EmptyStructure.new)
         
     | 
| 
      
 108 
     | 
    
         
            +
                    super(context, message, data)
         
     | 
| 
      
 109 
     | 
    
         
            +
                  end
         
     | 
| 
      
 110 
     | 
    
         
            +
             
     | 
| 
      
 111 
     | 
    
         
            +
                  # @return [String]
         
     | 
| 
      
 112 
     | 
    
         
            +
                  def message
         
     | 
| 
      
 113 
     | 
    
         
            +
                    @message || @data[:message]
         
     | 
| 
      
 114 
     | 
    
         
            +
                  end
         
     | 
| 
      
 115 
     | 
    
         
            +
                end
         
     | 
| 
      
 116 
     | 
    
         
            +
             
     | 
| 
       85 
117 
     | 
    
         
             
              end
         
     | 
| 
       86 
118 
     | 
    
         
             
            end
         
     | 
| 
         @@ -10,6 +10,19 @@ 
     | 
|
| 
       10 
10 
     | 
    
         
             
            module Aws::CodeStarconnections
         
     | 
| 
       11 
11 
     | 
    
         
             
              module Types
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
      
 13 
     | 
    
         
            +
                # Two conflicting operations have been made on the same resource.
         
     | 
| 
      
 14 
     | 
    
         
            +
                #
         
     | 
| 
      
 15 
     | 
    
         
            +
                # @!attribute [rw] message
         
     | 
| 
      
 16 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 17 
     | 
    
         
            +
                #
         
     | 
| 
      
 18 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ConflictException AWS API Documentation
         
     | 
| 
      
 19 
     | 
    
         
            +
                #
         
     | 
| 
      
 20 
     | 
    
         
            +
                class ConflictException < Struct.new(
         
     | 
| 
      
 21 
     | 
    
         
            +
                  :message)
         
     | 
| 
      
 22 
     | 
    
         
            +
                  SENSITIVE = []
         
     | 
| 
      
 23 
     | 
    
         
            +
                  include Aws::Structure
         
     | 
| 
      
 24 
     | 
    
         
            +
                end
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
       13 
26 
     | 
    
         
             
                # A resource that is used to connect third-party source providers with
         
     | 
| 
       14 
27 
     | 
    
         
             
                # services like AWS CodePipeline.
         
     | 
| 
       15 
28 
     | 
    
         
             
                #
         
     | 
| 
         @@ -34,7 +47,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       34 
47 
     | 
    
         
             
                #
         
     | 
| 
       35 
48 
     | 
    
         
             
                # @!attribute [rw] provider_type
         
     | 
| 
       36 
49 
     | 
    
         
             
                #   The name of the external provider where your third-party code
         
     | 
| 
       37 
     | 
    
         
            -
                #   repository is configured. 
     | 
| 
      
 50 
     | 
    
         
            +
                #   repository is configured.
         
     | 
| 
       38 
51 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       39 
52 
     | 
    
         
             
                #
         
     | 
| 
       40 
53 
     | 
    
         
             
                # @!attribute [rw] owner_account_id
         
     | 
| 
         @@ -69,7 +82,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       69 
82 
     | 
    
         
             
                #   data as a hash:
         
     | 
| 
       70 
83 
     | 
    
         
             
                #
         
     | 
| 
       71 
84 
     | 
    
         
             
                #       {
         
     | 
| 
       72 
     | 
    
         
            -
                #         provider_type: "Bitbucket", # accepts Bitbucket, GitHubEnterpriseServer
         
     | 
| 
      
 85 
     | 
    
         
            +
                #         provider_type: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
         
     | 
| 
       73 
86 
     | 
    
         
             
                #         connection_name: "ConnectionName", # required
         
     | 
| 
       74 
87 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       75 
88 
     | 
    
         
             
                #           {
         
     | 
| 
         @@ -82,7 +95,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       82 
95 
     | 
    
         
             
                #
         
     | 
| 
       83 
96 
     | 
    
         
             
                # @!attribute [rw] provider_type
         
     | 
| 
       84 
97 
     | 
    
         
             
                #   The name of the external provider where your third-party code
         
     | 
| 
       85 
     | 
    
         
            -
                #   repository is configured. 
     | 
| 
      
 98 
     | 
    
         
            +
                #   repository is configured.
         
     | 
| 
       86 
99 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       87 
100 
     | 
    
         
             
                #
         
     | 
| 
       88 
101 
     | 
    
         
             
                # @!attribute [rw] connection_name
         
     | 
| 
         @@ -138,7 +151,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       138 
151 
     | 
    
         
             
                #
         
     | 
| 
       139 
152 
     | 
    
         
             
                #       {
         
     | 
| 
       140 
153 
     | 
    
         
             
                #         name: "HostName", # required
         
     | 
| 
       141 
     | 
    
         
            -
                #         provider_type: "Bitbucket", # required, accepts Bitbucket, GitHubEnterpriseServer
         
     | 
| 
      
 154 
     | 
    
         
            +
                #         provider_type: "Bitbucket", # required, accepts Bitbucket, GitHub, GitHubEnterpriseServer
         
     | 
| 
       142 
155 
     | 
    
         
             
                #         provider_endpoint: "Url", # required
         
     | 
| 
       143 
156 
     | 
    
         
             
                #         vpc_configuration: {
         
     | 
| 
       144 
157 
     | 
    
         
             
                #           vpc_id: "VpcId", # required
         
     | 
| 
         @@ -404,7 +417,7 @@ module Aws::CodeStarconnections 
     | 
|
| 
       404 
417 
     | 
    
         
             
                #   data as a hash:
         
     | 
| 
       405 
418 
     | 
    
         
             
                #
         
     | 
| 
       406 
419 
     | 
    
         
             
                #       {
         
     | 
| 
       407 
     | 
    
         
            -
                #         provider_type_filter: "Bitbucket", # accepts Bitbucket, GitHubEnterpriseServer
         
     | 
| 
      
 420 
     | 
    
         
            +
                #         provider_type_filter: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
         
     | 
| 
       408 
421 
     | 
    
         
             
                #         host_arn_filter: "HostArn",
         
     | 
| 
       409 
422 
     | 
    
         
             
                #         max_results: 1,
         
     | 
| 
       410 
423 
     | 
    
         
             
                #         next_token: "NextToken",
         
     | 
| 
         @@ -635,6 +648,20 @@ module Aws::CodeStarconnections 
     | 
|
| 
       635 
648 
     | 
    
         
             
                #
         
     | 
| 
       636 
649 
     | 
    
         
             
                class TagResourceOutput < Aws::EmptyStructure; end
         
     | 
| 
       637 
650 
     | 
    
         | 
| 
      
 651 
     | 
    
         
            +
                # The operation is not supported. Check the connection status and try
         
     | 
| 
      
 652 
     | 
    
         
            +
                # again.
         
     | 
| 
      
 653 
     | 
    
         
            +
                #
         
     | 
| 
      
 654 
     | 
    
         
            +
                # @!attribute [rw] message
         
     | 
| 
      
 655 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 656 
     | 
    
         
            +
                #
         
     | 
| 
      
 657 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UnsupportedOperationException AWS API Documentation
         
     | 
| 
      
 658 
     | 
    
         
            +
                #
         
     | 
| 
      
 659 
     | 
    
         
            +
                class UnsupportedOperationException < Struct.new(
         
     | 
| 
      
 660 
     | 
    
         
            +
                  :message)
         
     | 
| 
      
 661 
     | 
    
         
            +
                  SENSITIVE = []
         
     | 
| 
      
 662 
     | 
    
         
            +
                  include Aws::Structure
         
     | 
| 
      
 663 
     | 
    
         
            +
                end
         
     | 
| 
      
 664 
     | 
    
         
            +
             
     | 
| 
       638 
665 
     | 
    
         
             
                # @note When making an API call, you may pass UntagResourceInput
         
     | 
| 
       639 
666 
     | 
    
         
             
                #   data as a hash:
         
     | 
| 
       640 
667 
     | 
    
         
             
                #
         
     | 
| 
         @@ -664,6 +691,48 @@ module Aws::CodeStarconnections 
     | 
|
| 
       664 
691 
     | 
    
         
             
                #
         
     | 
| 
       665 
692 
     | 
    
         
             
                class UntagResourceOutput < Aws::EmptyStructure; end
         
     | 
| 
       666 
693 
     | 
    
         | 
| 
      
 694 
     | 
    
         
            +
                # @note When making an API call, you may pass UpdateHostInput
         
     | 
| 
      
 695 
     | 
    
         
            +
                #   data as a hash:
         
     | 
| 
      
 696 
     | 
    
         
            +
                #
         
     | 
| 
      
 697 
     | 
    
         
            +
                #       {
         
     | 
| 
      
 698 
     | 
    
         
            +
                #         host_arn: "HostArn", # required
         
     | 
| 
      
 699 
     | 
    
         
            +
                #         provider_endpoint: "Url",
         
     | 
| 
      
 700 
     | 
    
         
            +
                #         vpc_configuration: {
         
     | 
| 
      
 701 
     | 
    
         
            +
                #           vpc_id: "VpcId", # required
         
     | 
| 
      
 702 
     | 
    
         
            +
                #           subnet_ids: ["SubnetId"], # required
         
     | 
| 
      
 703 
     | 
    
         
            +
                #           security_group_ids: ["SecurityGroupId"], # required
         
     | 
| 
      
 704 
     | 
    
         
            +
                #           tls_certificate: "TlsCertificate",
         
     | 
| 
      
 705 
     | 
    
         
            +
                #         },
         
     | 
| 
      
 706 
     | 
    
         
            +
                #       }
         
     | 
| 
      
 707 
     | 
    
         
            +
                #
         
     | 
| 
      
 708 
     | 
    
         
            +
                # @!attribute [rw] host_arn
         
     | 
| 
      
 709 
     | 
    
         
            +
                #   The Amazon Resource Name (ARN) of the host to be updated.
         
     | 
| 
      
 710 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 711 
     | 
    
         
            +
                #
         
     | 
| 
      
 712 
     | 
    
         
            +
                # @!attribute [rw] provider_endpoint
         
     | 
| 
      
 713 
     | 
    
         
            +
                #   The URL or endpoint of the host to be updated.
         
     | 
| 
      
 714 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 715 
     | 
    
         
            +
                #
         
     | 
| 
      
 716 
     | 
    
         
            +
                # @!attribute [rw] vpc_configuration
         
     | 
| 
      
 717 
     | 
    
         
            +
                #   The VPC configuration of the host to be updated. A VPC must be
         
     | 
| 
      
 718 
     | 
    
         
            +
                #   configured and the infrastructure to be represented by the host must
         
     | 
| 
      
 719 
     | 
    
         
            +
                #   already be connected to the VPC.
         
     | 
| 
      
 720 
     | 
    
         
            +
                #   @return [Types::VpcConfiguration]
         
     | 
| 
      
 721 
     | 
    
         
            +
                #
         
     | 
| 
      
 722 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateHostInput AWS API Documentation
         
     | 
| 
      
 723 
     | 
    
         
            +
                #
         
     | 
| 
      
 724 
     | 
    
         
            +
                class UpdateHostInput < Struct.new(
         
     | 
| 
      
 725 
     | 
    
         
            +
                  :host_arn,
         
     | 
| 
      
 726 
     | 
    
         
            +
                  :provider_endpoint,
         
     | 
| 
      
 727 
     | 
    
         
            +
                  :vpc_configuration)
         
     | 
| 
      
 728 
     | 
    
         
            +
                  SENSITIVE = []
         
     | 
| 
      
 729 
     | 
    
         
            +
                  include Aws::Structure
         
     | 
| 
      
 730 
     | 
    
         
            +
                end
         
     | 
| 
      
 731 
     | 
    
         
            +
             
     | 
| 
      
 732 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateHostOutput AWS API Documentation
         
     | 
| 
      
 733 
     | 
    
         
            +
                #
         
     | 
| 
      
 734 
     | 
    
         
            +
                class UpdateHostOutput < Aws::EmptyStructure; end
         
     | 
| 
      
 735 
     | 
    
         
            +
             
     | 
| 
       667 
736 
     | 
    
         
             
                # The VPC configuration provisioned for the host.
         
     | 
| 
       668 
737 
     | 
    
         
             
                #
         
     | 
| 
       669 
738 
     | 
    
         
             
                # @note When making an API call, you may pass VpcConfiguration
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: aws-sdk-codestarconnections
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.13.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Amazon Web Services
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2021-02-02 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: aws-sdk-core
         
     | 
| 
         @@ -19,7 +19,7 @@ dependencies: 
     | 
|
| 
       19 
19 
     | 
    
         
             
                    version: '3'
         
     | 
| 
       20 
20 
     | 
    
         
             
                - - ">="
         
     | 
| 
       21 
21 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       22 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 22 
     | 
    
         
            +
                    version: 3.112.0
         
     | 
| 
       23 
23 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       24 
24 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       25 
25 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -29,7 +29,7 @@ dependencies: 
     | 
|
| 
       29 
29 
     | 
    
         
             
                    version: '3'
         
     | 
| 
       30 
30 
     | 
    
         
             
                - - ">="
         
     | 
| 
       31 
31 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 32 
     | 
    
         
            +
                    version: 3.112.0
         
     | 
| 
       33 
33 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       34 
34 
     | 
    
         
             
              name: aws-sigv4
         
     | 
| 
       35 
35 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     |