aws-sdk-fms 1.7.0 → 1.8.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 +11 -5
- data/lib/aws-sdk-fms/client_api.rb +1 -0
- data/lib/aws-sdk-fms/types.rb +16 -8
- 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: 3089e0060a7e0eccbc0ad368dc023ed358ae81a1
|
4
|
+
data.tar.gz: 8b712f46abe77b3642638962dfff6d0947d5cee4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c15385e227891312b069efa364fe88cb1026cd2cc0db69f4e1959d5f362af138f46dc861ee8a5ff6d4c8b680b4d9530f268a4f7ce5f8dfc673ee3ee5e7f7d0f
|
7
|
+
data.tar.gz: 64bdcdcb0cc8d8ad5229283e509eee83874756545dc80a7bf358f689fd6995044cc54195fb8da73f1ea2f2aa5b4c405103c8f0783a821d5450a015afe26fd0f5
|
data/lib/aws-sdk-fms.rb
CHANGED
data/lib/aws-sdk-fms/client.rb
CHANGED
@@ -274,12 +274,18 @@ module Aws::FMS
|
|
274
274
|
# The ID of the policy that you want to delete. `PolicyId` is returned
|
275
275
|
# by `PutPolicy` and by `ListPolicies`.
|
276
276
|
#
|
277
|
+
# @option params [Boolean] :delete_all_policy_resources
|
278
|
+
# If `True`, the request will also delete all web ACLs in this policy.
|
279
|
+
# Associated resources will no longer be protected by web ACLs in this
|
280
|
+
# policy.
|
281
|
+
#
|
277
282
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
278
283
|
#
|
279
284
|
# @example Request syntax with placeholder values
|
280
285
|
#
|
281
286
|
# resp = client.delete_policy({
|
282
287
|
# policy_id: "PolicyId", # required
|
288
|
+
# delete_all_policy_resources: false,
|
283
289
|
# })
|
284
290
|
#
|
285
291
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeletePolicy AWS API Documentation
|
@@ -292,9 +298,9 @@ module Aws::FMS
|
|
292
298
|
end
|
293
299
|
|
294
300
|
# Disassociates the account that has been set as the AWS Firewall
|
295
|
-
# Manager administrator account.
|
296
|
-
#
|
297
|
-
#
|
301
|
+
# Manager administrator account. To set a different account as the
|
302
|
+
# administrator account, you must submit an `AssociateAdminAccount`
|
303
|
+
# request .
|
298
304
|
#
|
299
305
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
300
306
|
#
|
@@ -528,7 +534,7 @@ module Aws::FMS
|
|
528
534
|
# Manager to return for this request. If you have more IDs than the
|
529
535
|
# number that you specify for `MaxResults`, the response includes a
|
530
536
|
# `NextToken` value that you can use to get another batch of member
|
531
|
-
# account IDs.
|
537
|
+
# account IDs.
|
532
538
|
#
|
533
539
|
# @return [Types::ListMemberAccountsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
534
540
|
#
|
@@ -718,7 +724,7 @@ module Aws::FMS
|
|
718
724
|
params: params,
|
719
725
|
config: config)
|
720
726
|
context[:gem_name] = 'aws-sdk-fms'
|
721
|
-
context[:gem_version] = '1.
|
727
|
+
context[:gem_version] = '1.8.0'
|
722
728
|
Seahorse::Client::Request.new(handlers, context)
|
723
729
|
end
|
724
730
|
|
@@ -98,6 +98,7 @@ module Aws::FMS
|
|
98
98
|
DeleteNotificationChannelRequest.struct_class = Types::DeleteNotificationChannelRequest
|
99
99
|
|
100
100
|
DeletePolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
|
101
|
+
DeletePolicyRequest.add_member(:delete_all_policy_resources, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteAllPolicyResources"))
|
101
102
|
DeletePolicyRequest.struct_class = Types::DeletePolicyRequest
|
102
103
|
|
103
104
|
DisassociateAdminAccountRequest.struct_class = Types::DisassociateAdminAccountRequest
|
data/lib/aws-sdk-fms/types.rb
CHANGED
@@ -75,6 +75,7 @@ module Aws::FMS
|
|
75
75
|
#
|
76
76
|
# {
|
77
77
|
# policy_id: "PolicyId", # required
|
78
|
+
# delete_all_policy_resources: false,
|
78
79
|
# }
|
79
80
|
#
|
80
81
|
# @!attribute [rw] policy_id
|
@@ -82,10 +83,17 @@ module Aws::FMS
|
|
82
83
|
# by `PutPolicy` and by `ListPolicies`.
|
83
84
|
# @return [String]
|
84
85
|
#
|
86
|
+
# @!attribute [rw] delete_all_policy_resources
|
87
|
+
# If `True`, the request will also delete all web ACLs in this policy.
|
88
|
+
# Associated resources will no longer be protected by web ACLs in this
|
89
|
+
# policy.
|
90
|
+
# @return [Boolean]
|
91
|
+
#
|
85
92
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeletePolicyRequest AWS API Documentation
|
86
93
|
#
|
87
94
|
class DeletePolicyRequest < Struct.new(
|
88
|
-
:policy_id
|
95
|
+
:policy_id,
|
96
|
+
:delete_all_policy_resources)
|
89
97
|
include Aws::Structure
|
90
98
|
end
|
91
99
|
|
@@ -331,7 +339,7 @@ module Aws::FMS
|
|
331
339
|
# Firewall Manager to return for this request. If you have more IDs
|
332
340
|
# than the number that you specify for `MaxResults`, the response
|
333
341
|
# includes a `NextToken` value that you can use to get another batch
|
334
|
-
# of member account IDs.
|
342
|
+
# of member account IDs.
|
335
343
|
# @return [Integer]
|
336
344
|
#
|
337
345
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListMemberAccountsRequest AWS API Documentation
|
@@ -498,9 +506,9 @@ module Aws::FMS
|
|
498
506
|
#
|
499
507
|
# @!attribute [rw] include_map
|
500
508
|
# Specifies the AWS account IDs to include in the policy. If
|
501
|
-
# `IncludeMap` is null, all accounts in the
|
502
|
-
# included in the policy. If `IncludeMap` is not
|
503
|
-
# listed in `IncludeMap`
|
509
|
+
# `IncludeMap` is null, all accounts in the organization in AWS
|
510
|
+
# Organizations are included in the policy. If `IncludeMap` is not
|
511
|
+
# null, only values listed in `IncludeMap` are included in the policy.
|
504
512
|
#
|
505
513
|
# The key to the map is `ACCOUNT`. For example, a valid `IncludeMap`
|
506
514
|
# would be `\{“ACCOUNT” : [“accountID1”, “accountID2”]\}`.
|
@@ -508,7 +516,7 @@ module Aws::FMS
|
|
508
516
|
#
|
509
517
|
# @!attribute [rw] exclude_map
|
510
518
|
# Specifies the AWS account IDs to exclude from the policy. The
|
511
|
-
# `IncludeMap` values are evaluated first, with all
|
519
|
+
# `IncludeMap` values are evaluated first, with all the appropriate
|
512
520
|
# account IDs added to the policy. Then the accounts listed in
|
513
521
|
# `ExcludeMap` are removed, resulting in the final list of accounts to
|
514
522
|
# add to the policy.
|
@@ -568,7 +576,7 @@ module Aws::FMS
|
|
568
576
|
# Details about problems with dependent services, such as AWS WAF or
|
569
577
|
# AWS Config, that are causing a resource to be non-compliant. The
|
570
578
|
# details include the name of the dependent service and the error
|
571
|
-
# message
|
579
|
+
# message received that indicates the problem with the service.
|
572
580
|
# @return [Hash<String,String>]
|
573
581
|
#
|
574
582
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PolicyComplianceDetail AWS API Documentation
|
@@ -616,7 +624,7 @@ module Aws::FMS
|
|
616
624
|
# Details about problems with dependent services, such as AWS WAF or
|
617
625
|
# AWS Config, that are causing a resource to be non-compliant. The
|
618
626
|
# details include the name of the dependent service and the error
|
619
|
-
# message
|
627
|
+
# message received that indicates the problem with the service.
|
620
628
|
# @return [Hash<String,String>]
|
621
629
|
#
|
622
630
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PolicyComplianceStatus AWS API Documentation
|
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.8.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:
|
11
|
+
date: 2019-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|