aws-sdk-sns 1.67.0 → 1.68.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sns/client.rb +31 -3
- data/lib/aws-sdk-sns/client_api.rb +12 -0
- data/lib/aws-sdk-sns/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-sns/errors.rb +32 -0
- data/lib/aws-sdk-sns/resource.rb +7 -1
- data/lib/aws-sdk-sns/topic.rb +22 -0
- data/lib/aws-sdk-sns/types.rb +62 -6
- data/lib/aws-sdk-sns.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: 9921dae7e901f6b92f15023790a9271ce4786617dbe76fb9fd20bf4673469e96
         | 
| 4 | 
            +
              data.tar.gz: 4b26178549f466b6413f000ec5bf94be88dc2e0d98524160af8518d1b6e5a9d2
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 29464138a933236adc6676319da114bdc9a52aa3855e04b7af2af7f6d5d7faf3c752be59e0bb08f616b561fc54f770dbf8c65e82256ba4313f02468a2bd7e485
         | 
| 7 | 
            +
              data.tar.gz: fce3141eb1f7e682a5aa322718475f2e4f51ab2251beb901fa89809f531b221d19c9d1f7231ee3a2a71eebcb447dfaf7afd455f87aa2fb7d684046d13af45c89
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.68.0
         | 
    
        data/lib/aws-sdk-sns/client.rb
    CHANGED
    
    | @@ -770,7 +770,13 @@ module Aws::SNS | |
| 770 770 | 
             
                #
         | 
| 771 771 | 
             
                #   The following attributes apply only to [FIFO topics][4]:
         | 
| 772 772 | 
             
                #
         | 
| 773 | 
            -
                #   * ` | 
| 773 | 
            +
                #   * `ArchivePolicy` – Adds or updates an inline policy document to
         | 
| 774 | 
            +
                #     archive messages stored in the specified Amazon SNS topic.
         | 
| 775 | 
            +
                #
         | 
| 776 | 
            +
                #   * `BeginningArchiveTime` – The earliest starting point at which a
         | 
| 777 | 
            +
                #     message in the topic’s archive can be replayed from. This point in
         | 
| 778 | 
            +
                #     time is based on the configured message retention period set by the
         | 
| 779 | 
            +
                #     topic’s message archiving policy.
         | 
| 774 780 | 
             
                #
         | 
| 775 781 | 
             
                #   * `ContentBasedDeduplication` – Enables content-based deduplication
         | 
| 776 782 | 
             
                #     for FIFO topics.
         | 
| @@ -2558,7 +2564,7 @@ module Aws::SNS | |
| 2558 2564 | 
             
                # `ConfirmSubscription` action to confirm the subscription.
         | 
| 2559 2565 | 
             
                #
         | 
| 2560 2566 | 
             
                # You call the `ConfirmSubscription` action with the token from the
         | 
| 2561 | 
            -
                # subscription response. Confirmation tokens are valid for  | 
| 2567 | 
            +
                # subscription response. Confirmation tokens are valid for two days.
         | 
| 2562 2568 | 
             
                #
         | 
| 2563 2569 | 
             
                # This action is throttled at 100 transactions per second (TPS).
         | 
| 2564 2570 | 
             
                #
         | 
| @@ -2665,9 +2671,31 @@ module Aws::SNS | |
| 2665 2671 | 
             
                #     see [Fanout to Kinesis Data Firehose delivery streams][1] in the
         | 
| 2666 2672 | 
             
                #     *Amazon SNS Developer Guide*.
         | 
| 2667 2673 | 
             
                #
         | 
| 2674 | 
            +
                #   The following attributes apply only to [FIFO topics][2]:
         | 
| 2675 | 
            +
                #
         | 
| 2676 | 
            +
                #   * `ReplayPolicy` – Adds or updates an inline policy document for a
         | 
| 2677 | 
            +
                #     subscription to replay messages stored in the specified Amazon SNS
         | 
| 2678 | 
            +
                #     topic.
         | 
| 2679 | 
            +
                #
         | 
| 2680 | 
            +
                #   * `ReplayStatus` – Retrieves the status of the subscription message
         | 
| 2681 | 
            +
                #     replay, which can be one of the following:
         | 
| 2682 | 
            +
                #
         | 
| 2683 | 
            +
                #     * `Completed` – The replay has successfully redelivered all
         | 
| 2684 | 
            +
                #       messages, and is now delivering newly published messages. If an
         | 
| 2685 | 
            +
                #       ending point was specified in the `ReplayPolicy` then the
         | 
| 2686 | 
            +
                #       subscription will no longer receive newly published messages.
         | 
| 2687 | 
            +
                #
         | 
| 2688 | 
            +
                #     * `In progress` – The replay is currently replaying the selected
         | 
| 2689 | 
            +
                #       messages.
         | 
| 2690 | 
            +
                #
         | 
| 2691 | 
            +
                #     * `Failed` – The replay was unable to complete.
         | 
| 2692 | 
            +
                #
         | 
| 2693 | 
            +
                #     * `Pending` – The default state while the replay initiates.
         | 
| 2694 | 
            +
                #
         | 
| 2668 2695 | 
             
                #
         | 
| 2669 2696 | 
             
                #
         | 
| 2670 2697 | 
             
                #   [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-firehose-as-subscriber.html
         | 
| 2698 | 
            +
                #   [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html
         | 
| 2671 2699 | 
             
                #
         | 
| 2672 2700 | 
             
                # @option params [Boolean] :return_subscription_arn
         | 
| 2673 2701 | 
             
                #   Sets whether the response from the `Subscribe` request includes the
         | 
| @@ -2889,7 +2917,7 @@ module Aws::SNS | |
| 2889 2917 | 
             
                    params: params,
         | 
| 2890 2918 | 
             
                    config: config)
         | 
| 2891 2919 | 
             
                  context[:gem_name] = 'aws-sdk-sns'
         | 
| 2892 | 
            -
                  context[:gem_version] = '1. | 
| 2920 | 
            +
                  context[:gem_version] = '1.68.0'
         | 
| 2893 2921 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 2894 2922 | 
             
                end
         | 
| 2895 2923 |  | 
| @@ -64,6 +64,7 @@ module Aws::SNS | |
| 64 64 | 
             
                InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
         | 
| 65 65 | 
             
                InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
         | 
| 66 66 | 
             
                InvalidSecurityException = Shapes::StructureShape.new(name: 'InvalidSecurityException')
         | 
| 67 | 
            +
                InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
         | 
| 67 68 | 
             
                Iso2CountryCode = Shapes::StringShape.new(name: 'Iso2CountryCode')
         | 
| 68 69 | 
             
                KMSAccessDeniedException = Shapes::StructureShape.new(name: 'KMSAccessDeniedException')
         | 
| 69 70 | 
             
                KMSDisabledException = Shapes::StructureShape.new(name: 'KMSDisabledException')
         | 
| @@ -122,6 +123,7 @@ module Aws::SNS | |
| 122 123 | 
             
                PublishResponse = Shapes::StructureShape.new(name: 'PublishResponse')
         | 
| 123 124 | 
             
                PutDataProtectionPolicyInput = Shapes::StructureShape.new(name: 'PutDataProtectionPolicyInput')
         | 
| 124 125 | 
             
                RemovePermissionInput = Shapes::StructureShape.new(name: 'RemovePermissionInput')
         | 
| 126 | 
            +
                ReplayLimitExceededException = Shapes::StructureShape.new(name: 'ReplayLimitExceededException')
         | 
| 125 127 | 
             
                ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
         | 
| 126 128 | 
             
                RouteType = Shapes::StringShape.new(name: 'RouteType')
         | 
| 127 129 | 
             
                SMSSandboxPhoneNumber = Shapes::StructureShape.new(name: 'SMSSandboxPhoneNumber')
         | 
| @@ -345,6 +347,9 @@ module Aws::SNS | |
| 345 347 | 
             
                InvalidSecurityException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
         | 
| 346 348 | 
             
                InvalidSecurityException.struct_class = Types::InvalidSecurityException
         | 
| 347 349 |  | 
| 350 | 
            +
                InvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
         | 
| 351 | 
            +
                InvalidStateException.struct_class = Types::InvalidStateException
         | 
| 352 | 
            +
             | 
| 348 353 | 
             
                KMSAccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
         | 
| 349 354 | 
             
                KMSAccessDeniedException.struct_class = Types::KMSAccessDeniedException
         | 
| 350 355 |  | 
| @@ -527,6 +532,9 @@ module Aws::SNS | |
| 527 532 | 
             
                RemovePermissionInput.add_member(:label, Shapes::ShapeRef.new(shape: label, required: true, location_name: "Label"))
         | 
| 528 533 | 
             
                RemovePermissionInput.struct_class = Types::RemovePermissionInput
         | 
| 529 534 |  | 
| 535 | 
            +
                ReplayLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
         | 
| 536 | 
            +
                ReplayLimitExceededException.struct_class = Types::ReplayLimitExceededException
         | 
| 537 | 
            +
             | 
| 530 538 | 
             
                ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
         | 
| 531 539 | 
             
                ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
         | 
| 532 540 |  | 
| @@ -703,6 +711,7 @@ module Aws::SNS | |
| 703 711 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
         | 
| 704 712 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
         | 
| 705 713 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: FilterPolicyLimitExceededException)
         | 
| 714 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: ReplayLimitExceededException)
         | 
| 706 715 | 
             
                  end)
         | 
| 707 716 |  | 
| 708 717 | 
             
                  api.add_operation(:create_platform_application, Seahorse::Model::Operation.new.tap do |o|
         | 
| @@ -802,6 +811,7 @@ module Aws::SNS | |
| 802 811 | 
             
                    o.input = Shapes::ShapeRef.new(shape: DeleteTopicInput)
         | 
| 803 812 | 
             
                    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
         | 
| 804 813 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
         | 
| 814 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
         | 
| 805 815 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
         | 
| 806 816 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
         | 
| 807 817 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
         | 
| @@ -1177,6 +1187,7 @@ module Aws::SNS | |
| 1177 1187 | 
             
                    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
         | 
| 1178 1188 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
         | 
| 1179 1189 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: FilterPolicyLimitExceededException)
         | 
| 1190 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: ReplayLimitExceededException)
         | 
| 1180 1191 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
         | 
| 1181 1192 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
         | 
| 1182 1193 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
         | 
| @@ -1203,6 +1214,7 @@ module Aws::SNS | |
| 1203 1214 | 
             
                    o.output = Shapes::ShapeRef.new(shape: SubscribeResponse)
         | 
| 1204 1215 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: SubscriptionLimitExceededException)
         | 
| 1205 1216 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: FilterPolicyLimitExceededException)
         | 
| 1217 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: ReplayLimitExceededException)
         | 
| 1206 1218 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
         | 
| 1207 1219 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
         | 
| 1208 1220 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
         | 
| @@ -32,7 +32,7 @@ module Aws::SNS | |
| 32 32 | 
             
                        raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
         | 
| 33 33 | 
             
                      end
         | 
| 34 34 | 
             
                      if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
         | 
| 35 | 
            -
                        if Aws::Endpoints::Matchers.boolean_equals?( | 
| 35 | 
            +
                        if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
         | 
| 36 36 | 
             
                          if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
         | 
| 37 37 | 
             
                            return Aws::Endpoints::Endpoint.new(url: "https://sns.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
         | 
| 38 38 | 
             
                          end
         | 
    
        data/lib/aws-sdk-sns/errors.rb
    CHANGED
    
    | @@ -39,6 +39,7 @@ module Aws::SNS | |
| 39 39 | 
             
              # * {InvalidParameterException}
         | 
| 40 40 | 
             
              # * {InvalidParameterValueException}
         | 
| 41 41 | 
             
              # * {InvalidSecurityException}
         | 
| 42 | 
            +
              # * {InvalidStateException}
         | 
| 42 43 | 
             
              # * {KMSAccessDeniedException}
         | 
| 43 44 | 
             
              # * {KMSDisabledException}
         | 
| 44 45 | 
             
              # * {KMSInvalidStateException}
         | 
| @@ -48,6 +49,7 @@ module Aws::SNS | |
| 48 49 | 
             
              # * {NotFoundException}
         | 
| 49 50 | 
             
              # * {OptedOutException}
         | 
| 50 51 | 
             
              # * {PlatformApplicationDisabledException}
         | 
| 52 | 
            +
              # * {ReplayLimitExceededException}
         | 
| 51 53 | 
             
              # * {ResourceNotFoundException}
         | 
| 52 54 | 
             
              # * {StaleTagException}
         | 
| 53 55 | 
             
              # * {SubscriptionLimitExceededException}
         | 
| @@ -246,6 +248,21 @@ module Aws::SNS | |
| 246 248 | 
             
                  end
         | 
| 247 249 | 
             
                end
         | 
| 248 250 |  | 
| 251 | 
            +
                class InvalidStateException < ServiceError
         | 
| 252 | 
            +
             | 
| 253 | 
            +
                  # @param [Seahorse::Client::RequestContext] context
         | 
| 254 | 
            +
                  # @param [String] message
         | 
| 255 | 
            +
                  # @param [Aws::SNS::Types::InvalidStateException] data
         | 
| 256 | 
            +
                  def initialize(context, message, data = Aws::EmptyStructure.new)
         | 
| 257 | 
            +
                    super(context, message, data)
         | 
| 258 | 
            +
                  end
         | 
| 259 | 
            +
             | 
| 260 | 
            +
                  # @return [String]
         | 
| 261 | 
            +
                  def message
         | 
| 262 | 
            +
                    @message || @data[:message]
         | 
| 263 | 
            +
                  end
         | 
| 264 | 
            +
                end
         | 
| 265 | 
            +
             | 
| 249 266 | 
             
                class KMSAccessDeniedException < ServiceError
         | 
| 250 267 |  | 
| 251 268 | 
             
                  # @param [Seahorse::Client::RequestContext] context
         | 
| @@ -381,6 +398,21 @@ module Aws::SNS | |
| 381 398 | 
             
                  end
         | 
| 382 399 | 
             
                end
         | 
| 383 400 |  | 
| 401 | 
            +
                class ReplayLimitExceededException < ServiceError
         | 
| 402 | 
            +
             | 
| 403 | 
            +
                  # @param [Seahorse::Client::RequestContext] context
         | 
| 404 | 
            +
                  # @param [String] message
         | 
| 405 | 
            +
                  # @param [Aws::SNS::Types::ReplayLimitExceededException] data
         | 
| 406 | 
            +
                  def initialize(context, message, data = Aws::EmptyStructure.new)
         | 
| 407 | 
            +
                    super(context, message, data)
         | 
| 408 | 
            +
                  end
         | 
| 409 | 
            +
             | 
| 410 | 
            +
                  # @return [String]
         | 
| 411 | 
            +
                  def message
         | 
| 412 | 
            +
                    @message || @data[:message]
         | 
| 413 | 
            +
                  end
         | 
| 414 | 
            +
                end
         | 
| 415 | 
            +
             | 
| 384 416 | 
             
                class ResourceNotFoundException < ServiceError
         | 
| 385 417 |  | 
| 386 418 | 
             
                  # @param [Seahorse::Client::RequestContext] context
         | 
    
        data/lib/aws-sdk-sns/resource.rb
    CHANGED
    
    | @@ -136,7 +136,13 @@ module Aws::SNS | |
| 136 136 | 
             
                #
         | 
| 137 137 | 
             
                #   The following attributes apply only to [FIFO topics][4]:
         | 
| 138 138 | 
             
                #
         | 
| 139 | 
            -
                #   * ` | 
| 139 | 
            +
                #   * `ArchivePolicy` – Adds or updates an inline policy document to
         | 
| 140 | 
            +
                #     archive messages stored in the specified Amazon SNS topic.
         | 
| 141 | 
            +
                #
         | 
| 142 | 
            +
                #   * `BeginningArchiveTime` – The earliest starting point at which a
         | 
| 143 | 
            +
                #     message in the topic’s archive can be replayed from. This point in
         | 
| 144 | 
            +
                #     time is based on the configured message retention period set by the
         | 
| 145 | 
            +
                #     topic’s message archiving policy.
         | 
| 140 146 | 
             
                #
         | 
| 141 147 | 
             
                #   * `ContentBasedDeduplication` – Enables content-based deduplication
         | 
| 142 148 | 
             
                #     for FIFO topics.
         | 
    
        data/lib/aws-sdk-sns/topic.rb
    CHANGED
    
    | @@ -678,9 +678,31 @@ module Aws::SNS | |
| 678 678 | 
             
                #     see [Fanout to Kinesis Data Firehose delivery streams][1] in the
         | 
| 679 679 | 
             
                #     *Amazon SNS Developer Guide*.
         | 
| 680 680 | 
             
                #
         | 
| 681 | 
            +
                #   The following attributes apply only to [FIFO topics][2]:
         | 
| 682 | 
            +
                #
         | 
| 683 | 
            +
                #   * `ReplayPolicy` – Adds or updates an inline policy document for a
         | 
| 684 | 
            +
                #     subscription to replay messages stored in the specified Amazon SNS
         | 
| 685 | 
            +
                #     topic.
         | 
| 686 | 
            +
                #
         | 
| 687 | 
            +
                #   * `ReplayStatus` – Retrieves the status of the subscription message
         | 
| 688 | 
            +
                #     replay, which can be one of the following:
         | 
| 689 | 
            +
                #
         | 
| 690 | 
            +
                #     * `Completed` – The replay has successfully redelivered all
         | 
| 691 | 
            +
                #       messages, and is now delivering newly published messages. If an
         | 
| 692 | 
            +
                #       ending point was specified in the `ReplayPolicy` then the
         | 
| 693 | 
            +
                #       subscription will no longer receive newly published messages.
         | 
| 694 | 
            +
                #
         | 
| 695 | 
            +
                #     * `In progress` – The replay is currently replaying the selected
         | 
| 696 | 
            +
                #       messages.
         | 
| 697 | 
            +
                #
         | 
| 698 | 
            +
                #     * `Failed` – The replay was unable to complete.
         | 
| 699 | 
            +
                #
         | 
| 700 | 
            +
                #     * `Pending` – The default state while the replay initiates.
         | 
| 701 | 
            +
                #
         | 
| 681 702 | 
             
                #
         | 
| 682 703 | 
             
                #
         | 
| 683 704 | 
             
                #   [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-firehose-as-subscriber.html
         | 
| 705 | 
            +
                #   [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html
         | 
| 684 706 | 
             
                # @option options [Boolean] :return_subscription_arn
         | 
| 685 707 | 
             
                #   Sets whether the response from the `Subscribe` request includes the
         | 
| 686 708 | 
             
                #   subscription ARN, even if the subscription is not yet confirmed.
         | 
    
        data/lib/aws-sdk-sns/types.rb
    CHANGED
    
    | @@ -384,7 +384,13 @@ module Aws::SNS | |
| 384 384 | 
             
                #
         | 
| 385 385 | 
             
                #   The following attributes apply only to [FIFO topics][4]:
         | 
| 386 386 | 
             
                #
         | 
| 387 | 
            -
                #   * ` | 
| 387 | 
            +
                #   * `ArchivePolicy` – Adds or updates an inline policy document to
         | 
| 388 | 
            +
                #     archive messages stored in the specified Amazon SNS topic.
         | 
| 389 | 
            +
                #
         | 
| 390 | 
            +
                #   * `BeginningArchiveTime` – The earliest starting point at which a
         | 
| 391 | 
            +
                #     message in the topic’s archive can be replayed from. This point in
         | 
| 392 | 
            +
                #     time is based on the configured message retention period set by
         | 
| 393 | 
            +
                #     the topic’s message archiving policy.
         | 
| 388 394 | 
             
                #
         | 
| 389 395 | 
             
                #   * `ContentBasedDeduplication` – Enables content-based deduplication
         | 
| 390 396 | 
             
                #     for FIFO topics.
         | 
| @@ -1042,6 +1048,20 @@ module Aws::SNS | |
| 1042 1048 | 
             
                  include Aws::Structure
         | 
| 1043 1049 | 
             
                end
         | 
| 1044 1050 |  | 
| 1051 | 
            +
                # Indicates that the specified state is not a valid state for an event
         | 
| 1052 | 
            +
                # source.
         | 
| 1053 | 
            +
                #
         | 
| 1054 | 
            +
                # @!attribute [rw] message
         | 
| 1055 | 
            +
                #   @return [String]
         | 
| 1056 | 
            +
                #
         | 
| 1057 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/InvalidStateException AWS API Documentation
         | 
| 1058 | 
            +
                #
         | 
| 1059 | 
            +
                class InvalidStateException < Struct.new(
         | 
| 1060 | 
            +
                  :message)
         | 
| 1061 | 
            +
                  SENSITIVE = []
         | 
| 1062 | 
            +
                  include Aws::Structure
         | 
| 1063 | 
            +
                end
         | 
| 1064 | 
            +
             | 
| 1045 1065 | 
             
                # The ciphertext references a key that doesn't exist or that you don't
         | 
| 1046 1066 | 
             
                # have access to.
         | 
| 1047 1067 | 
             
                #
         | 
| @@ -1056,8 +1076,8 @@ module Aws::SNS | |
| 1056 1076 | 
             
                  include Aws::Structure
         | 
| 1057 1077 | 
             
                end
         | 
| 1058 1078 |  | 
| 1059 | 
            -
                # The request was rejected because the specified  | 
| 1060 | 
            -
                #  | 
| 1079 | 
            +
                # The request was rejected because the specified Amazon Web Services KMS
         | 
| 1080 | 
            +
                # key isn't enabled.
         | 
| 1061 1081 | 
             
                #
         | 
| 1062 1082 | 
             
                # @!attribute [rw] message
         | 
| 1063 1083 | 
             
                #   @return [String]
         | 
| @@ -1071,9 +1091,9 @@ module Aws::SNS | |
| 1071 1091 | 
             
                end
         | 
| 1072 1092 |  | 
| 1073 1093 | 
             
                # The request was rejected because the state of the specified resource
         | 
| 1074 | 
            -
                # isn't valid for this request. For more information, see [ | 
| 1075 | 
            -
                #  | 
| 1076 | 
            -
                #  | 
| 1094 | 
            +
                # isn't valid for this request. For more information, see [Key states
         | 
| 1095 | 
            +
                # of Amazon Web Services KMS keys][1] in the *Key Management Service
         | 
| 1096 | 
            +
                # Developer Guide*.
         | 
| 1077 1097 | 
             
                #
         | 
| 1078 1098 | 
             
                #
         | 
| 1079 1099 | 
             
                #
         | 
| @@ -2079,6 +2099,20 @@ module Aws::SNS | |
| 2079 2099 | 
             
                  include Aws::Structure
         | 
| 2080 2100 | 
             
                end
         | 
| 2081 2101 |  | 
| 2102 | 
            +
                # Indicates that the request parameter has exceeded the maximum number
         | 
| 2103 | 
            +
                # of concurrent message replays.
         | 
| 2104 | 
            +
                #
         | 
| 2105 | 
            +
                # @!attribute [rw] message
         | 
| 2106 | 
            +
                #   @return [String]
         | 
| 2107 | 
            +
                #
         | 
| 2108 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ReplayLimitExceededException AWS API Documentation
         | 
| 2109 | 
            +
                #
         | 
| 2110 | 
            +
                class ReplayLimitExceededException < Struct.new(
         | 
| 2111 | 
            +
                  :message)
         | 
| 2112 | 
            +
                  SENSITIVE = []
         | 
| 2113 | 
            +
                  include Aws::Structure
         | 
| 2114 | 
            +
                end
         | 
| 2115 | 
            +
             | 
| 2082 2116 | 
             
                # Can’t perform the action on the specified resource. Make sure that the
         | 
| 2083 2117 | 
             
                # resource exists.
         | 
| 2084 2118 | 
             
                #
         | 
| @@ -2723,9 +2757,31 @@ module Aws::SNS | |
| 2723 2757 | 
             
                #     see [Fanout to Kinesis Data Firehose delivery streams][1] in the
         | 
| 2724 2758 | 
             
                #     *Amazon SNS Developer Guide*.
         | 
| 2725 2759 | 
             
                #
         | 
| 2760 | 
            +
                #   The following attributes apply only to [FIFO topics][2]:
         | 
| 2761 | 
            +
                #
         | 
| 2762 | 
            +
                #   * `ReplayPolicy` – Adds or updates an inline policy document for a
         | 
| 2763 | 
            +
                #     subscription to replay messages stored in the specified Amazon SNS
         | 
| 2764 | 
            +
                #     topic.
         | 
| 2765 | 
            +
                #
         | 
| 2766 | 
            +
                #   * `ReplayStatus` – Retrieves the status of the subscription message
         | 
| 2767 | 
            +
                #     replay, which can be one of the following:
         | 
| 2768 | 
            +
                #
         | 
| 2769 | 
            +
                #     * `Completed` – The replay has successfully redelivered all
         | 
| 2770 | 
            +
                #       messages, and is now delivering newly published messages. If an
         | 
| 2771 | 
            +
                #       ending point was specified in the `ReplayPolicy` then the
         | 
| 2772 | 
            +
                #       subscription will no longer receive newly published messages.
         | 
| 2773 | 
            +
                #
         | 
| 2774 | 
            +
                #     * `In progress` – The replay is currently replaying the selected
         | 
| 2775 | 
            +
                #       messages.
         | 
| 2776 | 
            +
                #
         | 
| 2777 | 
            +
                #     * `Failed` – The replay was unable to complete.
         | 
| 2778 | 
            +
                #
         | 
| 2779 | 
            +
                #     * `Pending` – The default state while the replay initiates.
         | 
| 2780 | 
            +
                #
         | 
| 2726 2781 | 
             
                #
         | 
| 2727 2782 | 
             
                #
         | 
| 2728 2783 | 
             
                #   [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-firehose-as-subscriber.html
         | 
| 2784 | 
            +
                #   [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html
         | 
| 2729 2785 | 
             
                #   @return [Hash<String,String>]
         | 
| 2730 2786 | 
             
                #
         | 
| 2731 2787 | 
             
                # @!attribute [rw] return_subscription_arn
         | 
    
        data/lib/aws-sdk-sns.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-sns
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.68.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-10-26 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         |