aws-sdk-guardduty 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-guardduty.rb +1 -1
 - data/lib/aws-sdk-guardduty/client.rb +1 -1
 - data/lib/aws-sdk-guardduty/client_api.rb +8 -0
 - data/lib/aws-sdk-guardduty/errors.rb +42 -0
 - data/lib/aws-sdk-guardduty/types.rb +32 -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: fc39586c7bb07c676b2763ec992b6e7d30bd698c
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: ba3da84afd0eae0c5216b9e6ff5218b2c98d2162
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: bc0104e0ffdbc6ed8a0f764704339242afad6a7c00c6d8b159ea0abb12591492296b43376c3c1ea5000c7b093bf7cc3e7733b6c1d4c12906ac8331fdb2f1a53d
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 269b74db9234495ac177e3736c7b56c402e71b67db5275d863df9bc97cf900651c0489a95405124a44c0903795453ab73d17dc18a742c7663328ef27b0f31737
         
     | 
    
        data/lib/aws-sdk-guardduty.rb
    CHANGED
    
    
| 
         @@ -1947,7 +1947,7 @@ module Aws::GuardDuty 
     | 
|
| 
       1947 
1947 
     | 
    
         
             
                    params: params,
         
     | 
| 
       1948 
1948 
     | 
    
         
             
                    config: config)
         
     | 
| 
       1949 
1949 
     | 
    
         
             
                  context[:gem_name] = 'aws-sdk-guardduty'
         
     | 
| 
       1950 
     | 
    
         
            -
                  context[:gem_version] = '1. 
     | 
| 
      
 1950 
     | 
    
         
            +
                  context[:gem_version] = '1.17.0'
         
     | 
| 
       1951 
1951 
     | 
    
         
             
                  Seahorse::Client::Request.new(handlers, context)
         
     | 
| 
       1952 
1952 
     | 
    
         
             
                end
         
     | 
| 
       1953 
1953 
     | 
    
         | 
| 
         @@ -245,6 +245,10 @@ module Aws::GuardDuty 
     | 
|
| 
       245 
245 
     | 
    
         
             
                AwsApiCallAction.add_member(:service_name, Shapes::ShapeRef.new(shape: __string, location_name: "serviceName"))
         
     | 
| 
       246 
246 
     | 
    
         
             
                AwsApiCallAction.struct_class = Types::AwsApiCallAction
         
     | 
| 
       247 
247 
     | 
    
         | 
| 
      
 248 
     | 
    
         
            +
                BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
         
     | 
| 
      
 249 
     | 
    
         
            +
                BadRequestException.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "__type"))
         
     | 
| 
      
 250 
     | 
    
         
            +
                BadRequestException.struct_class = Types::BadRequestException
         
     | 
| 
      
 251 
     | 
    
         
            +
             
     | 
| 
       248 
252 
     | 
    
         
             
                City.add_member(:city_name, Shapes::ShapeRef.new(shape: __string, location_name: "cityName"))
         
     | 
| 
       249 
253 
     | 
    
         
             
                City.struct_class = Types::City
         
     | 
| 
       250 
254 
     | 
    
         | 
| 
         @@ -513,6 +517,10 @@ module Aws::GuardDuty 
     | 
|
| 
       513 
517 
     | 
    
         
             
                InstanceDetails.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
         
     | 
| 
       514 
518 
     | 
    
         
             
                InstanceDetails.struct_class = Types::InstanceDetails
         
     | 
| 
       515 
519 
     | 
    
         | 
| 
      
 520 
     | 
    
         
            +
                InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
         
     | 
| 
      
 521 
     | 
    
         
            +
                InternalServerErrorException.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "__type"))
         
     | 
| 
      
 522 
     | 
    
         
            +
                InternalServerErrorException.struct_class = Types::InternalServerErrorException
         
     | 
| 
      
 523 
     | 
    
         
            +
             
     | 
| 
       516 
524 
     | 
    
         
             
                Invitation.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
         
     | 
| 
       517 
525 
     | 
    
         
             
                Invitation.add_member(:invitation_id, Shapes::ShapeRef.new(shape: InvitationId, location_name: "invitationId"))
         
     | 
| 
       518 
526 
     | 
    
         
             
                Invitation.add_member(:invited_at, Shapes::ShapeRef.new(shape: InvitedAt, location_name: "invitedAt"))
         
     | 
| 
         @@ -10,5 +10,47 @@ module Aws::GuardDuty 
     | 
|
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
                extend Aws::Errors::DynamicErrors
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
      
 13 
     | 
    
         
            +
                class BadRequestException < ServiceError
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
                  # @param [Seahorse::Client::RequestContext] context
         
     | 
| 
      
 16 
     | 
    
         
            +
                  # @param [String] message
         
     | 
| 
      
 17 
     | 
    
         
            +
                  # @param [Aws::GuardDuty::Types::BadRequestException] 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 
     | 
    
         
            +
                  # @return [String]
         
     | 
| 
      
 28 
     | 
    
         
            +
                  def type
         
     | 
| 
      
 29 
     | 
    
         
            +
                    @data[:type]
         
     | 
| 
      
 30 
     | 
    
         
            +
                  end
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
                end
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
                class InternalServerErrorException < ServiceError
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
                  # @param [Seahorse::Client::RequestContext] context
         
     | 
| 
      
 37 
     | 
    
         
            +
                  # @param [String] message
         
     | 
| 
      
 38 
     | 
    
         
            +
                  # @param [Aws::GuardDuty::Types::InternalServerErrorException] data
         
     | 
| 
      
 39 
     | 
    
         
            +
                  def initialize(context, message, data = Aws::EmptyStructure.new)
         
     | 
| 
      
 40 
     | 
    
         
            +
                    super(context, message, data)
         
     | 
| 
      
 41 
     | 
    
         
            +
                  end
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
                  # @return [String]
         
     | 
| 
      
 44 
     | 
    
         
            +
                  def message
         
     | 
| 
      
 45 
     | 
    
         
            +
                    @message || @data[:message]
         
     | 
| 
      
 46 
     | 
    
         
            +
                  end
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
                  # @return [String]
         
     | 
| 
      
 49 
     | 
    
         
            +
                  def type
         
     | 
| 
      
 50 
     | 
    
         
            +
                    @data[:type]
         
     | 
| 
      
 51 
     | 
    
         
            +
                  end
         
     | 
| 
      
 52 
     | 
    
         
            +
             
     | 
| 
      
 53 
     | 
    
         
            +
                end
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
       13 
55 
     | 
    
         
             
              end
         
     | 
| 
       14 
56 
     | 
    
         
             
            end
         
     | 
| 
         @@ -197,6 +197,22 @@ module Aws::GuardDuty 
     | 
|
| 
       197 
197 
     | 
    
         
             
                  include Aws::Structure
         
     | 
| 
       198 
198 
     | 
    
         
             
                end
         
     | 
| 
       199 
199 
     | 
    
         | 
| 
      
 200 
     | 
    
         
            +
                # Error response object.
         
     | 
| 
      
 201 
     | 
    
         
            +
                #
         
     | 
| 
      
 202 
     | 
    
         
            +
                # @!attribute [rw] message
         
     | 
| 
      
 203 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 204 
     | 
    
         
            +
                #
         
     | 
| 
      
 205 
     | 
    
         
            +
                # @!attribute [rw] type
         
     | 
| 
      
 206 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 207 
     | 
    
         
            +
                #
         
     | 
| 
      
 208 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/BadRequestException AWS API Documentation
         
     | 
| 
      
 209 
     | 
    
         
            +
                #
         
     | 
| 
      
 210 
     | 
    
         
            +
                class BadRequestException < Struct.new(
         
     | 
| 
      
 211 
     | 
    
         
            +
                  :message,
         
     | 
| 
      
 212 
     | 
    
         
            +
                  :type)
         
     | 
| 
      
 213 
     | 
    
         
            +
                  include Aws::Structure
         
     | 
| 
      
 214 
     | 
    
         
            +
                end
         
     | 
| 
      
 215 
     | 
    
         
            +
             
     | 
| 
       200 
216 
     | 
    
         
             
                # City information of the remote IP address.
         
     | 
| 
       201 
217 
     | 
    
         
             
                #
         
     | 
| 
       202 
218 
     | 
    
         
             
                # @!attribute [rw] city_name
         
     | 
| 
         @@ -1582,6 +1598,22 @@ module Aws::GuardDuty 
     | 
|
| 
       1582 
1598 
     | 
    
         
             
                  include Aws::Structure
         
     | 
| 
       1583 
1599 
     | 
    
         
             
                end
         
     | 
| 
       1584 
1600 
     | 
    
         | 
| 
      
 1601 
     | 
    
         
            +
                # Error response object.
         
     | 
| 
      
 1602 
     | 
    
         
            +
                #
         
     | 
| 
      
 1603 
     | 
    
         
            +
                # @!attribute [rw] message
         
     | 
| 
      
 1604 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 1605 
     | 
    
         
            +
                #
         
     | 
| 
      
 1606 
     | 
    
         
            +
                # @!attribute [rw] type
         
     | 
| 
      
 1607 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 1608 
     | 
    
         
            +
                #
         
     | 
| 
      
 1609 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InternalServerErrorException AWS API Documentation
         
     | 
| 
      
 1610 
     | 
    
         
            +
                #
         
     | 
| 
      
 1611 
     | 
    
         
            +
                class InternalServerErrorException < Struct.new(
         
     | 
| 
      
 1612 
     | 
    
         
            +
                  :message,
         
     | 
| 
      
 1613 
     | 
    
         
            +
                  :type)
         
     | 
| 
      
 1614 
     | 
    
         
            +
                  include Aws::Structure
         
     | 
| 
      
 1615 
     | 
    
         
            +
                end
         
     | 
| 
      
 1616 
     | 
    
         
            +
             
     | 
| 
       1585 
1617 
     | 
    
         
             
                # Invitation from an AWS account to become the current account's
         
     | 
| 
       1586 
1618 
     | 
    
         
             
                # master.
         
     | 
| 
       1587 
1619 
     | 
    
         
             
                #
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: aws-sdk-guardduty
         
     | 
| 
       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
         
     |