aws-sdk-shield 1.5.0 → 1.6.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-shield.rb +1 -1
- data/lib/aws-sdk-shield/client.rb +15 -3
- data/lib/aws-sdk-shield/client_api.rb +3 -1
- data/lib/aws-sdk-shield/types.rb +26 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e62c18684cb6a53ee80c2eb12ac33eb6bffba257
|
4
|
+
data.tar.gz: bed3a4f8a1afc753f0755579f6cbda1d5148f424
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 489c7c013e1cfbffcc909acd41fd0d20c1978c2cd51214a9b3321a94fd563c929626dcdc8bce3bea7a7b1f3d378d27b0cbe84b74718b4514d41052596713f50b
|
7
|
+
data.tar.gz: e7e964fcb7dda0f30a0d946a13b191a35dac690bf7f6590be55808493d3a654291b7f9adf55b0d71d0a76bc5f3c0f2e0d6232108e69ebd2ee852f2de6b7b3cb4
|
data/lib/aws-sdk-shield.rb
CHANGED
@@ -325,8 +325,7 @@ module Aws::Shield
|
|
325
325
|
# * For AWS CloudFront distribution:
|
326
326
|
# `arn:aws:cloudfront::account-id:distribution/distribution-id `
|
327
327
|
#
|
328
|
-
# * For Amazon Route 53:
|
329
|
-
# `arn:aws:route53::account-id:hostedzone/hosted-zone-id `
|
328
|
+
# * For Amazon Route 53: `arn:aws:route53:::hostedzone/hosted-zone-id `
|
330
329
|
#
|
331
330
|
# * For an Elastic IP address:
|
332
331
|
# `arn:aws:ec2:region:account-id:eip-allocation/allocation-id `
|
@@ -703,6 +702,13 @@ module Aws::Shield
|
|
703
702
|
# The maximum number of AttackSummary objects to be returned. If this is
|
704
703
|
# left blank, the first 20 results will be returned.
|
705
704
|
#
|
705
|
+
# This is a maximum value; it is possible that AWS WAF will return the
|
706
|
+
# results in smaller batches. That is, the number of AttackSummary
|
707
|
+
# objects returned could be less than `MaxResults`, even if there are
|
708
|
+
# still more AttackSummary objects yet to return. If there are more
|
709
|
+
# AttackSummary objects to return, AWS WAF will always also return a
|
710
|
+
# `NextToken`.
|
711
|
+
#
|
706
712
|
# @return [Types::ListAttacksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
707
713
|
#
|
708
714
|
# * {Types::ListAttacksResponse#attack_summaries #attack_summaries} => Array<Types::AttackSummary>
|
@@ -754,6 +760,12 @@ module Aws::Shield
|
|
754
760
|
# The maximum number of Protection objects to be returned. If this is
|
755
761
|
# left blank the first 20 results will be returned.
|
756
762
|
#
|
763
|
+
# This is a maximum value; it is possible that AWS WAF will return the
|
764
|
+
# results in smaller batches. That is, the number of Protection objects
|
765
|
+
# returned could be less than `MaxResults`, even if there are still more
|
766
|
+
# Protection objects yet to return. If there are more Protection objects
|
767
|
+
# to return, AWS WAF will always also return a `NextToken`.
|
768
|
+
#
|
757
769
|
# @return [Types::ListProtectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
758
770
|
#
|
759
771
|
# * {Types::ListProtectionsResponse#protections #protections} => Array<Types::Protection>
|
@@ -852,7 +864,7 @@ module Aws::Shield
|
|
852
864
|
params: params,
|
853
865
|
config: config)
|
854
866
|
context[:gem_name] = 'aws-sdk-shield'
|
855
|
-
context[:gem_version] = '1.
|
867
|
+
context[:gem_version] = '1.6.0'
|
856
868
|
Seahorse::Client::Request.new(handlers, context)
|
857
869
|
end
|
858
870
|
|
@@ -11,6 +11,7 @@ module Aws::Shield
|
|
11
11
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
14
15
|
AccessDeniedForDependencyException = Shapes::StructureShape.new(name: 'AccessDeniedForDependencyException')
|
15
16
|
AssociateDRTLogBucketRequest = Shapes::StructureShape.new(name: 'AssociateDRTLogBucketRequest')
|
16
17
|
AssociateDRTLogBucketResponse = Shapes::StructureShape.new(name: 'AssociateDRTLogBucketResponse')
|
@@ -327,6 +328,7 @@ module Aws::Shield
|
|
327
328
|
"protocol" => "json",
|
328
329
|
"serviceAbbreviation" => "AWS Shield",
|
329
330
|
"serviceFullName" => "AWS Shield",
|
331
|
+
"serviceId" => "Shield",
|
330
332
|
"signatureVersion" => "v4",
|
331
333
|
"targetPrefix" => "AWSShield_20160616",
|
332
334
|
"uid" => "shield-2016-06-02",
|
@@ -417,7 +419,7 @@ module Aws::Shield
|
|
417
419
|
o.input = Shapes::ShapeRef.new(shape: DescribeAttackRequest)
|
418
420
|
o.output = Shapes::ShapeRef.new(shape: DescribeAttackResponse)
|
419
421
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
420
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
422
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
421
423
|
end)
|
422
424
|
|
423
425
|
api.add_operation(:describe_drt_access, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-shield/types.rb
CHANGED
@@ -294,8 +294,8 @@ module Aws::Shield
|
|
294
294
|
# * For AWS CloudFront distribution:
|
295
295
|
# `arn:aws:cloudfront::account-id:distribution/distribution-id `
|
296
296
|
#
|
297
|
-
# * For Amazon Route 53:
|
298
|
-
# `
|
297
|
+
# * For Amazon Route 53: `arn:aws:route53:::hostedzone/hosted-zone-id
|
298
|
+
# `
|
299
299
|
#
|
300
300
|
# * For an Elastic IP address:
|
301
301
|
# `arn:aws:ec2:region:account-id:eip-allocation/allocation-id `
|
@@ -623,6 +623,13 @@ module Aws::Shield
|
|
623
623
|
# @!attribute [rw] max_results
|
624
624
|
# The maximum number of AttackSummary objects to be returned. If this
|
625
625
|
# is left blank, the first 20 results will be returned.
|
626
|
+
#
|
627
|
+
# This is a maximum value; it is possible that AWS WAF will return the
|
628
|
+
# results in smaller batches. That is, the number of AttackSummary
|
629
|
+
# objects returned could be less than `MaxResults`, even if there are
|
630
|
+
# still more AttackSummary objects yet to return. If there are more
|
631
|
+
# AttackSummary objects to return, AWS WAF will always also return a
|
632
|
+
# `NextToken`.
|
626
633
|
# @return [Integer]
|
627
634
|
#
|
628
635
|
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacksRequest AWS API Documentation
|
@@ -645,6 +652,11 @@ module Aws::Shield
|
|
645
652
|
# data available. If not null, more results are available. Pass this
|
646
653
|
# value for the `NextMarker` parameter in a subsequent call to
|
647
654
|
# `ListAttacks` to retrieve the next set of items.
|
655
|
+
#
|
656
|
+
# AWS WAF might return the list of AttackSummary objects in batches
|
657
|
+
# smaller than the number specified by MaxResults. If there are more
|
658
|
+
# AttackSummary objects to return, AWS WAF will always also return a
|
659
|
+
# `NextToken`.
|
648
660
|
# @return [String]
|
649
661
|
#
|
650
662
|
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacksResponse AWS API Documentation
|
@@ -671,6 +683,13 @@ module Aws::Shield
|
|
671
683
|
# @!attribute [rw] max_results
|
672
684
|
# The maximum number of Protection objects to be returned. If this is
|
673
685
|
# left blank the first 20 results will be returned.
|
686
|
+
#
|
687
|
+
# This is a maximum value; it is possible that AWS WAF will return the
|
688
|
+
# results in smaller batches. That is, the number of Protection
|
689
|
+
# objects returned could be less than `MaxResults`, even if there are
|
690
|
+
# still more Protection objects yet to return. If there are more
|
691
|
+
# Protection objects to return, AWS WAF will always also return a
|
692
|
+
# `NextToken`.
|
674
693
|
# @return [Integer]
|
675
694
|
#
|
676
695
|
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtectionsRequest AWS API Documentation
|
@@ -693,6 +712,11 @@ module Aws::Shield
|
|
693
712
|
# ListProtections requests, specify the value of NextToken from the
|
694
713
|
# previous response to get information about another batch of
|
695
714
|
# Protections.
|
715
|
+
#
|
716
|
+
# AWS WAF might return the list of Protection objects in batches
|
717
|
+
# smaller than the number specified by MaxResults. If there are more
|
718
|
+
# Protection objects to return, AWS WAF will always also return a
|
719
|
+
# `NextToken`.
|
696
720
|
# @return [String]
|
697
721
|
#
|
698
722
|
# @see http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtectionsResponse AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-shield
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.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-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|