aws-sdk-xray 1.16.0 → 1.17.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/lib/aws-sdk-xray.rb +1 -1
- data/lib/aws-sdk-xray/client.rb +1 -1
- data/lib/aws-sdk-xray/client_api.rb +9 -0
- data/lib/aws-sdk-xray/errors.rb +48 -0
- data/lib/aws-sdk-xray/types.rb +36 -0
- metadata +4 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: b3a061b23cfc6e1542ff0f74f2c532719974bec9
         | 
| 4 | 
            +
              data.tar.gz: 7ac01944342785a00888778d4ddea069b99ffdeb
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 189dcc1e957b2ba9321939e81b7f56cb21802ae4a69b86ac9b954df1db514c0c699580d09be2c65c8301beb1f84c2a9edfb51f51a410ccb5f12ef2adac761bf3
         | 
| 7 | 
            +
              data.tar.gz: f65dbf8ab7c3454d8b870eb9e0136a4c045b6896273269350de960f5fed9557701ab912fbf253bcce7ce0af8716810f9b680c3c98125bad4bff552f8286b5cb4
         | 
    
        data/lib/aws-sdk-xray.rb
    CHANGED
    
    
    
        data/lib/aws-sdk-xray/client.rb
    CHANGED
    
    
| @@ -443,6 +443,9 @@ module Aws::XRay | |
| 443 443 | 
             
                InstanceIdDetail.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
         | 
| 444 444 | 
             
                InstanceIdDetail.struct_class = Types::InstanceIdDetail
         | 
| 445 445 |  | 
| 446 | 
            +
                InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
         | 
| 447 | 
            +
                InvalidRequestException.struct_class = Types::InvalidRequestException
         | 
| 448 | 
            +
             | 
| 446 449 | 
             
                PutEncryptionConfigRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: EncryptionKeyId, location_name: "KeyId"))
         | 
| 447 450 | 
             
                PutEncryptionConfigRequest.add_member(:type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "Type"))
         | 
| 448 451 | 
             
                PutEncryptionConfigRequest.struct_class = Types::PutEncryptionConfigRequest
         | 
| @@ -495,6 +498,9 @@ module Aws::XRay | |
| 495 498 |  | 
| 496 499 | 
             
                RootCauseExceptions.member = Shapes::ShapeRef.new(shape: RootCauseException)
         | 
| 497 500 |  | 
| 501 | 
            +
                RuleLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
         | 
| 502 | 
            +
                RuleLimitExceededException.struct_class = Types::RuleLimitExceededException
         | 
| 503 | 
            +
             | 
| 498 504 | 
             
                SamplingRule.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, location_name: "RuleName"))
         | 
| 499 505 | 
             
                SamplingRule.add_member(:rule_arn, Shapes::ShapeRef.new(shape: String, location_name: "RuleARN"))
         | 
| 500 506 | 
             
                SamplingRule.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceARN"))
         | 
| @@ -613,6 +619,9 @@ module Aws::XRay | |
| 613 619 |  | 
| 614 620 | 
             
                TelemetryRecordList.member = Shapes::ShapeRef.new(shape: TelemetryRecord)
         | 
| 615 621 |  | 
| 622 | 
            +
                ThrottledException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
         | 
| 623 | 
            +
                ThrottledException.struct_class = Types::ThrottledException
         | 
| 624 | 
            +
             | 
| 616 625 | 
             
                TimeSeriesServiceStatistics.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
         | 
| 617 626 | 
             
                TimeSeriesServiceStatistics.add_member(:edge_summary_statistics, Shapes::ShapeRef.new(shape: EdgeStatistics, location_name: "EdgeSummaryStatistics"))
         | 
| 618 627 | 
             
                TimeSeriesServiceStatistics.add_member(:service_summary_statistics, Shapes::ShapeRef.new(shape: ServiceStatistics, location_name: "ServiceSummaryStatistics"))
         | 
    
        data/lib/aws-sdk-xray/errors.rb
    CHANGED
    
    | @@ -10,5 +10,53 @@ module Aws::XRay | |
| 10 10 |  | 
| 11 11 | 
             
                extend Aws::Errors::DynamicErrors
         | 
| 12 12 |  | 
| 13 | 
            +
                class InvalidRequestException < ServiceError
         | 
| 14 | 
            +
             | 
| 15 | 
            +
                  # @param [Seahorse::Client::RequestContext] context
         | 
| 16 | 
            +
                  # @param [String] message
         | 
| 17 | 
            +
                  # @param [Aws::XRay::Types::InvalidRequestException] data
         | 
| 18 | 
            +
                  def initialize(context, message, data = Aws::EmptyStructure.new)
         | 
| 19 | 
            +
                    super(context, message, data)
         | 
| 20 | 
            +
                  end
         | 
| 21 | 
            +
             | 
| 22 | 
            +
                  # @return [String]
         | 
| 23 | 
            +
                  def message
         | 
| 24 | 
            +
                    @message || @data[:message]
         | 
| 25 | 
            +
                  end
         | 
| 26 | 
            +
             | 
| 27 | 
            +
                end
         | 
| 28 | 
            +
             | 
| 29 | 
            +
                class RuleLimitExceededException < ServiceError
         | 
| 30 | 
            +
             | 
| 31 | 
            +
                  # @param [Seahorse::Client::RequestContext] context
         | 
| 32 | 
            +
                  # @param [String] message
         | 
| 33 | 
            +
                  # @param [Aws::XRay::Types::RuleLimitExceededException] data
         | 
| 34 | 
            +
                  def initialize(context, message, data = Aws::EmptyStructure.new)
         | 
| 35 | 
            +
                    super(context, message, data)
         | 
| 36 | 
            +
                  end
         | 
| 37 | 
            +
             | 
| 38 | 
            +
                  # @return [String]
         | 
| 39 | 
            +
                  def message
         | 
| 40 | 
            +
                    @message || @data[:message]
         | 
| 41 | 
            +
                  end
         | 
| 42 | 
            +
             | 
| 43 | 
            +
                end
         | 
| 44 | 
            +
             | 
| 45 | 
            +
                class ThrottledException < ServiceError
         | 
| 46 | 
            +
             | 
| 47 | 
            +
                  # @param [Seahorse::Client::RequestContext] context
         | 
| 48 | 
            +
                  # @param [String] message
         | 
| 49 | 
            +
                  # @param [Aws::XRay::Types::ThrottledException] data
         | 
| 50 | 
            +
                  def initialize(context, message, data = Aws::EmptyStructure.new)
         | 
| 51 | 
            +
                    super(context, message, data)
         | 
| 52 | 
            +
                  end
         | 
| 53 | 
            +
             | 
| 54 | 
            +
                  # @return [String]
         | 
| 55 | 
            +
                  def message
         | 
| 56 | 
            +
                    @message || @data[:message]
         | 
| 57 | 
            +
                  end
         | 
| 58 | 
            +
             | 
| 59 | 
            +
                end
         | 
| 60 | 
            +
             | 
| 13 61 | 
             
              end
         | 
| 14 62 | 
             
            end
         | 
    
        data/lib/aws-sdk-xray/types.rb
    CHANGED
    
    | @@ -1220,6 +1220,18 @@ module Aws::XRay | |
| 1220 1220 | 
             
                  include Aws::Structure
         | 
| 1221 1221 | 
             
                end
         | 
| 1222 1222 |  | 
| 1223 | 
            +
                # The request is missing required parameters or has invalid parameters.
         | 
| 1224 | 
            +
                #
         | 
| 1225 | 
            +
                # @!attribute [rw] message
         | 
| 1226 | 
            +
                #   @return [String]
         | 
| 1227 | 
            +
                #
         | 
| 1228 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InvalidRequestException AWS API Documentation
         | 
| 1229 | 
            +
                #
         | 
| 1230 | 
            +
                class InvalidRequestException < Struct.new(
         | 
| 1231 | 
            +
                  :message)
         | 
| 1232 | 
            +
                  include Aws::Structure
         | 
| 1233 | 
            +
                end
         | 
| 1234 | 
            +
             | 
| 1223 1235 | 
             
                # @note When making an API call, you may pass PutEncryptionConfigRequest
         | 
| 1224 1236 | 
             
                #   data as a hash:
         | 
| 1225 1237 | 
             
                #
         | 
| @@ -1460,6 +1472,18 @@ module Aws::XRay | |
| 1460 1472 | 
             
                  include Aws::Structure
         | 
| 1461 1473 | 
             
                end
         | 
| 1462 1474 |  | 
| 1475 | 
            +
                # You have reached the maximum number of sampling rules.
         | 
| 1476 | 
            +
                #
         | 
| 1477 | 
            +
                # @!attribute [rw] message
         | 
| 1478 | 
            +
                #   @return [String]
         | 
| 1479 | 
            +
                #
         | 
| 1480 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/RuleLimitExceededException AWS API Documentation
         | 
| 1481 | 
            +
                #
         | 
| 1482 | 
            +
                class RuleLimitExceededException < Struct.new(
         | 
| 1483 | 
            +
                  :message)
         | 
| 1484 | 
            +
                  include Aws::Structure
         | 
| 1485 | 
            +
                end
         | 
| 1486 | 
            +
             | 
| 1463 1487 | 
             
                # A sampling rule that services use to decide whether to instrument a
         | 
| 1464 1488 | 
             
                # request. Rule fields can match properties of the service, or
         | 
| 1465 1489 | 
             
                # properties of a request. The service can ignore rules that don't
         | 
| @@ -2057,6 +2081,18 @@ module Aws::XRay | |
| 2057 2081 | 
             
                  include Aws::Structure
         | 
| 2058 2082 | 
             
                end
         | 
| 2059 2083 |  | 
| 2084 | 
            +
                # The request exceeds the maximum number of requests per second.
         | 
| 2085 | 
            +
                #
         | 
| 2086 | 
            +
                # @!attribute [rw] message
         | 
| 2087 | 
            +
                #   @return [String]
         | 
| 2088 | 
            +
                #
         | 
| 2089 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ThrottledException AWS API Documentation
         | 
| 2090 | 
            +
                #
         | 
| 2091 | 
            +
                class ThrottledException < Struct.new(
         | 
| 2092 | 
            +
                  :message)
         | 
| 2093 | 
            +
                  include Aws::Structure
         | 
| 2094 | 
            +
                end
         | 
| 2095 | 
            +
             | 
| 2060 2096 | 
             
                # A list of TimeSeriesStatistic structures.
         | 
| 2061 2097 | 
             
                #
         | 
| 2062 2098 | 
             
                # @!attribute [rw] timestamp
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-xray
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.17.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: 2019-05- | 
| 11 | 
            +
            date: 2019-05-21 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         | 
| @@ -19,7 +19,7 @@ dependencies: | |
| 19 19 | 
             
                    version: '3'
         | 
| 20 20 | 
             
                - - ">="
         | 
| 21 21 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 | 
            -
                    version: 3. | 
| 22 | 
            +
                    version: 3.53.0
         | 
| 23 23 | 
             
              type: :runtime
         | 
| 24 24 | 
             
              prerelease: false
         | 
| 25 25 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| @@ -29,7 +29,7 @@ dependencies: | |
| 29 29 | 
             
                    version: '3'
         | 
| 30 30 | 
             
                - - ">="
         | 
| 31 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 32 | 
            -
                    version: 3. | 
| 32 | 
            +
                    version: 3.53.0
         | 
| 33 33 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 34 34 | 
             
              name: aws-sigv4
         | 
| 35 35 | 
             
              requirement: !ruby/object:Gem::Requirement
         |