aws-sdk-apigatewayv2 1.6.0 → 1.7.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
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: c7822b7dea1011ec6c1727cf0fe0ada1e74b5ad7
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: b944a24b7670d14af48211d9ffa5a102547f2b20
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 778e70821bd10b4f244b79af8557102b59da94b91d4750ce191d65bf0a0bb0ba4cf756dcda31f4cd8a126c1c147b63da1913f2af053cd0cc43383e8f9710b3df
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: dad182fc5b6391f75957e51f75bf0f46cf859c738377907c89fd73a426e42874f35a0f2015f9b863edbc86286f20e32afd93d5704be8d67c1ccf4431316ec95d
         
     | 
    
        data/lib/aws-sdk-apigatewayv2.rb
    CHANGED
    
    
| 
         @@ -3267,7 +3267,7 @@ module Aws::ApiGatewayV2 
     | 
|
| 
       3267 
3267 
     | 
    
         
             
                    params: params,
         
     | 
| 
       3268 
3268 
     | 
    
         
             
                    config: config)
         
     | 
| 
       3269 
3269 
     | 
    
         
             
                  context[:gem_name] = 'aws-sdk-apigatewayv2'
         
     | 
| 
       3270 
     | 
    
         
            -
                  context[:gem_version] = '1. 
     | 
| 
      
 3270 
     | 
    
         
            +
                  context[:gem_version] = '1.7.0'
         
     | 
| 
       3271 
3271 
     | 
    
         
             
                  Seahorse::Client::Request.new(handlers, context)
         
     | 
| 
       3272 
3272 
     | 
    
         
             
                end
         
     | 
| 
       3273 
3273 
     | 
    
         | 
| 
         @@ -270,6 +270,12 @@ module Aws::ApiGatewayV2 
     | 
|
| 
       270 
270 
     | 
    
         
             
                Authorizers.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
         
     | 
| 
       271 
271 
     | 
    
         
             
                Authorizers.struct_class = Types::Authorizers
         
     | 
| 
       272 
272 
     | 
    
         | 
| 
      
 273 
     | 
    
         
            +
                BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
         
     | 
| 
      
 274 
     | 
    
         
            +
                BadRequestException.struct_class = Types::BadRequestException
         
     | 
| 
      
 275 
     | 
    
         
            +
             
     | 
| 
      
 276 
     | 
    
         
            +
                ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
         
     | 
| 
      
 277 
     | 
    
         
            +
                ConflictException.struct_class = Types::ConflictException
         
     | 
| 
      
 278 
     | 
    
         
            +
             
     | 
| 
       273 
279 
     | 
    
         
             
                CreateApiInput.add_member(:api_key_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiKeySelectionExpression"))
         
     | 
| 
       274 
280 
     | 
    
         
             
                CreateApiInput.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
         
     | 
| 
       275 
281 
     | 
    
         
             
                CreateApiInput.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
         
     | 
| 
         @@ -950,6 +956,10 @@ module Aws::ApiGatewayV2 
     | 
|
| 
       950 
956 
     | 
    
         
             
                Models.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
         
     | 
| 
       951 
957 
     | 
    
         
             
                Models.struct_class = Types::Models
         
     | 
| 
       952 
958 
     | 
    
         | 
| 
      
 959 
     | 
    
         
            +
                NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
         
     | 
| 
      
 960 
     | 
    
         
            +
                NotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: __string, location_name: "resourceType"))
         
     | 
| 
      
 961 
     | 
    
         
            +
                NotFoundException.struct_class = Types::NotFoundException
         
     | 
| 
      
 962 
     | 
    
         
            +
             
     | 
| 
       953 
963 
     | 
    
         
             
                ParameterConstraints.add_member(:required, Shapes::ShapeRef.new(shape: __boolean, location_name: "required"))
         
     | 
| 
       954 
964 
     | 
    
         
             
                ParameterConstraints.struct_class = Types::ParameterConstraints
         
     | 
| 
       955 
965 
     | 
    
         | 
| 
         @@ -1025,6 +1035,10 @@ module Aws::ApiGatewayV2 
     | 
|
| 
       1025 
1035 
     | 
    
         
             
                TemplateMap.key = Shapes::ShapeRef.new(shape: __string)
         
     | 
| 
       1026 
1036 
     | 
    
         
             
                TemplateMap.value = Shapes::ShapeRef.new(shape: StringWithLengthBetween0And32K)
         
     | 
| 
       1027 
1037 
     | 
    
         | 
| 
      
 1038 
     | 
    
         
            +
                TooManyRequestsException.add_member(:limit_type, Shapes::ShapeRef.new(shape: __string, location_name: "limitType"))
         
     | 
| 
      
 1039 
     | 
    
         
            +
                TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
         
     | 
| 
      
 1040 
     | 
    
         
            +
                TooManyRequestsException.struct_class = Types::TooManyRequestsException
         
     | 
| 
      
 1041 
     | 
    
         
            +
             
     | 
| 
       1028 
1042 
     | 
    
         
             
                UpdateApiInput.add_member(:api_key_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiKeySelectionExpression"))
         
     | 
| 
       1029 
1043 
     | 
    
         
             
                UpdateApiInput.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
         
     | 
| 
       1030 
1044 
     | 
    
         
             
                UpdateApiInput.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
         
     | 
| 
         @@ -10,5 +10,79 @@ module Aws::ApiGatewayV2 
     | 
|
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
                extend Aws::Errors::DynamicErrors
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
      
 13 
     | 
    
         
            +
                class BadRequestException < ServiceError
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
                  # @param [Seahorse::Client::RequestContext] context
         
     | 
| 
      
 16 
     | 
    
         
            +
                  # @param [String] message
         
     | 
| 
      
 17 
     | 
    
         
            +
                  # @param [Aws::ApiGatewayV2::Types::BadRequestException] data
         
     | 
| 
      
 18 
     | 
    
         
            +
                  def initialize(context, message, data = Aws::EmptyStructure.new)
         
     | 
| 
      
 19 
     | 
    
         
            +
                    super(context, message, data)
         
     | 
| 
      
 20 
     | 
    
         
            +
                  end
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
                  # @return [String]
         
     | 
| 
      
 23 
     | 
    
         
            +
                  def message
         
     | 
| 
      
 24 
     | 
    
         
            +
                    @message || @data[:message]
         
     | 
| 
      
 25 
     | 
    
         
            +
                  end
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
                end
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
                class ConflictException < ServiceError
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
                  # @param [Seahorse::Client::RequestContext] context
         
     | 
| 
      
 32 
     | 
    
         
            +
                  # @param [String] message
         
     | 
| 
      
 33 
     | 
    
         
            +
                  # @param [Aws::ApiGatewayV2::Types::ConflictException] data
         
     | 
| 
      
 34 
     | 
    
         
            +
                  def initialize(context, message, data = Aws::EmptyStructure.new)
         
     | 
| 
      
 35 
     | 
    
         
            +
                    super(context, message, data)
         
     | 
| 
      
 36 
     | 
    
         
            +
                  end
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
                  # @return [String]
         
     | 
| 
      
 39 
     | 
    
         
            +
                  def message
         
     | 
| 
      
 40 
     | 
    
         
            +
                    @message || @data[:message]
         
     | 
| 
      
 41 
     | 
    
         
            +
                  end
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
                end
         
     | 
| 
      
 44 
     | 
    
         
            +
             
     | 
| 
      
 45 
     | 
    
         
            +
                class NotFoundException < ServiceError
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
                  # @param [Seahorse::Client::RequestContext] context
         
     | 
| 
      
 48 
     | 
    
         
            +
                  # @param [String] message
         
     | 
| 
      
 49 
     | 
    
         
            +
                  # @param [Aws::ApiGatewayV2::Types::NotFoundException] data
         
     | 
| 
      
 50 
     | 
    
         
            +
                  def initialize(context, message, data = Aws::EmptyStructure.new)
         
     | 
| 
      
 51 
     | 
    
         
            +
                    super(context, message, data)
         
     | 
| 
      
 52 
     | 
    
         
            +
                  end
         
     | 
| 
      
 53 
     | 
    
         
            +
             
     | 
| 
      
 54 
     | 
    
         
            +
                  # @return [String]
         
     | 
| 
      
 55 
     | 
    
         
            +
                  def message
         
     | 
| 
      
 56 
     | 
    
         
            +
                    @message || @data[:message]
         
     | 
| 
      
 57 
     | 
    
         
            +
                  end
         
     | 
| 
      
 58 
     | 
    
         
            +
             
     | 
| 
      
 59 
     | 
    
         
            +
                  # @return [String]
         
     | 
| 
      
 60 
     | 
    
         
            +
                  def resource_type
         
     | 
| 
      
 61 
     | 
    
         
            +
                    @data[:resource_type]
         
     | 
| 
      
 62 
     | 
    
         
            +
                  end
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
      
 64 
     | 
    
         
            +
                end
         
     | 
| 
      
 65 
     | 
    
         
            +
             
     | 
| 
      
 66 
     | 
    
         
            +
                class TooManyRequestsException < ServiceError
         
     | 
| 
      
 67 
     | 
    
         
            +
             
     | 
| 
      
 68 
     | 
    
         
            +
                  # @param [Seahorse::Client::RequestContext] context
         
     | 
| 
      
 69 
     | 
    
         
            +
                  # @param [String] message
         
     | 
| 
      
 70 
     | 
    
         
            +
                  # @param [Aws::ApiGatewayV2::Types::TooManyRequestsException] data
         
     | 
| 
      
 71 
     | 
    
         
            +
                  def initialize(context, message, data = Aws::EmptyStructure.new)
         
     | 
| 
      
 72 
     | 
    
         
            +
                    super(context, message, data)
         
     | 
| 
      
 73 
     | 
    
         
            +
                  end
         
     | 
| 
      
 74 
     | 
    
         
            +
             
     | 
| 
      
 75 
     | 
    
         
            +
                  # @return [String]
         
     | 
| 
      
 76 
     | 
    
         
            +
                  def limit_type
         
     | 
| 
      
 77 
     | 
    
         
            +
                    @data[:limit_type]
         
     | 
| 
      
 78 
     | 
    
         
            +
                  end
         
     | 
| 
      
 79 
     | 
    
         
            +
             
     | 
| 
      
 80 
     | 
    
         
            +
                  # @return [String]
         
     | 
| 
      
 81 
     | 
    
         
            +
                  def message
         
     | 
| 
      
 82 
     | 
    
         
            +
                    @message || @data[:message]
         
     | 
| 
      
 83 
     | 
    
         
            +
                  end
         
     | 
| 
      
 84 
     | 
    
         
            +
             
     | 
| 
      
 85 
     | 
    
         
            +
                end
         
     | 
| 
      
 86 
     | 
    
         
            +
             
     | 
| 
       13 
87 
     | 
    
         
             
              end
         
     | 
| 
       14 
88 
     | 
    
         
             
            end
         
     | 
| 
         @@ -266,6 +266,32 @@ module Aws::ApiGatewayV2 
     | 
|
| 
       266 
266 
     | 
    
         
             
                  include Aws::Structure
         
     | 
| 
       267 
267 
     | 
    
         
             
                end
         
     | 
| 
       268 
268 
     | 
    
         | 
| 
      
 269 
     | 
    
         
            +
                # The request is not valid, for example, the input is incomplete or
         
     | 
| 
      
 270 
     | 
    
         
            +
                # incorrect. See the accompanying error message for details.
         
     | 
| 
      
 271 
     | 
    
         
            +
                #
         
     | 
| 
      
 272 
     | 
    
         
            +
                # @!attribute [rw] message
         
     | 
| 
      
 273 
     | 
    
         
            +
                #   Describes the error encountered.
         
     | 
| 
      
 274 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 275 
     | 
    
         
            +
                #
         
     | 
| 
      
 276 
     | 
    
         
            +
                class BadRequestException < Struct.new(
         
     | 
| 
      
 277 
     | 
    
         
            +
                  :message)
         
     | 
| 
      
 278 
     | 
    
         
            +
                  include Aws::Structure
         
     | 
| 
      
 279 
     | 
    
         
            +
                end
         
     | 
| 
      
 280 
     | 
    
         
            +
             
     | 
| 
      
 281 
     | 
    
         
            +
                # The requested operation would cause a conflict with the current state
         
     | 
| 
      
 282 
     | 
    
         
            +
                # of a service resource associated with the request. Resolve the
         
     | 
| 
      
 283 
     | 
    
         
            +
                # conflict before retrying this request. See the accompanying error
         
     | 
| 
      
 284 
     | 
    
         
            +
                # message for details.
         
     | 
| 
      
 285 
     | 
    
         
            +
                #
         
     | 
| 
      
 286 
     | 
    
         
            +
                # @!attribute [rw] message
         
     | 
| 
      
 287 
     | 
    
         
            +
                #   Describes the error encountered.
         
     | 
| 
      
 288 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 289 
     | 
    
         
            +
                #
         
     | 
| 
      
 290 
     | 
    
         
            +
                class ConflictException < Struct.new(
         
     | 
| 
      
 291 
     | 
    
         
            +
                  :message)
         
     | 
| 
      
 292 
     | 
    
         
            +
                  include Aws::Structure
         
     | 
| 
      
 293 
     | 
    
         
            +
                end
         
     | 
| 
      
 294 
     | 
    
         
            +
             
     | 
| 
       269 
295 
     | 
    
         
             
                # Represents the input parameters for a CreateApi request.
         
     | 
| 
       270 
296 
     | 
    
         
             
                #
         
     | 
| 
       271 
297 
     | 
    
         
             
                # @!attribute [rw] api_key_selection_expression
         
     | 
| 
         @@ -4073,6 +4099,23 @@ module Aws::ApiGatewayV2 
     | 
|
| 
       4073 
4099 
     | 
    
         
             
                  include Aws::Structure
         
     | 
| 
       4074 
4100 
     | 
    
         
             
                end
         
     | 
| 
       4075 
4101 
     | 
    
         | 
| 
      
 4102 
     | 
    
         
            +
                # The resource specified in the request was not found. See the message
         
     | 
| 
      
 4103 
     | 
    
         
            +
                # field for more information.
         
     | 
| 
      
 4104 
     | 
    
         
            +
                #
         
     | 
| 
      
 4105 
     | 
    
         
            +
                # @!attribute [rw] message
         
     | 
| 
      
 4106 
     | 
    
         
            +
                #   Describes the error encountered.
         
     | 
| 
      
 4107 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 4108 
     | 
    
         
            +
                #
         
     | 
| 
      
 4109 
     | 
    
         
            +
                # @!attribute [rw] resource_type
         
     | 
| 
      
 4110 
     | 
    
         
            +
                #   The resource type.
         
     | 
| 
      
 4111 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 4112 
     | 
    
         
            +
                #
         
     | 
| 
      
 4113 
     | 
    
         
            +
                class NotFoundException < Struct.new(
         
     | 
| 
      
 4114 
     | 
    
         
            +
                  :message,
         
     | 
| 
      
 4115 
     | 
    
         
            +
                  :resource_type)
         
     | 
| 
      
 4116 
     | 
    
         
            +
                  include Aws::Structure
         
     | 
| 
      
 4117 
     | 
    
         
            +
                end
         
     | 
| 
      
 4118 
     | 
    
         
            +
             
     | 
| 
       4076 
4119 
     | 
    
         
             
                # Validation constraints imposed on parameters of a request (path, query
         
     | 
| 
       4077 
4120 
     | 
    
         
             
                # string, headers).
         
     | 
| 
       4078 
4121 
     | 
    
         
             
                #
         
     | 
| 
         @@ -4369,6 +4412,21 @@ module Aws::ApiGatewayV2 
     | 
|
| 
       4369 
4412 
     | 
    
         
             
                  include Aws::Structure
         
     | 
| 
       4370 
4413 
     | 
    
         
             
                end
         
     | 
| 
       4371 
4414 
     | 
    
         | 
| 
      
 4415 
     | 
    
         
            +
                # A limit has been exceeded. See the accompanying error message for
         
     | 
| 
      
 4416 
     | 
    
         
            +
                # details.
         
     | 
| 
      
 4417 
     | 
    
         
            +
                #
         
     | 
| 
      
 4418 
     | 
    
         
            +
                # @!attribute [rw] limit_type
         
     | 
| 
      
 4419 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 4420 
     | 
    
         
            +
                #
         
     | 
| 
      
 4421 
     | 
    
         
            +
                # @!attribute [rw] message
         
     | 
| 
      
 4422 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 4423 
     | 
    
         
            +
                #
         
     | 
| 
      
 4424 
     | 
    
         
            +
                class TooManyRequestsException < Struct.new(
         
     | 
| 
      
 4425 
     | 
    
         
            +
                  :limit_type,
         
     | 
| 
      
 4426 
     | 
    
         
            +
                  :message)
         
     | 
| 
      
 4427 
     | 
    
         
            +
                  include Aws::Structure
         
     | 
| 
      
 4428 
     | 
    
         
            +
                end
         
     | 
| 
      
 4429 
     | 
    
         
            +
             
     | 
| 
       4372 
4430 
     | 
    
         
             
                # Represents the input parameters for an UpdateApi request.
         
     | 
| 
       4373 
4431 
     | 
    
         
             
                #
         
     | 
| 
       4374 
4432 
     | 
    
         
             
                # @!attribute [rw] api_key_selection_expression
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: aws-sdk-apigatewayv2
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.7.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: 2019-05- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2019-05-21 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.53.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.53.0
         
     | 
| 
       33 
33 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       34 
34 
     | 
    
         
             
              name: aws-sigv4
         
     | 
| 
       35 
35 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     |