aws-sdk-sesv2 1.31.0 → 1.33.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/CHANGELOG.md +10 -0
 - data/VERSION +1 -1
 - data/lib/aws-sdk-sesv2/client.rb +53 -4
 - data/lib/aws-sdk-sesv2/client_api.rb +20 -0
 - data/lib/aws-sdk-sesv2/endpoint_provider.rb +27 -24
 - data/lib/aws-sdk-sesv2/endpoints.rb +14 -0
 - data/lib/aws-sdk-sesv2/plugins/endpoints.rb +2 -0
 - data/lib/aws-sdk-sesv2/types.rb +87 -7
 - data/lib/aws-sdk-sesv2.rb +1 -1
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: c34771195c3e38e456bbe25fd06086d4582c3e5ac1c2ebeb62646ff76e13312b
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 5c1fa57f82d87eec030edc4d48fd0bf05106bf1dda00dbf0ff13a1913a3a0b27
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 8f4d06a2c81454763c0d85c42856fc227fcff1e91acf0debc493c442cb6509378aaaf32a73f59cef5341e8b56289ea7ff62205641e13fbb53c65d201ce0ec4cb
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 03ed7f52bedba4f28d1eb12ab4c66f5f21b7b8bcf2c38188370348582c8bc42a10ca87bf8750e8e9a80d7eea9b5e3b5d92b45616c088389e24fbd4b2bcd101e2
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,6 +1,16 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            Unreleased Changes
         
     | 
| 
       2 
2 
     | 
    
         
             
            ------------------
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
      
 4 
     | 
    
         
            +
            1.33.0 (2023-05-19)
         
     | 
| 
      
 5 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            * Feature - This release allows customers to update scaling mode property of dedicated IP pools with PutDedicatedIpPoolScalingAttributes call.
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            1.32.0 (2023-03-09)
         
     | 
| 
      
 10 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            * Feature - This release introduces a new recommendation in Virtual Deliverability Manager Advisor, which detects missing or misconfigured Brand Indicator for Message Identification (BIMI) DNS records for customer sending identities.
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
       4 
14 
     | 
    
         
             
            1.31.0 (2023-01-18)
         
     | 
| 
       5 
15 
     | 
    
         
             
            ------------------
         
     | 
| 
       6 
16 
     | 
    
         | 
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            1. 
     | 
| 
      
 1 
     | 
    
         
            +
            1.33.0
         
     | 
    
        data/lib/aws-sdk-sesv2/client.rb
    CHANGED
    
    | 
         @@ -1571,7 +1571,7 @@ module Aws::SESV2 
     | 
|
| 
       1571 
1571 
     | 
    
         
             
                #   The name of the contact list to which the contact belongs.
         
     | 
| 
       1572 
1572 
     | 
    
         
             
                #
         
     | 
| 
       1573 
1573 
     | 
    
         
             
                # @option params [required, String] :email_address
         
     | 
| 
       1574 
     | 
    
         
            -
                #   The contact's email  
     | 
| 
      
 1574 
     | 
    
         
            +
                #   The contact's email address.
         
     | 
| 
       1575 
1575 
     | 
    
         
             
                #
         
     | 
| 
       1576 
1576 
     | 
    
         
             
                # @return [Types::GetContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
       1577 
1577 
     | 
    
         
             
                #
         
     | 
| 
         @@ -2849,7 +2849,7 @@ module Aws::SESV2 
     | 
|
| 
       2849 
2849 
     | 
    
         
             
                #
         
     | 
| 
       2850 
2850 
     | 
    
         
             
                #   resp.recommendations #=> Array
         
     | 
| 
       2851 
2851 
     | 
    
         
             
                #   resp.recommendations[0].resource_arn #=> String
         
     | 
| 
       2852 
     | 
    
         
            -
                #   resp.recommendations[0].type #=> String, one of "DKIM", "DMARC", "SPF"
         
     | 
| 
      
 2852 
     | 
    
         
            +
                #   resp.recommendations[0].type #=> String, one of "DKIM", "DMARC", "SPF", "BIMI"
         
     | 
| 
       2853 
2853 
     | 
    
         
             
                #   resp.recommendations[0].description #=> String
         
     | 
| 
       2854 
2854 
     | 
    
         
             
                #   resp.recommendations[0].status #=> String, one of "OPEN", "FIXED"
         
     | 
| 
       2855 
2855 
     | 
    
         
             
                #   resp.recommendations[0].created_timestamp #=> Time
         
     | 
| 
         @@ -3373,6 +3373,55 @@ module Aws::SESV2 
     | 
|
| 
       3373 
3373 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       3374 
3374 
     | 
    
         
             
                end
         
     | 
| 
       3375 
3375 
     | 
    
         | 
| 
      
 3376 
     | 
    
         
            +
                # Used to convert a dedicated IP pool to a different scaling mode.
         
     | 
| 
      
 3377 
     | 
    
         
            +
                #
         
     | 
| 
      
 3378 
     | 
    
         
            +
                # <note markdown="1"> `MANAGED` pools cannot be converted to `STANDARD` scaling mode.
         
     | 
| 
      
 3379 
     | 
    
         
            +
                #
         
     | 
| 
      
 3380 
     | 
    
         
            +
                #  </note>
         
     | 
| 
      
 3381 
     | 
    
         
            +
                #
         
     | 
| 
      
 3382 
     | 
    
         
            +
                # @option params [required, String] :pool_name
         
     | 
| 
      
 3383 
     | 
    
         
            +
                #   The name of the dedicated IP pool.
         
     | 
| 
      
 3384 
     | 
    
         
            +
                #
         
     | 
| 
      
 3385 
     | 
    
         
            +
                # @option params [required, String] :scaling_mode
         
     | 
| 
      
 3386 
     | 
    
         
            +
                #   The scaling mode to apply to the dedicated IP pool.
         
     | 
| 
      
 3387 
     | 
    
         
            +
                #
         
     | 
| 
      
 3388 
     | 
    
         
            +
                #   <note markdown="1"> Changing the scaling mode from `MANAGED` to `STANDARD` is not
         
     | 
| 
      
 3389 
     | 
    
         
            +
                #   supported.
         
     | 
| 
      
 3390 
     | 
    
         
            +
                #
         
     | 
| 
      
 3391 
     | 
    
         
            +
                #    </note>
         
     | 
| 
      
 3392 
     | 
    
         
            +
                #
         
     | 
| 
      
 3393 
     | 
    
         
            +
                # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
         
     | 
| 
      
 3394 
     | 
    
         
            +
                #
         
     | 
| 
      
 3395 
     | 
    
         
            +
                #
         
     | 
| 
      
 3396 
     | 
    
         
            +
                # @example Example: Used to convert a dedicated IP pool to a different scaling mode.
         
     | 
| 
      
 3397 
     | 
    
         
            +
                #
         
     | 
| 
      
 3398 
     | 
    
         
            +
                #   # This example converts a dedicated IP pool from STANDARD to MANAGED.
         
     | 
| 
      
 3399 
     | 
    
         
            +
                #
         
     | 
| 
      
 3400 
     | 
    
         
            +
                #   resp = client.put_dedicated_ip_pool_scaling_attributes({
         
     | 
| 
      
 3401 
     | 
    
         
            +
                #     pool_name: "sample-ses-pool", 
         
     | 
| 
      
 3402 
     | 
    
         
            +
                #     scaling_mode: "MANAGED", 
         
     | 
| 
      
 3403 
     | 
    
         
            +
                #   })
         
     | 
| 
      
 3404 
     | 
    
         
            +
                #
         
     | 
| 
      
 3405 
     | 
    
         
            +
                #   resp.to_h outputs the following:
         
     | 
| 
      
 3406 
     | 
    
         
            +
                #   {
         
     | 
| 
      
 3407 
     | 
    
         
            +
                #   }
         
     | 
| 
      
 3408 
     | 
    
         
            +
                #
         
     | 
| 
      
 3409 
     | 
    
         
            +
                # @example Request syntax with placeholder values
         
     | 
| 
      
 3410 
     | 
    
         
            +
                #
         
     | 
| 
      
 3411 
     | 
    
         
            +
                #   resp = client.put_dedicated_ip_pool_scaling_attributes({
         
     | 
| 
      
 3412 
     | 
    
         
            +
                #     pool_name: "PoolName", # required
         
     | 
| 
      
 3413 
     | 
    
         
            +
                #     scaling_mode: "STANDARD", # required, accepts STANDARD, MANAGED
         
     | 
| 
      
 3414 
     | 
    
         
            +
                #   })
         
     | 
| 
      
 3415 
     | 
    
         
            +
                #
         
     | 
| 
      
 3416 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDedicatedIpPoolScalingAttributes AWS API Documentation
         
     | 
| 
      
 3417 
     | 
    
         
            +
                #
         
     | 
| 
      
 3418 
     | 
    
         
            +
                # @overload put_dedicated_ip_pool_scaling_attributes(params = {})
         
     | 
| 
      
 3419 
     | 
    
         
            +
                # @param [Hash] params ({})
         
     | 
| 
      
 3420 
     | 
    
         
            +
                def put_dedicated_ip_pool_scaling_attributes(params = {}, options = {})
         
     | 
| 
      
 3421 
     | 
    
         
            +
                  req = build_request(:put_dedicated_ip_pool_scaling_attributes, params)
         
     | 
| 
      
 3422 
     | 
    
         
            +
                  req.send_request(options)
         
     | 
| 
      
 3423 
     | 
    
         
            +
                end
         
     | 
| 
      
 3424 
     | 
    
         
            +
             
     | 
| 
       3376 
3425 
     | 
    
         
             
                # @option params [required, String] :ip
         
     | 
| 
       3377 
3426 
     | 
    
         
             
                #   The dedicated IP address that you want to update the warm-up
         
     | 
| 
       3378 
3427 
     | 
    
         
             
                #   attributes for.
         
     | 
| 
         @@ -4237,7 +4286,7 @@ module Aws::SESV2 
     | 
|
| 
       4237 
4286 
     | 
    
         
             
                #   The name of the contact list.
         
     | 
| 
       4238 
4287 
     | 
    
         
             
                #
         
     | 
| 
       4239 
4288 
     | 
    
         
             
                # @option params [required, String] :email_address
         
     | 
| 
       4240 
     | 
    
         
            -
                #   The contact's email  
     | 
| 
      
 4289 
     | 
    
         
            +
                #   The contact's email address.
         
     | 
| 
       4241 
4290 
     | 
    
         
             
                #
         
     | 
| 
       4242 
4291 
     | 
    
         
             
                # @option params [Array<Types::TopicPreference>] :topic_preferences
         
     | 
| 
       4243 
4292 
     | 
    
         
             
                #   The contact's preference for being opted-in to or opted-out of a
         
     | 
| 
         @@ -4487,7 +4536,7 @@ module Aws::SESV2 
     | 
|
| 
       4487 
4536 
     | 
    
         
             
                    params: params,
         
     | 
| 
       4488 
4537 
     | 
    
         
             
                    config: config)
         
     | 
| 
       4489 
4538 
     | 
    
         
             
                  context[:gem_name] = 'aws-sdk-sesv2'
         
     | 
| 
       4490 
     | 
    
         
            -
                  context[:gem_version] = '1. 
     | 
| 
      
 4539 
     | 
    
         
            +
                  context[:gem_version] = '1.33.0'
         
     | 
| 
       4491 
4540 
     | 
    
         
             
                  Seahorse::Client::Request.new(handlers, context)
         
     | 
| 
       4492 
4541 
     | 
    
         
             
                end
         
     | 
| 
       4493 
4542 
     | 
    
         | 
| 
         @@ -327,6 +327,8 @@ module Aws::SESV2 
     | 
|
| 
       327 
327 
     | 
    
         
             
                PutConfigurationSetVdmOptionsResponse = Shapes::StructureShape.new(name: 'PutConfigurationSetVdmOptionsResponse')
         
     | 
| 
       328 
328 
     | 
    
         
             
                PutDedicatedIpInPoolRequest = Shapes::StructureShape.new(name: 'PutDedicatedIpInPoolRequest')
         
     | 
| 
       329 
329 
     | 
    
         
             
                PutDedicatedIpInPoolResponse = Shapes::StructureShape.new(name: 'PutDedicatedIpInPoolResponse')
         
     | 
| 
      
 330 
     | 
    
         
            +
                PutDedicatedIpPoolScalingAttributesRequest = Shapes::StructureShape.new(name: 'PutDedicatedIpPoolScalingAttributesRequest')
         
     | 
| 
      
 331 
     | 
    
         
            +
                PutDedicatedIpPoolScalingAttributesResponse = Shapes::StructureShape.new(name: 'PutDedicatedIpPoolScalingAttributesResponse')
         
     | 
| 
       330 
332 
     | 
    
         
             
                PutDedicatedIpWarmupAttributesRequest = Shapes::StructureShape.new(name: 'PutDedicatedIpWarmupAttributesRequest')
         
     | 
| 
       331 
333 
     | 
    
         
             
                PutDedicatedIpWarmupAttributesResponse = Shapes::StructureShape.new(name: 'PutDedicatedIpWarmupAttributesResponse')
         
     | 
| 
       332 
334 
     | 
    
         
             
                PutDeliverabilityDashboardOptionRequest = Shapes::StructureShape.new(name: 'PutDeliverabilityDashboardOptionRequest')
         
     | 
| 
         @@ -1325,6 +1327,12 @@ module Aws::SESV2 
     | 
|
| 
       1325 
1327 
     | 
    
         | 
| 
       1326 
1328 
     | 
    
         
             
                PutDedicatedIpInPoolResponse.struct_class = Types::PutDedicatedIpInPoolResponse
         
     | 
| 
       1327 
1329 
     | 
    
         | 
| 
      
 1330 
     | 
    
         
            +
                PutDedicatedIpPoolScalingAttributesRequest.add_member(:pool_name, Shapes::ShapeRef.new(shape: PoolName, required: true, location: "uri", location_name: "PoolName"))
         
     | 
| 
      
 1331 
     | 
    
         
            +
                PutDedicatedIpPoolScalingAttributesRequest.add_member(:scaling_mode, Shapes::ShapeRef.new(shape: ScalingMode, required: true, location_name: "ScalingMode"))
         
     | 
| 
      
 1332 
     | 
    
         
            +
                PutDedicatedIpPoolScalingAttributesRequest.struct_class = Types::PutDedicatedIpPoolScalingAttributesRequest
         
     | 
| 
      
 1333 
     | 
    
         
            +
             
     | 
| 
      
 1334 
     | 
    
         
            +
                PutDedicatedIpPoolScalingAttributesResponse.struct_class = Types::PutDedicatedIpPoolScalingAttributesResponse
         
     | 
| 
      
 1335 
     | 
    
         
            +
             
     | 
| 
       1328 
1336 
     | 
    
         
             
                PutDedicatedIpWarmupAttributesRequest.add_member(:ip, Shapes::ShapeRef.new(shape: Ip, required: true, location: "uri", location_name: "IP"))
         
     | 
| 
       1329 
1337 
     | 
    
         
             
                PutDedicatedIpWarmupAttributesRequest.add_member(:warmup_percentage, Shapes::ShapeRef.new(shape: Percentage100Wrapper, required: true, location_name: "WarmupPercentage"))
         
     | 
| 
       1330 
1338 
     | 
    
         
             
                PutDedicatedIpWarmupAttributesRequest.struct_class = Types::PutDedicatedIpWarmupAttributesRequest
         
     | 
| 
         @@ -2440,6 +2448,18 @@ module Aws::SESV2 
     | 
|
| 
       2440 
2448 
     | 
    
         
             
                    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
         
     | 
| 
       2441 
2449 
     | 
    
         
             
                  end)
         
     | 
| 
       2442 
2450 
     | 
    
         | 
| 
      
 2451 
     | 
    
         
            +
                  api.add_operation(:put_dedicated_ip_pool_scaling_attributes, Seahorse::Model::Operation.new.tap do |o|
         
     | 
| 
      
 2452 
     | 
    
         
            +
                    o.name = "PutDedicatedIpPoolScalingAttributes"
         
     | 
| 
      
 2453 
     | 
    
         
            +
                    o.http_method = "PUT"
         
     | 
| 
      
 2454 
     | 
    
         
            +
                    o.http_request_uri = "/v2/email/dedicated-ip-pools/{PoolName}/scaling"
         
     | 
| 
      
 2455 
     | 
    
         
            +
                    o.input = Shapes::ShapeRef.new(shape: PutDedicatedIpPoolScalingAttributesRequest)
         
     | 
| 
      
 2456 
     | 
    
         
            +
                    o.output = Shapes::ShapeRef.new(shape: PutDedicatedIpPoolScalingAttributesResponse)
         
     | 
| 
      
 2457 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
         
     | 
| 
      
 2458 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
         
     | 
| 
      
 2459 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
         
     | 
| 
      
 2460 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
         
     | 
| 
      
 2461 
     | 
    
         
            +
                  end)
         
     | 
| 
      
 2462 
     | 
    
         
            +
             
     | 
| 
       2443 
2463 
     | 
    
         
             
                  api.add_operation(:put_dedicated_ip_warmup_attributes, Seahorse::Model::Operation.new.tap do |o|
         
     | 
| 
       2444 
2464 
     | 
    
         
             
                    o.name = "PutDedicatedIpWarmupAttributes"
         
     | 
| 
       2445 
2465 
     | 
    
         
             
                    o.http_method = "PUT"
         
     | 
| 
         @@ -14,36 +14,39 @@ module Aws::SESV2 
     | 
|
| 
       14 
14 
     | 
    
         
             
                  use_dual_stack = parameters.use_dual_stack
         
     | 
| 
       15 
15 
     | 
    
         
             
                  use_fips = parameters.use_fips
         
     | 
| 
       16 
16 
     | 
    
         
             
                  endpoint = parameters.endpoint
         
     | 
| 
       17 
     | 
    
         
            -
                  if  
     | 
| 
       18 
     | 
    
         
            -
                    if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
         
     | 
| 
       19 
     | 
    
         
            -
                      if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
         
     | 
| 
       20 
     | 
    
         
            -
                        raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
         
     | 
| 
       21 
     | 
    
         
            -
                      end
         
     | 
| 
       22 
     | 
    
         
            -
                      if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         
     | 
| 
       23 
     | 
    
         
            -
                        raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
         
     | 
| 
       24 
     | 
    
         
            -
                      end
         
     | 
| 
       25 
     | 
    
         
            -
                      return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
         
     | 
| 
       26 
     | 
    
         
            -
                    end
         
     | 
| 
       27 
     | 
    
         
            -
                    if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         
     | 
| 
       28 
     | 
    
         
            -
                      if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
         
     | 
| 
       29 
     | 
    
         
            -
                        return Aws::Endpoints::Endpoint.new(url: "https://email-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         
     | 
| 
       30 
     | 
    
         
            -
                      end
         
     | 
| 
       31 
     | 
    
         
            -
                      raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
         
     | 
| 
       32 
     | 
    
         
            -
                    end
         
     | 
| 
      
 17 
     | 
    
         
            +
                  if Aws::Endpoints::Matchers.set?(endpoint)
         
     | 
| 
       33 
18 
     | 
    
         
             
                    if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
         
     | 
| 
       34 
     | 
    
         
            -
                       
     | 
| 
       35 
     | 
    
         
            -
                        return Aws::Endpoints::Endpoint.new(url: "https://email-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         
     | 
| 
       36 
     | 
    
         
            -
                      end
         
     | 
| 
       37 
     | 
    
         
            -
                      raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
         
     | 
| 
      
 19 
     | 
    
         
            +
                      raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
         
     | 
| 
       38 
20 
     | 
    
         
             
                    end
         
     | 
| 
       39 
21 
     | 
    
         
             
                    if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         
     | 
| 
       40 
     | 
    
         
            -
                       
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
      
 22 
     | 
    
         
            +
                      raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
         
     | 
| 
      
 23 
     | 
    
         
            +
                    end
         
     | 
| 
      
 24 
     | 
    
         
            +
                    return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
         
     | 
| 
      
 25 
     | 
    
         
            +
                  end
         
     | 
| 
      
 26 
     | 
    
         
            +
                  if Aws::Endpoints::Matchers.set?(region)
         
     | 
| 
      
 27 
     | 
    
         
            +
                    if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
         
     | 
| 
      
 28 
     | 
    
         
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         
     | 
| 
      
 29 
     | 
    
         
            +
                        if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
         
     | 
| 
      
 30 
     | 
    
         
            +
                          return Aws::Endpoints::Endpoint.new(url: "https://email-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         
     | 
| 
      
 31 
     | 
    
         
            +
                        end
         
     | 
| 
      
 32 
     | 
    
         
            +
                        raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
         
     | 
| 
      
 33 
     | 
    
         
            +
                      end
         
     | 
| 
      
 34 
     | 
    
         
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
         
     | 
| 
      
 35 
     | 
    
         
            +
                        if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
         
     | 
| 
      
 36 
     | 
    
         
            +
                          return Aws::Endpoints::Endpoint.new(url: "https://email-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         
     | 
| 
      
 37 
     | 
    
         
            +
                        end
         
     | 
| 
      
 38 
     | 
    
         
            +
                        raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
         
     | 
| 
      
 39 
     | 
    
         
            +
                      end
         
     | 
| 
      
 40 
     | 
    
         
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         
     | 
| 
      
 41 
     | 
    
         
            +
                        if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
         
     | 
| 
      
 42 
     | 
    
         
            +
                          return Aws::Endpoints::Endpoint.new(url: "https://email.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         
     | 
| 
      
 43 
     | 
    
         
            +
                        end
         
     | 
| 
      
 44 
     | 
    
         
            +
                        raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
         
     | 
| 
       42 
45 
     | 
    
         
             
                      end
         
     | 
| 
       43 
     | 
    
         
            -
                       
     | 
| 
      
 46 
     | 
    
         
            +
                      return Aws::Endpoints::Endpoint.new(url: "https://email.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         
     | 
| 
       44 
47 
     | 
    
         
             
                    end
         
     | 
| 
       45 
     | 
    
         
            -
                    return Aws::Endpoints::Endpoint.new(url: "https://email.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         
     | 
| 
       46 
48 
     | 
    
         
             
                  end
         
     | 
| 
      
 49 
     | 
    
         
            +
                  raise ArgumentError, "Invalid Configuration: Missing Region"
         
     | 
| 
       47 
50 
     | 
    
         
             
                  raise ArgumentError, 'No endpoint could be resolved'
         
     | 
| 
       48 
51 
     | 
    
         | 
| 
       49 
52 
     | 
    
         
             
                end
         
     | 
| 
         @@ -935,6 +935,20 @@ module Aws::SESV2 
     | 
|
| 
       935 
935 
     | 
    
         
             
                  end
         
     | 
| 
       936 
936 
     | 
    
         
             
                end
         
     | 
| 
       937 
937 
     | 
    
         | 
| 
      
 938 
     | 
    
         
            +
                class PutDedicatedIpPoolScalingAttributes
         
     | 
| 
      
 939 
     | 
    
         
            +
                  def self.build(context)
         
     | 
| 
      
 940 
     | 
    
         
            +
                    unless context.config.regional_endpoint
         
     | 
| 
      
 941 
     | 
    
         
            +
                      endpoint = context.config.endpoint.to_s
         
     | 
| 
      
 942 
     | 
    
         
            +
                    end
         
     | 
| 
      
 943 
     | 
    
         
            +
                    Aws::SESV2::EndpointParameters.new(
         
     | 
| 
      
 944 
     | 
    
         
            +
                      region: context.config.region,
         
     | 
| 
      
 945 
     | 
    
         
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         
     | 
| 
      
 946 
     | 
    
         
            +
                      use_fips: context.config.use_fips_endpoint,
         
     | 
| 
      
 947 
     | 
    
         
            +
                      endpoint: endpoint,
         
     | 
| 
      
 948 
     | 
    
         
            +
                    )
         
     | 
| 
      
 949 
     | 
    
         
            +
                  end
         
     | 
| 
      
 950 
     | 
    
         
            +
                end
         
     | 
| 
      
 951 
     | 
    
         
            +
             
     | 
| 
       938 
952 
     | 
    
         
             
                class PutDedicatedIpWarmupAttributes
         
     | 
| 
       939 
953 
     | 
    
         
             
                  def self.build(context)
         
     | 
| 
       940 
954 
     | 
    
         
             
                    unless context.config.regional_endpoint
         
     | 
| 
         @@ -188,6 +188,8 @@ module Aws::SESV2 
     | 
|
| 
       188 
188 
     | 
    
         
             
                        Aws::SESV2::Endpoints::PutConfigurationSetVdmOptions.build(context)
         
     | 
| 
       189 
189 
     | 
    
         
             
                      when :put_dedicated_ip_in_pool
         
     | 
| 
       190 
190 
     | 
    
         
             
                        Aws::SESV2::Endpoints::PutDedicatedIpInPool.build(context)
         
     | 
| 
      
 191 
     | 
    
         
            +
                      when :put_dedicated_ip_pool_scaling_attributes
         
     | 
| 
      
 192 
     | 
    
         
            +
                        Aws::SESV2::Endpoints::PutDedicatedIpPoolScalingAttributes.build(context)
         
     | 
| 
       191 
193 
     | 
    
         
             
                      when :put_dedicated_ip_warmup_attributes
         
     | 
| 
       192 
194 
     | 
    
         
             
                        Aws::SESV2::Endpoints::PutDedicatedIpWarmupAttributes.build(context)
         
     | 
| 
       193 
195 
     | 
    
         
             
                      when :put_deliverability_dashboard_option
         
     | 
    
        data/lib/aws-sdk-sesv2/types.rb
    CHANGED
    
    | 
         @@ -1244,11 +1244,11 @@ module Aws::SESV2 
     | 
|
| 
       1244 
1244 
     | 
    
         
             
                # @!attribute [rw] scaling_mode
         
     | 
| 
       1245 
1245 
     | 
    
         
             
                #   The type of the dedicated IP pool.
         
     | 
| 
       1246 
1246 
     | 
    
         
             
                #
         
     | 
| 
       1247 
     | 
    
         
            -
                #   * `STANDARD` – A dedicated IP pool where  
     | 
| 
       1248 
     | 
    
         
            -
                #      
     | 
| 
      
 1247 
     | 
    
         
            +
                #   * `STANDARD` – A dedicated IP pool where you can control which IPs
         
     | 
| 
      
 1248 
     | 
    
         
            +
                #     are part of the pool.
         
     | 
| 
       1249 
1249 
     | 
    
         
             
                #
         
     | 
| 
       1250 
1250 
     | 
    
         
             
                #   * `MANAGED` – A dedicated IP pool where the reputation and number of
         
     | 
| 
       1251 
     | 
    
         
            -
                #     IPs  
     | 
| 
      
 1251 
     | 
    
         
            +
                #     IPs are automatically managed by Amazon SES.
         
     | 
| 
       1252 
1252 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       1253 
1253 
     | 
    
         
             
                #
         
     | 
| 
       1254 
1254 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DedicatedIpPool AWS API Documentation
         
     | 
| 
         @@ -2055,6 +2055,54 @@ module Aws::SESV2 
     | 
|
| 
       2055 
2055 
     | 
    
         
             
                # @!attribute [rw] matching_event_types
         
     | 
| 
       2056 
2056 
     | 
    
         
             
                #   The types of events that Amazon SES sends to the specified event
         
     | 
| 
       2057 
2057 
     | 
    
         
             
                #   destinations.
         
     | 
| 
      
 2058 
     | 
    
         
            +
                #
         
     | 
| 
      
 2059 
     | 
    
         
            +
                #   * `SEND` - The send request was successful and SES will attempt to
         
     | 
| 
      
 2060 
     | 
    
         
            +
                #     deliver the message to the recipient’s mail server. (If
         
     | 
| 
      
 2061 
     | 
    
         
            +
                #     account-level or global suppression is being used, SES will still
         
     | 
| 
      
 2062 
     | 
    
         
            +
                #     count it as a send, but delivery is suppressed.)
         
     | 
| 
      
 2063 
     | 
    
         
            +
                #
         
     | 
| 
      
 2064 
     | 
    
         
            +
                #   * `REJECT` - SES accepted the email, but determined that it
         
     | 
| 
      
 2065 
     | 
    
         
            +
                #     contained a virus and didn’t attempt to deliver it to the
         
     | 
| 
      
 2066 
     | 
    
         
            +
                #     recipient’s mail server.
         
     | 
| 
      
 2067 
     | 
    
         
            +
                #
         
     | 
| 
      
 2068 
     | 
    
         
            +
                #   * `BOUNCE` - (*Hard bounce*) The recipient's mail server
         
     | 
| 
      
 2069 
     | 
    
         
            +
                #     permanently rejected the email. (*Soft bounces* are only included
         
     | 
| 
      
 2070 
     | 
    
         
            +
                #     when SES fails to deliver the email after retrying for a period of
         
     | 
| 
      
 2071 
     | 
    
         
            +
                #     time.)
         
     | 
| 
      
 2072 
     | 
    
         
            +
                #
         
     | 
| 
      
 2073 
     | 
    
         
            +
                #   * `COMPLAINT` - The email was successfully delivered to the
         
     | 
| 
      
 2074 
     | 
    
         
            +
                #     recipient’s mail server, but the recipient marked it as spam.
         
     | 
| 
      
 2075 
     | 
    
         
            +
                #
         
     | 
| 
      
 2076 
     | 
    
         
            +
                #   * `DELIVERY` - SES successfully delivered the email to the
         
     | 
| 
      
 2077 
     | 
    
         
            +
                #     recipient's mail server.
         
     | 
| 
      
 2078 
     | 
    
         
            +
                #
         
     | 
| 
      
 2079 
     | 
    
         
            +
                #   * `OPEN` - The recipient received the message and opened it in their
         
     | 
| 
      
 2080 
     | 
    
         
            +
                #     email client.
         
     | 
| 
      
 2081 
     | 
    
         
            +
                #
         
     | 
| 
      
 2082 
     | 
    
         
            +
                #   * `CLICK` - The recipient clicked one or more links in the email.
         
     | 
| 
      
 2083 
     | 
    
         
            +
                #
         
     | 
| 
      
 2084 
     | 
    
         
            +
                #   * `RENDERING_FAILURE` - The email wasn't sent because of a template
         
     | 
| 
      
 2085 
     | 
    
         
            +
                #     rendering issue. This event type can occur when template data is
         
     | 
| 
      
 2086 
     | 
    
         
            +
                #     missing, or when there is a mismatch between template parameters
         
     | 
| 
      
 2087 
     | 
    
         
            +
                #     and data. (This event type only occurs when you send email using
         
     | 
| 
      
 2088 
     | 
    
         
            +
                #     the [ `SendTemplatedEmail` ][1] or [ `SendBulkTemplatedEmail` ][2]
         
     | 
| 
      
 2089 
     | 
    
         
            +
                #     API operations.)
         
     | 
| 
      
 2090 
     | 
    
         
            +
                #
         
     | 
| 
      
 2091 
     | 
    
         
            +
                #   * `DELIVERY_DELAY` - The email couldn't be delivered to the
         
     | 
| 
      
 2092 
     | 
    
         
            +
                #     recipient’s mail server because a temporary issue occurred.
         
     | 
| 
      
 2093 
     | 
    
         
            +
                #     Delivery delays can occur, for example, when the recipient's
         
     | 
| 
      
 2094 
     | 
    
         
            +
                #     inbox is full, or when the receiving email server experiences a
         
     | 
| 
      
 2095 
     | 
    
         
            +
                #     transient issue.
         
     | 
| 
      
 2096 
     | 
    
         
            +
                #
         
     | 
| 
      
 2097 
     | 
    
         
            +
                #   * `SUBSCRIPTION` - The email was successfully delivered, but the
         
     | 
| 
      
 2098 
     | 
    
         
            +
                #     recipient updated their subscription preferences by clicking on an
         
     | 
| 
      
 2099 
     | 
    
         
            +
                #     *unsubscribe* link as part of your [subscription management][3].
         
     | 
| 
      
 2100 
     | 
    
         
            +
                #
         
     | 
| 
      
 2101 
     | 
    
         
            +
                #
         
     | 
| 
      
 2102 
     | 
    
         
            +
                #
         
     | 
| 
      
 2103 
     | 
    
         
            +
                #   [1]: https://docs.aws.amazon.com/ses/latest/APIReference/API_SendTemplatedEmail.html
         
     | 
| 
      
 2104 
     | 
    
         
            +
                #   [2]: https://docs.aws.amazon.com/ses/latest/APIReference/API_SendBulkTemplatedEmail.html
         
     | 
| 
      
 2105 
     | 
    
         
            +
                #   [3]: https://docs.aws.amazon.com/ses/latest/dg/sending-email-subscription-management.html
         
     | 
| 
       2058 
2106 
     | 
    
         
             
                #   @return [Array<String>]
         
     | 
| 
       2059 
2107 
     | 
    
         
             
                #
         
     | 
| 
       2060 
2108 
     | 
    
         
             
                # @!attribute [rw] kinesis_firehose_destination
         
     | 
| 
         @@ -2465,7 +2513,7 @@ module Aws::SESV2 
     | 
|
| 
       2465 
2513 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       2466 
2514 
     | 
    
         
             
                #
         
     | 
| 
       2467 
2515 
     | 
    
         
             
                # @!attribute [rw] email_address
         
     | 
| 
       2468 
     | 
    
         
            -
                #   The contact's email  
     | 
| 
      
 2516 
     | 
    
         
            +
                #   The contact's email address.
         
     | 
| 
       2469 
2517 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       2470 
2518 
     | 
    
         
             
                #
         
     | 
| 
       2471 
2519 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetContactRequest AWS API Documentation
         
     | 
| 
         @@ -2482,7 +2530,7 @@ module Aws::SESV2 
     | 
|
| 
       2482 
2530 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       2483 
2531 
     | 
    
         
             
                #
         
     | 
| 
       2484 
2532 
     | 
    
         
             
                # @!attribute [rw] email_address
         
     | 
| 
       2485 
     | 
    
         
            -
                #   The contact's email  
     | 
| 
      
 2533 
     | 
    
         
            +
                #   The contact's email address.
         
     | 
| 
       2486 
2534 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       2487 
2535 
     | 
    
         
             
                #
         
     | 
| 
       2488 
2536 
     | 
    
         
             
                # @!attribute [rw] topic_preferences
         
     | 
| 
         @@ -4819,6 +4867,37 @@ module Aws::SESV2 
     | 
|
| 
       4819 
4867 
     | 
    
         
             
                #
         
     | 
| 
       4820 
4868 
     | 
    
         
             
                class PutDedicatedIpInPoolResponse < Aws::EmptyStructure; end
         
     | 
| 
       4821 
4869 
     | 
    
         | 
| 
      
 4870 
     | 
    
         
            +
                # A request to convert a dedicated IP pool to a different scaling mode.
         
     | 
| 
      
 4871 
     | 
    
         
            +
                #
         
     | 
| 
      
 4872 
     | 
    
         
            +
                # @!attribute [rw] pool_name
         
     | 
| 
      
 4873 
     | 
    
         
            +
                #   The name of the dedicated IP pool.
         
     | 
| 
      
 4874 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 4875 
     | 
    
         
            +
                #
         
     | 
| 
      
 4876 
     | 
    
         
            +
                # @!attribute [rw] scaling_mode
         
     | 
| 
      
 4877 
     | 
    
         
            +
                #   The scaling mode to apply to the dedicated IP pool.
         
     | 
| 
      
 4878 
     | 
    
         
            +
                #
         
     | 
| 
      
 4879 
     | 
    
         
            +
                #   <note markdown="1"> Changing the scaling mode from `MANAGED` to `STANDARD` is not
         
     | 
| 
      
 4880 
     | 
    
         
            +
                #   supported.
         
     | 
| 
      
 4881 
     | 
    
         
            +
                #
         
     | 
| 
      
 4882 
     | 
    
         
            +
                #    </note>
         
     | 
| 
      
 4883 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 4884 
     | 
    
         
            +
                #
         
     | 
| 
      
 4885 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDedicatedIpPoolScalingAttributesRequest AWS API Documentation
         
     | 
| 
      
 4886 
     | 
    
         
            +
                #
         
     | 
| 
      
 4887 
     | 
    
         
            +
                class PutDedicatedIpPoolScalingAttributesRequest < Struct.new(
         
     | 
| 
      
 4888 
     | 
    
         
            +
                  :pool_name,
         
     | 
| 
      
 4889 
     | 
    
         
            +
                  :scaling_mode)
         
     | 
| 
      
 4890 
     | 
    
         
            +
                  SENSITIVE = []
         
     | 
| 
      
 4891 
     | 
    
         
            +
                  include Aws::Structure
         
     | 
| 
      
 4892 
     | 
    
         
            +
                end
         
     | 
| 
      
 4893 
     | 
    
         
            +
             
     | 
| 
      
 4894 
     | 
    
         
            +
                # An HTTP 200 response if the request succeeds, or an error message if
         
     | 
| 
      
 4895 
     | 
    
         
            +
                # the request fails.
         
     | 
| 
      
 4896 
     | 
    
         
            +
                #
         
     | 
| 
      
 4897 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDedicatedIpPoolScalingAttributesResponse AWS API Documentation
         
     | 
| 
      
 4898 
     | 
    
         
            +
                #
         
     | 
| 
      
 4899 
     | 
    
         
            +
                class PutDedicatedIpPoolScalingAttributesResponse < Aws::EmptyStructure; end
         
     | 
| 
      
 4900 
     | 
    
         
            +
             
     | 
| 
       4822 
4901 
     | 
    
         
             
                # A request to change the warm-up attributes for a dedicated IP address.
         
     | 
| 
       4823 
4902 
     | 
    
         
             
                # This operation is useful when you want to resume the warm-up process
         
     | 
| 
       4824 
4903 
     | 
    
         
             
                # for an existing IP address.
         
     | 
| 
         @@ -5223,7 +5302,8 @@ module Aws::SESV2 
     | 
|
| 
       5223 
5302 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       5224 
5303 
     | 
    
         
             
                #
         
     | 
| 
       5225 
5304 
     | 
    
         
             
                # @!attribute [rw] type
         
     | 
| 
       5226 
     | 
    
         
            -
                #   The recommendation type, with values like `DKIM`, `SPF` or 
     | 
| 
      
 5305 
     | 
    
         
            +
                #   The recommendation type, with values like `DKIM`, `SPF`, `DMARC` or
         
     | 
| 
      
 5306 
     | 
    
         
            +
                #   `BIMI`.
         
     | 
| 
       5227 
5307 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       5228 
5308 
     | 
    
         
             
                #
         
     | 
| 
       5229 
5309 
     | 
    
         
             
                # @!attribute [rw] description
         
     | 
| 
         @@ -6223,7 +6303,7 @@ module Aws::SESV2 
     | 
|
| 
       6223 
6303 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       6224 
6304 
     | 
    
         
             
                #
         
     | 
| 
       6225 
6305 
     | 
    
         
             
                # @!attribute [rw] email_address
         
     | 
| 
       6226 
     | 
    
         
            -
                #   The contact's email  
     | 
| 
      
 6306 
     | 
    
         
            +
                #   The contact's email address.
         
     | 
| 
       6227 
6307 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       6228 
6308 
     | 
    
         
             
                #
         
     | 
| 
       6229 
6309 
     | 
    
         
             
                # @!attribute [rw] topic_preferences
         
     | 
    
        data/lib/aws-sdk-sesv2.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: aws-sdk-sesv2
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.33.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: 2023- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2023-05-19 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: aws-sdk-core
         
     |