aws-sdk-fms 1.14.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-fms/client.rb +1 -1
- data/lib/aws-sdk-fms/client_api.rb +18 -0
- data/lib/aws-sdk-fms/errors.rb +96 -0
- data/lib/aws-sdk-fms/types.rb +83 -0
- data/lib/aws-sdk-fms.rb +1 -1
- 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: f8a66f7ae94ae00fddd3d7724f768d6c857e65d6
|
4
|
+
data.tar.gz: fe2e0e703ae0b2b6436d01dcc4e1e8e797c80ded
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63a8cd1760189806c6cb5615cdb95d950b80fa3bcefd4ca552ed156d323c57172072cf7b757d862bccf116f7a21a7a4b919fee74a60ffdc2d4716b91851f8f9f
|
7
|
+
data.tar.gz: f63106ee97f0006cbbbcdb7427fa3822bd7f5a251262c2347de6162644bcc1cb6e96bdb607a94873cfae3d4c88020d73cdbb8997ad06bd81779b7f531b7c0952
|
data/lib/aws-sdk-fms/client.rb
CHANGED
@@ -154,9 +154,24 @@ module Aws::FMS
|
|
154
154
|
GetProtectionStatusResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
155
155
|
GetProtectionStatusResponse.struct_class = Types::GetProtectionStatusResponse
|
156
156
|
|
157
|
+
InternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
158
|
+
InternalErrorException.struct_class = Types::InternalErrorException
|
159
|
+
|
160
|
+
InvalidInputException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
161
|
+
InvalidInputException.struct_class = Types::InvalidInputException
|
162
|
+
|
163
|
+
InvalidOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
164
|
+
InvalidOperationException.struct_class = Types::InvalidOperationException
|
165
|
+
|
166
|
+
InvalidTypeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
167
|
+
InvalidTypeException.struct_class = Types::InvalidTypeException
|
168
|
+
|
157
169
|
IssueInfoMap.key = Shapes::ShapeRef.new(shape: DependentServiceName)
|
158
170
|
IssueInfoMap.value = Shapes::ShapeRef.new(shape: DetailedInfo)
|
159
171
|
|
172
|
+
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
173
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
174
|
+
|
160
175
|
ListComplianceStatusRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
|
161
176
|
ListComplianceStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
162
177
|
ListComplianceStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PaginationMaxResults, location_name: "MaxResults"))
|
@@ -238,6 +253,9 @@ module Aws::FMS
|
|
238
253
|
PutPolicyResponse.add_member(:policy_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "PolicyArn"))
|
239
254
|
PutPolicyResponse.struct_class = Types::PutPolicyResponse
|
240
255
|
|
256
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
257
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
258
|
+
|
241
259
|
ResourceTag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
242
260
|
ResourceTag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
243
261
|
ResourceTag.struct_class = Types::ResourceTag
|
data/lib/aws-sdk-fms/errors.rb
CHANGED
@@ -10,5 +10,101 @@ module Aws::FMS
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class InternalErrorException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::FMS::Types::InternalErrorException] 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 InvalidInputException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::FMS::Types::InvalidInputException] 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 InvalidOperationException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::FMS::Types::InvalidOperationException] 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
|
+
|
61
|
+
class InvalidTypeException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::FMS::Types::InvalidTypeException] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
|
70
|
+
# @return [String]
|
71
|
+
def message
|
72
|
+
@message || @data[:message]
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
77
|
+
class LimitExceededException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::FMS::Types::LimitExceededException] data
|
82
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
83
|
+
super(context, message, data)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String]
|
87
|
+
def message
|
88
|
+
@message || @data[:message]
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
92
|
+
|
93
|
+
class ResourceNotFoundException < ServiceError
|
94
|
+
|
95
|
+
# @param [Seahorse::Client::RequestContext] context
|
96
|
+
# @param [String] message
|
97
|
+
# @param [Aws::FMS::Types::ResourceNotFoundException] data
|
98
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
99
|
+
super(context, message, data)
|
100
|
+
end
|
101
|
+
|
102
|
+
# @return [String]
|
103
|
+
def message
|
104
|
+
@message || @data[:message]
|
105
|
+
end
|
106
|
+
|
107
|
+
end
|
108
|
+
|
13
109
|
end
|
14
110
|
end
|
data/lib/aws-sdk-fms/types.rb
CHANGED
@@ -381,6 +381,77 @@ module Aws::FMS
|
|
381
381
|
include Aws::Structure
|
382
382
|
end
|
383
383
|
|
384
|
+
# The operation failed because of a system problem, even though the
|
385
|
+
# request was valid. Retry your request.
|
386
|
+
#
|
387
|
+
# @!attribute [rw] message
|
388
|
+
# @return [String]
|
389
|
+
#
|
390
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/InternalErrorException AWS API Documentation
|
391
|
+
#
|
392
|
+
class InternalErrorException < Struct.new(
|
393
|
+
:message)
|
394
|
+
include Aws::Structure
|
395
|
+
end
|
396
|
+
|
397
|
+
# The parameters of the request were invalid.
|
398
|
+
#
|
399
|
+
# @!attribute [rw] message
|
400
|
+
# @return [String]
|
401
|
+
#
|
402
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/InvalidInputException AWS API Documentation
|
403
|
+
#
|
404
|
+
class InvalidInputException < Struct.new(
|
405
|
+
:message)
|
406
|
+
include Aws::Structure
|
407
|
+
end
|
408
|
+
|
409
|
+
# The operation failed because there was nothing to do. For example, you
|
410
|
+
# might have submitted an `AssociateAdminAccount` request, but the
|
411
|
+
# account ID that you submitted was already set as the AWS Firewall
|
412
|
+
# Manager administrator.
|
413
|
+
#
|
414
|
+
# @!attribute [rw] message
|
415
|
+
# @return [String]
|
416
|
+
#
|
417
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/InvalidOperationException AWS API Documentation
|
418
|
+
#
|
419
|
+
class InvalidOperationException < Struct.new(
|
420
|
+
:message)
|
421
|
+
include Aws::Structure
|
422
|
+
end
|
423
|
+
|
424
|
+
# The value of the `Type` parameter is invalid.
|
425
|
+
#
|
426
|
+
# @!attribute [rw] message
|
427
|
+
# @return [String]
|
428
|
+
#
|
429
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/InvalidTypeException AWS API Documentation
|
430
|
+
#
|
431
|
+
class InvalidTypeException < Struct.new(
|
432
|
+
:message)
|
433
|
+
include Aws::Structure
|
434
|
+
end
|
435
|
+
|
436
|
+
# The operation exceeds a resource limit, for example, the maximum
|
437
|
+
# number of `policy` objects that you can create for an AWS account. For
|
438
|
+
# more information, see [Firewall Manager Limits][1] in the *AWS WAF
|
439
|
+
# Developer Guide*.
|
440
|
+
#
|
441
|
+
#
|
442
|
+
#
|
443
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html
|
444
|
+
#
|
445
|
+
# @!attribute [rw] message
|
446
|
+
# @return [String]
|
447
|
+
#
|
448
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/LimitExceededException AWS API Documentation
|
449
|
+
#
|
450
|
+
class LimitExceededException < Struct.new(
|
451
|
+
:message)
|
452
|
+
include Aws::Structure
|
453
|
+
end
|
454
|
+
|
384
455
|
# @note When making an API call, you may pass ListComplianceStatusRequest
|
385
456
|
# data as a hash:
|
386
457
|
#
|
@@ -906,6 +977,18 @@ module Aws::FMS
|
|
906
977
|
include Aws::Structure
|
907
978
|
end
|
908
979
|
|
980
|
+
# The specified resource was not found.
|
981
|
+
#
|
982
|
+
# @!attribute [rw] message
|
983
|
+
# @return [String]
|
984
|
+
#
|
985
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ResourceNotFoundException AWS API Documentation
|
986
|
+
#
|
987
|
+
class ResourceNotFoundException < Struct.new(
|
988
|
+
:message)
|
989
|
+
include Aws::Structure
|
990
|
+
end
|
991
|
+
|
909
992
|
# The resource tags that AWS Firewall Manager uses to determine if a
|
910
993
|
# particular resource should be included or excluded from protection by
|
911
994
|
# the AWS Firewall Manager policy. Tags enable you to categorize your
|
data/lib/aws-sdk-fms.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-fms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.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
|