aws-sdk-pinpointsmsvoice 1.33.0 → 1.34.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 +8 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-pinpointsmsvoice/client.rb +1 -1
- data/lib/aws-sdk-pinpointsmsvoice/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-pinpointsmsvoice/types.rb +0 -194
- data/lib/aws-sdk-pinpointsmsvoice.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: e5ca815ab08b38fb229175d87524247fcff6189c67806651653f806f7bb687d7
         | 
| 4 | 
            +
              data.tar.gz: d94ce264b26e6097a640686bcba5b189c5052b152c986f9c0cdc3286b8189101
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 3e0a6b19cda83913d41b5022f7bf910ca0fd222aa8c46fdc678ffa87fa5713244f719d41ed2968ff27dcea3b61b0b1e2b4685a844b6b6a8d1c6ef1bb02ad6783
         | 
| 7 | 
            +
              data.tar.gz: 5b840dc87f2f958ba0ad9f6da944f62f0b0db62a32ab1046e1fc60060b3097a13a8531da622b05f16842a93da8c41fac43995b58f71ed4878551be41bd0c58d5
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,6 +1,13 @@ | |
| 1 1 | 
             
            Unreleased Changes
         | 
| 2 2 | 
             
            ------------------
         | 
| 3 3 |  | 
| 4 | 
            +
            1.34.0 (2023-01-18)
         | 
| 5 | 
            +
            ------------------
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Issue - Replace runtime endpoint resolution approach with generated ruby code.
         | 
| 10 | 
            +
             | 
| 4 11 | 
             
            1.33.0 (2022-10-25)
         | 
| 5 12 | 
             
            ------------------
         | 
| 6 13 |  | 
| @@ -180,4 +187,4 @@ Unreleased Changes | |
| 180 187 | 
             
            1.0.0 (2018-11-15)
         | 
| 181 188 | 
             
            ------------------
         | 
| 182 189 |  | 
| 183 | 
            -
            * Feature - Initial release of `aws-sdk-pinpointsmsvoice`.
         | 
| 190 | 
            +
            * Feature - Initial release of `aws-sdk-pinpointsmsvoice`.
         | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.34.0
         | 
| @@ -673,7 +673,7 @@ module Aws::PinpointSMSVoice | |
| 673 673 | 
             
                    params: params,
         | 
| 674 674 | 
             
                    config: config)
         | 
| 675 675 | 
             
                  context[:gem_name] = 'aws-sdk-pinpointsmsvoice'
         | 
| 676 | 
            -
                  context[:gem_version] = '1. | 
| 676 | 
            +
                  context[:gem_version] = '1.34.0'
         | 
| 677 677 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 678 678 | 
             
                end
         | 
| 679 679 |  | 
| @@ -9,103 +9,43 @@ | |
| 9 9 |  | 
| 10 10 | 
             
            module Aws::PinpointSMSVoice
         | 
| 11 11 | 
             
              class EndpointProvider
         | 
| 12 | 
            -
                def  | 
| 13 | 
            -
                   | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
                       | 
| 20 | 
            -
             | 
| 12 | 
            +
                def resolve_endpoint(parameters)
         | 
| 13 | 
            +
                  region = parameters.region
         | 
| 14 | 
            +
                  use_dual_stack = parameters.use_dual_stack
         | 
| 15 | 
            +
                  use_fips = parameters.use_fips
         | 
| 16 | 
            +
                  endpoint = parameters.endpoint
         | 
| 17 | 
            +
                  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
         | 
| 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://sms-voice.pinpoint-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
         | 
| 33 | 
            +
                    if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
         | 
| 34 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
         | 
| 35 | 
            +
                        return Aws::Endpoints::Endpoint.new(url: "https://sms-voice.pinpoint-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         | 
| 36 | 
            +
                      end
         | 
| 37 | 
            +
                      raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
         | 
| 38 | 
            +
                    end
         | 
| 39 | 
            +
                    if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         | 
| 40 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
         | 
| 41 | 
            +
                        return Aws::Endpoints::Endpoint.new(url: "https://sms-voice.pinpoint.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         | 
| 42 | 
            +
                      end
         | 
| 43 | 
            +
                      raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
         | 
| 44 | 
            +
                    end
         | 
| 45 | 
            +
                    return Aws::Endpoints::Endpoint.new(url: "https://sms-voice.pinpoint.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         | 
| 21 46 | 
             
                  end
         | 
| 22 | 
            -
                   | 
| 23 | 
            -
                end
         | 
| 47 | 
            +
                  raise ArgumentError, 'No endpoint could be resolved'
         | 
| 24 48 |  | 
| 25 | 
            -
                def resolve_endpoint(parameters)
         | 
| 26 | 
            -
                  @provider.resolve_endpoint(parameters)
         | 
| 27 49 | 
             
                end
         | 
| 28 | 
            -
             | 
| 29 | 
            -
                # @api private
         | 
| 30 | 
            -
                RULES = <<-JSON
         | 
| 31 | 
            -
            eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
         | 
| 32 | 
            -
            bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
         | 
| 33 | 
            -
            dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
         | 
| 34 | 
            -
            cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
         | 
| 35 | 
            -
            dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
         | 
| 36 | 
            -
            ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
         | 
| 37 | 
            -
            ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
         | 
| 38 | 
            -
            ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
         | 
| 39 | 
            -
            aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
         | 
| 40 | 
            -
            OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
         | 
| 41 | 
            -
            UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
         | 
| 42 | 
            -
            dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ
         | 
| 43 | 
            -
            UFMtY29tcGxpYW50IHJlZ2lvbmFsIGVuZHBvaW50LiBJZiB0aGUgY29uZmln
         | 
| 44 | 
            -
            dXJlZCBlbmRwb2ludCBkb2VzIG5vdCBoYXZlIGEgRklQUyBjb21wbGlhbnQg
         | 
| 45 | 
            -
            ZW5kcG9pbnQsIGRpc3BhdGNoaW5nIHRoZSByZXF1ZXN0IHdpbGwgcmV0dXJu
         | 
| 46 | 
            -
            IGFuIGVycm9yLiIsInR5cGUiOiJCb29sZWFuIn0sIkVuZHBvaW50Ijp7ImJ1
         | 
| 47 | 
            -
            aWx0SW4iOiJTREs6OkVuZHBvaW50IiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1
         | 
| 48 | 
            -
            bWVudGF0aW9uIjoiT3ZlcnJpZGUgdGhlIGVuZHBvaW50IHVzZWQgdG8gc2Vu
         | 
| 49 | 
            -
            ZCB0aGlzIHJlcXVlc3QiLCJ0eXBlIjoiU3RyaW5nIn19LCJydWxlcyI6W3si
         | 
| 50 | 
            -
            Y29uZGl0aW9ucyI6W3siZm4iOiJhd3MucGFydGl0aW9uIiwiYXJndiI6W3si
         | 
| 51 | 
            -
            cmVmIjoiUmVnaW9uIn1dLCJhc3NpZ24iOiJQYXJ0aXRpb25SZXN1bHQifV0s
         | 
| 52 | 
            -
            InR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOlt7ImZuIjoi
         | 
| 53 | 
            -
            aXNTZXQiLCJhcmd2IjpbeyJyZWYiOiJFbmRwb2ludCJ9XX0seyJmbiI6InBh
         | 
| 54 | 
            -
            cnNlVVJMIiwiYXJndiI6W3sicmVmIjoiRW5kcG9pbnQifV0sImFzc2lnbiI6
         | 
| 55 | 
            -
            InVybCJ9XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6
         | 
| 56 | 
            -
            W3siZm4iOiJib29sZWFuRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiVXNlRklQ
         | 
| 57 | 
            -
            UyJ9LHRydWVdfV0sImVycm9yIjoiSW52YWxpZCBDb25maWd1cmF0aW9uOiBG
         | 
| 58 | 
            -
            SVBTIGFuZCBjdXN0b20gZW5kcG9pbnQgYXJlIG5vdCBzdXBwb3J0ZWQiLCJ0
         | 
| 59 | 
            -
            eXBlIjoiZXJyb3IifSx7ImNvbmRpdGlvbnMiOltdLCJ0eXBlIjoidHJlZSIs
         | 
| 60 | 
            -
            InJ1bGVzIjpbeyJjb25kaXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMi
         | 
| 61 | 
            -
            LCJhcmd2IjpbeyJyZWYiOiJVc2VEdWFsU3RhY2sifSx0cnVlXX1dLCJlcnJv
         | 
| 62 | 
            -
            ciI6IkludmFsaWQgQ29uZmlndXJhdGlvbjogRHVhbHN0YWNrIGFuZCBjdXN0
         | 
| 63 | 
            -
            b20gZW5kcG9pbnQgYXJlIG5vdCBzdXBwb3J0ZWQiLCJ0eXBlIjoiZXJyb3Ii
         | 
| 64 | 
            -
            fSx7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1cmwiOnsicmVmIjoi
         | 
| 65 | 
            -
            RW5kcG9pbnQifSwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlw
         | 
| 66 | 
            -
            ZSI6ImVuZHBvaW50In1dfV19LHsiY29uZGl0aW9ucyI6W3siZm4iOiJib29s
         | 
| 67 | 
            -
            ZWFuRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiVXNlRklQUyJ9LHRydWVdfSx7
         | 
| 68 | 
            -
            ImZuIjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt7InJlZiI6IlVzZUR1YWxT
         | 
| 69 | 
            -
            dGFjayJ9LHRydWVdfV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRp
         | 
| 70 | 
            -
            dGlvbnMiOlt7ImZuIjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt0cnVlLHsi
         | 
| 71 | 
            -
            Zm4iOiJnZXRBdHRyIiwiYXJndiI6W3sicmVmIjoiUGFydGl0aW9uUmVzdWx0
         | 
| 72 | 
            -
            In0sInN1cHBvcnRzRklQUyJdfV19LHsiZm4iOiJib29sZWFuRXF1YWxzIiwi
         | 
| 73 | 
            -
            YXJndiI6W3RydWUseyJmbiI6ImdldEF0dHIiLCJhcmd2IjpbeyJyZWYiOiJQ
         | 
| 74 | 
            -
            YXJ0aXRpb25SZXN1bHQifSwic3VwcG9ydHNEdWFsU3RhY2siXX1dfV0sInR5
         | 
| 75 | 
            -
            cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2lu
         | 
| 76 | 
            -
            dCI6eyJ1cmwiOiJodHRwczovL3Ntcy12b2ljZS5waW5wb2ludC1maXBzLntS
         | 
| 77 | 
            -
            ZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIs
         | 
| 78 | 
            -
            InByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2lu
         | 
| 79 | 
            -
            dCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJGSVBTIGFuZCBEdWFs
         | 
| 80 | 
            -
            U3RhY2sgYXJlIGVuYWJsZWQsIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5v
         | 
| 81 | 
            -
            dCBzdXBwb3J0IG9uZSBvciBib3RoIiwidHlwZSI6ImVycm9yIn1dfSx7ImNv
         | 
| 82 | 
            -
            bmRpdGlvbnMiOlt7ImZuIjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt7InJl
         | 
| 83 | 
            -
            ZiI6IlVzZUZJUFMifSx0cnVlXX1dLCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpb
         | 
| 84 | 
            -
            eyJjb25kaXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMiLCJhcmd2Ijpb
         | 
| 85 | 
            -
            dHJ1ZSx7ImZuIjoiZ2V0QXR0ciIsImFyZ3YiOlt7InJlZiI6IlBhcnRpdGlv
         | 
| 86 | 
            -
            blJlc3VsdCJ9LCJzdXBwb3J0c0ZJUFMiXX1dfV0sInR5cGUiOiJ0cmVlIiwi
         | 
| 87 | 
            -
            cnVsZXMiOlt7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1cmwiOiJo
         | 
| 88 | 
            -
            dHRwczovL3Ntcy12b2ljZS5waW5wb2ludC1maXBzLntSZWdpb259LntQYXJ0
         | 
| 89 | 
            -
            aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFk
         | 
| 90 | 
            -
            ZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpb
         | 
| 91 | 
            -
            XSwiZXJyb3IiOiJGSVBTIGlzIGVuYWJsZWQgYnV0IHRoaXMgcGFydGl0aW9u
         | 
| 92 | 
            -
            IGRvZXMgbm90IHN1cHBvcnQgRklQUyIsInR5cGUiOiJlcnJvciJ9XX0seyJj
         | 
| 93 | 
            -
            b25kaXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMiLCJhcmd2IjpbeyJy
         | 
| 94 | 
            -
            ZWYiOiJVc2VEdWFsU3RhY2sifSx0cnVlXX1dLCJ0eXBlIjoidHJlZSIsInJ1
         | 
| 95 | 
            -
            bGVzIjpbeyJjb25kaXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMiLCJh
         | 
| 96 | 
            -
            cmd2IjpbdHJ1ZSx7ImZuIjoiZ2V0QXR0ciIsImFyZ3YiOlt7InJlZiI6IlBh
         | 
| 97 | 
            -
            cnRpdGlvblJlc3VsdCJ9LCJzdXBwb3J0c0R1YWxTdGFjayJdfV19XSwidHlw
         | 
| 98 | 
            -
            ZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6W10sImVuZHBvaW50
         | 
| 99 | 
            -
            Ijp7InVybCI6Imh0dHBzOi8vc21zLXZvaWNlLnBpbnBvaW50LntSZWdpb259
         | 
| 100 | 
            -
            LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3Bl
         | 
| 101 | 
            -
            cnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0s
         | 
| 102 | 
            -
            eyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxl
         | 
| 103 | 
            -
            ZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3Rh
         | 
| 104 | 
            -
            Y2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBv
         | 
| 105 | 
            -
            aW50Ijp7InVybCI6Imh0dHBzOi8vc21zLXZvaWNlLnBpbnBvaW50LntSZWdp
         | 
| 106 | 
            -
            b259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMi
         | 
| 107 | 
            -
            Ont9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
         | 
| 108 | 
            -
             | 
| 109 | 
            -
                JSON
         | 
| 110 50 | 
             
              end
         | 
| 111 51 | 
             
            end
         | 
| @@ -39,13 +39,6 @@ module Aws::PinpointSMSVoice | |
| 39 39 | 
             
                # An object that defines a message that contains text formatted using
         | 
| 40 40 | 
             
                # Amazon Pinpoint Voice Instructions markup.
         | 
| 41 41 | 
             
                #
         | 
| 42 | 
            -
                # @note When making an API call, you may pass CallInstructionsMessageType
         | 
| 43 | 
            -
                #   data as a hash:
         | 
| 44 | 
            -
                #
         | 
| 45 | 
            -
                #       {
         | 
| 46 | 
            -
                #         text: "NonEmptyString",
         | 
| 47 | 
            -
                #       }
         | 
| 48 | 
            -
                #
         | 
| 49 42 | 
             
                # @!attribute [rw] text
         | 
| 50 43 | 
             
                #   The language to use when delivering the message. For a complete list
         | 
| 51 44 | 
             
                #   of supported languages, see the Amazon Polly Developer Guide.
         | 
| @@ -62,14 +55,6 @@ module Aws::PinpointSMSVoice | |
| 62 55 | 
             
                # An object that contains information about an event destination that
         | 
| 63 56 | 
             
                # sends data to Amazon CloudWatch Logs.
         | 
| 64 57 | 
             
                #
         | 
| 65 | 
            -
                # @note When making an API call, you may pass CloudWatchLogsDestination
         | 
| 66 | 
            -
                #   data as a hash:
         | 
| 67 | 
            -
                #
         | 
| 68 | 
            -
                #       {
         | 
| 69 | 
            -
                #         iam_role_arn: "String",
         | 
| 70 | 
            -
                #         log_group_arn: "String",
         | 
| 71 | 
            -
                #       }
         | 
| 72 | 
            -
                #
         | 
| 73 58 | 
             
                # @!attribute [rw] iam_role_arn
         | 
| 74 59 | 
             
                #   The Amazon Resource Name (ARN) of an Amazon Identity and Access
         | 
| 75 60 | 
             
                #   Management (IAM) role that is able to write event data to an Amazon
         | 
| @@ -92,29 +77,6 @@ module Aws::PinpointSMSVoice | |
| 92 77 |  | 
| 93 78 | 
             
                # Create a new event destination in a configuration set.
         | 
| 94 79 | 
             
                #
         | 
| 95 | 
            -
                # @note When making an API call, you may pass CreateConfigurationSetEventDestinationRequest
         | 
| 96 | 
            -
                #   data as a hash:
         | 
| 97 | 
            -
                #
         | 
| 98 | 
            -
                #       {
         | 
| 99 | 
            -
                #         configuration_set_name: "__string", # required
         | 
| 100 | 
            -
                #         event_destination: {
         | 
| 101 | 
            -
                #           cloud_watch_logs_destination: {
         | 
| 102 | 
            -
                #             iam_role_arn: "String",
         | 
| 103 | 
            -
                #             log_group_arn: "String",
         | 
| 104 | 
            -
                #           },
         | 
| 105 | 
            -
                #           enabled: false,
         | 
| 106 | 
            -
                #           kinesis_firehose_destination: {
         | 
| 107 | 
            -
                #             delivery_stream_arn: "String",
         | 
| 108 | 
            -
                #             iam_role_arn: "String",
         | 
| 109 | 
            -
                #           },
         | 
| 110 | 
            -
                #           matching_event_types: ["INITIATED_CALL"], # accepts INITIATED_CALL, RINGING, ANSWERED, COMPLETED_CALL, BUSY, FAILED, NO_ANSWER
         | 
| 111 | 
            -
                #           sns_destination: {
         | 
| 112 | 
            -
                #             topic_arn: "String",
         | 
| 113 | 
            -
                #           },
         | 
| 114 | 
            -
                #         },
         | 
| 115 | 
            -
                #         event_destination_name: "NonEmptyString",
         | 
| 116 | 
            -
                #       }
         | 
| 117 | 
            -
                #
         | 
| 118 80 | 
             
                # @!attribute [rw] configuration_set_name
         | 
| 119 81 | 
             
                #   @return [String]
         | 
| 120 82 | 
             
                #
         | 
| @@ -145,13 +107,6 @@ module Aws::PinpointSMSVoice | |
| 145 107 |  | 
| 146 108 | 
             
                # A request to create a new configuration set.
         | 
| 147 109 | 
             
                #
         | 
| 148 | 
            -
                # @note When making an API call, you may pass CreateConfigurationSetRequest
         | 
| 149 | 
            -
                #   data as a hash:
         | 
| 150 | 
            -
                #
         | 
| 151 | 
            -
                #       {
         | 
| 152 | 
            -
                #         configuration_set_name: "WordCharactersWithDelimiters",
         | 
| 153 | 
            -
                #       }
         | 
| 154 | 
            -
                #
         | 
| 155 110 | 
             
                # @!attribute [rw] configuration_set_name
         | 
| 156 111 | 
             
                #   The name that you want to give the configuration set.
         | 
| 157 112 | 
             
                #   @return [String]
         | 
| @@ -171,14 +126,6 @@ module Aws::PinpointSMSVoice | |
| 171 126 | 
             
                #
         | 
| 172 127 | 
             
                class CreateConfigurationSetResponse < Aws::EmptyStructure; end
         | 
| 173 128 |  | 
| 174 | 
            -
                # @note When making an API call, you may pass DeleteConfigurationSetEventDestinationRequest
         | 
| 175 | 
            -
                #   data as a hash:
         | 
| 176 | 
            -
                #
         | 
| 177 | 
            -
                #       {
         | 
| 178 | 
            -
                #         configuration_set_name: "__string", # required
         | 
| 179 | 
            -
                #         event_destination_name: "__string", # required
         | 
| 180 | 
            -
                #       }
         | 
| 181 | 
            -
                #
         | 
| 182 129 | 
             
                # @!attribute [rw] configuration_set_name
         | 
| 183 130 | 
             
                #   @return [String]
         | 
| 184 131 | 
             
                #
         | 
| @@ -201,13 +148,6 @@ module Aws::PinpointSMSVoice | |
| 201 148 | 
             
                #
         | 
| 202 149 | 
             
                class DeleteConfigurationSetEventDestinationResponse < Aws::EmptyStructure; end
         | 
| 203 150 |  | 
| 204 | 
            -
                # @note When making an API call, you may pass DeleteConfigurationSetRequest
         | 
| 205 | 
            -
                #   data as a hash:
         | 
| 206 | 
            -
                #
         | 
| 207 | 
            -
                #       {
         | 
| 208 | 
            -
                #         configuration_set_name: "__string", # required
         | 
| 209 | 
            -
                #       }
         | 
| 210 | 
            -
                #
         | 
| 211 151 | 
             
                # @!attribute [rw] configuration_set_name
         | 
| 212 152 | 
             
                #   @return [String]
         | 
| 213 153 | 
             
                #
         | 
| @@ -274,25 +214,6 @@ module Aws::PinpointSMSVoice | |
| 274 214 |  | 
| 275 215 | 
             
                # An object that defines a single event destination.
         | 
| 276 216 | 
             
                #
         | 
| 277 | 
            -
                # @note When making an API call, you may pass EventDestinationDefinition
         | 
| 278 | 
            -
                #   data as a hash:
         | 
| 279 | 
            -
                #
         | 
| 280 | 
            -
                #       {
         | 
| 281 | 
            -
                #         cloud_watch_logs_destination: {
         | 
| 282 | 
            -
                #           iam_role_arn: "String",
         | 
| 283 | 
            -
                #           log_group_arn: "String",
         | 
| 284 | 
            -
                #         },
         | 
| 285 | 
            -
                #         enabled: false,
         | 
| 286 | 
            -
                #         kinesis_firehose_destination: {
         | 
| 287 | 
            -
                #           delivery_stream_arn: "String",
         | 
| 288 | 
            -
                #           iam_role_arn: "String",
         | 
| 289 | 
            -
                #         },
         | 
| 290 | 
            -
                #         matching_event_types: ["INITIATED_CALL"], # accepts INITIATED_CALL, RINGING, ANSWERED, COMPLETED_CALL, BUSY, FAILED, NO_ANSWER
         | 
| 291 | 
            -
                #         sns_destination: {
         | 
| 292 | 
            -
                #           topic_arn: "String",
         | 
| 293 | 
            -
                #         },
         | 
| 294 | 
            -
                #       }
         | 
| 295 | 
            -
                #
         | 
| 296 217 | 
             
                # @!attribute [rw] cloud_watch_logs_destination
         | 
| 297 218 | 
             
                #   An object that contains information about an event destination that
         | 
| 298 219 | 
             
                #   sends data to Amazon CloudWatch Logs.
         | 
| @@ -332,13 +253,6 @@ module Aws::PinpointSMSVoice | |
| 332 253 | 
             
                  include Aws::Structure
         | 
| 333 254 | 
             
                end
         | 
| 334 255 |  | 
| 335 | 
            -
                # @note When making an API call, you may pass GetConfigurationSetEventDestinationsRequest
         | 
| 336 | 
            -
                #   data as a hash:
         | 
| 337 | 
            -
                #
         | 
| 338 | 
            -
                #       {
         | 
| 339 | 
            -
                #         configuration_set_name: "__string", # required
         | 
| 340 | 
            -
                #       }
         | 
| 341 | 
            -
                #
         | 
| 342 256 | 
             
                # @!attribute [rw] configuration_set_name
         | 
| 343 257 | 
             
                #   @return [String]
         | 
| 344 258 | 
             
                #
         | 
| @@ -384,14 +298,6 @@ module Aws::PinpointSMSVoice | |
| 384 298 | 
             
                # An object that contains information about an event destination that
         | 
| 385 299 | 
             
                # sends data to Amazon Kinesis Data Firehose.
         | 
| 386 300 | 
             
                #
         | 
| 387 | 
            -
                # @note When making an API call, you may pass KinesisFirehoseDestination
         | 
| 388 | 
            -
                #   data as a hash:
         | 
| 389 | 
            -
                #
         | 
| 390 | 
            -
                #       {
         | 
| 391 | 
            -
                #         delivery_stream_arn: "String",
         | 
| 392 | 
            -
                #         iam_role_arn: "String",
         | 
| 393 | 
            -
                #       }
         | 
| 394 | 
            -
                #
         | 
| 395 301 | 
             
                # @!attribute [rw] delivery_stream_arn
         | 
| 396 302 | 
             
                #   The Amazon Resource Name (ARN) of an IAM role that can write data to
         | 
| 397 303 | 
             
                #   an Amazon Kinesis Data Firehose stream.
         | 
| @@ -424,14 +330,6 @@ module Aws::PinpointSMSVoice | |
| 424 330 | 
             
                  include Aws::Structure
         | 
| 425 331 | 
             
                end
         | 
| 426 332 |  | 
| 427 | 
            -
                # @note When making an API call, you may pass ListConfigurationSetsRequest
         | 
| 428 | 
            -
                #   data as a hash:
         | 
| 429 | 
            -
                #
         | 
| 430 | 
            -
                #       {
         | 
| 431 | 
            -
                #         next_token: "__string",
         | 
| 432 | 
            -
                #         page_size: "__string",
         | 
| 433 | 
            -
                #       }
         | 
| 434 | 
            -
                #
         | 
| 435 333 | 
             
                # @!attribute [rw] next_token
         | 
| 436 334 | 
             
                #   @return [String]
         | 
| 437 335 | 
             
                #
         | 
| @@ -484,15 +382,6 @@ module Aws::PinpointSMSVoice | |
| 484 382 |  | 
| 485 383 | 
             
                # An object that defines a message that contains unformatted text.
         | 
| 486 384 | 
             
                #
         | 
| 487 | 
            -
                # @note When making an API call, you may pass PlainTextMessageType
         | 
| 488 | 
            -
                #   data as a hash:
         | 
| 489 | 
            -
                #
         | 
| 490 | 
            -
                #       {
         | 
| 491 | 
            -
                #         language_code: "String",
         | 
| 492 | 
            -
                #         text: "NonEmptyString",
         | 
| 493 | 
            -
                #         voice_id: "String",
         | 
| 494 | 
            -
                #       }
         | 
| 495 | 
            -
                #
         | 
| 496 385 | 
             
                # @!attribute [rw] language_code
         | 
| 497 386 | 
             
                #   The language to use when delivering the message. For a complete list
         | 
| 498 387 | 
             
                #   of supported languages, see the Amazon Polly Developer Guide.
         | 
| @@ -520,15 +409,6 @@ module Aws::PinpointSMSVoice | |
| 520 409 |  | 
| 521 410 | 
             
                # An object that defines a message that contains SSML-formatted text.
         | 
| 522 411 | 
             
                #
         | 
| 523 | 
            -
                # @note When making an API call, you may pass SSMLMessageType
         | 
| 524 | 
            -
                #   data as a hash:
         | 
| 525 | 
            -
                #
         | 
| 526 | 
            -
                #       {
         | 
| 527 | 
            -
                #         language_code: "String",
         | 
| 528 | 
            -
                #         text: "NonEmptyString",
         | 
| 529 | 
            -
                #         voice_id: "String",
         | 
| 530 | 
            -
                #       }
         | 
| 531 | 
            -
                #
         | 
| 532 412 | 
             
                # @!attribute [rw] language_code
         | 
| 533 413 | 
             
                #   The language to use when delivering the message. For a complete list
         | 
| 534 414 | 
             
                #   of supported languages, see the Amazon Polly Developer Guide.
         | 
| @@ -556,31 +436,6 @@ module Aws::PinpointSMSVoice | |
| 556 436 |  | 
| 557 437 | 
             
                # A request to create and send a new voice message.
         | 
| 558 438 | 
             
                #
         | 
| 559 | 
            -
                # @note When making an API call, you may pass SendVoiceMessageRequest
         | 
| 560 | 
            -
                #   data as a hash:
         | 
| 561 | 
            -
                #
         | 
| 562 | 
            -
                #       {
         | 
| 563 | 
            -
                #         caller_id: "String",
         | 
| 564 | 
            -
                #         configuration_set_name: "WordCharactersWithDelimiters",
         | 
| 565 | 
            -
                #         content: {
         | 
| 566 | 
            -
                #           call_instructions_message: {
         | 
| 567 | 
            -
                #             text: "NonEmptyString",
         | 
| 568 | 
            -
                #           },
         | 
| 569 | 
            -
                #           plain_text_message: {
         | 
| 570 | 
            -
                #             language_code: "String",
         | 
| 571 | 
            -
                #             text: "NonEmptyString",
         | 
| 572 | 
            -
                #             voice_id: "String",
         | 
| 573 | 
            -
                #           },
         | 
| 574 | 
            -
                #           ssml_message: {
         | 
| 575 | 
            -
                #             language_code: "String",
         | 
| 576 | 
            -
                #             text: "NonEmptyString",
         | 
| 577 | 
            -
                #             voice_id: "String",
         | 
| 578 | 
            -
                #           },
         | 
| 579 | 
            -
                #         },
         | 
| 580 | 
            -
                #         destination_phone_number: "NonEmptyString",
         | 
| 581 | 
            -
                #         origination_phone_number: "NonEmptyString",
         | 
| 582 | 
            -
                #       }
         | 
| 583 | 
            -
                #
         | 
| 584 439 | 
             
                # @!attribute [rw] caller_id
         | 
| 585 440 | 
             
                #   The phone number that appears on recipients' devices when they
         | 
| 586 441 | 
             
                #   receive the message.
         | 
| @@ -637,13 +492,6 @@ module Aws::PinpointSMSVoice | |
| 637 492 | 
             
                # An object that contains information about an event destination that
         | 
| 638 493 | 
             
                # sends data to Amazon SNS.
         | 
| 639 494 | 
             
                #
         | 
| 640 | 
            -
                # @note When making an API call, you may pass SnsDestination
         | 
| 641 | 
            -
                #   data as a hash:
         | 
| 642 | 
            -
                #
         | 
| 643 | 
            -
                #       {
         | 
| 644 | 
            -
                #         topic_arn: "String",
         | 
| 645 | 
            -
                #       }
         | 
| 646 | 
            -
                #
         | 
| 647 495 | 
             
                # @!attribute [rw] topic_arn
         | 
| 648 496 | 
             
                #   The Amazon Resource Name (ARN) of the Amazon SNS topic that you want
         | 
| 649 497 | 
             
                #   to publish events to.
         | 
| @@ -674,29 +522,6 @@ module Aws::PinpointSMSVoice | |
| 674 522 | 
             
                # An object that defines a request to update an existing event
         | 
| 675 523 | 
             
                # destination.
         | 
| 676 524 | 
             
                #
         | 
| 677 | 
            -
                # @note When making an API call, you may pass UpdateConfigurationSetEventDestinationRequest
         | 
| 678 | 
            -
                #   data as a hash:
         | 
| 679 | 
            -
                #
         | 
| 680 | 
            -
                #       {
         | 
| 681 | 
            -
                #         configuration_set_name: "__string", # required
         | 
| 682 | 
            -
                #         event_destination: {
         | 
| 683 | 
            -
                #           cloud_watch_logs_destination: {
         | 
| 684 | 
            -
                #             iam_role_arn: "String",
         | 
| 685 | 
            -
                #             log_group_arn: "String",
         | 
| 686 | 
            -
                #           },
         | 
| 687 | 
            -
                #           enabled: false,
         | 
| 688 | 
            -
                #           kinesis_firehose_destination: {
         | 
| 689 | 
            -
                #             delivery_stream_arn: "String",
         | 
| 690 | 
            -
                #             iam_role_arn: "String",
         | 
| 691 | 
            -
                #           },
         | 
| 692 | 
            -
                #           matching_event_types: ["INITIATED_CALL"], # accepts INITIATED_CALL, RINGING, ANSWERED, COMPLETED_CALL, BUSY, FAILED, NO_ANSWER
         | 
| 693 | 
            -
                #           sns_destination: {
         | 
| 694 | 
            -
                #             topic_arn: "String",
         | 
| 695 | 
            -
                #           },
         | 
| 696 | 
            -
                #         },
         | 
| 697 | 
            -
                #         event_destination_name: "__string", # required
         | 
| 698 | 
            -
                #       }
         | 
| 699 | 
            -
                #
         | 
| 700 525 | 
             
                # @!attribute [rw] configuration_set_name
         | 
| 701 526 | 
             
                #   @return [String]
         | 
| 702 527 | 
             
                #
         | 
| @@ -727,25 +552,6 @@ module Aws::PinpointSMSVoice | |
| 727 552 | 
             
                # An object that contains a voice message and information about the
         | 
| 728 553 | 
             
                # recipient that you want to send it to.
         | 
| 729 554 | 
             
                #
         | 
| 730 | 
            -
                # @note When making an API call, you may pass VoiceMessageContent
         | 
| 731 | 
            -
                #   data as a hash:
         | 
| 732 | 
            -
                #
         | 
| 733 | 
            -
                #       {
         | 
| 734 | 
            -
                #         call_instructions_message: {
         | 
| 735 | 
            -
                #           text: "NonEmptyString",
         | 
| 736 | 
            -
                #         },
         | 
| 737 | 
            -
                #         plain_text_message: {
         | 
| 738 | 
            -
                #           language_code: "String",
         | 
| 739 | 
            -
                #           text: "NonEmptyString",
         | 
| 740 | 
            -
                #           voice_id: "String",
         | 
| 741 | 
            -
                #         },
         | 
| 742 | 
            -
                #         ssml_message: {
         | 
| 743 | 
            -
                #           language_code: "String",
         | 
| 744 | 
            -
                #           text: "NonEmptyString",
         | 
| 745 | 
            -
                #           voice_id: "String",
         | 
| 746 | 
            -
                #         },
         | 
| 747 | 
            -
                #       }
         | 
| 748 | 
            -
                #
         | 
| 749 555 | 
             
                # @!attribute [rw] call_instructions_message
         | 
| 750 556 | 
             
                #   An object that defines a message that contains text formatted using
         | 
| 751 557 | 
             
                #   Amazon Pinpoint Voice Instructions markup.
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-pinpointsmsvoice
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.34.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Amazon Web Services
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2023-01-18 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         |