aws-sdk-fms 1.52.0 → 1.53.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-fms/client.rb +362 -6
- data/lib/aws-sdk-fms/client_api.rb +233 -0
- data/lib/aws-sdk-fms/endpoints.rb +112 -0
- data/lib/aws-sdk-fms/plugins/endpoints.rb +16 -0
- data/lib/aws-sdk-fms/types.rb +585 -4
- data/lib/aws-sdk-fms.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1189f8a43bf0355a12bd53fd3c22ef5ffaa3f96083788ece73e0a525226df1c
|
4
|
+
data.tar.gz: 8ba2741e155b25a0c85205b5452ab4c03c69fcc530f9b002c3b365103d23d618
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ec9a7a6c66db2853cca0e61d5ce4cd57ba51c628f537dd504b34312d9c69906a51d84946f93c0d6242ab97cc133a292f82415990dfd3bf910ed92f8ebb99fa5
|
7
|
+
data.tar.gz: 5705c3cef282d997e7684c27203264d85176e4e1acbb1ae8fb501cd6d839e1835e0ba786bba62a51fb9b8fc96c3cb28245be2a1072c8ed760402d63d1084fdf8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.53.0 (2022-11-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Firewall Manager now supports importing existing AWS Network Firewall firewalls into Firewall Manager policies.
|
8
|
+
|
4
9
|
1.52.0 (2022-10-27)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.53.0
|
data/lib/aws-sdk-fms/client.rb
CHANGED
@@ -445,6 +445,84 @@ module Aws::FMS
|
|
445
445
|
req.send_request(options)
|
446
446
|
end
|
447
447
|
|
448
|
+
# Associate resources to a Firewall Manager resource set.
|
449
|
+
#
|
450
|
+
# @option params [required, String] :resource_set_identifier
|
451
|
+
# A unique identifier for the resource set, used in a TODO to refer to
|
452
|
+
# the resource set.
|
453
|
+
#
|
454
|
+
# @option params [required, Array<String>] :items
|
455
|
+
# The uniform resource identifiers (URIs) of resources that should be
|
456
|
+
# associated to the resource set. The URIs must be Amazon Resource Names
|
457
|
+
# (ARNs).
|
458
|
+
#
|
459
|
+
# @return [Types::BatchAssociateResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
460
|
+
#
|
461
|
+
# * {Types::BatchAssociateResourceResponse#resource_set_identifier #resource_set_identifier} => String
|
462
|
+
# * {Types::BatchAssociateResourceResponse#failed_items #failed_items} => Array<Types::FailedItem>
|
463
|
+
#
|
464
|
+
# @example Request syntax with placeholder values
|
465
|
+
#
|
466
|
+
# resp = client.batch_associate_resource({
|
467
|
+
# resource_set_identifier: "Identifier", # required
|
468
|
+
# items: ["Identifier"], # required
|
469
|
+
# })
|
470
|
+
#
|
471
|
+
# @example Response structure
|
472
|
+
#
|
473
|
+
# resp.resource_set_identifier #=> String
|
474
|
+
# resp.failed_items #=> Array
|
475
|
+
# resp.failed_items[0].uri #=> String
|
476
|
+
# resp.failed_items[0].reason #=> String, one of "NOT_VALID_ARN", "NOT_VALID_PARTITION", "NOT_VALID_REGION", "NOT_VALID_SERVICE", "NOT_VALID_RESOURCE_TYPE", "NOT_VALID_ACCOUNT_ID"
|
477
|
+
#
|
478
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/BatchAssociateResource AWS API Documentation
|
479
|
+
#
|
480
|
+
# @overload batch_associate_resource(params = {})
|
481
|
+
# @param [Hash] params ({})
|
482
|
+
def batch_associate_resource(params = {}, options = {})
|
483
|
+
req = build_request(:batch_associate_resource, params)
|
484
|
+
req.send_request(options)
|
485
|
+
end
|
486
|
+
|
487
|
+
# Disassociates resources from a Firewall Manager resource set.
|
488
|
+
#
|
489
|
+
# @option params [required, String] :resource_set_identifier
|
490
|
+
# A unique identifier for the resource set, used in a TODO to refer to
|
491
|
+
# the resource set.
|
492
|
+
#
|
493
|
+
# @option params [required, Array<String>] :items
|
494
|
+
# The uniform resource identifiers (URI) of resources that should be
|
495
|
+
# disassociated from the resource set. The URIs must be Amazon Resource
|
496
|
+
# Names (ARNs).
|
497
|
+
#
|
498
|
+
# @return [Types::BatchDisassociateResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
499
|
+
#
|
500
|
+
# * {Types::BatchDisassociateResourceResponse#resource_set_identifier #resource_set_identifier} => String
|
501
|
+
# * {Types::BatchDisassociateResourceResponse#failed_items #failed_items} => Array<Types::FailedItem>
|
502
|
+
#
|
503
|
+
# @example Request syntax with placeholder values
|
504
|
+
#
|
505
|
+
# resp = client.batch_disassociate_resource({
|
506
|
+
# resource_set_identifier: "Identifier", # required
|
507
|
+
# items: ["Identifier"], # required
|
508
|
+
# })
|
509
|
+
#
|
510
|
+
# @example Response structure
|
511
|
+
#
|
512
|
+
# resp.resource_set_identifier #=> String
|
513
|
+
# resp.failed_items #=> Array
|
514
|
+
# resp.failed_items[0].uri #=> String
|
515
|
+
# resp.failed_items[0].reason #=> String, one of "NOT_VALID_ARN", "NOT_VALID_PARTITION", "NOT_VALID_REGION", "NOT_VALID_SERVICE", "NOT_VALID_RESOURCE_TYPE", "NOT_VALID_ACCOUNT_ID"
|
516
|
+
#
|
517
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/BatchDisassociateResource AWS API Documentation
|
518
|
+
#
|
519
|
+
# @overload batch_disassociate_resource(params = {})
|
520
|
+
# @param [Hash] params ({})
|
521
|
+
def batch_disassociate_resource(params = {}, options = {})
|
522
|
+
req = build_request(:batch_disassociate_resource, params)
|
523
|
+
req.send_request(options)
|
524
|
+
end
|
525
|
+
|
448
526
|
# Permanently deletes an Firewall Manager applications list.
|
449
527
|
#
|
450
528
|
# @option params [required, String] :list_id
|
@@ -561,6 +639,29 @@ module Aws::FMS
|
|
561
639
|
req.send_request(options)
|
562
640
|
end
|
563
641
|
|
642
|
+
# Deletes the specified ResourceSet.
|
643
|
+
#
|
644
|
+
# @option params [required, String] :identifier
|
645
|
+
# A unique identifier for the resource set, used in a TODO to refer to
|
646
|
+
# the resource set.
|
647
|
+
#
|
648
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
649
|
+
#
|
650
|
+
# @example Request syntax with placeholder values
|
651
|
+
#
|
652
|
+
# resp = client.delete_resource_set({
|
653
|
+
# identifier: "Base62Id", # required
|
654
|
+
# })
|
655
|
+
#
|
656
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeleteResourceSet AWS API Documentation
|
657
|
+
#
|
658
|
+
# @overload delete_resource_set(params = {})
|
659
|
+
# @param [Hash] params ({})
|
660
|
+
def delete_resource_set(params = {}, options = {})
|
661
|
+
req = build_request(:delete_resource_set, params)
|
662
|
+
req.send_request(options)
|
663
|
+
end
|
664
|
+
|
564
665
|
# Disassociates the account that has been set as the Firewall Manager
|
565
666
|
# administrator account. To set a different account as the administrator
|
566
667
|
# account, you must submit an `AssociateAdminAccount` request.
|
@@ -788,7 +889,7 @@ module Aws::FMS
|
|
788
889
|
# resp.policy.policy_id #=> String
|
789
890
|
# resp.policy.policy_name #=> String
|
790
891
|
# resp.policy.policy_update_token #=> String
|
791
|
-
# 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", "NETWORK_FIREWALL", "DNS_FIREWALL", "THIRD_PARTY_FIREWALL"
|
892
|
+
# 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", "NETWORK_FIREWALL", "DNS_FIREWALL", "THIRD_PARTY_FIREWALL", "IMPORT_NETWORK_FIREWALL"
|
792
893
|
# resp.policy.security_service_policy_data.managed_service_data #=> String
|
793
894
|
# resp.policy.security_service_policy_data.policy_option.network_firewall_policy.firewall_deployment_model #=> String, one of "CENTRALIZED", "DISTRIBUTED"
|
794
895
|
# resp.policy.security_service_policy_data.policy_option.third_party_firewall_policy.firewall_deployment_model #=> String, one of "CENTRALIZED", "DISTRIBUTED"
|
@@ -807,6 +908,9 @@ module Aws::FMS
|
|
807
908
|
# resp.policy.exclude_map #=> Hash
|
808
909
|
# resp.policy.exclude_map["CustomerPolicyScopeIdType"] #=> Array
|
809
910
|
# resp.policy.exclude_map["CustomerPolicyScopeIdType"][0] #=> String
|
911
|
+
# resp.policy.resource_set_ids #=> Array
|
912
|
+
# resp.policy.resource_set_ids[0] #=> String
|
913
|
+
# resp.policy.policy_description #=> String
|
810
914
|
# resp.policy_arn #=> String
|
811
915
|
#
|
812
916
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetPolicy AWS API Documentation
|
@@ -877,7 +981,7 @@ module Aws::FMS
|
|
877
981
|
# @example Response structure
|
878
982
|
#
|
879
983
|
# resp.admin_account_id #=> String
|
880
|
-
# resp.service_type #=> String, one of "WAF", "WAFV2", "SHIELD_ADVANCED", "SECURITY_GROUPS_COMMON", "SECURITY_GROUPS_CONTENT_AUDIT", "SECURITY_GROUPS_USAGE_AUDIT", "NETWORK_FIREWALL", "DNS_FIREWALL", "THIRD_PARTY_FIREWALL"
|
984
|
+
# resp.service_type #=> String, one of "WAF", "WAFV2", "SHIELD_ADVANCED", "SECURITY_GROUPS_COMMON", "SECURITY_GROUPS_CONTENT_AUDIT", "SECURITY_GROUPS_USAGE_AUDIT", "NETWORK_FIREWALL", "DNS_FIREWALL", "THIRD_PARTY_FIREWALL", "IMPORT_NETWORK_FIREWALL"
|
881
985
|
# resp.data #=> String
|
882
986
|
# resp.next_token #=> String
|
883
987
|
#
|
@@ -936,6 +1040,43 @@ module Aws::FMS
|
|
936
1040
|
req.send_request(options)
|
937
1041
|
end
|
938
1042
|
|
1043
|
+
# Gets information about a specific resource set.
|
1044
|
+
#
|
1045
|
+
# @option params [required, String] :identifier
|
1046
|
+
# A unique identifier for the resource set, used in a TODO to refer to
|
1047
|
+
# the resource set.
|
1048
|
+
#
|
1049
|
+
# @return [Types::GetResourceSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1050
|
+
#
|
1051
|
+
# * {Types::GetResourceSetResponse#resource_set #resource_set} => Types::ResourceSet
|
1052
|
+
# * {Types::GetResourceSetResponse#resource_set_arn #resource_set_arn} => String
|
1053
|
+
#
|
1054
|
+
# @example Request syntax with placeholder values
|
1055
|
+
#
|
1056
|
+
# resp = client.get_resource_set({
|
1057
|
+
# identifier: "Base62Id", # required
|
1058
|
+
# })
|
1059
|
+
#
|
1060
|
+
# @example Response structure
|
1061
|
+
#
|
1062
|
+
# resp.resource_set.id #=> String
|
1063
|
+
# resp.resource_set.name #=> String
|
1064
|
+
# resp.resource_set.description #=> String
|
1065
|
+
# resp.resource_set.update_token #=> String
|
1066
|
+
# resp.resource_set.resource_type_list #=> Array
|
1067
|
+
# resp.resource_set.resource_type_list[0] #=> String
|
1068
|
+
# resp.resource_set.last_update_time #=> Time
|
1069
|
+
# resp.resource_set_arn #=> String
|
1070
|
+
#
|
1071
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetResourceSet AWS API Documentation
|
1072
|
+
#
|
1073
|
+
# @overload get_resource_set(params = {})
|
1074
|
+
# @param [Hash] params ({})
|
1075
|
+
def get_resource_set(params = {}, options = {})
|
1076
|
+
req = build_request(:get_resource_set, params)
|
1077
|
+
req.send_request(options)
|
1078
|
+
end
|
1079
|
+
|
939
1080
|
# The onboarding status of a Firewall Manager admin account to
|
940
1081
|
# third-party firewall vendor tenant.
|
941
1082
|
#
|
@@ -1454,6 +1595,62 @@ module Aws::FMS
|
|
1454
1595
|
req.send_request(options)
|
1455
1596
|
end
|
1456
1597
|
|
1598
|
+
# Returns an array of resources in the organization's accounts that are
|
1599
|
+
# available to be associated with a resource set.
|
1600
|
+
#
|
1601
|
+
# @option params [required, Array<String>] :member_account_ids
|
1602
|
+
# The Amazon Web Services account IDs to discover resources in. Only one
|
1603
|
+
# account is supported per request. The account must be a member of your
|
1604
|
+
# organization.
|
1605
|
+
#
|
1606
|
+
# @option params [required, String] :resource_type
|
1607
|
+
# The type of resources to discover.
|
1608
|
+
#
|
1609
|
+
# @option params [Integer] :max_results
|
1610
|
+
# The maximum number of objects that you want Firewall Manager to return
|
1611
|
+
# for this request. If more objects are available, in the response,
|
1612
|
+
# Firewall Manager provides a `NextToken` value that you can use in a
|
1613
|
+
# subsequent call to get the next batch of objects.
|
1614
|
+
#
|
1615
|
+
# @option params [String] :next_token
|
1616
|
+
# When you request a list of objects with a `MaxResults` setting, if the
|
1617
|
+
# number of objects that are still available for retrieval exceeds the
|
1618
|
+
# maximum you requested, Firewall Manager returns a `NextToken` value in
|
1619
|
+
# the response. To retrieve the next batch of objects, use the token
|
1620
|
+
# returned from the prior request in your next request.
|
1621
|
+
#
|
1622
|
+
# @return [Types::ListDiscoveredResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1623
|
+
#
|
1624
|
+
# * {Types::ListDiscoveredResourcesResponse#items #items} => Array<Types::DiscoveredResource>
|
1625
|
+
# * {Types::ListDiscoveredResourcesResponse#next_token #next_token} => String
|
1626
|
+
#
|
1627
|
+
# @example Request syntax with placeholder values
|
1628
|
+
#
|
1629
|
+
# resp = client.list_discovered_resources({
|
1630
|
+
# member_account_ids: ["AWSAccountId"], # required
|
1631
|
+
# resource_type: "ResourceType", # required
|
1632
|
+
# max_results: 1,
|
1633
|
+
# next_token: "PaginationToken",
|
1634
|
+
# })
|
1635
|
+
#
|
1636
|
+
# @example Response structure
|
1637
|
+
#
|
1638
|
+
# resp.items #=> Array
|
1639
|
+
# resp.items[0].uri #=> String
|
1640
|
+
# resp.items[0].account_id #=> String
|
1641
|
+
# resp.items[0].type #=> String
|
1642
|
+
# resp.items[0].name #=> String
|
1643
|
+
# resp.next_token #=> String
|
1644
|
+
#
|
1645
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListDiscoveredResources AWS API Documentation
|
1646
|
+
#
|
1647
|
+
# @overload list_discovered_resources(params = {})
|
1648
|
+
# @param [Hash] params ({})
|
1649
|
+
def list_discovered_resources(params = {}, options = {})
|
1650
|
+
req = build_request(:list_discovered_resources, params)
|
1651
|
+
req.send_request(options)
|
1652
|
+
end
|
1653
|
+
|
1457
1654
|
# Returns a `MemberAccounts` object that lists the member accounts in
|
1458
1655
|
# the administrator's Amazon Web Services organization.
|
1459
1656
|
#
|
@@ -1544,7 +1741,7 @@ module Aws::FMS
|
|
1544
1741
|
# resp.policy_list[0].policy_id #=> String
|
1545
1742
|
# resp.policy_list[0].policy_name #=> String
|
1546
1743
|
# resp.policy_list[0].resource_type #=> String
|
1547
|
-
# 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", "NETWORK_FIREWALL", "DNS_FIREWALL", "THIRD_PARTY_FIREWALL"
|
1744
|
+
# 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", "NETWORK_FIREWALL", "DNS_FIREWALL", "THIRD_PARTY_FIREWALL", "IMPORT_NETWORK_FIREWALL"
|
1548
1745
|
# resp.policy_list[0].remediation_enabled #=> Boolean
|
1549
1746
|
# resp.policy_list[0].delete_unused_fm_managed_resources #=> Boolean
|
1550
1747
|
# resp.next_token #=> String
|
@@ -1614,6 +1811,100 @@ module Aws::FMS
|
|
1614
1811
|
req.send_request(options)
|
1615
1812
|
end
|
1616
1813
|
|
1814
|
+
# Returns an array of resources that are currently associated to a
|
1815
|
+
# resource set.
|
1816
|
+
#
|
1817
|
+
# @option params [required, String] :identifier
|
1818
|
+
# A unique identifier for the resource set, used in a TODO to refer to
|
1819
|
+
# the resource set.
|
1820
|
+
#
|
1821
|
+
# @option params [Integer] :max_results
|
1822
|
+
# The maximum number of objects that you want Firewall Manager to return
|
1823
|
+
# for this request. If more objects are available, in the response,
|
1824
|
+
# Firewall Manager provides a `NextToken` value that you can use in a
|
1825
|
+
# subsequent call to get the next batch of objects.
|
1826
|
+
#
|
1827
|
+
# @option params [String] :next_token
|
1828
|
+
# When you request a list of objects with a `MaxResults` setting, if the
|
1829
|
+
# number of objects that are still available for retrieval exceeds the
|
1830
|
+
# maximum you requested, Firewall Manager returns a `NextToken` value in
|
1831
|
+
# the response. To retrieve the next batch of objects, use the token
|
1832
|
+
# returned from the prior request in your next request.
|
1833
|
+
#
|
1834
|
+
# @return [Types::ListResourceSetResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1835
|
+
#
|
1836
|
+
# * {Types::ListResourceSetResourcesResponse#items #items} => Array<Types::Resource>
|
1837
|
+
# * {Types::ListResourceSetResourcesResponse#next_token #next_token} => String
|
1838
|
+
#
|
1839
|
+
# @example Request syntax with placeholder values
|
1840
|
+
#
|
1841
|
+
# resp = client.list_resource_set_resources({
|
1842
|
+
# identifier: "ResourceId", # required
|
1843
|
+
# max_results: 1,
|
1844
|
+
# next_token: "PaginationToken",
|
1845
|
+
# })
|
1846
|
+
#
|
1847
|
+
# @example Response structure
|
1848
|
+
#
|
1849
|
+
# resp.items #=> Array
|
1850
|
+
# resp.items[0].uri #=> String
|
1851
|
+
# resp.items[0].account_id #=> String
|
1852
|
+
# resp.next_token #=> String
|
1853
|
+
#
|
1854
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListResourceSetResources AWS API Documentation
|
1855
|
+
#
|
1856
|
+
# @overload list_resource_set_resources(params = {})
|
1857
|
+
# @param [Hash] params ({})
|
1858
|
+
def list_resource_set_resources(params = {}, options = {})
|
1859
|
+
req = build_request(:list_resource_set_resources, params)
|
1860
|
+
req.send_request(options)
|
1861
|
+
end
|
1862
|
+
|
1863
|
+
# Returns an array of `ResourceSetSummary` objects.
|
1864
|
+
#
|
1865
|
+
# @option params [String] :next_token
|
1866
|
+
# When you request a list of objects with a `MaxResults` setting, if the
|
1867
|
+
# number of objects that are still available for retrieval exceeds the
|
1868
|
+
# maximum you requested, Firewall Manager returns a `NextToken` value in
|
1869
|
+
# the response. To retrieve the next batch of objects, use the token
|
1870
|
+
# returned from the prior request in your next request.
|
1871
|
+
#
|
1872
|
+
# @option params [Integer] :max_results
|
1873
|
+
# The maximum number of objects that you want Firewall Manager to return
|
1874
|
+
# for this request. If more objects are available, in the response,
|
1875
|
+
# Firewall Manager provides a `NextToken` value that you can use in a
|
1876
|
+
# subsequent call to get the next batch of objects.
|
1877
|
+
#
|
1878
|
+
# @return [Types::ListResourceSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1879
|
+
#
|
1880
|
+
# * {Types::ListResourceSetsResponse#resource_sets #resource_sets} => Array<Types::ResourceSetSummary>
|
1881
|
+
# * {Types::ListResourceSetsResponse#next_token #next_token} => String
|
1882
|
+
#
|
1883
|
+
# @example Request syntax with placeholder values
|
1884
|
+
#
|
1885
|
+
# resp = client.list_resource_sets({
|
1886
|
+
# next_token: "PaginationToken",
|
1887
|
+
# max_results: 1,
|
1888
|
+
# })
|
1889
|
+
#
|
1890
|
+
# @example Response structure
|
1891
|
+
#
|
1892
|
+
# resp.resource_sets #=> Array
|
1893
|
+
# resp.resource_sets[0].id #=> String
|
1894
|
+
# resp.resource_sets[0].name #=> String
|
1895
|
+
# resp.resource_sets[0].description #=> String
|
1896
|
+
# resp.resource_sets[0].last_update_time #=> Time
|
1897
|
+
# resp.next_token #=> String
|
1898
|
+
#
|
1899
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListResourceSets AWS API Documentation
|
1900
|
+
#
|
1901
|
+
# @overload list_resource_sets(params = {})
|
1902
|
+
# @param [Hash] params ({})
|
1903
|
+
def list_resource_sets(params = {}, options = {})
|
1904
|
+
req = build_request(:list_resource_sets, params)
|
1905
|
+
req.send_request(options)
|
1906
|
+
end
|
1907
|
+
|
1617
1908
|
# Retrieves the list of tags for the specified Amazon Web Services
|
1618
1909
|
# resource.
|
1619
1910
|
#
|
@@ -1870,7 +2161,7 @@ module Aws::FMS
|
|
1870
2161
|
# policy_name: "ResourceName", # required
|
1871
2162
|
# policy_update_token: "PolicyUpdateToken",
|
1872
2163
|
# security_service_policy_data: { # required
|
1873
|
-
# type: "WAF", # required, accepts WAF, WAFV2, SHIELD_ADVANCED, SECURITY_GROUPS_COMMON, SECURITY_GROUPS_CONTENT_AUDIT, SECURITY_GROUPS_USAGE_AUDIT, NETWORK_FIREWALL, DNS_FIREWALL, THIRD_PARTY_FIREWALL
|
2164
|
+
# type: "WAF", # required, accepts WAF, WAFV2, SHIELD_ADVANCED, SECURITY_GROUPS_COMMON, SECURITY_GROUPS_CONTENT_AUDIT, SECURITY_GROUPS_USAGE_AUDIT, NETWORK_FIREWALL, DNS_FIREWALL, THIRD_PARTY_FIREWALL, IMPORT_NETWORK_FIREWALL
|
1874
2165
|
# managed_service_data: "ManagedServiceData",
|
1875
2166
|
# policy_option: {
|
1876
2167
|
# network_firewall_policy: {
|
@@ -1898,6 +2189,8 @@ module Aws::FMS
|
|
1898
2189
|
# exclude_map: {
|
1899
2190
|
# "ACCOUNT" => ["CustomerPolicyScopeId"],
|
1900
2191
|
# },
|
2192
|
+
# resource_set_ids: ["Base62Id"],
|
2193
|
+
# policy_description: "ResourceDescription",
|
1901
2194
|
# },
|
1902
2195
|
# tag_list: [
|
1903
2196
|
# {
|
@@ -1912,7 +2205,7 @@ module Aws::FMS
|
|
1912
2205
|
# resp.policy.policy_id #=> String
|
1913
2206
|
# resp.policy.policy_name #=> String
|
1914
2207
|
# resp.policy.policy_update_token #=> String
|
1915
|
-
# 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", "NETWORK_FIREWALL", "DNS_FIREWALL", "THIRD_PARTY_FIREWALL"
|
2208
|
+
# 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", "NETWORK_FIREWALL", "DNS_FIREWALL", "THIRD_PARTY_FIREWALL", "IMPORT_NETWORK_FIREWALL"
|
1916
2209
|
# resp.policy.security_service_policy_data.managed_service_data #=> String
|
1917
2210
|
# resp.policy.security_service_policy_data.policy_option.network_firewall_policy.firewall_deployment_model #=> String, one of "CENTRALIZED", "DISTRIBUTED"
|
1918
2211
|
# resp.policy.security_service_policy_data.policy_option.third_party_firewall_policy.firewall_deployment_model #=> String, one of "CENTRALIZED", "DISTRIBUTED"
|
@@ -1931,6 +2224,9 @@ module Aws::FMS
|
|
1931
2224
|
# resp.policy.exclude_map #=> Hash
|
1932
2225
|
# resp.policy.exclude_map["CustomerPolicyScopeIdType"] #=> Array
|
1933
2226
|
# resp.policy.exclude_map["CustomerPolicyScopeIdType"][0] #=> String
|
2227
|
+
# resp.policy.resource_set_ids #=> Array
|
2228
|
+
# resp.policy.resource_set_ids[0] #=> String
|
2229
|
+
# resp.policy.policy_description #=> String
|
1934
2230
|
# resp.policy_arn #=> String
|
1935
2231
|
#
|
1936
2232
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutPolicy AWS API Documentation
|
@@ -2000,6 +2296,66 @@ module Aws::FMS
|
|
2000
2296
|
req.send_request(options)
|
2001
2297
|
end
|
2002
2298
|
|
2299
|
+
# Creates the resource set.
|
2300
|
+
#
|
2301
|
+
# An Firewall Manager resource set defines the resources to import into
|
2302
|
+
# an Firewall Manager policy from another Amazon Web Services service.
|
2303
|
+
#
|
2304
|
+
# @option params [required, Types::ResourceSet] :resource_set
|
2305
|
+
# Details about the resource set to be created or updated.>
|
2306
|
+
#
|
2307
|
+
# @option params [Array<Types::Tag>] :tag_list
|
2308
|
+
# Retrieves the tags associated with the specified resource set. Tags
|
2309
|
+
# are key:value pairs that you can use to categorize and manage your
|
2310
|
+
# resources, for purposes like billing. For example, you might set the
|
2311
|
+
# tag key to "customer" and the value to the customer name or ID. You
|
2312
|
+
# can specify one or more tags to add to each Amazon Web Services
|
2313
|
+
# resource, up to 50 tags for a resource.
|
2314
|
+
#
|
2315
|
+
# @return [Types::PutResourceSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2316
|
+
#
|
2317
|
+
# * {Types::PutResourceSetResponse#resource_set #resource_set} => Types::ResourceSet
|
2318
|
+
# * {Types::PutResourceSetResponse#resource_set_arn #resource_set_arn} => String
|
2319
|
+
#
|
2320
|
+
# @example Request syntax with placeholder values
|
2321
|
+
#
|
2322
|
+
# resp = client.put_resource_set({
|
2323
|
+
# resource_set: { # required
|
2324
|
+
# id: "Base62Id",
|
2325
|
+
# name: "Name", # required
|
2326
|
+
# description: "Description",
|
2327
|
+
# update_token: "UpdateToken",
|
2328
|
+
# resource_type_list: ["ResourceType"], # required
|
2329
|
+
# last_update_time: Time.now,
|
2330
|
+
# },
|
2331
|
+
# tag_list: [
|
2332
|
+
# {
|
2333
|
+
# key: "TagKey", # required
|
2334
|
+
# value: "TagValue", # required
|
2335
|
+
# },
|
2336
|
+
# ],
|
2337
|
+
# })
|
2338
|
+
#
|
2339
|
+
# @example Response structure
|
2340
|
+
#
|
2341
|
+
# resp.resource_set.id #=> String
|
2342
|
+
# resp.resource_set.name #=> String
|
2343
|
+
# resp.resource_set.description #=> String
|
2344
|
+
# resp.resource_set.update_token #=> String
|
2345
|
+
# resp.resource_set.resource_type_list #=> Array
|
2346
|
+
# resp.resource_set.resource_type_list[0] #=> String
|
2347
|
+
# resp.resource_set.last_update_time #=> Time
|
2348
|
+
# resp.resource_set_arn #=> String
|
2349
|
+
#
|
2350
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutResourceSet AWS API Documentation
|
2351
|
+
#
|
2352
|
+
# @overload put_resource_set(params = {})
|
2353
|
+
# @param [Hash] params ({})
|
2354
|
+
def put_resource_set(params = {}, options = {})
|
2355
|
+
req = build_request(:put_resource_set, params)
|
2356
|
+
req.send_request(options)
|
2357
|
+
end
|
2358
|
+
|
2003
2359
|
# Adds one or more tags to an Amazon Web Services resource.
|
2004
2360
|
#
|
2005
2361
|
# @option params [required, String] :resource_arn
|
@@ -2074,7 +2430,7 @@ module Aws::FMS
|
|
2074
2430
|
params: params,
|
2075
2431
|
config: config)
|
2076
2432
|
context[:gem_name] = 'aws-sdk-fms'
|
2077
|
-
context[:gem_version] = '1.
|
2433
|
+
context[:gem_version] = '1.53.0'
|
2078
2434
|
Seahorse::Client::Request.new(handlers, context)
|
2079
2435
|
end
|
2080
2436
|
|