aws-sdk-inspector2 1.15.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-inspector2/client.rb +481 -12
- data/lib/aws-sdk-inspector2/client_api.rb +275 -0
- data/lib/aws-sdk-inspector2/endpoints.rb +98 -0
- data/lib/aws-sdk-inspector2/plugins/endpoints.rb +14 -0
- data/lib/aws-sdk-inspector2/types.rb +609 -4
- data/lib/aws-sdk-inspector2.rb +1 -1
- metadata +2 -2
@@ -40,6 +40,20 @@ module Aws::Inspector2
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
+
class BatchGetCodeSnippet
|
44
|
+
def self.build(context)
|
45
|
+
unless context.config.regional_endpoint
|
46
|
+
endpoint = context.config.endpoint.to_s
|
47
|
+
end
|
48
|
+
Aws::Inspector2::EndpointParameters.new(
|
49
|
+
region: context.config.region,
|
50
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
51
|
+
use_fips: context.config.use_fips_endpoint,
|
52
|
+
endpoint: endpoint,
|
53
|
+
)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
43
57
|
class BatchGetFreeTrialInfo
|
44
58
|
def self.build(context)
|
45
59
|
unless context.config.regional_endpoint
|
@@ -96,6 +110,20 @@ module Aws::Inspector2
|
|
96
110
|
end
|
97
111
|
end
|
98
112
|
|
113
|
+
class CancelSbomExport
|
114
|
+
def self.build(context)
|
115
|
+
unless context.config.regional_endpoint
|
116
|
+
endpoint = context.config.endpoint.to_s
|
117
|
+
end
|
118
|
+
Aws::Inspector2::EndpointParameters.new(
|
119
|
+
region: context.config.region,
|
120
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
121
|
+
use_fips: context.config.use_fips_endpoint,
|
122
|
+
endpoint: endpoint,
|
123
|
+
)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
99
127
|
class CreateFilter
|
100
128
|
def self.build(context)
|
101
129
|
unless context.config.regional_endpoint
|
@@ -124,6 +152,20 @@ module Aws::Inspector2
|
|
124
152
|
end
|
125
153
|
end
|
126
154
|
|
155
|
+
class CreateSbomExport
|
156
|
+
def self.build(context)
|
157
|
+
unless context.config.regional_endpoint
|
158
|
+
endpoint = context.config.endpoint.to_s
|
159
|
+
end
|
160
|
+
Aws::Inspector2::EndpointParameters.new(
|
161
|
+
region: context.config.region,
|
162
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
163
|
+
use_fips: context.config.use_fips_endpoint,
|
164
|
+
endpoint: endpoint,
|
165
|
+
)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
127
169
|
class DeleteFilter
|
128
170
|
def self.build(context)
|
129
171
|
unless context.config.regional_endpoint
|
@@ -264,6 +306,20 @@ module Aws::Inspector2
|
|
264
306
|
end
|
265
307
|
end
|
266
308
|
|
309
|
+
class GetEncryptionKey
|
310
|
+
def self.build(context)
|
311
|
+
unless context.config.regional_endpoint
|
312
|
+
endpoint = context.config.endpoint.to_s
|
313
|
+
end
|
314
|
+
Aws::Inspector2::EndpointParameters.new(
|
315
|
+
region: context.config.region,
|
316
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
317
|
+
use_fips: context.config.use_fips_endpoint,
|
318
|
+
endpoint: endpoint,
|
319
|
+
)
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
267
323
|
class GetFindingsReportStatus
|
268
324
|
def self.build(context)
|
269
325
|
unless context.config.regional_endpoint
|
@@ -292,6 +348,20 @@ module Aws::Inspector2
|
|
292
348
|
end
|
293
349
|
end
|
294
350
|
|
351
|
+
class GetSbomExport
|
352
|
+
def self.build(context)
|
353
|
+
unless context.config.regional_endpoint
|
354
|
+
endpoint = context.config.endpoint.to_s
|
355
|
+
end
|
356
|
+
Aws::Inspector2::EndpointParameters.new(
|
357
|
+
region: context.config.region,
|
358
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
359
|
+
use_fips: context.config.use_fips_endpoint,
|
360
|
+
endpoint: endpoint,
|
361
|
+
)
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
295
365
|
class ListAccountPermissions
|
296
366
|
def self.build(context)
|
297
367
|
unless context.config.regional_endpoint
|
@@ -432,6 +502,20 @@ module Aws::Inspector2
|
|
432
502
|
end
|
433
503
|
end
|
434
504
|
|
505
|
+
class ResetEncryptionKey
|
506
|
+
def self.build(context)
|
507
|
+
unless context.config.regional_endpoint
|
508
|
+
endpoint = context.config.endpoint.to_s
|
509
|
+
end
|
510
|
+
Aws::Inspector2::EndpointParameters.new(
|
511
|
+
region: context.config.region,
|
512
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
513
|
+
use_fips: context.config.use_fips_endpoint,
|
514
|
+
endpoint: endpoint,
|
515
|
+
)
|
516
|
+
end
|
517
|
+
end
|
518
|
+
|
435
519
|
class SearchVulnerabilities
|
436
520
|
def self.build(context)
|
437
521
|
unless context.config.regional_endpoint
|
@@ -502,6 +586,20 @@ module Aws::Inspector2
|
|
502
586
|
end
|
503
587
|
end
|
504
588
|
|
589
|
+
class UpdateEncryptionKey
|
590
|
+
def self.build(context)
|
591
|
+
unless context.config.regional_endpoint
|
592
|
+
endpoint = context.config.endpoint.to_s
|
593
|
+
end
|
594
|
+
Aws::Inspector2::EndpointParameters.new(
|
595
|
+
region: context.config.region,
|
596
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
597
|
+
use_fips: context.config.use_fips_endpoint,
|
598
|
+
endpoint: endpoint,
|
599
|
+
)
|
600
|
+
end
|
601
|
+
end
|
602
|
+
|
505
603
|
class UpdateFilter
|
506
604
|
def self.build(context)
|
507
605
|
unless context.config.regional_endpoint
|
@@ -60,6 +60,8 @@ module Aws::Inspector2
|
|
60
60
|
Aws::Inspector2::Endpoints::AssociateMember.build(context)
|
61
61
|
when :batch_get_account_status
|
62
62
|
Aws::Inspector2::Endpoints::BatchGetAccountStatus.build(context)
|
63
|
+
when :batch_get_code_snippet
|
64
|
+
Aws::Inspector2::Endpoints::BatchGetCodeSnippet.build(context)
|
63
65
|
when :batch_get_free_trial_info
|
64
66
|
Aws::Inspector2::Endpoints::BatchGetFreeTrialInfo.build(context)
|
65
67
|
when :batch_get_member_ec2_deep_inspection_status
|
@@ -68,10 +70,14 @@ module Aws::Inspector2
|
|
68
70
|
Aws::Inspector2::Endpoints::BatchUpdateMemberEc2DeepInspectionStatus.build(context)
|
69
71
|
when :cancel_findings_report
|
70
72
|
Aws::Inspector2::Endpoints::CancelFindingsReport.build(context)
|
73
|
+
when :cancel_sbom_export
|
74
|
+
Aws::Inspector2::Endpoints::CancelSbomExport.build(context)
|
71
75
|
when :create_filter
|
72
76
|
Aws::Inspector2::Endpoints::CreateFilter.build(context)
|
73
77
|
when :create_findings_report
|
74
78
|
Aws::Inspector2::Endpoints::CreateFindingsReport.build(context)
|
79
|
+
when :create_sbom_export
|
80
|
+
Aws::Inspector2::Endpoints::CreateSbomExport.build(context)
|
75
81
|
when :delete_filter
|
76
82
|
Aws::Inspector2::Endpoints::DeleteFilter.build(context)
|
77
83
|
when :describe_organization_configuration
|
@@ -92,10 +98,14 @@ module Aws::Inspector2
|
|
92
98
|
Aws::Inspector2::Endpoints::GetDelegatedAdminAccount.build(context)
|
93
99
|
when :get_ec2_deep_inspection_configuration
|
94
100
|
Aws::Inspector2::Endpoints::GetEc2DeepInspectionConfiguration.build(context)
|
101
|
+
when :get_encryption_key
|
102
|
+
Aws::Inspector2::Endpoints::GetEncryptionKey.build(context)
|
95
103
|
when :get_findings_report_status
|
96
104
|
Aws::Inspector2::Endpoints::GetFindingsReportStatus.build(context)
|
97
105
|
when :get_member
|
98
106
|
Aws::Inspector2::Endpoints::GetMember.build(context)
|
107
|
+
when :get_sbom_export
|
108
|
+
Aws::Inspector2::Endpoints::GetSbomExport.build(context)
|
99
109
|
when :list_account_permissions
|
100
110
|
Aws::Inspector2::Endpoints::ListAccountPermissions.build(context)
|
101
111
|
when :list_coverage
|
@@ -116,6 +126,8 @@ module Aws::Inspector2
|
|
116
126
|
Aws::Inspector2::Endpoints::ListTagsForResource.build(context)
|
117
127
|
when :list_usage_totals
|
118
128
|
Aws::Inspector2::Endpoints::ListUsageTotals.build(context)
|
129
|
+
when :reset_encryption_key
|
130
|
+
Aws::Inspector2::Endpoints::ResetEncryptionKey.build(context)
|
119
131
|
when :search_vulnerabilities
|
120
132
|
Aws::Inspector2::Endpoints::SearchVulnerabilities.build(context)
|
121
133
|
when :tag_resource
|
@@ -126,6 +138,8 @@ module Aws::Inspector2
|
|
126
138
|
Aws::Inspector2::Endpoints::UpdateConfiguration.build(context)
|
127
139
|
when :update_ec2_deep_inspection_configuration
|
128
140
|
Aws::Inspector2::Endpoints::UpdateEc2DeepInspectionConfiguration.build(context)
|
141
|
+
when :update_encryption_key
|
142
|
+
Aws::Inspector2::Endpoints::UpdateEncryptionKey.build(context)
|
129
143
|
when :update_filter
|
130
144
|
Aws::Inspector2::Endpoints::UpdateFilter.build(context)
|
131
145
|
when :update_org_ec2_deep_inspection_configuration
|