aws-sdk-inspector2 1.10.0 → 1.12.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-inspector2/client.rb +278 -5
- data/lib/aws-sdk-inspector2/client_api.rb +267 -0
- data/lib/aws-sdk-inspector2/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-inspector2/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-inspector2/endpoints.rb +84 -0
- data/lib/aws-sdk-inspector2/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-inspector2/types.rb +550 -5
- data/lib/aws-sdk-inspector2.rb +1 -1
- metadata +2 -2
@@ -53,6 +53,34 @@ module Aws::Inspector2
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
+
class BatchGetMemberEc2DeepInspectionStatus
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::Inspector2::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class BatchUpdateMemberEc2DeepInspectionStatus
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::Inspector2::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
56
84
|
class CancelFindingsReport
|
57
85
|
def self.build(context)
|
58
86
|
unless context.config.regional_endpoint
|
@@ -221,6 +249,20 @@ module Aws::Inspector2
|
|
221
249
|
end
|
222
250
|
end
|
223
251
|
|
252
|
+
class GetEc2DeepInspectionConfiguration
|
253
|
+
def self.build(context)
|
254
|
+
unless context.config.regional_endpoint
|
255
|
+
endpoint = context.config.endpoint.to_s
|
256
|
+
end
|
257
|
+
Aws::Inspector2::EndpointParameters.new(
|
258
|
+
region: context.config.region,
|
259
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
260
|
+
use_fips: context.config.use_fips_endpoint,
|
261
|
+
endpoint: endpoint,
|
262
|
+
)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
224
266
|
class GetFindingsReportStatus
|
225
267
|
def self.build(context)
|
226
268
|
unless context.config.regional_endpoint
|
@@ -389,6 +431,20 @@ module Aws::Inspector2
|
|
389
431
|
end
|
390
432
|
end
|
391
433
|
|
434
|
+
class SearchVulnerabilities
|
435
|
+
def self.build(context)
|
436
|
+
unless context.config.regional_endpoint
|
437
|
+
endpoint = context.config.endpoint.to_s
|
438
|
+
end
|
439
|
+
Aws::Inspector2::EndpointParameters.new(
|
440
|
+
region: context.config.region,
|
441
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
442
|
+
use_fips: context.config.use_fips_endpoint,
|
443
|
+
endpoint: endpoint,
|
444
|
+
)
|
445
|
+
end
|
446
|
+
end
|
447
|
+
|
392
448
|
class TagResource
|
393
449
|
def self.build(context)
|
394
450
|
unless context.config.regional_endpoint
|
@@ -431,6 +487,20 @@ module Aws::Inspector2
|
|
431
487
|
end
|
432
488
|
end
|
433
489
|
|
490
|
+
class UpdateEc2DeepInspectionConfiguration
|
491
|
+
def self.build(context)
|
492
|
+
unless context.config.regional_endpoint
|
493
|
+
endpoint = context.config.endpoint.to_s
|
494
|
+
end
|
495
|
+
Aws::Inspector2::EndpointParameters.new(
|
496
|
+
region: context.config.region,
|
497
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
498
|
+
use_fips: context.config.use_fips_endpoint,
|
499
|
+
endpoint: endpoint,
|
500
|
+
)
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
434
504
|
class UpdateFilter
|
435
505
|
def self.build(context)
|
436
506
|
unless context.config.regional_endpoint
|
@@ -445,6 +515,20 @@ module Aws::Inspector2
|
|
445
515
|
end
|
446
516
|
end
|
447
517
|
|
518
|
+
class UpdateOrgEc2DeepInspectionConfiguration
|
519
|
+
def self.build(context)
|
520
|
+
unless context.config.regional_endpoint
|
521
|
+
endpoint = context.config.endpoint.to_s
|
522
|
+
end
|
523
|
+
Aws::Inspector2::EndpointParameters.new(
|
524
|
+
region: context.config.region,
|
525
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
526
|
+
use_fips: context.config.use_fips_endpoint,
|
527
|
+
endpoint: endpoint,
|
528
|
+
)
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
448
532
|
class UpdateOrganizationConfiguration
|
449
533
|
def self.build(context)
|
450
534
|
unless context.config.regional_endpoint
|
@@ -62,6 +62,10 @@ module Aws::Inspector2
|
|
62
62
|
Aws::Inspector2::Endpoints::BatchGetAccountStatus.build(context)
|
63
63
|
when :batch_get_free_trial_info
|
64
64
|
Aws::Inspector2::Endpoints::BatchGetFreeTrialInfo.build(context)
|
65
|
+
when :batch_get_member_ec2_deep_inspection_status
|
66
|
+
Aws::Inspector2::Endpoints::BatchGetMemberEc2DeepInspectionStatus.build(context)
|
67
|
+
when :batch_update_member_ec2_deep_inspection_status
|
68
|
+
Aws::Inspector2::Endpoints::BatchUpdateMemberEc2DeepInspectionStatus.build(context)
|
65
69
|
when :cancel_findings_report
|
66
70
|
Aws::Inspector2::Endpoints::CancelFindingsReport.build(context)
|
67
71
|
when :create_filter
|
@@ -86,6 +90,8 @@ module Aws::Inspector2
|
|
86
90
|
Aws::Inspector2::Endpoints::GetConfiguration.build(context)
|
87
91
|
when :get_delegated_admin_account
|
88
92
|
Aws::Inspector2::Endpoints::GetDelegatedAdminAccount.build(context)
|
93
|
+
when :get_ec2_deep_inspection_configuration
|
94
|
+
Aws::Inspector2::Endpoints::GetEc2DeepInspectionConfiguration.build(context)
|
89
95
|
when :get_findings_report_status
|
90
96
|
Aws::Inspector2::Endpoints::GetFindingsReportStatus.build(context)
|
91
97
|
when :get_member
|
@@ -110,14 +116,20 @@ module Aws::Inspector2
|
|
110
116
|
Aws::Inspector2::Endpoints::ListTagsForResource.build(context)
|
111
117
|
when :list_usage_totals
|
112
118
|
Aws::Inspector2::Endpoints::ListUsageTotals.build(context)
|
119
|
+
when :search_vulnerabilities
|
120
|
+
Aws::Inspector2::Endpoints::SearchVulnerabilities.build(context)
|
113
121
|
when :tag_resource
|
114
122
|
Aws::Inspector2::Endpoints::TagResource.build(context)
|
115
123
|
when :untag_resource
|
116
124
|
Aws::Inspector2::Endpoints::UntagResource.build(context)
|
117
125
|
when :update_configuration
|
118
126
|
Aws::Inspector2::Endpoints::UpdateConfiguration.build(context)
|
127
|
+
when :update_ec2_deep_inspection_configuration
|
128
|
+
Aws::Inspector2::Endpoints::UpdateEc2DeepInspectionConfiguration.build(context)
|
119
129
|
when :update_filter
|
120
130
|
Aws::Inspector2::Endpoints::UpdateFilter.build(context)
|
131
|
+
when :update_org_ec2_deep_inspection_configuration
|
132
|
+
Aws::Inspector2::Endpoints::UpdateOrgEc2DeepInspectionConfiguration.build(context)
|
121
133
|
when :update_organization_configuration
|
122
134
|
Aws::Inspector2::Endpoints::UpdateOrganizationConfiguration.build(context)
|
123
135
|
end
|