aws-sdk-pinpointsmsvoice 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 28236594c0666303bee40178af4c2a424b6c1235
         | 
| 4 | 
            +
              data.tar.gz: 1a7a28bc5769832898ddf945f22ded8bc18784c1
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: d925e0e74da7ed0310e481d0ca86a5e5a00eb351efdc857a10324f41a7de2bcd2a2a54b2c6d4aba89113a73e97b28562226ad767b2f83f734fa0de1083076c1b
         | 
| 7 | 
            +
              data.tar.gz: 627c18a13f3810bd457f8f5f59ef025b0185eea8cf3862513b675e4a810b7642a7002f20f2d826b44cd86c5e74a0bca79653ab16a4d1537d4e8a7ac8cdee31ad
         | 
| @@ -255,6 +255,9 @@ module Aws::PinpointSMSVoice | |
| 255 255 | 
             
                #         iam_role_arn: "String",
         | 
| 256 256 | 
             
                #       },
         | 
| 257 257 | 
             
                #       matching_event_types: ["INITIATED_CALL"], # accepts INITIATED_CALL, RINGING, ANSWERED, COMPLETED_CALL, BUSY, FAILED, NO_ANSWER
         | 
| 258 | 
            +
                #       sns_destination: {
         | 
| 259 | 
            +
                #         topic_arn: "String",
         | 
| 260 | 
            +
                #       },
         | 
| 258 261 | 
             
                #     },
         | 
| 259 262 | 
             
                #     event_destination_name: "NonEmptyString",
         | 
| 260 263 | 
             
                #   })
         | 
| @@ -340,6 +343,7 @@ module Aws::PinpointSMSVoice | |
| 340 343 | 
             
                #   resp.event_destinations[0].matching_event_types #=> Array
         | 
| 341 344 | 
             
                #   resp.event_destinations[0].matching_event_types[0] #=> String, one of "INITIATED_CALL", "RINGING", "ANSWERED", "COMPLETED_CALL", "BUSY", "FAILED", "NO_ANSWER"
         | 
| 342 345 | 
             
                #   resp.event_destinations[0].name #=> String
         | 
| 346 | 
            +
                #   resp.event_destinations[0].sns_destination.topic_arn #=> String
         | 
| 343 347 | 
             
                #
         | 
| 344 348 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/GetConfigurationSetEventDestinations AWS API Documentation
         | 
| 345 349 | 
             
                #
         | 
| @@ -443,6 +447,9 @@ module Aws::PinpointSMSVoice | |
| 443 447 | 
             
                #         iam_role_arn: "String",
         | 
| 444 448 | 
             
                #       },
         | 
| 445 449 | 
             
                #       matching_event_types: ["INITIATED_CALL"], # accepts INITIATED_CALL, RINGING, ANSWERED, COMPLETED_CALL, BUSY, FAILED, NO_ANSWER
         | 
| 450 | 
            +
                #       sns_destination: {
         | 
| 451 | 
            +
                #         topic_arn: "String",
         | 
| 452 | 
            +
                #       },
         | 
| 446 453 | 
             
                #     },
         | 
| 447 454 | 
             
                #     event_destination_name: "__string", # required
         | 
| 448 455 | 
             
                #   })
         | 
| @@ -469,7 +476,7 @@ module Aws::PinpointSMSVoice | |
| 469 476 | 
             
                    params: params,
         | 
| 470 477 | 
             
                    config: config)
         | 
| 471 478 | 
             
                  context[:gem_name] = 'aws-sdk-pinpointsmsvoice'
         | 
| 472 | 
            -
                  context[:gem_version] = '1. | 
| 479 | 
            +
                  context[:gem_version] = '1.2.0'
         | 
| 473 480 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 474 481 | 
             
                end
         | 
| 475 482 |  | 
| @@ -40,6 +40,7 @@ module Aws::PinpointSMSVoice | |
| 40 40 | 
             
                SSMLMessageType = Shapes::StructureShape.new(name: 'SSMLMessageType')
         | 
| 41 41 | 
             
                SendVoiceMessageRequest = Shapes::StructureShape.new(name: 'SendVoiceMessageRequest')
         | 
| 42 42 | 
             
                SendVoiceMessageResponse = Shapes::StructureShape.new(name: 'SendVoiceMessageResponse')
         | 
| 43 | 
            +
                SnsDestination = Shapes::StructureShape.new(name: 'SnsDestination')
         | 
| 43 44 | 
             
                String = Shapes::StringShape.new(name: 'String')
         | 
| 44 45 | 
             
                TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
         | 
| 45 46 | 
             
                UpdateConfigurationSetEventDestinationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationSetEventDestinationRequest')
         | 
| @@ -89,12 +90,14 @@ module Aws::PinpointSMSVoice | |
| 89 90 | 
             
                EventDestination.add_member(:kinesis_firehose_destination, Shapes::ShapeRef.new(shape: KinesisFirehoseDestination, location_name: "KinesisFirehoseDestination"))
         | 
| 90 91 | 
             
                EventDestination.add_member(:matching_event_types, Shapes::ShapeRef.new(shape: EventTypes, location_name: "MatchingEventTypes"))
         | 
| 91 92 | 
             
                EventDestination.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
         | 
| 93 | 
            +
                EventDestination.add_member(:sns_destination, Shapes::ShapeRef.new(shape: SnsDestination, location_name: "SnsDestination"))
         | 
| 92 94 | 
             
                EventDestination.struct_class = Types::EventDestination
         | 
| 93 95 |  | 
| 94 96 | 
             
                EventDestinationDefinition.add_member(:cloud_watch_logs_destination, Shapes::ShapeRef.new(shape: CloudWatchLogsDestination, location_name: "CloudWatchLogsDestination"))
         | 
| 95 97 | 
             
                EventDestinationDefinition.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
         | 
| 96 98 | 
             
                EventDestinationDefinition.add_member(:kinesis_firehose_destination, Shapes::ShapeRef.new(shape: KinesisFirehoseDestination, location_name: "KinesisFirehoseDestination"))
         | 
| 97 99 | 
             
                EventDestinationDefinition.add_member(:matching_event_types, Shapes::ShapeRef.new(shape: EventTypes, location_name: "MatchingEventTypes"))
         | 
| 100 | 
            +
                EventDestinationDefinition.add_member(:sns_destination, Shapes::ShapeRef.new(shape: SnsDestination, location_name: "SnsDestination"))
         | 
| 98 101 | 
             
                EventDestinationDefinition.struct_class = Types::EventDestinationDefinition
         | 
| 99 102 |  | 
| 100 103 | 
             
                EventDestinations.member = Shapes::ShapeRef.new(shape: EventDestination)
         | 
| @@ -131,6 +134,9 @@ module Aws::PinpointSMSVoice | |
| 131 134 | 
             
                SendVoiceMessageResponse.add_member(:message_id, Shapes::ShapeRef.new(shape: String, location_name: "MessageId"))
         | 
| 132 135 | 
             
                SendVoiceMessageResponse.struct_class = Types::SendVoiceMessageResponse
         | 
| 133 136 |  | 
| 137 | 
            +
                SnsDestination.add_member(:topic_arn, Shapes::ShapeRef.new(shape: String, location_name: "TopicArn"))
         | 
| 138 | 
            +
                SnsDestination.struct_class = Types::SnsDestination
         | 
| 139 | 
            +
             | 
| 134 140 | 
             
                UpdateConfigurationSetEventDestinationRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ConfigurationSetName"))
         | 
| 135 141 | 
             
                UpdateConfigurationSetEventDestinationRequest.add_member(:event_destination, Shapes::ShapeRef.new(shape: EventDestinationDefinition, location_name: "EventDestination"))
         | 
| 136 142 | 
             
                UpdateConfigurationSetEventDestinationRequest.add_member(:event_destination_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "EventDestinationName"))
         | 
| @@ -30,7 +30,7 @@ module Aws::PinpointSMSVoice | |
| 30 30 | 
             
                  include Aws::Structure
         | 
| 31 31 | 
             
                end
         | 
| 32 32 |  | 
| 33 | 
            -
                # An object that contains information about  | 
| 33 | 
            +
                # An object that contains information about an event destination that
         | 
| 34 34 | 
             
                # sends data to Amazon CloudWatch Logs.
         | 
| 35 35 | 
             
                #
         | 
| 36 36 | 
             
                # @note When making an API call, you may pass CloudWatchLogsDestination
         | 
| @@ -78,6 +78,9 @@ module Aws::PinpointSMSVoice | |
| 78 78 | 
             
                #             iam_role_arn: "String",
         | 
| 79 79 | 
             
                #           },
         | 
| 80 80 | 
             
                #           matching_event_types: ["INITIATED_CALL"], # accepts INITIATED_CALL, RINGING, ANSWERED, COMPLETED_CALL, BUSY, FAILED, NO_ANSWER
         | 
| 81 | 
            +
                #           sns_destination: {
         | 
| 82 | 
            +
                #             topic_arn: "String",
         | 
| 83 | 
            +
                #           },
         | 
| 81 84 | 
             
                #         },
         | 
| 82 85 | 
             
                #         event_destination_name: "NonEmptyString",
         | 
| 83 86 | 
             
                #       }
         | 
| @@ -192,7 +195,7 @@ module Aws::PinpointSMSVoice | |
| 192 195 | 
             
                # An object that defines an event destination.
         | 
| 193 196 | 
             
                #
         | 
| 194 197 | 
             
                # @!attribute [rw] cloud_watch_logs_destination
         | 
| 195 | 
            -
                #   An object that contains information about  | 
| 198 | 
            +
                #   An object that contains information about an event destination that
         | 
| 196 199 | 
             
                #   sends data to Amazon CloudWatch Logs.
         | 
| 197 200 | 
             
                #   @return [Types::CloudWatchLogsDestination]
         | 
| 198 201 | 
             
                #
         | 
| @@ -203,7 +206,7 @@ module Aws::PinpointSMSVoice | |
| 203 206 | 
             
                #   @return [Boolean]
         | 
| 204 207 | 
             
                #
         | 
| 205 208 | 
             
                # @!attribute [rw] kinesis_firehose_destination
         | 
| 206 | 
            -
                #   An object that contains information about  | 
| 209 | 
            +
                #   An object that contains information about an event destination that
         | 
| 207 210 | 
             
                #   sends data to Amazon Kinesis Data Firehose.
         | 
| 208 211 | 
             
                #   @return [Types::KinesisFirehoseDestination]
         | 
| 209 212 | 
             
                #
         | 
| @@ -217,6 +220,11 @@ module Aws::PinpointSMSVoice | |
| 217 220 | 
             
                #   A name that identifies the event destination configuration.
         | 
| 218 221 | 
             
                #   @return [String]
         | 
| 219 222 | 
             
                #
         | 
| 223 | 
            +
                # @!attribute [rw] sns_destination
         | 
| 224 | 
            +
                #   An object that contains information about an event destination that
         | 
| 225 | 
            +
                #   sends data to Amazon SNS.
         | 
| 226 | 
            +
                #   @return [Types::SnsDestination]
         | 
| 227 | 
            +
                #
         | 
| 220 228 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/EventDestination AWS API Documentation
         | 
| 221 229 | 
             
                #
         | 
| 222 230 | 
             
                class EventDestination < Struct.new(
         | 
| @@ -224,7 +232,8 @@ module Aws::PinpointSMSVoice | |
| 224 232 | 
             
                  :enabled,
         | 
| 225 233 | 
             
                  :kinesis_firehose_destination,
         | 
| 226 234 | 
             
                  :matching_event_types,
         | 
| 227 | 
            -
                  :name | 
| 235 | 
            +
                  :name,
         | 
| 236 | 
            +
                  :sns_destination)
         | 
| 228 237 | 
             
                  include Aws::Structure
         | 
| 229 238 | 
             
                end
         | 
| 230 239 |  | 
| @@ -244,10 +253,13 @@ module Aws::PinpointSMSVoice | |
| 244 253 | 
             
                #           iam_role_arn: "String",
         | 
| 245 254 | 
             
                #         },
         | 
| 246 255 | 
             
                #         matching_event_types: ["INITIATED_CALL"], # accepts INITIATED_CALL, RINGING, ANSWERED, COMPLETED_CALL, BUSY, FAILED, NO_ANSWER
         | 
| 256 | 
            +
                #         sns_destination: {
         | 
| 257 | 
            +
                #           topic_arn: "String",
         | 
| 258 | 
            +
                #         },
         | 
| 247 259 | 
             
                #       }
         | 
| 248 260 | 
             
                #
         | 
| 249 261 | 
             
                # @!attribute [rw] cloud_watch_logs_destination
         | 
| 250 | 
            -
                #   An object that contains information about  | 
| 262 | 
            +
                #   An object that contains information about an event destination that
         | 
| 251 263 | 
             
                #   sends data to Amazon CloudWatch Logs.
         | 
| 252 264 | 
             
                #   @return [Types::CloudWatchLogsDestination]
         | 
| 253 265 | 
             
                #
         | 
| @@ -258,7 +270,7 @@ module Aws::PinpointSMSVoice | |
| 258 270 | 
             
                #   @return [Boolean]
         | 
| 259 271 | 
             
                #
         | 
| 260 272 | 
             
                # @!attribute [rw] kinesis_firehose_destination
         | 
| 261 | 
            -
                #   An object that contains information about  | 
| 273 | 
            +
                #   An object that contains information about an event destination that
         | 
| 262 274 | 
             
                #   sends data to Amazon Kinesis Data Firehose.
         | 
| 263 275 | 
             
                #   @return [Types::KinesisFirehoseDestination]
         | 
| 264 276 | 
             
                #
         | 
| @@ -268,13 +280,19 @@ module Aws::PinpointSMSVoice | |
| 268 280 | 
             
                #   destination.
         | 
| 269 281 | 
             
                #   @return [Array<String>]
         | 
| 270 282 | 
             
                #
         | 
| 283 | 
            +
                # @!attribute [rw] sns_destination
         | 
| 284 | 
            +
                #   An object that contains information about an event destination that
         | 
| 285 | 
            +
                #   sends data to Amazon SNS.
         | 
| 286 | 
            +
                #   @return [Types::SnsDestination]
         | 
| 287 | 
            +
                #
         | 
| 271 288 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/EventDestinationDefinition AWS API Documentation
         | 
| 272 289 | 
             
                #
         | 
| 273 290 | 
             
                class EventDestinationDefinition < Struct.new(
         | 
| 274 291 | 
             
                  :cloud_watch_logs_destination,
         | 
| 275 292 | 
             
                  :enabled,
         | 
| 276 293 | 
             
                  :kinesis_firehose_destination,
         | 
| 277 | 
            -
                  :matching_event_types | 
| 294 | 
            +
                  :matching_event_types,
         | 
| 295 | 
            +
                  :sns_destination)
         | 
| 278 296 | 
             
                  include Aws::Structure
         | 
| 279 297 | 
             
                end
         | 
| 280 298 |  | 
| @@ -310,7 +328,7 @@ module Aws::PinpointSMSVoice | |
| 310 328 | 
             
                  include Aws::Structure
         | 
| 311 329 | 
             
                end
         | 
| 312 330 |  | 
| 313 | 
            -
                # An object that contains information about  | 
| 331 | 
            +
                # An object that contains information about an event destination that
         | 
| 314 332 | 
             
                # sends data to Amazon Kinesis Data Firehose.
         | 
| 315 333 | 
             
                #
         | 
| 316 334 | 
             
                # @note When making an API call, you may pass KinesisFirehoseDestination
         | 
| @@ -360,6 +378,9 @@ module Aws::PinpointSMSVoice | |
| 360 378 | 
             
                #   @return [String]
         | 
| 361 379 | 
             
                #
         | 
| 362 380 | 
             
                # @!attribute [rw] voice_id
         | 
| 381 | 
            +
                #   The name of the voice that you want to use to deliver the message.
         | 
| 382 | 
            +
                #   For a complete list of supported voices, see the Amazon Polly
         | 
| 383 | 
            +
                #   Developer Guide.
         | 
| 363 384 | 
             
                #   @return [String]
         | 
| 364 385 | 
             
                #
         | 
| 365 386 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/PlainTextMessageType AWS API Documentation
         | 
| @@ -484,6 +505,28 @@ module Aws::PinpointSMSVoice | |
| 484 505 | 
             
                  include Aws::Structure
         | 
| 485 506 | 
             
                end
         | 
| 486 507 |  | 
| 508 | 
            +
                # An object that contains information about an event destination that
         | 
| 509 | 
            +
                # sends data to Amazon SNS.
         | 
| 510 | 
            +
                #
         | 
| 511 | 
            +
                # @note When making an API call, you may pass SnsDestination
         | 
| 512 | 
            +
                #   data as a hash:
         | 
| 513 | 
            +
                #
         | 
| 514 | 
            +
                #       {
         | 
| 515 | 
            +
                #         topic_arn: "String",
         | 
| 516 | 
            +
                #       }
         | 
| 517 | 
            +
                #
         | 
| 518 | 
            +
                # @!attribute [rw] topic_arn
         | 
| 519 | 
            +
                #   The Amazon Resource Name (ARN) of the Amazon SNS topic that you want
         | 
| 520 | 
            +
                #   to publish events to.
         | 
| 521 | 
            +
                #   @return [String]
         | 
| 522 | 
            +
                #
         | 
| 523 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/SnsDestination AWS API Documentation
         | 
| 524 | 
            +
                #
         | 
| 525 | 
            +
                class SnsDestination < Struct.new(
         | 
| 526 | 
            +
                  :topic_arn)
         | 
| 527 | 
            +
                  include Aws::Structure
         | 
| 528 | 
            +
                end
         | 
| 529 | 
            +
             | 
| 487 530 | 
             
                # An object that defines a request to update an existing event
         | 
| 488 531 | 
             
                # destination.
         | 
| 489 532 | 
             
                #
         | 
| @@ -503,6 +546,9 @@ module Aws::PinpointSMSVoice | |
| 503 546 | 
             
                #             iam_role_arn: "String",
         | 
| 504 547 | 
             
                #           },
         | 
| 505 548 | 
             
                #           matching_event_types: ["INITIATED_CALL"], # accepts INITIATED_CALL, RINGING, ANSWERED, COMPLETED_CALL, BUSY, FAILED, NO_ANSWER
         | 
| 549 | 
            +
                #           sns_destination: {
         | 
| 550 | 
            +
                #             topic_arn: "String",
         | 
| 551 | 
            +
                #           },
         | 
| 506 552 | 
             
                #         },
         | 
| 507 553 | 
             
                #         event_destination_name: "__string", # required
         | 
| 508 554 | 
             
                #       }
         | 
    
        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.2.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: 2018- | 
| 11 | 
            +
            date: 2018-12-21 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         |