lib/aws-sdk-apigatewayv2/client.rb in aws-sdk-apigatewayv2-1.23.0 vs lib/aws-sdk-apigatewayv2/client.rb in aws-sdk-apigatewayv2-1.25.0

- old
+ new

@@ -83,30 +83,45 @@ # following classes: # # * `Aws::Credentials` - Used for configuring static, non-refreshing # credentials. # + # * `Aws::SharedCredentials` - Used for loading static credentials from a + # shared file, such as `~/.aws/config`. + # + # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role. + # + # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to + # assume a role after providing credentials via the web. + # + # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an + # access token generated from `aws login`. + # + # * `Aws::ProcessCredentials` - Used for loading credentials from a + # process that outputs to stdout. + # # * `Aws::InstanceProfileCredentials` - Used for loading credentials # from an EC2 IMDS on an EC2 instance. # - # * `Aws::SharedCredentials` - Used for loading credentials from a - # shared file, such as `~/.aws/config`. + # * `Aws::ECSCredentials` - Used for loading credentials from + # instances running in ECS. # - # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role. + # * `Aws::CognitoIdentityCredentials` - Used for loading credentials + # from the Cognito Identity service. # # When `:credentials` are not configured directly, the following # locations will be searched for credentials: # # * `Aws.config[:credentials]` # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options. # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'] # * `~/.aws/credentials` # * `~/.aws/config` - # * EC2 IMDS instance profile - When used by default, the timeouts are - # very aggressive. Construct and pass an instance of - # `Aws::InstanceProfileCredentails` to enable retries and extended - # timeouts. + # * EC2/ECS IMDS instance profile - When used by default, the timeouts + # are very aggressive. Construct and pass an instance of + # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to + # enable retries and extended timeouts. # # @option options [required, String] :region # The AWS region to connect to. The configured `:region` is # used to determine the service `:endpoint`. When not passed, # a default `:region` is searched for in the following locations: @@ -372,10 +387,11 @@ # A string with a length between \[1-64\]. # # @return [Types::CreateApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateApiResponse#api_endpoint #api_endpoint} => String + # * {Types::CreateApiResponse#api_gateway_managed #api_gateway_managed} => Boolean # * {Types::CreateApiResponse#api_id #api_id} => String # * {Types::CreateApiResponse#api_key_selection_expression #api_key_selection_expression} => String # * {Types::CreateApiResponse#cors_configuration #cors_configuration} => Types::Cors # * {Types::CreateApiResponse#created_date #created_date} => Time # * {Types::CreateApiResponse#description #description} => String @@ -415,10 +431,11 @@ # }) # # @example Response structure # # resp.api_endpoint #=> String + # resp.api_gateway_managed #=> Boolean # resp.api_id #=> String # resp.api_key_selection_expression #=> String # resp.cors_configuration.allow_credentials #=> Boolean # resp.cors_configuration.allow_headers #=> Array # resp.cors_configuration.allow_headers[0] #=> String @@ -724,10 +741,13 @@ # A string with a length between \[0-1024\]. # # @option params [String] :integration_method # A string with a length between \[1-64\]. # + # @option params [String] :integration_subtype + # A string with a length between \[1-128\]. + # # @option params [required, String] :integration_type # Represents an API method integration type. # # @option params [String] :integration_uri # A string representation of a URI with a length between \[1-2048\]. @@ -782,10 +802,11 @@ # * {Types::CreateIntegrationResult#credentials_arn #credentials_arn} => String # * {Types::CreateIntegrationResult#description #description} => String # * {Types::CreateIntegrationResult#integration_id #integration_id} => String # * {Types::CreateIntegrationResult#integration_method #integration_method} => String # * {Types::CreateIntegrationResult#integration_response_selection_expression #integration_response_selection_expression} => String + # * {Types::CreateIntegrationResult#integration_subtype #integration_subtype} => String # * {Types::CreateIntegrationResult#integration_type #integration_type} => String # * {Types::CreateIntegrationResult#integration_uri #integration_uri} => String # * {Types::CreateIntegrationResult#passthrough_behavior #passthrough_behavior} => String # * {Types::CreateIntegrationResult#payload_format_version #payload_format_version} => String # * {Types::CreateIntegrationResult#request_parameters #request_parameters} => Hash<String,String> @@ -802,10 +823,11 @@ # connection_type: "INTERNET", # accepts INTERNET, VPC_LINK # content_handling_strategy: "CONVERT_TO_BINARY", # accepts CONVERT_TO_BINARY, CONVERT_TO_TEXT # credentials_arn: "Arn", # description: "StringWithLengthBetween0And1024", # integration_method: "StringWithLengthBetween1And64", + # integration_subtype: "StringWithLengthBetween1And128", # integration_type: "AWS", # required, accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY # integration_uri: "UriWithLengthBetween1And2048", # passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES # payload_format_version: "StringWithLengthBetween1And64", # request_parameters: { @@ -830,10 +852,11 @@ # resp.credentials_arn #=> String # resp.description #=> String # resp.integration_id #=> String # resp.integration_method #=> String # resp.integration_response_selection_expression #=> String + # resp.integration_subtype #=> String # resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY" # resp.integration_uri #=> String # resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES" # resp.payload_format_version #=> String # resp.request_parameters #=> Hash @@ -1770,10 +1793,11 @@ # @option params [required, String] :api_id # # @return [Types::GetApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::GetApiResponse#api_endpoint #api_endpoint} => String + # * {Types::GetApiResponse#api_gateway_managed #api_gateway_managed} => Boolean # * {Types::GetApiResponse#api_id #api_id} => String # * {Types::GetApiResponse#api_key_selection_expression #api_key_selection_expression} => String # * {Types::GetApiResponse#cors_configuration #cors_configuration} => Types::Cors # * {Types::GetApiResponse#created_date #created_date} => Time # * {Types::GetApiResponse#description #description} => String @@ -1793,10 +1817,11 @@ # }) # # @example Response structure # # resp.api_endpoint #=> String + # resp.api_gateway_managed #=> Boolean # resp.api_id #=> String # resp.api_key_selection_expression #=> String # resp.cors_configuration.allow_credentials #=> Boolean # resp.cors_configuration.allow_headers #=> Array # resp.cors_configuration.allow_headers[0] #=> String @@ -1919,10 +1944,11 @@ # # @example Response structure # # resp.items #=> Array # resp.items[0].api_endpoint #=> String + # resp.items[0].api_gateway_managed #=> Boolean # resp.items[0].api_id #=> String # resp.items[0].api_key_selection_expression #=> String # resp.items[0].cors_configuration.allow_credentials #=> Boolean # resp.items[0].cors_configuration.allow_headers #=> Array # resp.items[0].cors_configuration.allow_headers[0] #=> String @@ -2224,10 +2250,11 @@ # * {Types::GetIntegrationResult#credentials_arn #credentials_arn} => String # * {Types::GetIntegrationResult#description #description} => String # * {Types::GetIntegrationResult#integration_id #integration_id} => String # * {Types::GetIntegrationResult#integration_method #integration_method} => String # * {Types::GetIntegrationResult#integration_response_selection_expression #integration_response_selection_expression} => String + # * {Types::GetIntegrationResult#integration_subtype #integration_subtype} => String # * {Types::GetIntegrationResult#integration_type #integration_type} => String # * {Types::GetIntegrationResult#integration_uri #integration_uri} => String # * {Types::GetIntegrationResult#passthrough_behavior #passthrough_behavior} => String # * {Types::GetIntegrationResult#payload_format_version #payload_format_version} => String # * {Types::GetIntegrationResult#request_parameters #request_parameters} => Hash<String,String> @@ -2252,10 +2279,11 @@ # resp.credentials_arn #=> String # resp.description #=> String # resp.integration_id #=> String # resp.integration_method #=> String # resp.integration_response_selection_expression #=> String + # resp.integration_subtype #=> String # resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY" # resp.integration_uri #=> String # resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES" # resp.payload_format_version #=> String # resp.request_parameters #=> Hash @@ -2391,10 +2419,11 @@ # resp.items[0].credentials_arn #=> String # resp.items[0].description #=> String # resp.items[0].integration_id #=> String # resp.items[0].integration_method #=> String # resp.items[0].integration_response_selection_expression #=> String + # resp.items[0].integration_subtype #=> String # resp.items[0].integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY" # resp.items[0].integration_uri #=> String # resp.items[0].passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES" # resp.items[0].payload_format_version #=> String # resp.items[0].request_parameters #=> Hash @@ -2949,10 +2978,11 @@ # @option params [Boolean] :fail_on_warnings # # @return [Types::ImportApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ImportApiResponse#api_endpoint #api_endpoint} => String + # * {Types::ImportApiResponse#api_gateway_managed #api_gateway_managed} => Boolean # * {Types::ImportApiResponse#api_id #api_id} => String # * {Types::ImportApiResponse#api_key_selection_expression #api_key_selection_expression} => String # * {Types::ImportApiResponse#cors_configuration #cors_configuration} => Types::Cors # * {Types::ImportApiResponse#created_date #created_date} => Time # * {Types::ImportApiResponse#description #description} => String @@ -2974,10 +3004,11 @@ # }) # # @example Response structure # # resp.api_endpoint #=> String + # resp.api_gateway_managed #=> Boolean # resp.api_id #=> String # resp.api_key_selection_expression #=> String # resp.cors_configuration.allow_credentials #=> Boolean # resp.cors_configuration.allow_headers #=> Array # resp.cors_configuration.allow_headers[0] #=> String @@ -3020,10 +3051,11 @@ # @option params [Boolean] :fail_on_warnings # # @return [Types::ReimportApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ReimportApiResponse#api_endpoint #api_endpoint} => String + # * {Types::ReimportApiResponse#api_gateway_managed #api_gateway_managed} => Boolean # * {Types::ReimportApiResponse#api_id #api_id} => String # * {Types::ReimportApiResponse#api_key_selection_expression #api_key_selection_expression} => String # * {Types::ReimportApiResponse#cors_configuration #cors_configuration} => Types::Cors # * {Types::ReimportApiResponse#created_date #created_date} => Time # * {Types::ReimportApiResponse#description #description} => String @@ -3046,10 +3078,11 @@ # }) # # @example Response structure # # resp.api_endpoint #=> String + # resp.api_gateway_managed #=> Boolean # resp.api_id #=> String # resp.api_key_selection_expression #=> String # resp.cors_configuration.allow_credentials #=> Boolean # resp.cors_configuration.allow_headers #=> Array # resp.cors_configuration.allow_headers[0] #=> String @@ -3184,10 +3217,11 @@ # A string with a length between \[1-64\]. # # @return [Types::UpdateApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::UpdateApiResponse#api_endpoint #api_endpoint} => String + # * {Types::UpdateApiResponse#api_gateway_managed #api_gateway_managed} => Boolean # * {Types::UpdateApiResponse#api_id #api_id} => String # * {Types::UpdateApiResponse#api_key_selection_expression #api_key_selection_expression} => String # * {Types::UpdateApiResponse#cors_configuration #cors_configuration} => Types::Cors # * {Types::UpdateApiResponse#created_date #created_date} => Time # * {Types::UpdateApiResponse#description #description} => String @@ -3224,10 +3258,11 @@ # }) # # @example Response structure # # resp.api_endpoint #=> String + # resp.api_gateway_managed #=> Boolean # resp.api_id #=> String # resp.api_key_selection_expression #=> String # resp.cors_configuration.allow_credentials #=> Boolean # resp.cors_configuration.allow_headers #=> Array # resp.cors_configuration.allow_headers[0] #=> String @@ -3533,10 +3568,13 @@ # @option params [required, String] :integration_id # # @option params [String] :integration_method # A string with a length between \[1-64\]. # + # @option params [String] :integration_subtype + # A string with a length between \[1-128\]. + # # @option params [String] :integration_type # Represents an API method integration type. # # @option params [String] :integration_uri # A string representation of a URI with a length between \[1-2048\]. @@ -3591,10 +3629,11 @@ # * {Types::UpdateIntegrationResult#credentials_arn #credentials_arn} => String # * {Types::UpdateIntegrationResult#description #description} => String # * {Types::UpdateIntegrationResult#integration_id #integration_id} => String # * {Types::UpdateIntegrationResult#integration_method #integration_method} => String # * {Types::UpdateIntegrationResult#integration_response_selection_expression #integration_response_selection_expression} => String + # * {Types::UpdateIntegrationResult#integration_subtype #integration_subtype} => String # * {Types::UpdateIntegrationResult#integration_type #integration_type} => String # * {Types::UpdateIntegrationResult#integration_uri #integration_uri} => String # * {Types::UpdateIntegrationResult#passthrough_behavior #passthrough_behavior} => String # * {Types::UpdateIntegrationResult#payload_format_version #payload_format_version} => String # * {Types::UpdateIntegrationResult#request_parameters #request_parameters} => Hash<String,String> @@ -3612,10 +3651,11 @@ # content_handling_strategy: "CONVERT_TO_BINARY", # accepts CONVERT_TO_BINARY, CONVERT_TO_TEXT # credentials_arn: "Arn", # description: "StringWithLengthBetween0And1024", # integration_id: "__string", # required # integration_method: "StringWithLengthBetween1And64", + # integration_subtype: "StringWithLengthBetween1And128", # integration_type: "AWS", # accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY # integration_uri: "UriWithLengthBetween1And2048", # passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES # payload_format_version: "StringWithLengthBetween1And64", # request_parameters: { @@ -3640,10 +3680,11 @@ # resp.credentials_arn #=> String # resp.description #=> String # resp.integration_id #=> String # resp.integration_method #=> String # resp.integration_response_selection_expression #=> String + # resp.integration_subtype #=> String # resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY" # resp.integration_uri #=> String # resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES" # resp.payload_format_version #=> String # resp.request_parameters #=> Hash @@ -4186,10 +4227,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-apigatewayv2' - context[:gem_version] = '1.23.0' + context[:gem_version] = '1.25.0' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated