aws-sdk-fms 1.22.0 → 1.23.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.rb +1 -1
- data/lib/aws-sdk-fms/client.rb +32 -23
- data/lib/aws-sdk-fms/resource.rb +1 -7
- data/lib/aws-sdk-fms/types.rb +21 -4
- 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: 8a803e21a6b703fc355809714fbb2683eb993911
|
4
|
+
data.tar.gz: 0d757e83520ac5ce0ab7bbb73f97fc8ab4906e7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1040b35ebdae87100e9cfb59839239323dd4359d56ad51b5bc2dde92c620b9e7eda71758e14bddb825ed11a7e2847b044679be955f05bb365f2014e91ec19711
|
7
|
+
data.tar.gz: 6b26ddb9b8a773e6cf28f33b1712e3ba8983cce43d30065ebb06981f1b490883b155de0cc88e40ac0ddfa004a51139b5398ea2132653d4f44b490e798b47b785
|
data/lib/aws-sdk-fms.rb
CHANGED
data/lib/aws-sdk-fms/client.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:fms)
|
|
32
32
|
module Aws::FMS
|
33
33
|
# An API client for FMS. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::FMS::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -229,15 +229,19 @@ module Aws::FMS
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -275,8 +279,7 @@ module Aws::FMS
|
|
275
279
|
#
|
276
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
281
|
# number of seconds to wait for response data. This value can
|
278
|
-
# safely be set
|
279
|
-
# per-request on the session yielded by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
280
283
|
#
|
281
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
285
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +291,7 @@ module Aws::FMS
|
|
288
291
|
# request body. This option has no effect unless the request has
|
289
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
293
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
294
|
+
# request on the session.
|
292
295
|
#
|
293
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -555,7 +558,7 @@ module Aws::FMS
|
|
555
558
|
# resp.policy.policy_id #=> String
|
556
559
|
# resp.policy.policy_name #=> String
|
557
560
|
# resp.policy.policy_update_token #=> String
|
558
|
-
# resp.policy.security_service_policy_data.type #=> String, one of "WAF", "SHIELD_ADVANCED", "SECURITY_GROUPS_COMMON", "SECURITY_GROUPS_CONTENT_AUDIT", "SECURITY_GROUPS_USAGE_AUDIT"
|
561
|
+
# resp.policy.security_service_policy_data.type #=> String, one of "WAF", "WAFV2", "SHIELD_ADVANCED", "SECURITY_GROUPS_COMMON", "SECURITY_GROUPS_CONTENT_AUDIT", "SECURITY_GROUPS_USAGE_AUDIT"
|
559
562
|
# resp.policy.security_service_policy_data.managed_service_data #=> String
|
560
563
|
# resp.policy.resource_type #=> String
|
561
564
|
# resp.policy.resource_type_list #=> Array
|
@@ -641,7 +644,7 @@ module Aws::FMS
|
|
641
644
|
# @example Response structure
|
642
645
|
#
|
643
646
|
# resp.admin_account_id #=> String
|
644
|
-
# resp.service_type #=> String, one of "WAF", "SHIELD_ADVANCED", "SECURITY_GROUPS_COMMON", "SECURITY_GROUPS_CONTENT_AUDIT", "SECURITY_GROUPS_USAGE_AUDIT"
|
647
|
+
# resp.service_type #=> String, one of "WAF", "WAFV2", "SHIELD_ADVANCED", "SECURITY_GROUPS_COMMON", "SECURITY_GROUPS_CONTENT_AUDIT", "SECURITY_GROUPS_USAGE_AUDIT"
|
645
648
|
# resp.data #=> String
|
646
649
|
# resp.next_token #=> String
|
647
650
|
#
|
@@ -684,6 +687,8 @@ module Aws::FMS
|
|
684
687
|
# * {Types::ListComplianceStatusResponse#policy_compliance_status_list #policy_compliance_status_list} => Array<Types::PolicyComplianceStatus>
|
685
688
|
# * {Types::ListComplianceStatusResponse#next_token #next_token} => String
|
686
689
|
#
|
690
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
691
|
+
#
|
687
692
|
# @example Request syntax with placeholder values
|
688
693
|
#
|
689
694
|
# resp = client.list_compliance_status({
|
@@ -744,6 +749,8 @@ module Aws::FMS
|
|
744
749
|
# * {Types::ListMemberAccountsResponse#member_accounts #member_accounts} => Array<String>
|
745
750
|
# * {Types::ListMemberAccountsResponse#next_token #next_token} => String
|
746
751
|
#
|
752
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
753
|
+
#
|
747
754
|
# @example Request syntax with placeholder values
|
748
755
|
#
|
749
756
|
# resp = client.list_member_accounts({
|
@@ -789,6 +796,8 @@ module Aws::FMS
|
|
789
796
|
# * {Types::ListPoliciesResponse#policy_list #policy_list} => Array<Types::PolicySummary>
|
790
797
|
# * {Types::ListPoliciesResponse#next_token #next_token} => String
|
791
798
|
#
|
799
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
800
|
+
#
|
792
801
|
# @example Request syntax with placeholder values
|
793
802
|
#
|
794
803
|
# resp = client.list_policies({
|
@@ -803,7 +812,7 @@ module Aws::FMS
|
|
803
812
|
# resp.policy_list[0].policy_id #=> String
|
804
813
|
# resp.policy_list[0].policy_name #=> String
|
805
814
|
# resp.policy_list[0].resource_type #=> String
|
806
|
-
# resp.policy_list[0].security_service_type #=> String, one of "WAF", "SHIELD_ADVANCED", "SECURITY_GROUPS_COMMON", "SECURITY_GROUPS_CONTENT_AUDIT", "SECURITY_GROUPS_USAGE_AUDIT"
|
815
|
+
# resp.policy_list[0].security_service_type #=> String, one of "WAF", "WAFV2", "SHIELD_ADVANCED", "SECURITY_GROUPS_COMMON", "SECURITY_GROUPS_CONTENT_AUDIT", "SECURITY_GROUPS_USAGE_AUDIT"
|
807
816
|
# resp.policy_list[0].remediation_enabled #=> Boolean
|
808
817
|
# resp.next_token #=> String
|
809
818
|
#
|
@@ -921,7 +930,7 @@ module Aws::FMS
|
|
921
930
|
# policy_name: "ResourceName", # required
|
922
931
|
# policy_update_token: "PolicyUpdateToken",
|
923
932
|
# security_service_policy_data: { # required
|
924
|
-
# type: "WAF", # required, accepts WAF, SHIELD_ADVANCED, SECURITY_GROUPS_COMMON, SECURITY_GROUPS_CONTENT_AUDIT, SECURITY_GROUPS_USAGE_AUDIT
|
933
|
+
# type: "WAF", # required, accepts WAF, WAFV2, SHIELD_ADVANCED, SECURITY_GROUPS_COMMON, SECURITY_GROUPS_CONTENT_AUDIT, SECURITY_GROUPS_USAGE_AUDIT
|
925
934
|
# managed_service_data: "ManagedServiceData",
|
926
935
|
# },
|
927
936
|
# resource_type: "ResourceType", # required
|
@@ -954,7 +963,7 @@ module Aws::FMS
|
|
954
963
|
# resp.policy.policy_id #=> String
|
955
964
|
# resp.policy.policy_name #=> String
|
956
965
|
# resp.policy.policy_update_token #=> String
|
957
|
-
# resp.policy.security_service_policy_data.type #=> String, one of "WAF", "SHIELD_ADVANCED", "SECURITY_GROUPS_COMMON", "SECURITY_GROUPS_CONTENT_AUDIT", "SECURITY_GROUPS_USAGE_AUDIT"
|
966
|
+
# resp.policy.security_service_policy_data.type #=> String, one of "WAF", "WAFV2", "SHIELD_ADVANCED", "SECURITY_GROUPS_COMMON", "SECURITY_GROUPS_CONTENT_AUDIT", "SECURITY_GROUPS_USAGE_AUDIT"
|
958
967
|
# resp.policy.security_service_policy_data.managed_service_data #=> String
|
959
968
|
# resp.policy.resource_type #=> String
|
960
969
|
# resp.policy.resource_type_list #=> Array
|
@@ -1055,7 +1064,7 @@ module Aws::FMS
|
|
1055
1064
|
params: params,
|
1056
1065
|
config: config)
|
1057
1066
|
context[:gem_name] = 'aws-sdk-fms'
|
1058
|
-
context[:gem_version] = '1.
|
1067
|
+
context[:gem_version] = '1.23.0'
|
1059
1068
|
Seahorse::Client::Request.new(handlers, context)
|
1060
1069
|
end
|
1061
1070
|
|
data/lib/aws-sdk-fms/resource.rb
CHANGED
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::FMS
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::FMS::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::FMS::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::FMS::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
data/lib/aws-sdk-fms/types.rb
CHANGED
@@ -681,7 +681,7 @@ module Aws::FMS
|
|
681
681
|
# policy_name: "ResourceName", # required
|
682
682
|
# policy_update_token: "PolicyUpdateToken",
|
683
683
|
# security_service_policy_data: { # required
|
684
|
-
# type: "WAF", # required, accepts WAF, SHIELD_ADVANCED, SECURITY_GROUPS_COMMON, SECURITY_GROUPS_CONTENT_AUDIT, SECURITY_GROUPS_USAGE_AUDIT
|
684
|
+
# type: "WAF", # required, accepts WAF, WAFV2, SHIELD_ADVANCED, SECURITY_GROUPS_COMMON, SECURITY_GROUPS_CONTENT_AUDIT, SECURITY_GROUPS_USAGE_AUDIT
|
685
685
|
# managed_service_data: "ManagedServiceData",
|
686
686
|
# },
|
687
687
|
# resource_type: "ResourceType", # required
|
@@ -992,7 +992,7 @@ module Aws::FMS
|
|
992
992
|
# policy_name: "ResourceName", # required
|
993
993
|
# policy_update_token: "PolicyUpdateToken",
|
994
994
|
# security_service_policy_data: { # required
|
995
|
-
# type: "WAF", # required, accepts WAF, SHIELD_ADVANCED, SECURITY_GROUPS_COMMON, SECURITY_GROUPS_CONTENT_AUDIT, SECURITY_GROUPS_USAGE_AUDIT
|
995
|
+
# type: "WAF", # required, accepts WAF, WAFV2, SHIELD_ADVANCED, SECURITY_GROUPS_COMMON, SECURITY_GROUPS_CONTENT_AUDIT, SECURITY_GROUPS_USAGE_AUDIT
|
996
996
|
# managed_service_data: "ManagedServiceData",
|
997
997
|
# },
|
998
998
|
# resource_type: "ResourceType", # required
|
@@ -1109,7 +1109,7 @@ module Aws::FMS
|
|
1109
1109
|
# data as a hash:
|
1110
1110
|
#
|
1111
1111
|
# {
|
1112
|
-
# type: "WAF", # required, accepts WAF, SHIELD_ADVANCED, SECURITY_GROUPS_COMMON, SECURITY_GROUPS_CONTENT_AUDIT, SECURITY_GROUPS_USAGE_AUDIT
|
1112
|
+
# type: "WAF", # required, accepts WAF, WAFV2, SHIELD_ADVANCED, SECURITY_GROUPS_COMMON, SECURITY_GROUPS_CONTENT_AUDIT, SECURITY_GROUPS_USAGE_AUDIT
|
1113
1113
|
# managed_service_data: "ManagedServiceData",
|
1114
1114
|
# }
|
1115
1115
|
#
|
@@ -1128,9 +1128,26 @@ module Aws::FMS
|
|
1128
1128
|
# JSON format. For service type `SHIELD_ADVANCED`, this is an empty
|
1129
1129
|
# string.
|
1130
1130
|
#
|
1131
|
+
# * Example: `WAFV2`
|
1132
|
+
#
|
1133
|
+
# `"SecurityServicePolicyData": "\{ "type": "WAFV2",
|
1134
|
+
# "postProcessRuleGroups": [ \{ "managedRuleGroupIdentifier": \{
|
1135
|
+
# "managedRuleGroupName":
|
1136
|
+
# "AWSManagedRulesAdminProtectionRuleSet", "vendor": "AWS" \}
|
1137
|
+
# "ruleGroupARN": "rule group arn", "overrideAction": \{
|
1138
|
+
# "type": "COUNT|" \}, "excludedRules": [ \{ "name" :
|
1139
|
+
# "EntityName" \} ], "type": "ManagedRuleGroup|RuleGroup" \}
|
1140
|
+
# ], "preProcessRuleGroups": [ \{ "managedRuleGroupIdentifier":
|
1141
|
+
# \{ "managedRuleGroupName":
|
1142
|
+
# "AWSManagedRulesAdminProtectionRuleSet", "vendor": "AWS" \}
|
1143
|
+
# "ruleGroupARN": "rule group arn", "overrideAction": \{
|
1144
|
+
# "type": "COUNT" \}, "excludedRules": [ \{ "name" :
|
1145
|
+
# "EntityName" \} ], "type": "ManagedRuleGroup|RuleGroup" \}
|
1146
|
+
# ], "defaultAction": \{ "type": "BLOCK" \}\}" `
|
1147
|
+
#
|
1131
1148
|
# * Example: `WAF`
|
1132
1149
|
#
|
1133
|
-
# `ManagedServiceData": "\{"type": "WAF", "ruleGroups":
|
1150
|
+
# `"ManagedServiceData": "\{"type": "WAF", "ruleGroups":
|
1134
1151
|
# [\{"id": "12345678-1bcd-9012-efga-0987654321ab",
|
1135
1152
|
# "overrideAction" : \{"type": "COUNT"\}\}],
|
1136
1153
|
# "defaultAction": \{"type": "BLOCK"\}\}`
|
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.23.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: 2020-03-
|
11
|
+
date: 2020-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|