aws-sdk-fms 1.66.0 → 1.68.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.
data/sig/client.rbs ADDED
@@ -0,0 +1,675 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module FMS
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#associate_admin_account-instance_method
77
+ def associate_admin_account: (
78
+ admin_account: ::String
79
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
80
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
81
+
82
+ interface _AssociateThirdPartyFirewallResponseSuccess
83
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateThirdPartyFirewallResponse]
84
+ def third_party_firewall_status: () -> ("ONBOARDING" | "ONBOARD_COMPLETE" | "OFFBOARDING" | "OFFBOARD_COMPLETE" | "NOT_EXIST")
85
+ end
86
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#associate_third_party_firewall-instance_method
87
+ def associate_third_party_firewall: (
88
+ third_party_firewall: ("PALO_ALTO_NETWORKS_CLOUD_NGFW" | "FORTIGATE_CLOUD_NATIVE_FIREWALL")
89
+ ) -> _AssociateThirdPartyFirewallResponseSuccess
90
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateThirdPartyFirewallResponseSuccess
91
+
92
+ interface _BatchAssociateResourceResponseSuccess
93
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchAssociateResourceResponse]
94
+ def resource_set_identifier: () -> ::String
95
+ def failed_items: () -> ::Array[Types::FailedItem]
96
+ end
97
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#batch_associate_resource-instance_method
98
+ def batch_associate_resource: (
99
+ resource_set_identifier: ::String,
100
+ items: Array[::String]
101
+ ) -> _BatchAssociateResourceResponseSuccess
102
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchAssociateResourceResponseSuccess
103
+
104
+ interface _BatchDisassociateResourceResponseSuccess
105
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchDisassociateResourceResponse]
106
+ def resource_set_identifier: () -> ::String
107
+ def failed_items: () -> ::Array[Types::FailedItem]
108
+ end
109
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#batch_disassociate_resource-instance_method
110
+ def batch_disassociate_resource: (
111
+ resource_set_identifier: ::String,
112
+ items: Array[::String]
113
+ ) -> _BatchDisassociateResourceResponseSuccess
114
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDisassociateResourceResponseSuccess
115
+
116
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#delete_apps_list-instance_method
117
+ def delete_apps_list: (
118
+ list_id: ::String
119
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
120
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
121
+
122
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#delete_notification_channel-instance_method
123
+ def delete_notification_channel: (
124
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
125
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
126
+
127
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#delete_policy-instance_method
128
+ def delete_policy: (
129
+ policy_id: ::String,
130
+ ?delete_all_policy_resources: bool
131
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
132
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
133
+
134
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#delete_protocols_list-instance_method
135
+ def delete_protocols_list: (
136
+ list_id: ::String
137
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
138
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
139
+
140
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#delete_resource_set-instance_method
141
+ def delete_resource_set: (
142
+ identifier: ::String
143
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
144
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
145
+
146
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#disassociate_admin_account-instance_method
147
+ def disassociate_admin_account: (
148
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
149
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
150
+
151
+ interface _DisassociateThirdPartyFirewallResponseSuccess
152
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateThirdPartyFirewallResponse]
153
+ def third_party_firewall_status: () -> ("ONBOARDING" | "ONBOARD_COMPLETE" | "OFFBOARDING" | "OFFBOARD_COMPLETE" | "NOT_EXIST")
154
+ end
155
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#disassociate_third_party_firewall-instance_method
156
+ def disassociate_third_party_firewall: (
157
+ third_party_firewall: ("PALO_ALTO_NETWORKS_CLOUD_NGFW" | "FORTIGATE_CLOUD_NATIVE_FIREWALL")
158
+ ) -> _DisassociateThirdPartyFirewallResponseSuccess
159
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateThirdPartyFirewallResponseSuccess
160
+
161
+ interface _GetAdminAccountResponseSuccess
162
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAdminAccountResponse]
163
+ def admin_account: () -> ::String
164
+ def role_status: () -> ("READY" | "CREATING" | "PENDING_DELETION" | "DELETING" | "DELETED")
165
+ end
166
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#get_admin_account-instance_method
167
+ def get_admin_account: (
168
+ ) -> _GetAdminAccountResponseSuccess
169
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAdminAccountResponseSuccess
170
+
171
+ interface _GetAdminScopeResponseSuccess
172
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAdminScopeResponse]
173
+ def admin_scope: () -> Types::AdminScope
174
+ def status: () -> ("ONBOARDING" | "ONBOARDING_COMPLETE" | "OFFBOARDING" | "OFFBOARDING_COMPLETE")
175
+ end
176
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#get_admin_scope-instance_method
177
+ def get_admin_scope: (
178
+ admin_account: ::String
179
+ ) -> _GetAdminScopeResponseSuccess
180
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAdminScopeResponseSuccess
181
+
182
+ interface _GetAppsListResponseSuccess
183
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppsListResponse]
184
+ def apps_list: () -> Types::AppsListData
185
+ def apps_list_arn: () -> ::String
186
+ end
187
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#get_apps_list-instance_method
188
+ def get_apps_list: (
189
+ list_id: ::String,
190
+ ?default_list: bool
191
+ ) -> _GetAppsListResponseSuccess
192
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppsListResponseSuccess
193
+
194
+ interface _GetComplianceDetailResponseSuccess
195
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetComplianceDetailResponse]
196
+ def policy_compliance_detail: () -> Types::PolicyComplianceDetail
197
+ end
198
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#get_compliance_detail-instance_method
199
+ def get_compliance_detail: (
200
+ policy_id: ::String,
201
+ member_account: ::String
202
+ ) -> _GetComplianceDetailResponseSuccess
203
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetComplianceDetailResponseSuccess
204
+
205
+ interface _GetNotificationChannelResponseSuccess
206
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetNotificationChannelResponse]
207
+ def sns_topic_arn: () -> ::String
208
+ def sns_role_name: () -> ::String
209
+ end
210
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#get_notification_channel-instance_method
211
+ def get_notification_channel: (
212
+ ) -> _GetNotificationChannelResponseSuccess
213
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNotificationChannelResponseSuccess
214
+
215
+ interface _GetPolicyResponseSuccess
216
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyResponse]
217
+ def policy: () -> Types::Policy
218
+ def policy_arn: () -> ::String
219
+ end
220
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#get_policy-instance_method
221
+ def get_policy: (
222
+ policy_id: ::String
223
+ ) -> _GetPolicyResponseSuccess
224
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyResponseSuccess
225
+
226
+ interface _GetProtectionStatusResponseSuccess
227
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetProtectionStatusResponse]
228
+ def admin_account_id: () -> ::String
229
+ def service_type: () -> ("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" | "NETWORK_ACL_COMMON")
230
+ def next_token: () -> ::String
231
+ end
232
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#get_protection_status-instance_method
233
+ def get_protection_status: (
234
+ policy_id: ::String,
235
+ ?member_account_id: ::String,
236
+ ?start_time: ::Time,
237
+ ?end_time: ::Time,
238
+ ?next_token: ::String,
239
+ ?max_results: ::Integer
240
+ ) -> _GetProtectionStatusResponseSuccess
241
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProtectionStatusResponseSuccess
242
+
243
+ interface _GetProtocolsListResponseSuccess
244
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetProtocolsListResponse]
245
+ def protocols_list: () -> Types::ProtocolsListData
246
+ def protocols_list_arn: () -> ::String
247
+ end
248
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#get_protocols_list-instance_method
249
+ def get_protocols_list: (
250
+ list_id: ::String,
251
+ ?default_list: bool
252
+ ) -> _GetProtocolsListResponseSuccess
253
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProtocolsListResponseSuccess
254
+
255
+ interface _GetResourceSetResponseSuccess
256
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceSetResponse]
257
+ def resource_set: () -> Types::ResourceSet
258
+ def resource_set_arn: () -> ::String
259
+ end
260
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#get_resource_set-instance_method
261
+ def get_resource_set: (
262
+ identifier: ::String
263
+ ) -> _GetResourceSetResponseSuccess
264
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceSetResponseSuccess
265
+
266
+ interface _GetThirdPartyFirewallAssociationStatusResponseSuccess
267
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetThirdPartyFirewallAssociationStatusResponse]
268
+ def third_party_firewall_status: () -> ("ONBOARDING" | "ONBOARD_COMPLETE" | "OFFBOARDING" | "OFFBOARD_COMPLETE" | "NOT_EXIST")
269
+ def marketplace_onboarding_status: () -> ("NO_SUBSCRIPTION" | "NOT_COMPLETE" | "COMPLETE")
270
+ end
271
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#get_third_party_firewall_association_status-instance_method
272
+ def get_third_party_firewall_association_status: (
273
+ third_party_firewall: ("PALO_ALTO_NETWORKS_CLOUD_NGFW" | "FORTIGATE_CLOUD_NATIVE_FIREWALL")
274
+ ) -> _GetThirdPartyFirewallAssociationStatusResponseSuccess
275
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetThirdPartyFirewallAssociationStatusResponseSuccess
276
+
277
+ interface _GetViolationDetailsResponseSuccess
278
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetViolationDetailsResponse]
279
+ def violation_detail: () -> Types::ViolationDetail
280
+ end
281
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#get_violation_details-instance_method
282
+ def get_violation_details: (
283
+ policy_id: ::String,
284
+ member_account: ::String,
285
+ resource_id: ::String,
286
+ resource_type: ::String
287
+ ) -> _GetViolationDetailsResponseSuccess
288
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetViolationDetailsResponseSuccess
289
+
290
+ interface _ListAdminAccountsForOrganizationResponseSuccess
291
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAdminAccountsForOrganizationResponse]
292
+ def admin_accounts: () -> ::Array[Types::AdminAccountSummary]
293
+ def next_token: () -> ::String
294
+ end
295
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#list_admin_accounts_for_organization-instance_method
296
+ def list_admin_accounts_for_organization: (
297
+ ?next_token: ::String,
298
+ ?max_results: ::Integer
299
+ ) -> _ListAdminAccountsForOrganizationResponseSuccess
300
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAdminAccountsForOrganizationResponseSuccess
301
+
302
+ interface _ListAdminsManagingAccountResponseSuccess
303
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAdminsManagingAccountResponse]
304
+ def admin_accounts: () -> ::Array[::String]
305
+ def next_token: () -> ::String
306
+ end
307
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#list_admins_managing_account-instance_method
308
+ def list_admins_managing_account: (
309
+ ?next_token: ::String,
310
+ ?max_results: ::Integer
311
+ ) -> _ListAdminsManagingAccountResponseSuccess
312
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAdminsManagingAccountResponseSuccess
313
+
314
+ interface _ListAppsListsResponseSuccess
315
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAppsListsResponse]
316
+ def apps_lists: () -> ::Array[Types::AppsListDataSummary]
317
+ def next_token: () -> ::String
318
+ end
319
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#list_apps_lists-instance_method
320
+ def list_apps_lists: (
321
+ ?default_lists: bool,
322
+ ?next_token: ::String,
323
+ max_results: ::Integer
324
+ ) -> _ListAppsListsResponseSuccess
325
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAppsListsResponseSuccess
326
+
327
+ interface _ListComplianceStatusResponseSuccess
328
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListComplianceStatusResponse]
329
+ def policy_compliance_status_list: () -> ::Array[Types::PolicyComplianceStatus]
330
+ def next_token: () -> ::String
331
+ end
332
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#list_compliance_status-instance_method
333
+ def list_compliance_status: (
334
+ policy_id: ::String,
335
+ ?next_token: ::String,
336
+ ?max_results: ::Integer
337
+ ) -> _ListComplianceStatusResponseSuccess
338
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListComplianceStatusResponseSuccess
339
+
340
+ interface _ListDiscoveredResourcesResponseSuccess
341
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDiscoveredResourcesResponse]
342
+ def items: () -> ::Array[Types::DiscoveredResource]
343
+ def next_token: () -> ::String
344
+ end
345
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#list_discovered_resources-instance_method
346
+ def list_discovered_resources: (
347
+ member_account_ids: Array[::String],
348
+ resource_type: ::String,
349
+ ?max_results: ::Integer,
350
+ ?next_token: ::String
351
+ ) -> _ListDiscoveredResourcesResponseSuccess
352
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDiscoveredResourcesResponseSuccess
353
+
354
+ interface _ListMemberAccountsResponseSuccess
355
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMemberAccountsResponse]
356
+ def member_accounts: () -> ::Array[::String]
357
+ def next_token: () -> ::String
358
+ end
359
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#list_member_accounts-instance_method
360
+ def list_member_accounts: (
361
+ ?next_token: ::String,
362
+ ?max_results: ::Integer
363
+ ) -> _ListMemberAccountsResponseSuccess
364
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMemberAccountsResponseSuccess
365
+
366
+ interface _ListPoliciesResponseSuccess
367
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPoliciesResponse]
368
+ def policy_list: () -> ::Array[Types::PolicySummary]
369
+ def next_token: () -> ::String
370
+ end
371
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#list_policies-instance_method
372
+ def list_policies: (
373
+ ?next_token: ::String,
374
+ ?max_results: ::Integer
375
+ ) -> _ListPoliciesResponseSuccess
376
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPoliciesResponseSuccess
377
+
378
+ interface _ListProtocolsListsResponseSuccess
379
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProtocolsListsResponse]
380
+ def protocols_lists: () -> ::Array[Types::ProtocolsListDataSummary]
381
+ def next_token: () -> ::String
382
+ end
383
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#list_protocols_lists-instance_method
384
+ def list_protocols_lists: (
385
+ ?default_lists: bool,
386
+ ?next_token: ::String,
387
+ max_results: ::Integer
388
+ ) -> _ListProtocolsListsResponseSuccess
389
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProtocolsListsResponseSuccess
390
+
391
+ interface _ListResourceSetResourcesResponseSuccess
392
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceSetResourcesResponse]
393
+ def items: () -> ::Array[Types::Resource]
394
+ def next_token: () -> ::String
395
+ end
396
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#list_resource_set_resources-instance_method
397
+ def list_resource_set_resources: (
398
+ identifier: ::String,
399
+ ?max_results: ::Integer,
400
+ ?next_token: ::String
401
+ ) -> _ListResourceSetResourcesResponseSuccess
402
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceSetResourcesResponseSuccess
403
+
404
+ interface _ListResourceSetsResponseSuccess
405
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceSetsResponse]
406
+ def resource_sets: () -> ::Array[Types::ResourceSetSummary]
407
+ def next_token: () -> ::String
408
+ end
409
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#list_resource_sets-instance_method
410
+ def list_resource_sets: (
411
+ ?next_token: ::String,
412
+ ?max_results: ::Integer
413
+ ) -> _ListResourceSetsResponseSuccess
414
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceSetsResponseSuccess
415
+
416
+ interface _ListTagsForResourceResponseSuccess
417
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
418
+ def tag_list: () -> ::Array[Types::Tag]
419
+ end
420
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#list_tags_for_resource-instance_method
421
+ def list_tags_for_resource: (
422
+ resource_arn: ::String
423
+ ) -> _ListTagsForResourceResponseSuccess
424
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
425
+
426
+ interface _ListThirdPartyFirewallFirewallPoliciesResponseSuccess
427
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListThirdPartyFirewallFirewallPoliciesResponse]
428
+ def third_party_firewall_firewall_policies: () -> ::Array[Types::ThirdPartyFirewallFirewallPolicy]
429
+ def next_token: () -> ::String
430
+ end
431
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#list_third_party_firewall_firewall_policies-instance_method
432
+ def list_third_party_firewall_firewall_policies: (
433
+ third_party_firewall: ("PALO_ALTO_NETWORKS_CLOUD_NGFW" | "FORTIGATE_CLOUD_NATIVE_FIREWALL"),
434
+ ?next_token: ::String,
435
+ max_results: ::Integer
436
+ ) -> _ListThirdPartyFirewallFirewallPoliciesResponseSuccess
437
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListThirdPartyFirewallFirewallPoliciesResponseSuccess
438
+
439
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#put_admin_account-instance_method
440
+ def put_admin_account: (
441
+ admin_account: ::String,
442
+ ?admin_scope: {
443
+ account_scope: {
444
+ accounts: Array[::String]?,
445
+ all_accounts_enabled: bool?,
446
+ exclude_specified_accounts: bool?
447
+ }?,
448
+ organizational_unit_scope: {
449
+ organizational_units: Array[::String]?,
450
+ all_organizational_units_enabled: bool?,
451
+ exclude_specified_organizational_units: bool?
452
+ }?,
453
+ region_scope: {
454
+ regions: Array[::String]?,
455
+ all_regions_enabled: bool?
456
+ }?,
457
+ policy_type_scope: {
458
+ policy_types: Array[("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" | "NETWORK_ACL_COMMON")]?,
459
+ all_policy_types_enabled: bool?
460
+ }?
461
+ }
462
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
463
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
464
+
465
+ interface _PutAppsListResponseSuccess
466
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAppsListResponse]
467
+ def apps_list: () -> Types::AppsListData
468
+ def apps_list_arn: () -> ::String
469
+ end
470
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#put_apps_list-instance_method
471
+ def put_apps_list: (
472
+ apps_list: {
473
+ list_id: ::String?,
474
+ list_name: ::String,
475
+ list_update_token: ::String?,
476
+ create_time: ::Time?,
477
+ last_update_time: ::Time?,
478
+ apps_list: Array[
479
+ {
480
+ app_name: ::String,
481
+ protocol: ::String,
482
+ port: ::Integer
483
+ },
484
+ ],
485
+ previous_apps_list: Hash[::String, Array[
486
+ {
487
+ app_name: ::String,
488
+ protocol: ::String,
489
+ port: ::Integer
490
+ },
491
+ ]]?
492
+ },
493
+ ?tag_list: Array[
494
+ {
495
+ key: ::String,
496
+ value: ::String
497
+ },
498
+ ]
499
+ ) -> _PutAppsListResponseSuccess
500
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAppsListResponseSuccess
501
+
502
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#put_notification_channel-instance_method
503
+ def put_notification_channel: (
504
+ sns_topic_arn: ::String,
505
+ sns_role_name: ::String
506
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
507
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
508
+
509
+ interface _PutPolicyResponseSuccess
510
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutPolicyResponse]
511
+ def policy: () -> Types::Policy
512
+ def policy_arn: () -> ::String
513
+ end
514
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#put_policy-instance_method
515
+ def put_policy: (
516
+ policy: {
517
+ policy_id: ::String?,
518
+ policy_name: ::String,
519
+ policy_update_token: ::String?,
520
+ security_service_policy_data: {
521
+ type: ("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" | "NETWORK_ACL_COMMON"),
522
+ managed_service_data: ::String?,
523
+ policy_option: {
524
+ network_firewall_policy: {
525
+ firewall_deployment_model: ("CENTRALIZED" | "DISTRIBUTED")?
526
+ }?,
527
+ third_party_firewall_policy: {
528
+ firewall_deployment_model: ("CENTRALIZED" | "DISTRIBUTED")?
529
+ }?,
530
+ network_acl_common_policy: {
531
+ network_acl_entry_set: {
532
+ first_entries: Array[
533
+ {
534
+ icmp_type_code: {
535
+ code: ::Integer?,
536
+ type: ::Integer?
537
+ }?,
538
+ protocol: ::String,
539
+ port_range: {
540
+ from: ::Integer?,
541
+ to: ::Integer?
542
+ }?,
543
+ cidr_block: ::String?,
544
+ ipv_6_cidr_block: ::String?,
545
+ rule_action: ("allow" | "deny"),
546
+ egress: bool
547
+ },
548
+ ]?,
549
+ force_remediate_for_first_entries: bool,
550
+ last_entries: Array[
551
+ {
552
+ icmp_type_code: {
553
+ code: ::Integer?,
554
+ type: ::Integer?
555
+ }?,
556
+ protocol: ::String,
557
+ port_range: {
558
+ from: ::Integer?,
559
+ to: ::Integer?
560
+ }?,
561
+ cidr_block: ::String?,
562
+ ipv_6_cidr_block: ::String?,
563
+ rule_action: ("allow" | "deny"),
564
+ egress: bool
565
+ },
566
+ ]?,
567
+ force_remediate_for_last_entries: bool
568
+ }
569
+ }?
570
+ }?
571
+ },
572
+ resource_type: ::String,
573
+ resource_type_list: Array[::String]?,
574
+ resource_tags: Array[
575
+ {
576
+ key: ::String,
577
+ value: ::String?
578
+ },
579
+ ]?,
580
+ exclude_resource_tags: bool,
581
+ remediation_enabled: bool,
582
+ delete_unused_fm_managed_resources: bool?,
583
+ include_map: Hash[("ACCOUNT" | "ORG_UNIT"), Array[::String]]?,
584
+ exclude_map: Hash[("ACCOUNT" | "ORG_UNIT"), Array[::String]]?,
585
+ resource_set_ids: Array[::String]?,
586
+ policy_description: ::String?,
587
+ policy_status: ("ACTIVE" | "OUT_OF_ADMIN_SCOPE")?
588
+ },
589
+ ?tag_list: Array[
590
+ {
591
+ key: ::String,
592
+ value: ::String
593
+ },
594
+ ]
595
+ ) -> _PutPolicyResponseSuccess
596
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutPolicyResponseSuccess
597
+
598
+ interface _PutProtocolsListResponseSuccess
599
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutProtocolsListResponse]
600
+ def protocols_list: () -> Types::ProtocolsListData
601
+ def protocols_list_arn: () -> ::String
602
+ end
603
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#put_protocols_list-instance_method
604
+ def put_protocols_list: (
605
+ protocols_list: {
606
+ list_id: ::String?,
607
+ list_name: ::String,
608
+ list_update_token: ::String?,
609
+ create_time: ::Time?,
610
+ last_update_time: ::Time?,
611
+ protocols_list: Array[::String],
612
+ previous_protocols_list: Hash[::String, Array[::String]]?
613
+ },
614
+ ?tag_list: Array[
615
+ {
616
+ key: ::String,
617
+ value: ::String
618
+ },
619
+ ]
620
+ ) -> _PutProtocolsListResponseSuccess
621
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutProtocolsListResponseSuccess
622
+
623
+ interface _PutResourceSetResponseSuccess
624
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourceSetResponse]
625
+ def resource_set: () -> Types::ResourceSet
626
+ def resource_set_arn: () -> ::String
627
+ end
628
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#put_resource_set-instance_method
629
+ def put_resource_set: (
630
+ resource_set: {
631
+ id: ::String?,
632
+ name: ::String,
633
+ description: ::String?,
634
+ update_token: ::String?,
635
+ resource_type_list: Array[::String],
636
+ last_update_time: ::Time?,
637
+ resource_set_status: ("ACTIVE" | "OUT_OF_ADMIN_SCOPE")?
638
+ },
639
+ ?tag_list: Array[
640
+ {
641
+ key: ::String,
642
+ value: ::String
643
+ },
644
+ ]
645
+ ) -> _PutResourceSetResponseSuccess
646
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourceSetResponseSuccess
647
+
648
+ interface _TagResourceResponseSuccess
649
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
650
+ end
651
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#tag_resource-instance_method
652
+ def tag_resource: (
653
+ resource_arn: ::String,
654
+ tag_list: Array[
655
+ {
656
+ key: ::String,
657
+ value: ::String
658
+ },
659
+ ]
660
+ ) -> _TagResourceResponseSuccess
661
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
662
+
663
+ interface _UntagResourceResponseSuccess
664
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
665
+ end
666
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FMS/Client.html#untag_resource-instance_method
667
+ def untag_resource: (
668
+ resource_arn: ::String,
669
+ tag_keys: Array[::String]
670
+ ) -> _UntagResourceResponseSuccess
671
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
672
+ end
673
+ end
674
+ end
675
+