aws-sdk-networksecuritymanager 1.0.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 +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-networksecuritymanager/client.rb +5052 -0
- data/lib/aws-sdk-networksecuritymanager/client_api.rb +2021 -0
- data/lib/aws-sdk-networksecuritymanager/customizations.rb +0 -0
- data/lib/aws-sdk-networksecuritymanager/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-networksecuritymanager/endpoint_provider.rb +32 -0
- data/lib/aws-sdk-networksecuritymanager/endpoints.rb +20 -0
- data/lib/aws-sdk-networksecuritymanager/errors.rb +258 -0
- data/lib/aws-sdk-networksecuritymanager/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-networksecuritymanager/resource.rb +26 -0
- data/lib/aws-sdk-networksecuritymanager/types.rb +4773 -0
- data/lib/aws-sdk-networksecuritymanager/waiters.rb +15 -0
- data/lib/aws-sdk-networksecuritymanager.rb +62 -0
- data/sig/client.rbs +937 -0
- data/sig/errors.rbs +55 -0
- data/sig/params.rbs +105 -0
- data/sig/resource.rbs +85 -0
- data/sig/types.rbs +1281 -0
- data/sig/waiters.rbs +13 -0
- metadata +98 -0
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,937 @@
|
|
|
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 NetworkSecurityManager
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#initialize-instance_method
|
|
14
|
+
def self.new: (
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?account_id: String,
|
|
19
|
+
?active_endpoint_cache: bool,
|
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
21
|
+
?auth_scheme_preference: Array[String],
|
|
22
|
+
?client_side_monitoring: bool,
|
|
23
|
+
?client_side_monitoring_client_id: String,
|
|
24
|
+
?client_side_monitoring_host: String,
|
|
25
|
+
?client_side_monitoring_port: Integer,
|
|
26
|
+
?client_side_monitoring_publisher: untyped,
|
|
27
|
+
?convert_params: bool,
|
|
28
|
+
?correct_clock_skew: bool,
|
|
29
|
+
?defaults_mode: String,
|
|
30
|
+
?disable_host_prefix_injection: bool,
|
|
31
|
+
?disable_request_compression: bool,
|
|
32
|
+
?endpoint: String,
|
|
33
|
+
?endpoint_cache_max_entries: Integer,
|
|
34
|
+
?endpoint_cache_max_threads: Integer,
|
|
35
|
+
?endpoint_cache_poll_interval: Integer,
|
|
36
|
+
?endpoint_discovery: bool,
|
|
37
|
+
?ignore_configured_endpoint_urls: bool,
|
|
38
|
+
?log_formatter: untyped,
|
|
39
|
+
?log_level: Symbol,
|
|
40
|
+
?logger: untyped,
|
|
41
|
+
?max_attempts: Integer,
|
|
42
|
+
?profile: String,
|
|
43
|
+
?request_checksum_calculation: String,
|
|
44
|
+
?request_min_compression_size_bytes: Integer,
|
|
45
|
+
?response_checksum_validation: String,
|
|
46
|
+
?retry_backoff: Proc,
|
|
47
|
+
?retry_base_delay: Float,
|
|
48
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
49
|
+
?retry_limit: Integer,
|
|
50
|
+
?retry_max_delay: Integer,
|
|
51
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
52
|
+
?sdk_ua_app_id: String,
|
|
53
|
+
?secret_access_key: String,
|
|
54
|
+
?session_token: String,
|
|
55
|
+
?sigv4a_signing_region_set: Array[String],
|
|
56
|
+
?stub_responses: untyped,
|
|
57
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
58
|
+
?token_provider: untyped,
|
|
59
|
+
?use_dualstack_endpoint: bool,
|
|
60
|
+
?use_fips_endpoint: bool,
|
|
61
|
+
?validate_params: bool,
|
|
62
|
+
?endpoint_provider: untyped,
|
|
63
|
+
?http_proxy: String,
|
|
64
|
+
?http_open_timeout: (Float | Integer),
|
|
65
|
+
?http_read_timeout: (Float | Integer),
|
|
66
|
+
?http_idle_timeout: (Float | Integer),
|
|
67
|
+
?http_continue_timeout: (Float | Integer),
|
|
68
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
69
|
+
?http_wire_trace: bool,
|
|
70
|
+
?ssl_verify_peer: bool,
|
|
71
|
+
?ssl_ca_bundle: String,
|
|
72
|
+
?ssl_ca_directory: String,
|
|
73
|
+
?ssl_ca_store: String,
|
|
74
|
+
?on_chunk_received: Proc,
|
|
75
|
+
?on_chunk_sent: Proc,
|
|
76
|
+
?raise_response_errors: bool
|
|
77
|
+
) -> instance
|
|
78
|
+
| (?Hash[Symbol, untyped]) -> instance
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
interface _CreateDeploymentResponseSuccess
|
|
82
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDeploymentOutput]
|
|
83
|
+
def deployment_id: () -> ::String
|
|
84
|
+
def deployment_arn: () -> ::String
|
|
85
|
+
def deployment_name: () -> ::String
|
|
86
|
+
def deployment_description: () -> ::String
|
|
87
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
88
|
+
def deployment_configuration: () -> Types::DeploymentConfiguration
|
|
89
|
+
def associated_policy_list: () -> ::Array[Types::AssociatedPolicy]
|
|
90
|
+
def associated_scope_list: () -> ::Array[Types::AssociatedScope]
|
|
91
|
+
def version: () -> ::String
|
|
92
|
+
def update_token: () -> ::String
|
|
93
|
+
def is_snapshot: () -> bool
|
|
94
|
+
def has_published_version: () -> bool
|
|
95
|
+
def deployment_coverage: () -> ::Array[Types::DeploymentCoverageEntry]
|
|
96
|
+
def warnings: () -> ::Array[Types::DeploymentWarningEntry]
|
|
97
|
+
def updated_at: () -> ::Time
|
|
98
|
+
end
|
|
99
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#create_deployment-instance_method
|
|
100
|
+
def create_deployment: (
|
|
101
|
+
?client_token: ::String,
|
|
102
|
+
deployment_name: ::String,
|
|
103
|
+
?deployment_description: ::String,
|
|
104
|
+
deployment_configuration: {
|
|
105
|
+
enable_cross_account_visibility: bool
|
|
106
|
+
},
|
|
107
|
+
associated_policy_list: Array[
|
|
108
|
+
{
|
|
109
|
+
policy_identifier: ::String
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
associated_scope_list: Array[
|
|
113
|
+
{
|
|
114
|
+
scope_identifier: ::String
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
?is_published: bool,
|
|
118
|
+
?tags: Hash[::String, ::String]
|
|
119
|
+
) -> _CreateDeploymentResponseSuccess
|
|
120
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeploymentResponseSuccess
|
|
121
|
+
|
|
122
|
+
interface _CreateDeploymentSnapshotResponseSuccess
|
|
123
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDeploymentSnapshotOutput]
|
|
124
|
+
def deployment_id: () -> ::String
|
|
125
|
+
def deployment_arn: () -> ::String
|
|
126
|
+
def deployment_name: () -> ::String
|
|
127
|
+
def deployment_description: () -> ::String
|
|
128
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
129
|
+
def deployment_configuration: () -> Types::DeploymentConfiguration
|
|
130
|
+
def associated_policy_list: () -> ::Array[Types::AssociatedPolicy]
|
|
131
|
+
def associated_scope_list: () -> ::Array[Types::AssociatedScope]
|
|
132
|
+
def version: () -> ::String
|
|
133
|
+
def update_token: () -> ::String
|
|
134
|
+
def is_snapshot: () -> bool
|
|
135
|
+
def has_published_version: () -> bool
|
|
136
|
+
def updated_at: () -> ::Time
|
|
137
|
+
end
|
|
138
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#create_deployment_snapshot-instance_method
|
|
139
|
+
def create_deployment_snapshot: (
|
|
140
|
+
deployment_identifier: ::String,
|
|
141
|
+
?client_token: ::String,
|
|
142
|
+
?tags: Hash[::String, ::String]
|
|
143
|
+
) -> _CreateDeploymentSnapshotResponseSuccess
|
|
144
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeploymentSnapshotResponseSuccess
|
|
145
|
+
|
|
146
|
+
interface _CreatePolicyResponseSuccess
|
|
147
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePolicyOutput]
|
|
148
|
+
def policy_id: () -> ::String
|
|
149
|
+
def policy_arn: () -> ::String
|
|
150
|
+
def policy_name: () -> ::String
|
|
151
|
+
def policy_description: () -> ::String
|
|
152
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
153
|
+
def priority: () -> ::Integer
|
|
154
|
+
def associated_template_and_rule_list: () -> ::Array[Types::AssociatedTemplateOrRule]
|
|
155
|
+
def version: () -> ::String
|
|
156
|
+
def update_token: () -> ::String
|
|
157
|
+
def is_snapshot: () -> bool
|
|
158
|
+
def has_published_version: () -> bool
|
|
159
|
+
def firewall_type: () -> ("WAF" | "SHIELD_ADVANCED")
|
|
160
|
+
def policy_configuration: () -> Types::PolicyConfiguration
|
|
161
|
+
def updated_at: () -> ::Time
|
|
162
|
+
end
|
|
163
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#create_policy-instance_method
|
|
164
|
+
def create_policy: (
|
|
165
|
+
?client_token: ::String,
|
|
166
|
+
policy_name: ::String,
|
|
167
|
+
?policy_description: ::String,
|
|
168
|
+
priority: ::Integer,
|
|
169
|
+
?associated_template_and_rule_list: Array[
|
|
170
|
+
{
|
|
171
|
+
template_identifier: ::String?,
|
|
172
|
+
rule_identifier: ::String?
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
firewall_type: ("WAF" | "SHIELD_ADVANCED"),
|
|
176
|
+
policy_configuration: Params::policy_configuration,
|
|
177
|
+
?is_published: bool,
|
|
178
|
+
?tags: Hash[::String, ::String]
|
|
179
|
+
) -> _CreatePolicyResponseSuccess
|
|
180
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePolicyResponseSuccess
|
|
181
|
+
|
|
182
|
+
interface _CreatePolicySnapshotResponseSuccess
|
|
183
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePolicySnapshotOutput]
|
|
184
|
+
def policy_id: () -> ::String
|
|
185
|
+
def policy_arn: () -> ::String
|
|
186
|
+
def policy_name: () -> ::String
|
|
187
|
+
def policy_description: () -> ::String
|
|
188
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
189
|
+
def priority: () -> ::Integer
|
|
190
|
+
def associated_template_and_rule_list: () -> ::Array[Types::AssociatedTemplateOrRule]
|
|
191
|
+
def version: () -> ::String
|
|
192
|
+
def update_token: () -> ::String
|
|
193
|
+
def is_snapshot: () -> bool
|
|
194
|
+
def has_published_version: () -> bool
|
|
195
|
+
def firewall_type: () -> ("WAF" | "SHIELD_ADVANCED")
|
|
196
|
+
def policy_configuration: () -> Types::PolicyConfiguration
|
|
197
|
+
def updated_at: () -> ::Time
|
|
198
|
+
end
|
|
199
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#create_policy_snapshot-instance_method
|
|
200
|
+
def create_policy_snapshot: (
|
|
201
|
+
policy_identifier: ::String,
|
|
202
|
+
?client_token: ::String,
|
|
203
|
+
?tags: Hash[::String, ::String]
|
|
204
|
+
) -> _CreatePolicySnapshotResponseSuccess
|
|
205
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePolicySnapshotResponseSuccess
|
|
206
|
+
|
|
207
|
+
interface _CreateRuleResponseSuccess
|
|
208
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateRuleOutput]
|
|
209
|
+
def rule_id: () -> ::String
|
|
210
|
+
def rule_arn: () -> ::String
|
|
211
|
+
def rule_name: () -> ::String
|
|
212
|
+
def firewall_type: () -> ("WAF")
|
|
213
|
+
def rule_type: () -> ("CONFIGURATION" | "INSPECTION")
|
|
214
|
+
def rule_description: () -> ::String
|
|
215
|
+
def configuration: () -> untyped
|
|
216
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
217
|
+
def version: () -> ::String
|
|
218
|
+
def update_token: () -> ::String
|
|
219
|
+
def is_snapshot: () -> bool
|
|
220
|
+
def has_published_version: () -> bool
|
|
221
|
+
def updated_at: () -> ::Time
|
|
222
|
+
end
|
|
223
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#create_rule-instance_method
|
|
224
|
+
def create_rule: (
|
|
225
|
+
?client_token: ::String,
|
|
226
|
+
rule_name: ::String,
|
|
227
|
+
firewall_type: ("WAF"),
|
|
228
|
+
rule_type: ("CONFIGURATION" | "INSPECTION"),
|
|
229
|
+
?rule_description: ::String,
|
|
230
|
+
configuration: {
|
|
231
|
+
},
|
|
232
|
+
?is_published: bool,
|
|
233
|
+
?tags: Hash[::String, ::String]
|
|
234
|
+
) -> _CreateRuleResponseSuccess
|
|
235
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleResponseSuccess
|
|
236
|
+
|
|
237
|
+
interface _CreateRuleSnapshotResponseSuccess
|
|
238
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateRuleSnapshotOutput]
|
|
239
|
+
def rule_id: () -> ::String
|
|
240
|
+
def rule_arn: () -> ::String
|
|
241
|
+
def rule_name: () -> ::String
|
|
242
|
+
def firewall_type: () -> ("WAF")
|
|
243
|
+
def rule_type: () -> ("CONFIGURATION" | "INSPECTION")
|
|
244
|
+
def rule_description: () -> ::String
|
|
245
|
+
def configuration: () -> untyped
|
|
246
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
247
|
+
def version: () -> ::String
|
|
248
|
+
def update_token: () -> ::String
|
|
249
|
+
def is_snapshot: () -> bool
|
|
250
|
+
def has_published_version: () -> bool
|
|
251
|
+
def updated_at: () -> ::Time
|
|
252
|
+
end
|
|
253
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#create_rule_snapshot-instance_method
|
|
254
|
+
def create_rule_snapshot: (
|
|
255
|
+
rule_identifier: ::String,
|
|
256
|
+
?client_token: ::String,
|
|
257
|
+
?tags: Hash[::String, ::String]
|
|
258
|
+
) -> _CreateRuleSnapshotResponseSuccess
|
|
259
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleSnapshotResponseSuccess
|
|
260
|
+
|
|
261
|
+
interface _CreateScopeResponseSuccess
|
|
262
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateScopeOutput]
|
|
263
|
+
def scope_id: () -> ::String
|
|
264
|
+
def scope_arn: () -> ::String
|
|
265
|
+
def scope_name: () -> ::String
|
|
266
|
+
def scope_description: () -> ::String
|
|
267
|
+
def scope_configuration: () -> Types::ScopeConfiguration
|
|
268
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
269
|
+
def version: () -> ::String
|
|
270
|
+
def update_token: () -> ::String
|
|
271
|
+
def is_snapshot: () -> bool
|
|
272
|
+
def has_published_version: () -> bool
|
|
273
|
+
def updated_at: () -> ::Time
|
|
274
|
+
end
|
|
275
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#create_scope-instance_method
|
|
276
|
+
def create_scope: (
|
|
277
|
+
?client_token: ::String,
|
|
278
|
+
scope_name: ::String,
|
|
279
|
+
?scope_description: ::String,
|
|
280
|
+
scope_configuration: Params::scope_configuration,
|
|
281
|
+
?is_published: bool,
|
|
282
|
+
?tags: Hash[::String, ::String]
|
|
283
|
+
) -> _CreateScopeResponseSuccess
|
|
284
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScopeResponseSuccess
|
|
285
|
+
|
|
286
|
+
interface _CreateScopeSnapshotResponseSuccess
|
|
287
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateScopeSnapshotOutput]
|
|
288
|
+
def scope_id: () -> ::String
|
|
289
|
+
def scope_arn: () -> ::String
|
|
290
|
+
def scope_name: () -> ::String
|
|
291
|
+
def scope_description: () -> ::String
|
|
292
|
+
def scope_configuration: () -> Types::ScopeConfiguration
|
|
293
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
294
|
+
def version: () -> ::String
|
|
295
|
+
def update_token: () -> ::String
|
|
296
|
+
def is_snapshot: () -> bool
|
|
297
|
+
def has_published_version: () -> bool
|
|
298
|
+
def updated_at: () -> ::Time
|
|
299
|
+
end
|
|
300
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#create_scope_snapshot-instance_method
|
|
301
|
+
def create_scope_snapshot: (
|
|
302
|
+
scope_identifier: ::String,
|
|
303
|
+
?client_token: ::String,
|
|
304
|
+
?tags: Hash[::String, ::String]
|
|
305
|
+
) -> _CreateScopeSnapshotResponseSuccess
|
|
306
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScopeSnapshotResponseSuccess
|
|
307
|
+
|
|
308
|
+
interface _CreateTemplateResponseSuccess
|
|
309
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTemplateOutput]
|
|
310
|
+
def template_id: () -> ::String
|
|
311
|
+
def template_arn: () -> ::String
|
|
312
|
+
def template_name: () -> ::String
|
|
313
|
+
def template_description: () -> ::String
|
|
314
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
315
|
+
def version: () -> ::String
|
|
316
|
+
def associated_rule_list: () -> ::Array[Types::AssociatedRule]
|
|
317
|
+
def update_token: () -> ::String
|
|
318
|
+
def is_snapshot: () -> bool
|
|
319
|
+
def has_published_version: () -> bool
|
|
320
|
+
def firewall_type: () -> ("WAF")
|
|
321
|
+
def updated_at: () -> ::Time
|
|
322
|
+
end
|
|
323
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#create_template-instance_method
|
|
324
|
+
def create_template: (
|
|
325
|
+
?client_token: ::String,
|
|
326
|
+
template_name: ::String,
|
|
327
|
+
?template_description: ::String,
|
|
328
|
+
associated_rule_list: Array[
|
|
329
|
+
{
|
|
330
|
+
rule_identifier: ::String
|
|
331
|
+
}
|
|
332
|
+
],
|
|
333
|
+
firewall_type: ("WAF"),
|
|
334
|
+
?is_published: bool,
|
|
335
|
+
?tags: Hash[::String, ::String]
|
|
336
|
+
) -> _CreateTemplateResponseSuccess
|
|
337
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTemplateResponseSuccess
|
|
338
|
+
|
|
339
|
+
interface _CreateTemplateSnapshotResponseSuccess
|
|
340
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTemplateSnapshotOutput]
|
|
341
|
+
def template_id: () -> ::String
|
|
342
|
+
def template_arn: () -> ::String
|
|
343
|
+
def template_name: () -> ::String
|
|
344
|
+
def template_description: () -> ::String
|
|
345
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
346
|
+
def version: () -> ::String
|
|
347
|
+
def associated_rule_list: () -> ::Array[Types::AssociatedRule]
|
|
348
|
+
def update_token: () -> ::String
|
|
349
|
+
def is_snapshot: () -> bool
|
|
350
|
+
def has_published_version: () -> bool
|
|
351
|
+
def firewall_type: () -> ("WAF")
|
|
352
|
+
def updated_at: () -> ::Time
|
|
353
|
+
end
|
|
354
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#create_template_snapshot-instance_method
|
|
355
|
+
def create_template_snapshot: (
|
|
356
|
+
template_identifier: ::String,
|
|
357
|
+
?client_token: ::String,
|
|
358
|
+
?tags: Hash[::String, ::String]
|
|
359
|
+
) -> _CreateTemplateSnapshotResponseSuccess
|
|
360
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTemplateSnapshotResponseSuccess
|
|
361
|
+
|
|
362
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#delete_admin_account-instance_method
|
|
363
|
+
def delete_admin_account: (
|
|
364
|
+
account_id: ::String
|
|
365
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
366
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
367
|
+
|
|
368
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#delete_deployment-instance_method
|
|
369
|
+
def delete_deployment: (
|
|
370
|
+
deployment_identifier: ::String
|
|
371
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
372
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
373
|
+
|
|
374
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#delete_policy-instance_method
|
|
375
|
+
def delete_policy: (
|
|
376
|
+
policy_identifier: ::String
|
|
377
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
378
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
379
|
+
|
|
380
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#delete_rule-instance_method
|
|
381
|
+
def delete_rule: (
|
|
382
|
+
rule_identifier: ::String
|
|
383
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
384
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
385
|
+
|
|
386
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#delete_scope-instance_method
|
|
387
|
+
def delete_scope: (
|
|
388
|
+
scope_identifier: ::String
|
|
389
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
390
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
391
|
+
|
|
392
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#delete_template-instance_method
|
|
393
|
+
def delete_template: (
|
|
394
|
+
template_identifier: ::String
|
|
395
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
396
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
397
|
+
|
|
398
|
+
interface _GenerateRuleConfigurationResponseSuccess
|
|
399
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GenerateRuleConfigurationResponse]
|
|
400
|
+
def configuration: () -> ::String
|
|
401
|
+
def description: () -> ::String
|
|
402
|
+
end
|
|
403
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#generate_rule_configuration-instance_method
|
|
404
|
+
def generate_rule_configuration: (
|
|
405
|
+
prompt: ::String,
|
|
406
|
+
rule_firewall_type: ("WAF"),
|
|
407
|
+
rule_type: ("CONFIGURATION" | "INSPECTION"),
|
|
408
|
+
?waf_config_data_type: ("DefaultAction" | "VisibilityConfig" | "CaptchaConfig" | "ChallengeConfig" | "CustomResponseBodies" | "LoggingConfiguration" | "DataProtectionConfig" | "AssociationConfig" | "OnSourceDDoSProtectionConfig" | "TokenDomains"),
|
|
409
|
+
?current_configuration: ::String,
|
|
410
|
+
?client_token: ::String
|
|
411
|
+
) -> _GenerateRuleConfigurationResponseSuccess
|
|
412
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateRuleConfigurationResponseSuccess
|
|
413
|
+
|
|
414
|
+
interface _GetAdminAccountResponseSuccess
|
|
415
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAdminAccountResponse]
|
|
416
|
+
def admin_account_details: () -> Types::AdminAccountDetails
|
|
417
|
+
end
|
|
418
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#get_admin_account-instance_method
|
|
419
|
+
def get_admin_account: (
|
|
420
|
+
account_id: ::String
|
|
421
|
+
) -> _GetAdminAccountResponseSuccess
|
|
422
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAdminAccountResponseSuccess
|
|
423
|
+
|
|
424
|
+
interface _GetDeploymentResponseSuccess
|
|
425
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDeploymentOutput]
|
|
426
|
+
def deployment_id: () -> ::String
|
|
427
|
+
def deployment_arn: () -> ::String
|
|
428
|
+
def deployment_name: () -> ::String
|
|
429
|
+
def deployment_description: () -> ::String
|
|
430
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
431
|
+
def deployment_configuration: () -> Types::DeploymentConfiguration
|
|
432
|
+
def associated_policy_list: () -> ::Array[Types::AssociatedPolicy]
|
|
433
|
+
def associated_scope_list: () -> ::Array[Types::AssociatedScope]
|
|
434
|
+
def version: () -> ::String
|
|
435
|
+
def update_token: () -> ::String
|
|
436
|
+
def is_snapshot: () -> bool
|
|
437
|
+
def has_published_version: () -> bool
|
|
438
|
+
def updated_at: () -> ::Time
|
|
439
|
+
def deployment_coverage: () -> ::Array[Types::DeploymentCoverageEntry]
|
|
440
|
+
def warnings: () -> ::Array[Types::DeploymentWarningEntry]
|
|
441
|
+
end
|
|
442
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#get_deployment-instance_method
|
|
443
|
+
def get_deployment: (
|
|
444
|
+
deployment_identifier: ::String
|
|
445
|
+
) -> _GetDeploymentResponseSuccess
|
|
446
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeploymentResponseSuccess
|
|
447
|
+
|
|
448
|
+
interface _GetPolicyResponseSuccess
|
|
449
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyOutput]
|
|
450
|
+
def policy_id: () -> ::String
|
|
451
|
+
def policy_arn: () -> ::String
|
|
452
|
+
def policy_name: () -> ::String
|
|
453
|
+
def policy_description: () -> ::String
|
|
454
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
455
|
+
def priority: () -> ::Integer
|
|
456
|
+
def associated_template_and_rule_list: () -> ::Array[Types::AssociatedTemplateOrRule]
|
|
457
|
+
def version: () -> ::String
|
|
458
|
+
def update_token: () -> ::String
|
|
459
|
+
def is_snapshot: () -> bool
|
|
460
|
+
def has_published_version: () -> bool
|
|
461
|
+
def firewall_type: () -> ("WAF" | "SHIELD_ADVANCED")
|
|
462
|
+
def policy_configuration: () -> Types::PolicyConfiguration
|
|
463
|
+
def updated_at: () -> ::Time
|
|
464
|
+
end
|
|
465
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#get_policy-instance_method
|
|
466
|
+
def get_policy: (
|
|
467
|
+
policy_identifier: ::String
|
|
468
|
+
) -> _GetPolicyResponseSuccess
|
|
469
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyResponseSuccess
|
|
470
|
+
|
|
471
|
+
interface _GetRuleResponseSuccess
|
|
472
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetRuleOutput]
|
|
473
|
+
def rule_id: () -> ::String
|
|
474
|
+
def rule_arn: () -> ::String
|
|
475
|
+
def rule_name: () -> ::String
|
|
476
|
+
def firewall_type: () -> ("WAF")
|
|
477
|
+
def rule_type: () -> ("CONFIGURATION" | "INSPECTION")
|
|
478
|
+
def rule_description: () -> ::String
|
|
479
|
+
def configuration: () -> untyped
|
|
480
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
481
|
+
def version: () -> ::String
|
|
482
|
+
def update_token: () -> ::String
|
|
483
|
+
def is_snapshot: () -> bool
|
|
484
|
+
def has_published_version: () -> bool
|
|
485
|
+
def updated_at: () -> ::Time
|
|
486
|
+
end
|
|
487
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#get_rule-instance_method
|
|
488
|
+
def get_rule: (
|
|
489
|
+
rule_identifier: ::String
|
|
490
|
+
) -> _GetRuleResponseSuccess
|
|
491
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRuleResponseSuccess
|
|
492
|
+
|
|
493
|
+
interface _GetScopeResponseSuccess
|
|
494
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetScopeOutput]
|
|
495
|
+
def scope_id: () -> ::String
|
|
496
|
+
def scope_arn: () -> ::String
|
|
497
|
+
def scope_name: () -> ::String
|
|
498
|
+
def scope_description: () -> ::String
|
|
499
|
+
def scope_configuration: () -> Types::ScopeConfiguration
|
|
500
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
501
|
+
def version: () -> ::String
|
|
502
|
+
def update_token: () -> ::String
|
|
503
|
+
def is_snapshot: () -> bool
|
|
504
|
+
def has_published_version: () -> bool
|
|
505
|
+
def updated_at: () -> ::Time
|
|
506
|
+
end
|
|
507
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#get_scope-instance_method
|
|
508
|
+
def get_scope: (
|
|
509
|
+
scope_identifier: ::String
|
|
510
|
+
) -> _GetScopeResponseSuccess
|
|
511
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetScopeResponseSuccess
|
|
512
|
+
|
|
513
|
+
interface _GetTemplateResponseSuccess
|
|
514
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTemplateOutput]
|
|
515
|
+
def template_id: () -> ::String
|
|
516
|
+
def template_arn: () -> ::String
|
|
517
|
+
def template_name: () -> ::String
|
|
518
|
+
def template_description: () -> ::String
|
|
519
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
520
|
+
def version: () -> ::String
|
|
521
|
+
def associated_rule_list: () -> ::Array[Types::AssociatedRule]
|
|
522
|
+
def update_token: () -> ::String
|
|
523
|
+
def is_snapshot: () -> bool
|
|
524
|
+
def has_published_version: () -> bool
|
|
525
|
+
def firewall_type: () -> ("WAF")
|
|
526
|
+
def updated_at: () -> ::Time
|
|
527
|
+
end
|
|
528
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#get_template-instance_method
|
|
529
|
+
def get_template: (
|
|
530
|
+
template_identifier: ::String
|
|
531
|
+
) -> _GetTemplateResponseSuccess
|
|
532
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTemplateResponseSuccess
|
|
533
|
+
|
|
534
|
+
interface _ListAdminAccountsResponseSuccess
|
|
535
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAdminAccountsResponse]
|
|
536
|
+
def next_token: () -> ::String
|
|
537
|
+
def admin_accounts: () -> ::Array[Types::AdminAccountSummary]
|
|
538
|
+
end
|
|
539
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#list_admin_accounts-instance_method
|
|
540
|
+
def list_admin_accounts: (
|
|
541
|
+
?max_results: ::Integer,
|
|
542
|
+
?next_token: ::String
|
|
543
|
+
) -> _ListAdminAccountsResponseSuccess
|
|
544
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAdminAccountsResponseSuccess
|
|
545
|
+
|
|
546
|
+
interface _ListAggregateResourceSynchronizationStatusesResponseSuccess
|
|
547
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAggregateResourceSynchronizationStatusesOutput]
|
|
548
|
+
def next_token: () -> ::String
|
|
549
|
+
def resource_synchronization_statuses: () -> ::Array[Types::ResourceSynchronizationStatusSummary]
|
|
550
|
+
end
|
|
551
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#list_aggregate_resource_synchronization_statuses-instance_method
|
|
552
|
+
def list_aggregate_resource_synchronization_statuses: (
|
|
553
|
+
?synchronization_status: ("IN_SYNC" | "OUT_OF_SYNC" | "NOT_APPLICABLE"),
|
|
554
|
+
?max_results: ::Integer,
|
|
555
|
+
?next_token: ::String
|
|
556
|
+
) -> _ListAggregateResourceSynchronizationStatusesResponseSuccess
|
|
557
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAggregateResourceSynchronizationStatusesResponseSuccess
|
|
558
|
+
|
|
559
|
+
interface _ListDeploymentSnapshotsResponseSuccess
|
|
560
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDeploymentSnapshotsOutput]
|
|
561
|
+
def next_token: () -> ::String
|
|
562
|
+
def snapshots: () -> ::Array[Types::DeploymentSummary]
|
|
563
|
+
end
|
|
564
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#list_deployment_snapshots-instance_method
|
|
565
|
+
def list_deployment_snapshots: (
|
|
566
|
+
deployment_identifier: ::String,
|
|
567
|
+
?max_results: ::Integer,
|
|
568
|
+
?next_token: ::String
|
|
569
|
+
) -> _ListDeploymentSnapshotsResponseSuccess
|
|
570
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDeploymentSnapshotsResponseSuccess
|
|
571
|
+
|
|
572
|
+
interface _ListDeploymentsResponseSuccess
|
|
573
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDeploymentsOutput]
|
|
574
|
+
def next_token: () -> ::String
|
|
575
|
+
def deployments: () -> ::Array[Types::DeploymentSummary]
|
|
576
|
+
end
|
|
577
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#list_deployments-instance_method
|
|
578
|
+
def list_deployments: (
|
|
579
|
+
?max_results: ::Integer,
|
|
580
|
+
?next_token: ::String,
|
|
581
|
+
?status: ("ACTIVE" | "DRAFT" | "DISABLED")
|
|
582
|
+
) -> _ListDeploymentsResponseSuccess
|
|
583
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDeploymentsResponseSuccess
|
|
584
|
+
|
|
585
|
+
interface _ListPoliciesResponseSuccess
|
|
586
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPoliciesOutput]
|
|
587
|
+
def next_token: () -> ::String
|
|
588
|
+
def policies: () -> ::Array[Types::PolicySummary]
|
|
589
|
+
end
|
|
590
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#list_policies-instance_method
|
|
591
|
+
def list_policies: (
|
|
592
|
+
?max_results: ::Integer,
|
|
593
|
+
?next_token: ::String,
|
|
594
|
+
?status: ("ACTIVE" | "DRAFT" | "DISABLED")
|
|
595
|
+
) -> _ListPoliciesResponseSuccess
|
|
596
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPoliciesResponseSuccess
|
|
597
|
+
|
|
598
|
+
interface _ListPolicySnapshotsResponseSuccess
|
|
599
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPolicySnapshotsOutput]
|
|
600
|
+
def next_token: () -> ::String
|
|
601
|
+
def snapshots: () -> ::Array[Types::PolicySummary]
|
|
602
|
+
end
|
|
603
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#list_policy_snapshots-instance_method
|
|
604
|
+
def list_policy_snapshots: (
|
|
605
|
+
policy_identifier: ::String,
|
|
606
|
+
?max_results: ::Integer,
|
|
607
|
+
?next_token: ::String
|
|
608
|
+
) -> _ListPolicySnapshotsResponseSuccess
|
|
609
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPolicySnapshotsResponseSuccess
|
|
610
|
+
|
|
611
|
+
interface _ListResourceAssociationsResponseSuccess
|
|
612
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceAssociationsOutput]
|
|
613
|
+
def next_token: () -> ::String
|
|
614
|
+
def resource_associations: () -> ::Array[Types::ResourceAssociation]
|
|
615
|
+
end
|
|
616
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#list_resource_associations-instance_method
|
|
617
|
+
def list_resource_associations: (
|
|
618
|
+
resource_identifier: ::String,
|
|
619
|
+
?max_results: ::Integer,
|
|
620
|
+
?next_token: ::String
|
|
621
|
+
) -> _ListResourceAssociationsResponseSuccess
|
|
622
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceAssociationsResponseSuccess
|
|
623
|
+
|
|
624
|
+
interface _ListResourceSynchronizationStatusesResponseSuccess
|
|
625
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceSynchronizationStatusesOutput]
|
|
626
|
+
def next_token: () -> ::String
|
|
627
|
+
def resource_synchronization_statuses: () -> ::Array[Types::ResourceSynchronizationStatusSummary]
|
|
628
|
+
end
|
|
629
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#list_resource_synchronization_statuses-instance_method
|
|
630
|
+
def list_resource_synchronization_statuses: (
|
|
631
|
+
deployment_identifier: ::String,
|
|
632
|
+
?synchronization_status: ("IN_SYNC" | "OUT_OF_SYNC" | "NOT_APPLICABLE"),
|
|
633
|
+
?max_results: ::Integer,
|
|
634
|
+
?next_token: ::String
|
|
635
|
+
) -> _ListResourceSynchronizationStatusesResponseSuccess
|
|
636
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceSynchronizationStatusesResponseSuccess
|
|
637
|
+
|
|
638
|
+
interface _ListRuleSnapshotsResponseSuccess
|
|
639
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRuleSnapshotsOutput]
|
|
640
|
+
def next_token: () -> ::String
|
|
641
|
+
def snapshots: () -> ::Array[Types::RuleSummary]
|
|
642
|
+
end
|
|
643
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#list_rule_snapshots-instance_method
|
|
644
|
+
def list_rule_snapshots: (
|
|
645
|
+
rule_identifier: ::String,
|
|
646
|
+
?max_results: ::Integer,
|
|
647
|
+
?next_token: ::String
|
|
648
|
+
) -> _ListRuleSnapshotsResponseSuccess
|
|
649
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRuleSnapshotsResponseSuccess
|
|
650
|
+
|
|
651
|
+
interface _ListRulesResponseSuccess
|
|
652
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRulesOutput]
|
|
653
|
+
def next_token: () -> ::String
|
|
654
|
+
def rules: () -> ::Array[Types::RuleSummary]
|
|
655
|
+
end
|
|
656
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#list_rules-instance_method
|
|
657
|
+
def list_rules: (
|
|
658
|
+
?max_results: ::Integer,
|
|
659
|
+
?next_token: ::String,
|
|
660
|
+
?status: ("ACTIVE" | "DRAFT" | "DISABLED")
|
|
661
|
+
) -> _ListRulesResponseSuccess
|
|
662
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRulesResponseSuccess
|
|
663
|
+
|
|
664
|
+
interface _ListScopeSnapshotsResponseSuccess
|
|
665
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListScopeSnapshotsOutput]
|
|
666
|
+
def next_token: () -> ::String
|
|
667
|
+
def snapshots: () -> ::Array[Types::ScopeSummary]
|
|
668
|
+
end
|
|
669
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#list_scope_snapshots-instance_method
|
|
670
|
+
def list_scope_snapshots: (
|
|
671
|
+
scope_identifier: ::String,
|
|
672
|
+
?max_results: ::Integer,
|
|
673
|
+
?next_token: ::String
|
|
674
|
+
) -> _ListScopeSnapshotsResponseSuccess
|
|
675
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScopeSnapshotsResponseSuccess
|
|
676
|
+
|
|
677
|
+
interface _ListScopesResponseSuccess
|
|
678
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListScopesOutput]
|
|
679
|
+
def next_token: () -> ::String
|
|
680
|
+
def scopes: () -> ::Array[Types::ScopeSummary]
|
|
681
|
+
end
|
|
682
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#list_scopes-instance_method
|
|
683
|
+
def list_scopes: (
|
|
684
|
+
?max_results: ::Integer,
|
|
685
|
+
?next_token: ::String,
|
|
686
|
+
?status: ("ACTIVE" | "DRAFT" | "DISABLED")
|
|
687
|
+
) -> _ListScopesResponseSuccess
|
|
688
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScopesResponseSuccess
|
|
689
|
+
|
|
690
|
+
interface _ListTagsForResourceResponseSuccess
|
|
691
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
|
|
692
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
693
|
+
end
|
|
694
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#list_tags_for_resource-instance_method
|
|
695
|
+
def list_tags_for_resource: (
|
|
696
|
+
resource_arn: ::String
|
|
697
|
+
) -> _ListTagsForResourceResponseSuccess
|
|
698
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
|
699
|
+
|
|
700
|
+
interface _ListTemplateSnapshotsResponseSuccess
|
|
701
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTemplateSnapshotsOutput]
|
|
702
|
+
def next_token: () -> ::String
|
|
703
|
+
def snapshots: () -> ::Array[Types::TemplateSummary]
|
|
704
|
+
end
|
|
705
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#list_template_snapshots-instance_method
|
|
706
|
+
def list_template_snapshots: (
|
|
707
|
+
template_identifier: ::String,
|
|
708
|
+
?max_results: ::Integer,
|
|
709
|
+
?next_token: ::String
|
|
710
|
+
) -> _ListTemplateSnapshotsResponseSuccess
|
|
711
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTemplateSnapshotsResponseSuccess
|
|
712
|
+
|
|
713
|
+
interface _ListTemplatesResponseSuccess
|
|
714
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTemplatesOutput]
|
|
715
|
+
def next_token: () -> ::String
|
|
716
|
+
def templates: () -> ::Array[Types::TemplateSummary]
|
|
717
|
+
end
|
|
718
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#list_templates-instance_method
|
|
719
|
+
def list_templates: (
|
|
720
|
+
?max_results: ::Integer,
|
|
721
|
+
?next_token: ::String,
|
|
722
|
+
?status: ("ACTIVE" | "DRAFT" | "DISABLED")
|
|
723
|
+
) -> _ListTemplatesResponseSuccess
|
|
724
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTemplatesResponseSuccess
|
|
725
|
+
|
|
726
|
+
interface _PutAdminAccountResponseSuccess
|
|
727
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutAdminAccountResponse]
|
|
728
|
+
def admin_account_details: () -> Types::AdminAccountDetails
|
|
729
|
+
end
|
|
730
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#put_admin_account-instance_method
|
|
731
|
+
def put_admin_account: (
|
|
732
|
+
account_id: ::String,
|
|
733
|
+
priority: ::Integer,
|
|
734
|
+
?admin_scope: {
|
|
735
|
+
scope_filter: {
|
|
736
|
+
include_all: {
|
|
737
|
+
}?,
|
|
738
|
+
include_only: {
|
|
739
|
+
accounts: Array[::String]?,
|
|
740
|
+
organizational_units: Array[::String]?
|
|
741
|
+
}?,
|
|
742
|
+
exclude_only: {
|
|
743
|
+
accounts: Array[::String]?,
|
|
744
|
+
organizational_units: Array[::String]?
|
|
745
|
+
}?
|
|
746
|
+
}?,
|
|
747
|
+
firewall_type_scope: {
|
|
748
|
+
all_firewall_types_enabled: bool?,
|
|
749
|
+
firewall_types: Array[("WAF" | "SHIELD_ADVANCED")]?
|
|
750
|
+
}?
|
|
751
|
+
}
|
|
752
|
+
) -> _PutAdminAccountResponseSuccess
|
|
753
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAdminAccountResponseSuccess
|
|
754
|
+
|
|
755
|
+
interface _TagResourceResponseSuccess
|
|
756
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
|
|
757
|
+
end
|
|
758
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#tag_resource-instance_method
|
|
759
|
+
def tag_resource: (
|
|
760
|
+
resource_arn: ::String,
|
|
761
|
+
tags: Hash[::String, ::String]
|
|
762
|
+
) -> _TagResourceResponseSuccess
|
|
763
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
|
764
|
+
|
|
765
|
+
interface _UntagResourceResponseSuccess
|
|
766
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
|
|
767
|
+
end
|
|
768
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#untag_resource-instance_method
|
|
769
|
+
def untag_resource: (
|
|
770
|
+
resource_arn: ::String,
|
|
771
|
+
tag_keys: Array[::String]
|
|
772
|
+
) -> _UntagResourceResponseSuccess
|
|
773
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
|
774
|
+
|
|
775
|
+
interface _UpdateDeploymentResponseSuccess
|
|
776
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDeploymentOutput]
|
|
777
|
+
def deployment_id: () -> ::String
|
|
778
|
+
def deployment_arn: () -> ::String
|
|
779
|
+
def deployment_name: () -> ::String
|
|
780
|
+
def deployment_description: () -> ::String
|
|
781
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
782
|
+
def deployment_configuration: () -> Types::DeploymentConfiguration
|
|
783
|
+
def associated_policy_list: () -> ::Array[Types::AssociatedPolicy]
|
|
784
|
+
def associated_scope_list: () -> ::Array[Types::AssociatedScope]
|
|
785
|
+
def version: () -> ::String
|
|
786
|
+
def update_token: () -> ::String
|
|
787
|
+
def is_snapshot: () -> bool
|
|
788
|
+
def has_published_version: () -> bool
|
|
789
|
+
def deployment_coverage: () -> ::Array[Types::DeploymentCoverageEntry]
|
|
790
|
+
def warnings: () -> ::Array[Types::DeploymentWarningEntry]
|
|
791
|
+
def updated_at: () -> ::Time
|
|
792
|
+
end
|
|
793
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#update_deployment-instance_method
|
|
794
|
+
def update_deployment: (
|
|
795
|
+
deployment_identifier: ::String,
|
|
796
|
+
update_token: ::String,
|
|
797
|
+
?deployment_description: ::String,
|
|
798
|
+
?deployment_configuration: {
|
|
799
|
+
enable_cross_account_visibility: bool
|
|
800
|
+
},
|
|
801
|
+
?associated_policy_list: Array[
|
|
802
|
+
{
|
|
803
|
+
policy_identifier: ::String
|
|
804
|
+
}
|
|
805
|
+
],
|
|
806
|
+
?associated_scope_list: Array[
|
|
807
|
+
{
|
|
808
|
+
scope_identifier: ::String
|
|
809
|
+
}
|
|
810
|
+
],
|
|
811
|
+
is_published: bool,
|
|
812
|
+
?client_token: ::String
|
|
813
|
+
) -> _UpdateDeploymentResponseSuccess
|
|
814
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDeploymentResponseSuccess
|
|
815
|
+
|
|
816
|
+
interface _UpdatePolicyResponseSuccess
|
|
817
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePolicyOutput]
|
|
818
|
+
def policy_id: () -> ::String
|
|
819
|
+
def policy_arn: () -> ::String
|
|
820
|
+
def policy_name: () -> ::String
|
|
821
|
+
def policy_description: () -> ::String
|
|
822
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
823
|
+
def priority: () -> ::Integer
|
|
824
|
+
def associated_template_and_rule_list: () -> ::Array[Types::AssociatedTemplateOrRule]
|
|
825
|
+
def version: () -> ::String
|
|
826
|
+
def update_token: () -> ::String
|
|
827
|
+
def is_snapshot: () -> bool
|
|
828
|
+
def has_published_version: () -> bool
|
|
829
|
+
def firewall_type: () -> ("WAF" | "SHIELD_ADVANCED")
|
|
830
|
+
def policy_configuration: () -> Types::PolicyConfiguration
|
|
831
|
+
def updated_at: () -> ::Time
|
|
832
|
+
end
|
|
833
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#update_policy-instance_method
|
|
834
|
+
def update_policy: (
|
|
835
|
+
policy_identifier: ::String,
|
|
836
|
+
update_token: ::String,
|
|
837
|
+
?policy_description: ::String,
|
|
838
|
+
?priority: ::Integer,
|
|
839
|
+
?associated_template_and_rule_list: Array[
|
|
840
|
+
{
|
|
841
|
+
template_identifier: ::String?,
|
|
842
|
+
rule_identifier: ::String?
|
|
843
|
+
}
|
|
844
|
+
],
|
|
845
|
+
?policy_configuration: Params::policy_configuration,
|
|
846
|
+
is_published: bool,
|
|
847
|
+
?client_token: ::String
|
|
848
|
+
) -> _UpdatePolicyResponseSuccess
|
|
849
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePolicyResponseSuccess
|
|
850
|
+
|
|
851
|
+
interface _UpdateRuleResponseSuccess
|
|
852
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRuleOutput]
|
|
853
|
+
def rule_id: () -> ::String
|
|
854
|
+
def rule_arn: () -> ::String
|
|
855
|
+
def rule_name: () -> ::String
|
|
856
|
+
def firewall_type: () -> ("WAF")
|
|
857
|
+
def rule_type: () -> ("CONFIGURATION" | "INSPECTION")
|
|
858
|
+
def rule_description: () -> ::String
|
|
859
|
+
def configuration: () -> untyped
|
|
860
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
861
|
+
def version: () -> ::String
|
|
862
|
+
def update_token: () -> ::String
|
|
863
|
+
def is_snapshot: () -> bool
|
|
864
|
+
def has_published_version: () -> bool
|
|
865
|
+
def updated_at: () -> ::Time
|
|
866
|
+
end
|
|
867
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#update_rule-instance_method
|
|
868
|
+
def update_rule: (
|
|
869
|
+
rule_identifier: ::String,
|
|
870
|
+
update_token: ::String,
|
|
871
|
+
?rule_type: ("CONFIGURATION" | "INSPECTION"),
|
|
872
|
+
?rule_description: ::String,
|
|
873
|
+
?configuration: {
|
|
874
|
+
},
|
|
875
|
+
is_published: bool,
|
|
876
|
+
?client_token: ::String
|
|
877
|
+
) -> _UpdateRuleResponseSuccess
|
|
878
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRuleResponseSuccess
|
|
879
|
+
|
|
880
|
+
interface _UpdateScopeResponseSuccess
|
|
881
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateScopeOutput]
|
|
882
|
+
def scope_id: () -> ::String
|
|
883
|
+
def scope_arn: () -> ::String
|
|
884
|
+
def scope_name: () -> ::String
|
|
885
|
+
def scope_description: () -> ::String
|
|
886
|
+
def scope_configuration: () -> Types::ScopeConfiguration
|
|
887
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
888
|
+
def version: () -> ::String
|
|
889
|
+
def update_token: () -> ::String
|
|
890
|
+
def is_snapshot: () -> bool
|
|
891
|
+
def has_published_version: () -> bool
|
|
892
|
+
def updated_at: () -> ::Time
|
|
893
|
+
end
|
|
894
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#update_scope-instance_method
|
|
895
|
+
def update_scope: (
|
|
896
|
+
scope_identifier: ::String,
|
|
897
|
+
update_token: ::String,
|
|
898
|
+
?scope_description: ::String,
|
|
899
|
+
?scope_configuration: Params::scope_configuration,
|
|
900
|
+
is_published: bool,
|
|
901
|
+
?client_token: ::String
|
|
902
|
+
) -> _UpdateScopeResponseSuccess
|
|
903
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateScopeResponseSuccess
|
|
904
|
+
|
|
905
|
+
interface _UpdateTemplateResponseSuccess
|
|
906
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTemplateOutput]
|
|
907
|
+
def template_id: () -> ::String
|
|
908
|
+
def template_arn: () -> ::String
|
|
909
|
+
def template_name: () -> ::String
|
|
910
|
+
def template_description: () -> ::String
|
|
911
|
+
def status: () -> ("DRAFT" | "ACTIVE" | "DISABLED")
|
|
912
|
+
def version: () -> ::String
|
|
913
|
+
def associated_rule_list: () -> ::Array[Types::AssociatedRule]
|
|
914
|
+
def update_token: () -> ::String
|
|
915
|
+
def is_snapshot: () -> bool
|
|
916
|
+
def has_published_version: () -> bool
|
|
917
|
+
def firewall_type: () -> ("WAF")
|
|
918
|
+
def updated_at: () -> ::Time
|
|
919
|
+
end
|
|
920
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Client.html#update_template-instance_method
|
|
921
|
+
def update_template: (
|
|
922
|
+
template_identifier: ::String,
|
|
923
|
+
update_token: ::String,
|
|
924
|
+
?template_description: ::String,
|
|
925
|
+
?associated_rule_list: Array[
|
|
926
|
+
{
|
|
927
|
+
rule_identifier: ::String
|
|
928
|
+
}
|
|
929
|
+
],
|
|
930
|
+
is_published: bool,
|
|
931
|
+
?client_token: ::String
|
|
932
|
+
) -> _UpdateTemplateResponseSuccess
|
|
933
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTemplateResponseSuccess
|
|
934
|
+
end
|
|
935
|
+
end
|
|
936
|
+
end
|
|
937
|
+
|